--- Begin Message ---
Package: src:nacl
Version: 20110221-10
Severity: minor
Tags: sid bookworm
User: [email protected]
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/nacl_20110221-10_unstable_dpkglto.log
The last lines of the build log are at the end of this report.
[...]
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha256 try
3bd7abd4f4dce04396f2ac7cb1cff70607f692411c49a1563b037d31e1662632 ok 45378
833673264 2500004000 crypto_auth/hmacsha256/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha256 implementation
crypto_auth/hmacsha256/ref -
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha256 cpuid
GenuineIntel-00050654-1f8bfbff_
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha256 compiler
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
11.3.0
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha512256 fromcompiler
crypto_auth/hmacsha512256/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c try.c: In function ‘checksum_compute’:
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha512256 fromcompiler
crypto_auth/hmacsha512256/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c try.c:61:36: warning: implicit declaration of function ‘random’
[-Wimplicit-function-declaration]
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha512256 fromcompiler
crypto_auth/hmacsha512256/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c 61 | for (j = -16;j < 0;++j) h[j] = random();
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha512256 fromcompiler
crypto_auth/hmacsha512256/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c | ^~~~~~
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha512256 try
2f5e8a6a0cac012d8d001351d7d583e69f91390df46305c3608e0c2893491886 ok 34860
734110368 2500004000 crypto_auth/hmacsha512256/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha512256
implementation crypto_auth/hmacsha512256/ref -
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha512256 cpuid
GenuineIntel-00050654-1f8bfbff_
20110221 debianbuildhost amd64 20220610 crypto_auth hmacsha512256 compiler
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
11.3.0
20110221 debianbuildhost amd64 20220610 crypto_secretbox xsalsa20poly1305
fromcompiler crypto_secretbox/xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c try.c: In function ‘checksum_compute’:
20110221 debianbuildhost amd64 20220610 crypto_secretbox xsalsa20poly1305
fromcompiler crypto_secretbox/xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c try.c:73:36: warning: implicit declaration of function ‘random’
[-Wimplicit-function-declaration]
20110221 debianbuildhost amd64 20220610 crypto_secretbox xsalsa20poly1305
fromcompiler crypto_secretbox/xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c 73 | for (j = -16;j < 0;++j) k[j] = random();
20110221 debianbuildhost amd64 20220610 crypto_secretbox xsalsa20poly1305
fromcompiler crypto_secretbox/xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c | ^~~~~~
20110221 debianbuildhost amd64 20220610 crypto_secretbox xsalsa20poly1305 try
df372f95dd87381b7c9ceb6f340ccaa03d19bed5d9e4ab004d99d847675a9658 ok 16602
1277239922 2500004000 crypto_secretbox/xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
20110221 debianbuildhost amd64 20220610 crypto_secretbox xsalsa20poly1305
implementation crypto_secretbox/xsalsa20poly1305/ref -
20110221 debianbuildhost amd64 20220610 crypto_secretbox xsalsa20poly1305 cpuid
GenuineIntel-00050654-1f8bfbff_
20110221 debianbuildhost amd64 20220610 crypto_secretbox xsalsa20poly1305
compiler
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
11.3.0
20110221 debianbuildhost amd64 20220610 crypto_scalarmult curve25519 try
dacdae4a0f12353dfc66757f2fd1fff538fe6616115dace9afb8016a55be2a52 ok 363732
152929676 2500004000 crypto_scalarmult/curve25519/donna_c64
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
20110221 debianbuildhost amd64 20220610 crypto_scalarmult curve25519 try
dacdae4a0f12353dfc66757f2fd1fff538fe6616115dace9afb8016a55be2a52 ok 9702630
3820120116 2500004000 crypto_scalarmult/curve25519/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
20110221 debianbuildhost amd64 20220610 crypto_scalarmult curve25519
implementation crypto_scalarmult/curve25519/donna_c64 -
20110221 debianbuildhost amd64 20220610 crypto_scalarmult curve25519 cpuid
GenuineIntel-00050654-1f8bfbff_
20110221 debianbuildhost amd64 20220610 crypto_scalarmult curve25519 compiler
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
11.3.0
20110221 debianbuildhost amd64 20220610 crypto_box curve25519xsalsa20poly1305
fromcompiler crypto_box/curve25519xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c try.c: In function ‘checksum_compute’:
20110221 debianbuildhost amd64 20220610 crypto_box curve25519xsalsa20poly1305
fromcompiler crypto_box/curve25519xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c try.c:94:38: warning: implicit declaration of function ‘random’
[-Wimplicit-function-declaration]
20110221 debianbuildhost amd64 20220610 crypto_box curve25519xsalsa20poly1305
fromcompiler crypto_box/curve25519xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c 94 | for (j = -16;j < 0;++j) ska[j] = random();
20110221 debianbuildhost amd64 20220610 crypto_box curve25519xsalsa20poly1305
fromcompiler crypto_box/curve25519xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
try.c | ^~~~~~
20110221 debianbuildhost amd64 20220610 crypto_box curve25519xsalsa20poly1305
try 5fac7400caabc14a99c5c0bc13fb1df5e468e870382a3a1c ok 380390 4999451880
2500004000 crypto_box/curve25519xsalsa20poly1305/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
20110221 debianbuildhost amd64 20220610 crypto_box curve25519xsalsa20poly1305
implementation crypto_box/curve25519xsalsa20poly1305/ref -
20110221 debianbuildhost amd64 20220610 crypto_box curve25519xsalsa20poly1305
cpuid GenuineIntel-00050654-1f8bfbff_
20110221 debianbuildhost amd64 20220610 crypto_box curve25519xsalsa20poly1305
compiler
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
11.3.0
20110221 debianbuildhost amd64 20220610 crypto_sign edwards25519sha512batch try
- unknown 27851176 7517109976 2500004000
crypto_sign/edwards25519sha512batch/ref
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
20110221 debianbuildhost amd64 20220610 crypto_sign edwards25519sha512batch
implementation crypto_sign/edwards25519sha512batch/ref -
20110221 debianbuildhost amd64 20220610 crypto_sign edwards25519sha512batch
cpuid GenuineIntel-00050654-1f8bfbff_
20110221 debianbuildhost amd64 20220610 crypto_sign edwards25519sha512batch
compiler
cc_-g_-O2_-ffile-prefix-map=/<<PKGBUILDDIR>>=._-flto=auto_-ffat-lto-objects_-fstack-protector-strong_-Wformat_-Werror=format-security_-fPIC_-Wdate-time_-D_FORTIFY_SOURCE=2_-flto=auto_-ffat-lto-objects_-Wl,-z,relro_-Wl,-z,now
11.3.0
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
create-stamp debian/debhelper-build-stamp
dh_prep
debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install -plibnacl-dev build/debianbuildhost/lib/*/libnacl.a
'/usr/lib/x86_64-linux-gnu'
dh_install -plibnacl-dev build/debianbuildhost/lib/*/librandombytes.a
'/usr/lib/x86_64-linux-gnu'
dh_install -plibnacl-dev build/debianbuildhost/include/*/crypto_*.h
'/usr/include/nacl'
dh_install -plibnacl-dev build/debianbuildhost/include/*/randombytes.h
'/usr/include/nacl'
dh_install
dh_install: warning: Cannot find (any matches for)
"build/debianbuildhost/bin/curvecpserver" (tried in ., debian/tmp)
dh_install: warning: nacl-tools missing files:
build/debianbuildhost/bin/curvecpserver
dh_install: warning: Cannot find (any matches for)
"build/debianbuildhost/bin/curvecpclient" (tried in ., debian/tmp)
dh_install: warning: nacl-tools missing files:
build/debianbuildhost/bin/curvecpclient
dh_install: warning: Cannot find (any matches for)
"build/debianbuildhost/bin/curvecpmessage" (tried in ., debian/tmp)
dh_install: warning: nacl-tools missing files:
build/debianbuildhost/bin/curvecpmessage
dh_install: warning: Cannot find (any matches for)
"build/debianbuildhost/bin/curvecpmakekey" (tried in ., debian/tmp)
dh_install: warning: nacl-tools missing files:
build/debianbuildhost/bin/curvecpmakekey
dh_install: warning: Cannot find (any matches for)
"build/debianbuildhost/bin/nacl-sha256" (tried in ., debian/tmp)
dh_install: warning: nacl-tools missing files:
build/debianbuildhost/bin/nacl-sha256
dh_install: warning: Cannot find (any matches for)
"build/debianbuildhost/bin/nacl-sha512" (tried in ., debian/tmp)
dh_install: warning: nacl-tools missing files:
build/debianbuildhost/bin/nacl-sha512
dh_install: error: missing files, aborting
make[1]: *** [debian/rules:39: override_dh_install] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:42: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---