pkgsrc-Bugs archive

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

pkg/47737: misc/getopt 1.1.5 getopt.c:404: undefined reference to `getopt_long_only'

>Number:         47737
>Category:       pkg
>Synopsis:       misc/getopt 1.1.5 getopt.c:404: undefined reference to 
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 12 15:00:01 +0000 2013
>Originator:     David Shao
>Release:        NetBSD 6.99.19 (GENERIC) amd64
NetBSD 6.99.19 (GENERIC) amd64
Using current pkgsrc, installing or replacing getopt fails on at least NetBSD 
6.99.19 (GENERIC) amd64 as follows:

=> Checksum SHA1 OK for getopt-1.1.5.tar.gz
=> Checksum RMD160 OK for getopt-1.1.5.tar.gz
===> Installing dependencies for getopt-1.1.5
=> Build dependency gmake>=3.81: found gmake-3.82nb5
===> Overriding tools for getopt-1.1.5
===> Extracting for getopt-1.1.5
===> Patching for getopt-1.1.5
=> Applying pkgsrc patches for getopt-1.1.5
===> Creating toolchain wrappers for getopt-1.1.5
===> Configuring for getopt-1.1.5
===> Building for getopt-1.1.5
gcc -c -DLIBCGETOPT=0 -DWITHOUT_GETTEXT=0 -DLOCALEDIR=\"/usr/pkg/share/locale\" 
-DNOT_UTIL_LINUX -Dprogram_invocation_short_name=\"getopt\"  
-Dprogram_version=\"1.1.5\" -I./gnu  -O2 -g -I/usr/include -Wall -W -Wshadow 
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align 
-Wmissing-declarations -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wnested-externs -Winline getopt.c -o getopt.o
In file included from getopt.c:66:0:
./gnu/getopt.h:106:1: warning: function declaration isn't a prototype
getopt.c: In function 'normalize':
getopt.c:155:3: warning: array subscript has type 'char'
gcc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o getopt getopt.o 
gnu/getopt.o gnu/getopt1.o -lintl
getopt.o: In function `main':
/usr/pkgsrc/misc/getopt/work/getopt-1.1.5/getopt.c:404: undefined reference to 
gmake: *** [getopt] Error 1
*** Error code 2

make: stopped in /usr/pkgsrc/misc/getopt



Home | Main Index | Thread Index | Old Index