tech-pkg archive

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

Recent ArchLinux libnbcompat build failures



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

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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJV4vf6AAoJEEuzCOmwLnZs4csQAKU+Q68rpF6+KDlDpQRIfnC+
4Mb1FifxP/45WkZYMkeyqjSctkB1ZL9C3ZFwOfrGZRUuhcyuRkeqxWpY577G8Egt
d5U5O8hCjB8KebWQJH1j+uaxbPZV1oqh7WTpOiCgOaYN3SXGwtwFTo7smfi8A5oq
qWYifDRqoBuTAsKar/JKHnuLM2jGtFg7Ti0wNbUaPVxZVg8aRxsu034M7YDRAS2J
h8CTCBPOG7PbtGV6gtw6y6tcYSc0N0bypAEyp8TWtyChwsDo3PwaWl5D5tlvd4oQ
SqyDfSJ7xX4gF2bf1g575RhJ0+SsTE34nImPaICEnBIu+8zn1Hd1tMW98sGTC5Ph
QxQGYN2kfyn4Vet7Vuce+10X5+n8w50OPTZl1yMYnyTZdJ7LQuN2YM1xQp2yEgd2
qsYFrBpr3XCWuavTnmhXQggg2IjtpPL5AFLmNPK1M1UnbyDS7/d/OiSlehrkdiE8
Xk8b0/wG684z90p2Tm/oOotTDnR6SmcGrzmqiBK3PkbQmQIlYAWAYkbYTquEPWen
a52L6z82wj9hq+IJtWk8UKlwaVO5WuW0Nt1rJxwJsjODbxmAWsqszNv5NUtGvnqN
r5S+8fviZwm2zHHJxxwCxFHUUwRlfVJg4EltVb4ZNCbvjN//FyPjfN/yH2LsnVZp
xvkKFKXKn69ef8dLucpm
=gmPm
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index