pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/36790: pbulk cannot be built on GNU libc-based system (Linux)
>Number: 36790
>Category: pkg
>Synopsis: pbulk cannot be built on GNU libc-based system (Linux)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Aug 16 08:30:01 +0000 2007
>Originator: Aleksey Cheusov
>Release: Linux/Debian 4.0
>Organization:
home
>Environment:
Linux syn-proc4 2.6.18-4-vserver-686 #1 SMP Thu May 10 01:37:59 UTC 2007 i686
GNU/Linux
>Description:
Building pkgtools/pbulk fails on Linux/Debian like the following.
Linux needs _GNU_SOURCE define.
===> Building for pbulk-0.11
all ===> lib
gcc -O2 -I/usr/pkg_bulk/include -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith
-Wwrite-strings -Wswitch -Wshadow -Werror
-I/tmp/pkg_bulk_work/pkgtools/pbulk/work/libnbcompat -I/usr/pkg_bulk/include
-c alloc.c
cc1: warnings being treated as errors
alloc.c: In function 'xasprintf':
alloc.c:51: warning: implicit declaration of function 'vasprintf'
*** Error code 1
Stop.
bmake: stopped in /tmp/pkg_bulk_work/pkgtools/pbulk/work/pbulk/lib
*** Error code 1
Stop.
bmake: stopped in /tmp/pkg_bulk_work/pkgtools/pbulk/work/pbulk
*** Error code 1
Stop.
bmake: stopped in /srv/pkgsrc/pkgtools/pbulk
*** Error code 1
Stop.
bmake: stopped in /srv/pkgsrc/pkgtools/pbulk
pkgsrc-0:/srv/pkgsrc/pkgtools/pbulk#
>How-To-Repeat:
>Fix:
Add this
CFLAGS.Linux+= -D_GNU_SOURCE
line to Makefile
Home |
Main Index |
Thread Index |
Old Index