tech-pkg archive

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

Re: Recent ArchLinux libnbcompat build failures



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

On 30.08.2015 16:22, Thomas Klausner wrote:
> On Sun, Aug 30, 2015 at 02:33:01PM +0200, Kamil Rytarowski wrote:
>> A user with GCC 5.2 and GLibc 2.22 reported that patch isn't
>> buildable.
>> 
>> 
>> ===> Building for nbpatch-20100124 gcc -O2  -Werror
>> -DHAVE_NBCOMPAT_H=1 -
>> -I/home/jack/netbsd-pkgsrc/pkgsrc/devel/nbpatch/work/libnbcompat
>> -c patch.c patch.c: In function main: patch.c:178:6: error:
>> implicit declaration of function asprintf 
>> [-Werror=implicit-function-declaration] if (asprintf(&TMPOUTNAME,
>> "%.*s/patchoXXXXXXXXXX", i, tmpdir) == -1) ^ cc1: all warnings
>> being treated as errors *** Error code 1
>> 
>> We went for addition of AC_GNU_SOURCE to 
>> pkgtools/libnbcompat/files/configure.ac and `autoreconf -fiv'
>> over pkgtools/libnbcompat/files
>> 
>> It solved the issues.
> 
> Fine with me, please commit. Thomas
> 

Committed, please let me know about any problems.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV5jE+AAoJEEuzCOmwLnZsP6wP/0pgYAaobja8JxQ0KQQFdRwm
rWT3LooPZcplws3XBwRuqS4sbpxfw02PnCEFuFbAjkX07UMJD7WL3DMEfewk98mm
4vK2nL1eRiDA4bZxS047XSOjRgZtA4/altx2Vitchpj9fgB00Q+u78x1pA5zwYjq
VQZeqnoVbJAyRAi7VNSyHukYhCLi0PPaBI5MPZ4i6/jmqbsLKwD3lgP1I08ZCMj2
Sn9bvzm9mWQrLWGrArLFY7ye8f76RkCGa+jyVTH5SEVawNcQb0fJyVCXRRxL7Q7K
GhdYgjVfW+lVLhsjJm8+3Wc3nch/j58cbdWgcS2ubWdQWMFAaNGlggViHaTv5uXe
qBEN3TFexdhUAGLQfBKCbLWTTeXJpRY+2nSXPx8ENXgFKr0ocRsLjifOxeP8eWNL
/AgjXWFp9GFsbfUbLAiMbnpHNpSttb1XyjdYca1ytKJW3WuEkrEdbWDbAFnObvXy
SX6PQ0+LzkBXiJQyxPGjlBMPTAg81adu2dAbv/xQ7WX5hjH2JD+LQUWmQUgXld30
ATyW2rMIrSFWJmBY+F43/ixEI0L3n3NfMEe/mfJRz8EwTiTrcXHb3qV1XVZeRX9L
T471iWmb60dSZqX5J1dpE+Hmw9Xp+1dR7x/th6ifoq6Zd0/6ywkqt5HpqmqpxTUf
nbdtnIVevegazJ3uSW53
=ovuy
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index