tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Recent ArchLinux libnbcompat build failures
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
Home |
Main Index |
Thread Index |
Old Index