pkgsrc-Bugs archive

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

pkg/38437: bootstrap fails on Linux



>Number:         38437
>Category:       pkg
>Synopsis:       bootstrap fails on Linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 15 20:15:00 +0000 2008
>Originator:     Aleksey Cheusov
>Release:        linux
>Organization:
home
>Environment:
>Description:
$ ./bootstrap --unprivileged...
...
gcc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings 
-Wswitch -Wshadow -Werror  -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/tmp/obj_7124/wrk/pkgtools/pkg_install/work/bzip2 
-I/tmp/obj_7124/wrk/pkgtools/pkg_install/work/libarchive/libarchive 
-I/tmp/obj_7124/wrk/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/tmp/obj_7124/wrk/pkgtools/pkg_install/work/libnbcompat -I. 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -DFTP_COMBINE_CWDS -c ftp.c
cc1: warnings being treated as errors
ftp.c: In function 'ftp_cmd':
ftp.c:189: warning: implicit declaration of function 'vasprintf'
*** Error code 1

>How-To-Repeat:

>Fix:
from ASPRINTF(3):
SYNOPSIS
       #define _GNU_SOURCE
       #include <stdio.h>
       int asprintf(char **strp, const char *fmt, ...);
       int vasprintf(char **strp, const char *fmt, va_list ap);



Home | Main Index | Thread Index | Old Index