Package: src:alpine
Version: 2.26+dfsg-2
User: debian...@lists.debian.org
Usertags: make-4.4
Severity: important
Tags: ftbfs
Dear Maintainer,

This package fails to build from source with Make 4.4.1, most likely because of
changes in $(shell) environment handling: environment variables exported from
Makefiles are now made available to commands invoked using $(shell), which
can cause issues with recursive definitions in particular. See
https://salsa.debian.org/debian/make/-/blob/master/debian/NEWS for a complete
list of backward-incompatible changes since Make 4.3.

Below you will find how the builds end, hopefully the most relevant
part from the build log. A full build log is available here:

https://people.debian.org/~sanvila/make-4.4/build-logs/

Make 4.4.1 is currently available in experimental and will hopefully
soon be uploaded to unstable, at which time this bug will become
release-critical.

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Please reach out to the Make maintainer, Stephen Kitt <sk...@debian.org> if
you need help fixing this.

--------------------------------------------------------------------------------
make[4]: Leaving directory '/<<PKGBUILDDIR>>/imap'
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
tools/an "ln -s" src/mailutil mailutil
tools/an "ln -s" src/mlock mlock
tools/an "ln -s" src/dmail dmail
tools/an "ln -s" src/tmail tmail
ln -s tools/an .
make build EXTRACFLAGS='-I/usr/include/openssl -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wno-incompatible-pointer-types -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' 
EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib  -lgssapi_krb5 -lcrypt -lldap 
-lssl -lcrypto  -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' 
PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='SSLINCLUDE=/usr/include/openssl 
SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private ' 
BUNDLED='no' BUILDTYPE=lnpno IP=6 \
SPECIALS="GSSINCLUDE=/usr/include GSSLIB=/usr/lib MAILSPOOL=/var/mail"
make[4]: Entering directory '/<<PKGBUILDDIR>>/imap'
make[5]: Entering directory '/<<PKGBUILDDIR>>/imap'
make[5]: 'ip6' is up to date.
make[5]: Leaving directory '/<<PKGBUILDDIR>>/imap'
cat: OSTYPE: No such file or directory
sh: 1: test: =: argument expected
Building c-client for lnpno...
cat: OSTYPE: No such file or directory
Already built for -- you must do "make clean" first
make[4]: *** [Makefile:706: rebuild] Error 1
make[4]: *** Waiting for unfinished jobs....
echo `cat SPECIALS` SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib 
SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private  > 
c-client/SPECIALS
cd c-client;make lnpno EXTRACFLAGS='-I/usr/include/openssl -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wno-incompatible-pointer-types -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L'\
 EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib  -lgssapi_krb5 
-lcrypt -lldap -lssl -lcrypto  -ltinfo -llber -lkrb5'\
 EXTRADRIVERS='mbox'\
 EXTRAAUTHENTICATORS='gss '\
 PASSWDTYPE=std SSLTYPE=nopwd IP=6\
 GSSINCLUDE=/usr/include GSSLIB=/usr/lib MAILSPOOL=/var/mail 
SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLDIR=/etc/ssl 
SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private  BUNDLED='no'
make[5]: Entering directory '/<<PKGBUILDDIR>>/imap/c-client'
make build EXTRACFLAGS='-I/usr/include/openssl -Wdate-time -D_FORTIFY_SOURCE=2 
-I/usr/include -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wno-incompatible-pointer-types -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' 
EXTRALDFLAGS='-L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib  -lgssapi_krb5 -lcrypt -lldap 
-lssl -lcrypto  -ltinfo -llber -lkrb5' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss ' 
PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \
 SIGTYPE=psx CRXTYPE=nfs \
 SPOOLDIR=/var/spool \
 ACTIVEFILE=/var/lib/news/active \
 RSHPATH=/usr/bin/rsh \
 BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \
 BASELDFLAGS="-lcrypt"
make[6]: Entering directory '/<<PKGBUILDDIR>>/imap/c-client'
sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] 
*.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -g -O2 -pipe -fno-omit-frame-pointer '-I/usr/include/openssl -Wdate-time 
-D_FORTIFY_SOURCE=2 -I/usr/include -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wno-incompatible-pointer-types -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' 
-DCHUNKSIZE=65536 > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
 -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \
 -DANONYMOUSHOME=\"/var/mail/anonymous\" \
 -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
 -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \
 -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \
 -DLOCKPGM3=\"/etc/mlock\" -DLOCKPGM4=\"/usr/bin/mlock\" > OSCFLAGS
Standard password authentication
ln -s ckp_std.c osdepckp.c
echo -lcrypt -L/usr/lib -Wl,-z,relro -Wl,-z,now -L/usr/lib  -lgssapi_krb5 -lcrypt 
-lldap -lssl -lcrypto  -ltinfo -llber -lkrb5 > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o 
siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o 
http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o 
sha.o;ranlib c-client.a" > ARCHIVE
echo slx > OSTYPE
Building with SSL
ln -s ssl_unix.c osdepssl.c
./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy
echo -I/usr/include/openssl -I/usr/include/openssl/openssl 
-DSSL_CERT_DIRECTORY=\"/etc/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/private\" 
>> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/lib -lssl -lcrypto  >> LDFLAGS
Building with SSL and plaintext passwords disabled unless SSL/TLS
echo "  mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c
osdepbas.c not found...try make clean and new make
make[6]: *** [Makefile:955: osdepbas.c] Error 1
make[6]: *** Waiting for unfinished jobs....
./mkauths gss  ext md5 pla log bea oa2
make[7]: Entering directory '/<<PKGBUILDDIR>>/imap/c-client'
echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name 
-DKRB5_DEPRECATED=1 >> OSCFLAGS
sh -c '(test -f /usr/lib/libk5crypto.a) && echo -L/usr/lib -lgssapi_krb5 -lkrb5 
-lk5crypto -lcom_err || echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> 
LDFLAGS
echo "#include \"kerb_mit.c\"" >> auths.c
make[7]: Leaving directory '/<<PKGBUILDDIR>>/imap/c-client'
echo "  mail_versioncheck (CCLIENTVERSION);" >> linkage.c
sh -c '(test nopwd != none)  && echo "int pith_ssl_encryption_version(char *);" 
>> linkage.h || true'
ln -s os_slx.h osdep.h
ln -s os_slx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
ln -s ip6_unix.c ip_unix.c
sh -c '(test slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS 
>> OSCFLAGS || grep -F statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo 
-DNOFSTATVFS64 >> OSCFLAGS'
make[6]: Leaving directory '/<<PKGBUILDDIR>>/imap/c-client'
make[5]: *** [Makefile:497: lnpno] Error 2
make[5]: Leaving directory '/<<PKGBUILDDIR>>/imap/c-client'
make[4]: *** [Makefile:696: OSTYPE] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>/imap'
make[3]: *** [Makefile:357: ldb] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/imap'
make[2]: *** [Makefile:992: c-client] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned 
exit code 2
make[1]: *** [debian/rules:23: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:49: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to