[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1015590: marked as done (powerman: ftbfs with LTO (link time optimization) enabled)



Your message dated Wed, 02 Nov 2022 20:35:26 +0000
with message-id <E1oqKSM-004tyv-69@fasolo.debian.org>
and subject line Bug#1015590: fixed in powerman 2.3.27-1
has caused the Debian Bug report #1015590,
regarding powerman: ftbfs with LTO (link time optimization) enabled
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1015590: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015590
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:powerman
Version: 2.3.5-1
Severity: minor
Tags: sid bookworm
User: debian-gcc@lists.debian.org
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/powerman_2.3.5-1_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
hostlist.c:405:29: note: did you mean to dereference the pointer?
  405 |     while (**str != '\0' && strchr(sep, **str) != '\0')
      |                             ^
In file included from hostlist.c:43:
hostlist.c: In function ‘hostlist_new’:
hostlist.c:1006:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1006 |     assert(new->magic = HOSTLIST_MAGIC);
      |            ^~~
hostlist.c: In function ‘hostlist_destroy’:
hostlist.c:1538:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 1538 |     assert(hl->magic = 0x1);
      |            ^~
hostlist.c: In function ‘hostlist_iterator_new’:
hostlist.c:2160:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2160 |     assert(i->magic = HOSTLIST_MAGIC);
      |            ^
hostlist.c: In function ‘hostlist_iterator_destroy’:
hostlist.c:2211:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
 2211 |     assert(i->magic = 0x1);
      |            ^
In file included from /usr/include/string.h:519,
                 from hostlist.c:30:
In function ‘strncpy’,
    inlined from ‘_hostlist_create_bracketed.constprop.0’ at hostlist.c:1455:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c list.c
In file included from list.c:36:
list.c: In function ‘list_create’:
list.c:229:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  229 |     assert(l->magic = LIST_MAGIC);      /* set magic via assert abuse */
      |            ^
list.c: In function ‘list_destroy’:
list.c:247:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  247 |         assert(i->magic = ~LIST_MAGIC); /* clear magic via assert abuse */
      |                ^
list.c:259:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  259 |     assert(l->magic = ~LIST_MAGIC);     /* clear magic via assert abuse */
      |            ^
list.c: In function ‘list_iterator_create’:
list.c:529:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  529 |     assert(i->magic = LIST_MAGIC);      /* set magic via assert abuse */
      |            ^
list.c: In function ‘list_iterator_destroy’:
list.c:566:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
  566 |     assert(i->magic = ~LIST_MAGIC);     /* clear magic via assert abuse */
      |            ^
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c hprintf.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c argv.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c xread.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c xpoll.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c xmalloc.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c xregex.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c xpty.c
gcc -DHAVE_CONFIG_H -I. -I. -I../config   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c xsignal.c
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -flto=auto -ffat-lto-objects -Wl,-z,relro -o powerman  powerman.o debug.o error.o hostlist.o list.o hprintf.o argv.o xread.o xpoll.o xmalloc.o xregex.o xpty.o xsignal.o -lgenders  
mkdir .libs
gcc -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -o powerman powerman.o debug.o error.o hostlist.o list.o hprintf.o argv.o xread.o xpoll.o xmalloc.o xregex.o xpty.o xsignal.o  -lgenders  
/usr/bin/ld: /tmp/cc2iQnDs.ltrans0.ltrans.o: in function `main':
./src/xpty.c:134: undefined reference to `forkpty'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:435: powerman] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:304: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: powerman
Source-Version: 2.3.27-1
Done: Boyuan Yang <byang@debian.org>

We believe that the bug you reported is fixed in the latest version of
powerman, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1015590@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated powerman package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 02 Nov 2022 16:01:36 -0400
Source: powerman
Architecture: source
Version: 2.3.27-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 662942 1015590
Changes:
 powerman (2.3.27-1) unstable; urgency=medium
 .
   * QA upload.
   * New upstream release. (Closes: #662942)
   * Add back new upstream homepage and Vcs-*.
   * Refresh packaging:
     + Use debhelper compat v13.
     + Move to dh13 sequencer in debian/rules file.
     + Bump Standards-Version to 4.6.1.
     + Move away from transitional package in build-depends.
     + Enable full hardening.
     + Add new build-dep bison, flex, pkg-config, systemd [linux-any].
     + Remove Priority: extra.
   * debian/rules:
     + Disable parallel build for now.
     + Do not enable or start systemd or init script on install.
     + Explicitly enable LTO. (Closes: #1015590)
   * debian/{preinst,prerm}: Replace /var/run/ with /run/.
   * debian/patches: Add patch to avoid invocation to "git describe"
     since we are not building from git repository. Hardcode version
     string instead for now.
Checksums-Sha1:
 f7a732be0026ed25d64602eaf2dc49963decce34 2082 powerman_2.3.27-1.dsc
 7fc1a73a74d74ae7cfaade7b85dce1e891dd2eec 237849 powerman_2.3.27.orig.tar.gz
 f283aa7772ae73c6043e2c21cd412020fbb3b2e2 8364 powerman_2.3.27-1.debian.tar.xz
 8fdc6971f7e80cf36bed0e71a4cef7968fdabc6c 8215 powerman_2.3.27-1_amd64.buildinfo
Checksums-Sha256:
 b586affc6ee858770766cf12613fb9b346ed1cf2b55a97fe71b39ecfab3adda9 2082 powerman_2.3.27-1.dsc
 4464062fccbdd890cc36b5296d0db7b58d57ab496b145b502b1787c6224a2cf5 237849 powerman_2.3.27.orig.tar.gz
 f4b649fa3be3f7685ef4094bc9470791617a080930eb808171a13590be675279 8364 powerman_2.3.27-1.debian.tar.xz
 4854cdbc24d415ffc41054d14af507468c784ae2a120b29288f80f96eac0841b 8215 powerman_2.3.27-1_amd64.buildinfo
Files:
 dad3c129e39ff344d177f8e6790d1f3a 2082 admin optional powerman_2.3.27-1.dsc
 bafff7c0ce23282ae8ff396a1346d208 237849 admin optional powerman_2.3.27.orig.tar.gz
 10267de2be69e5fe4d338dd2067473f8 8364 admin optional powerman_2.3.27-1.debian.tar.xz
 1c6d0ebec9e151d6c283c31676375491 8215 admin optional powerman_2.3.27-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmNizUUACgkQwpPntGGC
Ws5Pig//ScdaiyERzgfhmUeFBoKvXd1cR+AQVokFwV/7K4h/RfTYBf7PjRqibdnX
1OGpv06ZpeMU0XXUj6TQdafmwwIF7ge/xdlZw2SnWJQQya2w0XUSox0rOHiagzcv
QDHsfvaQlyCSAVqYZfnLIwil3zk7lxgHze/sR6f9Gxz8rXW3LhUQgrjONVLBbQPN
gvWzmQZrrZFKuMBXrDqMPs5LU8OLUbc4T4HnGNY8YIDTegQx6g8GGg1FQaUm+Pm2
VAYrLrTlYwMSK1h4z9hyJHUZWE1zzK9A6FYTcLkAwzY8HOXGYZ6K88gd3yBdxGGN
K4UOI410bqiojUMnvoxFFYJIBaYV2ebET9QdA1tOHNL3yso5Al3USfrCWFjY0U0Q
z3Sr9ZrBU4Wi+QAO/LGinv/Ou7YqW9GxJFbyuFYvMBNDRVOjIxVdQvKJGwx83f3n
MzeB+OQ/8qW3u9RJd9f3CzdKTdslDpPxZwFQK6vPY0iaM8cotjjH5DnqYmPMAlyD
Y62gr6AdfiLpSmAlO+xhUEkBZclcA67YSA6Lkn4GDYNtfyN1UUkp7UxtctY3HqEd
G26S8IbnfvI55+lhPcuVxNzt27ik9/+6GDzOv/SAE3D3UQy6+pwJZDrPQm+uPFwF
bzVWcRcQf+z3fdyt83oHNdrk8DmuDBocv8xHsDbRaiPdA0IxM2w=
=lQ1c
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: