Your message dated Fri, 16 Mar 2018 12:05:02 +0000
with message-id <e1ewo6y-0005iv...@fasolo.debian.org>
and subject line Bug#891372: fixed in kbuild 1:0.1.9998svn3149+dfsg-1
has caused the Debian Bug report #891372,
regarding kbuild: FTBFS with glibc 2.27: undefined reference to `__alloca'
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 ow...@bugs.debian.org
immediately.)


-- 
891372: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891372
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: kbuild
Version: 1:0.1.9998svn3127+dfsg-1
Severity: important
User: debian-gl...@lists.debian.org
Usertags: 2.27

kbuild 1:0.1.9998svn3127+dfsg-1 fails to build with glibc 2.27
(2.27-0experimental0 from experimental):

| gcc -DHAVE_CONFIG_H -I. 
-I/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob -I..   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg=. 
-fstack-protector-strong -Wformat -Werror=format-security -MT glob.o -MD -MP 
-MF .deps/glob.Tpo -c -o glob.o 
/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c: In function 
'glob':
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:577:23: 
warning: implicit declaration of function '__alloca'; did you mean 'alloca'? 
[-Wimplicit-function-declaration]
|        newp = (char *) __alloca (dirlen + 1);
|                        ^~~~~~~~
|                        alloca
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:577:14: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|        newp = (char *) __alloca (dirlen + 1);
|               ^
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:705:15: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|         newp = (char *) __alloca (home_len + dirlen);
|                ^
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:728:15: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|         newp = (char *) __alloca (end_name - dirname);
|                ^
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:779:15: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|         newp = (char *) __alloca (home_len + rest_len + 1);
|                ^
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:815:11: 
warning: implicit declaration of function '__stat'; did you mean '__xstat'? 
[-Wimplicit-function-declaration]
|          : __stat (dirname, &st)) == 0
|            ^~~~~~
|            __xstat
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c: In function 
'glob_in_dir':
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:1271:21: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|     char *fullname = (char *) __alloca (dirlen + 1 + patlen + 1);
|                      ^
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:1302:12: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|     names = (struct globlink *) __alloca (sizeof (struct globlink));
|             ^
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:1360:32: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|          struct globlink *new = (struct globlink *)
|                                 ^
| /<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/glob.c:1386:15: 
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
|        names = (struct globlink *) __alloca (sizeof (struct globlink));
|                ^
| mv -f .deps/glob.Tpo .deps/glob.Po
| gcc -DHAVE_CONFIG_H -I. 
-I/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob -I..   -Wdate-time 
-D_FORTIFY_SOURCE=2  -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg=. 
-fstack-protector-strong -Wformat -Werror=format-security -MT fnmatch.o -MD -MP 
-MF .deps/fnmatch.Tpo -c -o fnmatch.o 
/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/src/kmk/glob/fnmatch.c
| mv -f .deps/fnmatch.Tpo .deps/fnmatch.Po
| rm -f libglob.a
| ar cru libglob.a glob.o fnmatch.o 
| ar: `u' modifier ignored since `D' is the default (see `U')
| ranlib libglob.a
| make[5]: Leaving directory 
'/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/out/linux.amd64/release/bootstrap/kmk/glob'

[...]

| gcc -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wpointer-arith 
-Wbad-function-cast -g -O2 
-fdebug-prefix-map=/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg=. 
-fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro 
-Wl,--as-needed -o kmk ar.o arscan.o commands.o default.o dir.o expand.o file.o 
function.o getopt.o getopt1.o implicit.o job.o main.o misc.o read.o remake.o 
remote-stub.o rule.o signame.o strcache.o variable.o version.o vpath.o hash.o 
expreval.o incdep.o strcache2.o alloccache.o kbuild.o kbuild-object.o 
electric.o md5.o kDep.o kbuild_version.o dos2unix.o maybe_con_fwrite.o 
kmkbuiltin.o append.o cat.o chmod.o cmp.o cmp_util.o cp.o cp_utils.o echo.o 
expr.o install.o kDepIDB.o kDepObj.o ln.o md5sum.o mkdir.o mv.o printf.o 
redirect.o rm.o rmdir.o sleep.o test.o touch.o err.o fts.o setmode.o strmode.o 
strlcpy.o osdep.o kbuild_protection.o common-env-and-cwd-opt.o glob/libglob.a  
| chmod.o: In function `kmk_builtin_chmod':
| ./out/linux.amd64/release/bootstrap/kmk/./src/kmk/kmkbuiltin/chmod.c:184: 
warning: lchmod is not implemented and will always fail
| glob/libglob.a(glob.o): In function `glob_in_dir':
| ./out/linux.amd64/release/bootstrap/kmk/glob/./src/kmk/glob/glob.c:1386: 
undefined reference to `__alloca'
| ./out/linux.amd64/release/bootstrap/kmk/glob/./src/kmk/glob/glob.c:1361: 
undefined reference to `__alloca'
| ./out/linux.amd64/release/bootstrap/kmk/glob/./src/kmk/glob/glob.c:1302: 
undefined reference to `__alloca'
| ./out/linux.amd64/release/bootstrap/kmk/glob/./src/kmk/glob/glob.c:1271: 
undefined reference to `__alloca'
| glob/libglob.a(glob.o): In function `glob':
| ./out/linux.amd64/release/bootstrap/kmk/glob/./src/kmk/glob/glob.c:577: 
undefined reference to `__alloca'
| 
glob/libglob.a(glob.o):./out/linux.amd64/release/bootstrap/kmk/glob/./src/kmk/glob/glob.c:728:
 more undefined references to `__alloca' follow
| collect2: error: ld returned 1 exit status
| Makefile:750: recipe for target 'kmk' failed
| make[5]: *** [kmk] Error 1
| make[5]: Leaving directory 
'/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/out/linux.amd64/release/bootstrap/kmk'
| Makefile:1483: recipe for target 'all-recursive' failed
| make[4]: *** [all-recursive] Error 1
| make[4]: Leaving directory 
'/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/out/linux.amd64/release/bootstrap/kmk'
| Makefile:651: recipe for target 'all' failed
| make[3]: *** [all] Error 2
| make[3]: Leaving directory 
'/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/out/linux.amd64/release/bootstrap/kmk'
| bootstrap.gmk:176: recipe for target 
'/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk'
 failed
| make[2]: *** 
[/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk]
 Error 2
| make[2]: Leaving directory '/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg'
| kBuild/env.sh: info: rc=2: make -f bootstrap.gmk 
SRCDIR=/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg ASH=/bin/bash ECHO=/bin/echo 
MKDIR=/bin/mkdir CP=/bin/cp RM=/bin/rm INSTALL=/usr/bin/install 
YACC=/usr/bin/byacc
| debian/rules:21: recipe for target 'override_dh_auto_build' failed
| make[1]: *** [override_dh_auto_build] Error 2
| make[1]: Leaving directory '/<<BUILDDIR>>/kbuild-0.1.9998svn3127+dfsg'
| debian/rules:14: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

A full build log is available there: 
http://aws-logs.debian.net/2018/02/07/glibc-exp/kbuild_0.1.9998svn3127+dfsg-1_unstable_glibc-exp.log

The problem is that the glibc 2.27 slightly changed its internal glob
implementation. kbuild uses an internal copy of make, which detects that
it doesn't support the new interface and switch to its internal
implementation which is slightly broken.

The same kind of patch as for make-dfsg should probably be applied:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891365

--- End Message ---
--- Begin Message ---
Source: kbuild
Source-Version: 1:0.1.9998svn3149+dfsg-1

We believe that the bug you reported is fixed in the latest version of
kbuild, 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 891...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gianfranco Costamagna <locutusofb...@debian.org> (supplier of updated kbuild 
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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 15 Mar 2018 18:44:34 +0100
Source: kbuild
Binary: kbuild
Architecture: source
Version: 1:0.1.9998svn3149+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian Virtualbox Team 
<pkg-virtualbox-de...@lists.alioth.debian.org>
Changed-By: Gianfranco Costamagna <locutusofb...@debian.org>
Description:
 kbuild     - framework for writing simple makefiles for complex tasks
Closes: 891372
Changes:
 kbuild (1:0.1.9998svn3149+dfsg-1) unstable; urgency=low
 .
   * New upstream version 0.1.9998svn3149+dfsg (Closes: #891372)
   * Drop patches upstreamed, hopefully not useful anymore
     - drop 09_read.c_record_files_SV_33034_Changes_fatal_to_error.patch
   * Add patch to disable doc and po builds
   * Bump copyright years
   * Bump std-version to 4.1.3
   * Add pkg-config dependency
Checksums-Sha1:
 ab16eb274520917b6cfbf6c88a64ebbad5e801a0 2082 kbuild_0.1.9998svn3149+dfsg-1.dsc
 06b0e23648f9b5955bca63ff42a78de76fcdc95e 3198394 
kbuild_0.1.9998svn3149+dfsg.orig.tar.gz
 a228bdd2e8fc217c768cfee1d0dea4822a153b3f 11020 
kbuild_0.1.9998svn3149+dfsg-1.debian.tar.xz
 0086ab7f5c38d9f35c6d2b8cb31e6807a4760c8b 6384 
kbuild_0.1.9998svn3149+dfsg-1_source.buildinfo
Checksums-Sha256:
 ce8b7db9c1afb3f28526dafc290c20f2c532592ef6cf52b4475c92e55a380f12 2082 
kbuild_0.1.9998svn3149+dfsg-1.dsc
 0fcdd13dd61cd52f155357f84c1c018a9ea1b2815a94666bb6b87d3ff8c97a1f 3198394 
kbuild_0.1.9998svn3149+dfsg.orig.tar.gz
 f2bfa0e523ba6773820f8117d5b19cb0062c8f5a8b82ad28fc2bf949dd70c841 11020 
kbuild_0.1.9998svn3149+dfsg-1.debian.tar.xz
 05758859c09b8f4e350048f841f1ff1a352d65eac3dcb7b8edc641dbfe770e30 6384 
kbuild_0.1.9998svn3149+dfsg-1_source.buildinfo
Files:
 f49bc1ed3b7269f01e04b07ce836d5b2 2082 devel optional 
kbuild_0.1.9998svn3149+dfsg-1.dsc
 1a9b1e67651af062a032695926612954 3198394 devel optional 
kbuild_0.1.9998svn3149+dfsg.orig.tar.gz
 2ff0564a31490c11242b4be35c8d6e53 11020 devel optional 
kbuild_0.1.9998svn3149+dfsg-1.debian.tar.xz
 1cbd103eccf31665b439cfbcf18241b6 6384 devel optional 
kbuild_0.1.9998svn3149+dfsg-1_source.buildinfo

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

iQIcBAEBCAAGBQJaq6/qAAoJEPNPCXROn13ZfCQQAM5CLznk1P7scxQkAI/VSSAJ
XtVUjpiwA4XHbRZ43sj/aOtKRMpTkTpysI9rW6/ct3KuKLhpyuJLDFmAI8S5F3QB
R+bYfXI6V1jYepGbFo4BOoGYw6ibx7qmHqPj9EMkD6J93kMuq9QzphZyi//UaHJT
hd2LaAZSGtGrxvdjkaVsoaUMmICIpP/5nbHeU0iZWV2Epvvh4PAwGcaENOcRr8ec
Bl+6s/66pN7JI/rkAQzEMZdJZMHOu5tmYtmGG45ifgzTLP69ppoX3/qPZ3WrZlBn
x/t6MfKc0vDiLmcUz4NA+OIXQIz06JUFmZdrwgArFT7zwRANue3mnPlSMcYFDf0K
6+o3VXpIZEfQ6/4WGotkKsQLTYQJMdO1F2+g594cbB+rjtAjUrLp5qZUxS+BlYMv
1Q1K33Fa95b4czUUTFMsijasq5o0FROmLcPl8NgIwpcubrDRTK4fGkXLc69JafKt
Rb5d+corzE8PfMZZdtmzhPnxVovDPTfNjxnTT8+pnELL6Sb0pNWgxnfI/CDldpsC
uj1jriwfw7wQMYlkjufKkE86zAkV44nAK59Yy/OlMjQq4bEbIkA7T/KULFgYe+em
+Gh7Kug8joLTxigIgASs/jf7yNhHxxQOdku43Fio90rQpZ0M40xgQPuDUZy0cxF8
Vf/dOGEfFmvIRAK+Ff/8
=Asbz
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to