On Fri, Nov 15, 2019 at 08:30:10PM +0000, Hsieh-Tseng Shen wrote: > * Package name : ledmon > Version : 0.93-1 > * URL : https://github.com/intel/ledmon
> Changes since the last upload: > > * Salvage ledmon for maintenance transition. (Closes: #939315) > * New upstream release v0.93. > * Remove obsolete patches. > * Add debian/watch for importing upstream as tarball. Hi! I'm afraid that the package fails to build on current unstable: amd_sgpio.c: In function ‘_dump_cfg_register’: amd_sgpio.c:431:2: error: converting a packed ‘struct config_register’ pointer (alignment 1) to a ‘uint32_t’ {aka ‘unsigned int’} pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member] 431 | uint32_t *reg = (uint32_t *)cfg_reg; | ^~~~~~~~ amd_sgpio.c:150:8: note: defined here 150 | struct config_register { | ^~~~~~~~~~~~~~~ amd_sgpio.c:436:18: error: taking address of packed member of ‘struct config_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 436 | _dump_sgpio_hdr(&cfg_reg->hdr); | ^~~~~~~~~~~~~ amd_sgpio.c:437:18: error: taking address of packed member of ‘struct config_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 437 | _dump_sgpio_req(&cfg_reg->req); | ^~~~~~~~~~~~~ (plus a lot of other packed member uses) Log attached. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ A MAP07 (Dead Simple) raspberry tincture recipe: 0.5l 95% alcohol, ⣾⠁⢠⠒⠀⣿⡁ 1kg raspberries, 0.4kg sugar; put into a big jar for 1 month. ⢿⡄⠘⠷⠚⠋⠀ Filter out and throw away the fruits (can dump them into a cake, ⠈⠳⣄⠀⠀⠀⠀ etc), let the drink age at least 3-6 months.
sbuild (Debian sbuild) 0.78.1 (09 February 2019) on valinor.angband.pl +==============================================================================+ | ledmon 0.93-1 (amd64) Fri, 15 Nov 2019 23:45:00 +0000 | +==============================================================================+ Package: ledmon Version: 0.93-1 Source Version: 0.93-1 Distribution: unstable Machine Architecture: amd64 Host Architecture: amd64 Build Architecture: amd64 Build Type: binary I: NOTICE: Log filtering will replace 'var/run/schroot/mount/unstable-amd64-sbuild-d6ab962f-3ef3-458e-b1a8-4ac01974ade4' with '<<CHROOT>>' I: NOTICE: Log filtering will replace 'build/ledmon-u85190/resolver-AySBPx' with '<<RESOLVERDIR>>' +------------------------------------------------------------------------------+ | Update chroot | +------------------------------------------------------------------------------+ Hit:1 http://apt-rosy.angband.pl:3142/debian unstable InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- /home/kilobyte/tmp/pkg/ledmon_0.93-1.dsc exists in /home/kilobyte/tmp/pkg; copying to chroot I: NOTICE: Log filtering will replace 'build/ledmon-u85190/ledmon-0.93' with '<<PKGBUILDDIR>>' I: NOTICE: Log filtering will replace 'build/ledmon-u85190' with '<<BUILDDIR>>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper (>= 9.20160403~), perl, libsgutils2-dev, libudev-dev, build-essential, fakeroot Filtered Build-Depends: debhelper (>= 9.20160403~), perl, libsgutils2-dev, libudev-dev, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<<RESOLVERDIR>>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<<RESOLVERDIR>>/apt_archive ./ InRelease Get:2 copy:/<<RESOLVERDIR>>/apt_archive ./ Release [957 B] Ign:3 copy:/<<RESOLVERDIR>>/apt_archive ./ Release.gpg Get:4 copy:/<<RESOLVERDIR>>/apt_archive ./ Sources [393 B] Get:5 copy:/<<RESOLVERDIR>>/apt_archive ./ Packages [475 B] Fetched 1825 B in 0s (0 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: libsgutils2-2 libsgutils2-dev libudev-dev Suggested packages: sg3-utils The following NEW packages will be installed: libsgutils2-2 libsgutils2-dev libudev-dev sbuild-build-depends-main-dummy 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 363 kB of archives. After this operation, 1070 kB of additional disk space will be used. Get:1 copy:/<<RESOLVERDIR>>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [900 B] Get:2 http://apt-rosy.angband.pl:3142/debian unstable/main amd64 libsgutils2-2 amd64 1.44-1+b1 [111 kB] Get:3 http://apt-rosy.angband.pl:3142/debian unstable/main amd64 libsgutils2-dev amd64 1.44-1+b1 [139 kB] Get:4 http://apt-rosy.angband.pl:3142/debian unstable/main amd64 libudev-dev amd64 243-6 [112 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 363 kB in 0s (1823 kB/s) Selecting previously unselected package libsgutils2-2. (Reading database ... 16060 files and directories currently installed.) Preparing to unpack .../libsgutils2-2_1.44-1+b1_amd64.deb ... Unpacking libsgutils2-2 (1.44-1+b1) ... Selecting previously unselected package libsgutils2-dev. Preparing to unpack .../libsgutils2-dev_1.44-1+b1_amd64.deb ... Unpacking libsgutils2-dev (1.44-1+b1) ... Selecting previously unselected package libudev-dev:amd64. Preparing to unpack .../libudev-dev_243-6_amd64.deb ... Unpacking libudev-dev:amd64 (243-6) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../sbuild-build-depends-main-dummy_0.invalid.0_amd64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libsgutils2-2 (1.44-1+b1) ... Setting up libudev-dev:amd64 (243-6) ... Setting up libsgutils2-dev (1.44-1+b1) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for man-db (2.9.0-1) ... Not building database; man-db/auto-update is not 'true'. Processing triggers for libc-bin (2.29-3) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (amd64 included in linux-any) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.4.0-rc7-00053-g1f56ffec5b2d #1 SMP Mon Nov 11 01:46:13 CET 2019 amd64 (x86_64) Toolchain package versions: binutils_2.33.1-2 dpkg-dev_1.19.7 g++-9_9.2.1-19 gcc-9_9.2.1-19 libc6-dev_2.29-3 libstdc++-9-dev_9.2.1-19 libstdc++6_9.2.1-19 linux-libc-dev_5.3.9-2 Package versions: adduser_3.118 apt_1.8.4 autoconf_2.69-11 automake_1:1.16.1-4 autopoint_0.19.8.1-9 autotools-dev_20180224.1 base-files_11 base-passwd_3.5.46 bash_5.0-5 binutils_2.33.1-2 binutils-common_2.33.1-2 binutils-x86-64-linux-gnu_2.33.1-2 bsdmainutils_11.1.2+b1 bsdutils_1:2.34-0.1 build-essential_12.8 bzip2_1.0.8-2 coreutils_8.30-3+b1 cpp_4:9.2.1-3.1 cpp-9_9.2.1-19 dash_0.5.10.2-6 debconf_1.5.73 debhelper_12.7.1 debian-archive-keyring_2019.1 debianutils_4.9 dh-autoreconf_19 dh-strip-nondeterminism_1.6.2-1 diffutils_1:3.7-3 dpkg_1.19.7 dpkg-dev_1.19.7 dwz_0.13-2 e2fsprogs_1.45.4-1 eatmydata_105-7 fakeroot_1.24-1 fdisk_2.34-0.1 file_1:5.37-6 findutils_4.7.0-1 g++_4:9.2.1-3.1 g++-9_9.2.1-19 gcc_4:9.2.1-3.1 gcc-9_9.2.1-19 gcc-9-base_9.2.1-19 gettext_0.19.8.1-9 gettext-base_0.19.8.1-9 gpgv_2.2.17-3 grep_3.3-1 groff-base_1.22.4-3 gzip_1.9-3+b1 hostname_3.23 init-system-helpers_1.57 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-5 libapt-pkg5.0_1.8.4 libarchive-zip-perl_1.67-1 libasan5_9.2.1-19 libatomic1_9.2.1-19 libattr1_1:2.4.48-5 libaudit-common_1:2.8.5-2 libaudit1_1:2.8.5-2 libbinutils_2.33.1-2 libblkid1_2.34-0.1 libbsd0_0.10.0-1 libbz2-1.0_1.0.8-2 libc-bin_2.29-3 libc-dev-bin_2.29-3 libc6_2.29-3 libc6-dev_2.29-3 libcap-ng0_0.7.9-2.1+b1 libcc1-0_9.2.1-19 libcom-err2_1.45.4-1 libcroco3_0.6.13-1 libdb5.3_5.3.28+dfsg1-0.6 libdebconfclient0_0.250 libdebhelper-perl_12.7.1 libdpkg-perl_1.19.7 libeatmydata1_105-7 libelf1_0.176-1.1 libext2fs2_1.45.4-1 libfakeroot_1.24-1 libfdisk1_2.34-0.1 libffi6_3.2.1-9 libfile-stripnondeterminism-perl_1.6.2-1 libgcc-9-dev_9.2.1-19 libgcc1_1:9.2.1-19 libgcrypt20_1.8.5-3 libgdbm-compat4_1.18.1-5 libgdbm6_1.18.1-5 libglib2.0-0_2.62.2-3 libgmp10_2:6.1.2+dfsg-4 libgnutls30_3.6.10-4 libgomp1_9.2.1-19 libgpg-error0_1.36-7 libhogweed4_3.5.1+really3.4.1-1 libhogweed5_3.5.1+really3.5.1-2 libicu63_63.2-2 libidn2-0_2.2.0-2 libisl19_0.20-2 libisl21_0.21-2 libitm1_9.2.1-19 liblsan0_9.2.1-19 liblz4-1_1.9.2-2 liblzma5_5.2.4-1+b1 libmagic-mgc_1:5.37-6 libmagic1_1:5.37-6 libmount1_2.34-0.1 libmpc3_1.1.0-1 libmpfr6_4.0.2-1 libncurses6_6.1+20191019-1 libncursesw6_6.1+20191019-1 libnettle6_3.5.1+really3.4.1-1 libnettle7_3.5.1+really3.5.1-2 libp11-kit0_0.23.18.1-2 libpam-modules_1.3.1-5 libpam-modules-bin_1.3.1-5 libpam-runtime_1.3.1-5 libpam0g_1.3.1-5 libpcre2-8-0_10.32-5+b1 libpcre3_2:8.39-12+b1 libperl5.28_5.28.1-6 libperl5.30_5.30.0-9 libpipeline1_1.5.1-2 libquadmath0_9.2.1-19 libseccomp2_2.4.2-2 libselinux1_2.9-3+b1 libsemanage-common_2.9-3 libsemanage1_2.9-3 libsepol1_2.9-2+b2 libsgutils2-2_1.44-1+b1 libsgutils2-dev_1.44-1+b1 libsigsegv2_2.12-2 libsmartcols1_2.34-0.1 libss2_1.45.4-1 libstdc++-9-dev_9.2.1-19 libstdc++6_9.2.1-19 libsub-override-perl_0.09-2 libsystemd0_243-6 libtasn1-6_4.14-3 libtinfo6_6.1+20191019-1 libtool_2.4.6-11 libtsan0_9.2.1-19 libubsan1_9.2.1-19 libuchardet0_0.0.6-3 libudev-dev_243-6 libudev1_243-6 libunistring2_0.9.10-2 libuuid1_2.34-0.1 libxml2_2.9.4+dfsg1-7+b4 libzstd1_1.4.4+dfsg-1 linux-libc-dev_5.3.9-2 login_1:4.7-2 logsave_1.45.4-1 lsb-base_11.1.0 m4_1.4.18-4 make_4.2.1-1.2 man-db_2.9.0-1 mawk_1.3.3-17+b3 mount_2.34-0.1 ncurses-base_6.1+20191019-1 ncurses-bin_6.1+20191019-1 passwd_1:4.7-2 patch_2.7.6-6 perl_5.30.0-9 perl-base_5.30.0-9 perl-modules-5.28_5.28.1-6 perl-modules-5.30_5.30.0-9 po-debconf_1.0.21 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.7-1 sensible-utils_0.0.12 sysvinit-utils_2.96-1 tar_1.30+dfsg-6+b1 tzdata_2019c-3 util-linux_2.34-0.1 xz-utils_5.2.4-1+b1 zlib1g_1:1.2.11.dfsg-1+b1 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- Format: 3.0 (quilt) Source: ledmon Binary: ledmon Architecture: linux-any Version: 0.93-1 Maintainer: Hsieh-Tseng Shen <woodrow.s...@gmail.com> Homepage: https://github.com/intel/ledmon Standards-Version: 4.4.0 Vcs-Browser: https://salsa.debian.org/woodrow.shen-guest/ledmon Vcs-Git: https://salsa.debian.org/woodrow.shen-guest/ledmon.git Build-Depends: debhelper (>= 9.20160403~), perl, libsgutils2-dev, libudev-dev Package-List: ledmon deb admin optional arch=linux-any Checksums-Sha1: c5a3c52b1dee64972ea5fba8cc3f92689360d6c9 76411 ledmon_0.93.orig.tar.gz 25dea1ef7e53cc84eccef279273e1f075a327540 4336 ledmon_0.93-1.debian.tar.xz Checksums-Sha256: 26570aee3f98a4eb47e0d9f92bd9d2d2efa3385b0e9be23e60daba54471d276c 76411 ledmon_0.93.orig.tar.gz a8fee4d85eff79b9f5fb8fe00558e938e25481ec9547d4e1d43620e850ea7971 4336 ledmon_0.93-1.debian.tar.xz Files: db63cdf5abc024ad08133b9a2b30a75f 76411 ledmon_0.93.orig.tar.gz f9aa33d79edda85e34174d39977a256a 4336 ledmon_0.93-1.debian.tar.xz dpkg-source: warning: extracting unsigned source package (ledmon_0.93-1.dsc) dpkg-source: info: extracting ledmon in /<<PKGBUILDDIR>> dpkg-source: info: unpacking ledmon_0.93.orig.tar.gz dpkg-source: info: unpacking ledmon_0.93-1.debian.tar.xz Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=64 color HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LC_CTYPE=C.UTF-8 LD_LIBRARY_PATH=/usr/lib/libeatmydata LD_PRELOAD=libeatmydata.so LOGNAME=kilobyte PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games PWD=/<<PKGBUILDDIR>> SCHROOT_ALIAS_NAME=unstable-amd64-sbuild SCHROOT_CHROOT_NAME=unstable-amd64-sbuild SCHROOT_COMMAND=env SCHROOT_GID=1000 SCHROOT_GROUP=kilobyte SCHROOT_SESSION_ID=unstable-amd64-sbuild-d6ab962f-3ef3-458e-b1a8-4ac01974ade4 SCHROOT_UID=1000 SCHROOT_USER=kilobyte SHELL=/bin/sh USER=kilobyte dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -b -rfakeroot dpkg-buildpackage: info: source package ledmon dpkg-buildpackage: info: source version 0.93-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Hsieh-Tseng Shen <woodrow.s...@gmail.com> dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with autoreconf dh_clean debian/rules build dh build --with autoreconf dh_update_autotools_config dh_autoreconf configure.ac:9: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/Makefile.am: installing './depcomp' debian/rules override_dh_auto_configure make[1]: Entering directory '/<<PKGBUILDDIR>>' dh_auto_configure -- \ --enable-systemd ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --enable-systemd configure: WARNING: unrecognized options: --disable-maintainer-mode checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking whether C compiler accepts -Wformat -Werror=format-security... yes checking whether C compiler accepts -Werror=format-overflow=2... yes checking whether C compiler accepts -Werror=format-truncation=1... yes checking whether C compiler accepts -Werror=shift-negative-value... yes checking whether C compiler accepts -Werror=alloca... yes checking whether C compiler accepts -Werror=missing-field-initializers... yes checking whether C compiler accepts -Werror... yes checking whether C compiler accepts -Werror=format-signedness... yes checking whether make supports nested variables... (cached) yes checking for shm_unlink in -lrt... yes checking for sg_ll_send_diag in -lsgutils2... yes checking for udev_new in -ludev... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for struct stat.st_blksize... yes checking for struct stat.st_rdev... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for ftruncate... yes checking for memset... yes checking for munmap... yes checking for realpath... yes checking for regcomp... yes checking for select... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes ./configure: line 5780: pkg-config: command not found checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating systemd/Makefile config.status: creating config_ac.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-maintainer-mode ledmon 0.93 configuration: Source code location: . Preprocessor flags: -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\""$(BUILD_LABEL)"\" -Wdate-time -D_FORTIFY_SOURCE=2 C compiler flags: -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security Common install location: /usr configure parameters: --enable-systemd=yes --enable-testconfig=no make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build make -j1 make[1]: Entering directory '/<<PKGBUILDDIR>>' make all-recursive make[2]: Entering directory '/<<PKGBUILDDIR>>' Making all in doc make[3]: Entering directory '/<<PKGBUILDDIR>>/doc' pod2man -r "LEDMON.CONF Version 0.93 " -d "October 2019" \ -s 5 -n ledmon.conf -c "Intel(R) Enclosure LED Utilities Config" ledmon.conf.pod | gzip -9f > ledmon.conf.5.gz pod2man -r "LEDMON Version 0.93 " -d "October 2019" \ -s 8 -n ledmon -c "Intel(R) Enclosure LED Monitor Service" ledmon.pod | gzip -9f > ledmon.8.gz pod2man -r "LEDCTL Version 0.93 " -d "October 2019" \ -s 8 -n ledctl -c "Intel(R) Enclosure LED Control Application" ledctl.pod | gzip -9f > ledctl.8.gz make[3]: Leaving directory '/<<PKGBUILDDIR>>/doc' Making all in src make[3]: Entering directory '/<<PKGBUILDDIR>>/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ledmon.o ledmon.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pidfile.o pidfile.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o ahci.o ahci.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o block.o block.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o cntrl.o cntrl.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o config_file.o config_file.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o enclosure.o enclosure.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o list.o list.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o raid.o raid.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o scsi.o scsi.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o slave.o slave.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o status.o status.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o sysfs.o sysfs.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o smp.o smp.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o dellssd.o dellssd.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o utils.o utils.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o pci_slot.o pci_slot.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o vmdssd.o vmdssd.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o udev.o udev.c gcc -DHAVE_CONFIG_H -I. -I.. -D_DEBUG -D_GNU_SOURCE -D_DEFAULT_SOURCE -DDMALLOC_DISABLE -DBUILD_LABEL=\"""\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -I../config -Wformat -Werror=format-security -Werror=format-overflow=2 -Werror=format-truncation=1 -Werror=shift-negative-value -Werror=alloca -Werror=missing-field-initializers -Werror -Werror=format-signedness -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o amd_sgpio.o amd_sgpio.c amd_sgpio.c: In function ‘_dump_cfg_register’: amd_sgpio.c:431:2: error: converting a packed ‘struct config_register’ pointer (alignment 1) to a ‘uint32_t’ {aka ‘unsigned int’} pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member] 431 | uint32_t *reg = (uint32_t *)cfg_reg; | ^~~~~~~~ amd_sgpio.c:150:8: note: defined here 150 | struct config_register { | ^~~~~~~~~~~~~~~ amd_sgpio.c:436:18: error: taking address of packed member of ‘struct config_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 436 | _dump_sgpio_hdr(&cfg_reg->hdr); | ^~~~~~~~~~~~~ amd_sgpio.c:437:18: error: taking address of packed member of ‘struct config_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 437 | _dump_sgpio_req(&cfg_reg->req); | ^~~~~~~~~~~~~ amd_sgpio.c:438:18: error: taking address of packed member of ‘struct config_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 438 | _dump_sgpio_cfg(&cfg_reg->cfg); | ^~~~~~~~~~~~~ amd_sgpio.c: In function ‘_write_cfg_register’: amd_sgpio.c:446:18: error: taking address of packed member of ‘struct config_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 446 | _init_sgpio_hdr(&cfg_reg.hdr, 0, sizeof(cfg_reg)); | ^~~~~~~~~~~~ amd_sgpio.c:447:18: error: taking address of packed member of ‘struct config_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 447 | _init_sgpio_req(&cfg_reg.req, 0x40, 0x82, SGPIO_REQ_REG_TYPE_CFG, 0, 2); | ^~~~~~~~~~~~ amd_sgpio.c:454:18: error: taking address of packed member of ‘struct config_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 454 | _init_sgpio_cfg(&cfg_reg.cfg, 1, cache->blink_gen_a, cache->blink_gen_b, | ^~~~~~~~~~~~ amd_sgpio.c: In function ‘_dump_tx_register’: amd_sgpio.c:476:2: error: converting a packed ‘struct transmit_register’ pointer (alignment 1) to a ‘uint32_t’ {aka ‘unsigned int’} pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member] 476 | uint32_t *reg = (uint32_t *)tx_reg; | ^~~~~~~~ amd_sgpio.c:156:8: note: defined here 156 | struct transmit_register { | ^~~~~~~~~~~~~~~~~ amd_sgpio.c:481:18: error: taking address of packed member of ‘struct transmit_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 481 | _dump_sgpio_hdr(&tx_reg->hdr); | ^~~~~~~~~~~~ amd_sgpio.c:482:18: error: taking address of packed member of ‘struct transmit_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 482 | _dump_sgpio_req(&tx_reg->req); | ^~~~~~~~~~~~ amd_sgpio.c: In function ‘_write_tx_register’: amd_sgpio.c:489:18: error: taking address of packed member of ‘struct transmit_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 489 | _init_sgpio_hdr(&tx_reg->hdr, 0, sizeof(*tx_reg)); | ^~~~~~~~~~~~ amd_sgpio.c:490:18: error: taking address of packed member of ‘struct transmit_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 490 | _init_sgpio_req(&tx_reg->req, 0x40, 0x82, SGPIO_REQ_REG_TYPE_TX, 0, 1); | ^~~~~~~~~~~~ amd_sgpio.c: In function ‘_dump_amd_register’: amd_sgpio.c:543:2: error: converting a packed ‘struct amd_register’ pointer (alignment 1) to a ‘uint32_t’ {aka ‘unsigned int’} pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member] 543 | uint32_t *reg = (uint32_t *)amd_reg; | ^~~~~~~~ amd_sgpio.c:144:8: note: defined here 144 | struct amd_register { | ^~~~~~~~~~~~ amd_sgpio.c:548:18: error: taking address of packed member of ‘struct amd_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 548 | _dump_sgpio_hdr(&amd_reg->hdr); | ^~~~~~~~~~~~~ amd_sgpio.c:549:18: error: taking address of packed member of ‘struct amd_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 549 | _dump_sgpio_req(&amd_reg->req); | ^~~~~~~~~~~~~ amd_sgpio.c:550:18: error: taking address of packed member of ‘struct amd_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 550 | _dump_sgpio_amd(&amd_reg->amd); | ^~~~~~~~~~~~~ amd_sgpio.c: In function ‘_write_amd_register’: amd_sgpio.c:558:18: error: taking address of packed member of ‘struct amd_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 558 | _init_sgpio_hdr(&amd_reg.hdr, 0, sizeof(amd_reg)); | ^~~~~~~~~~~~ amd_sgpio.c:559:18: error: taking address of packed member of ‘struct amd_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 559 | _init_sgpio_req(&amd_reg.req, 0x40, 0x82, SGPIO_REQ_REG_TYPE_AMD, 0, 1); | ^~~~~~~~~~~~ amd_sgpio.c:560:18: error: taking address of packed member of ‘struct amd_register’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 560 | _init_sgpio_amd(&amd_reg.amd, drive->initiator, 0, 1, 1); | ^~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:455: amd_sgpio.o] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:428: all-recursive] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [Makefile:348: all] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build: make -j1 returned exit code 2 make: *** [debian/rules:7: build] Error 255 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2019-11-15T23:45:14Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: amd64 Build Type: binary Build-Space: 2688 Build-Time: 8 Distribution: unstable Fail-Stage: build Host Architecture: amd64 Install-Time: 2 Job: /home/kilobyte/tmp/pkg/ledmon_0.93-1.dsc Machine Architecture: amd64 Package: ledmon Package-Time: 14 Source-Version: 0.93-1 Space: 2688 Status: attempted Version: 0.93-1 -------------------------------------------------------------------------------- Finished at 2019-11-15T23:45:14Z Build needed 00:00:14, 2688k disk space