tech-pkg archive

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

pkg_install fails to build



With up to date pkgsrc, pkg_install fails to build.


===> Installing dependencies for pkg_install-20080407
===> Overriding tools for pkg_install-20080407
===> Extracting for pkg_install-20080407
===> Patching for pkg_install-20080407
===> Creating toolchain wrappers for pkg_install-20080407

[snip]

--- ftp.o ---
#   compile  libfetch/ftp.o
cc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Wcast-qual 
-Wwrite-strings -Wextra -Wno-unused-parameter -std=gnu99  -Werror   
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=0022 
-I/n0/gdt/NetBSD-current/pkgsrc/pkgtools/pkg_install/work/libarchive/libarchive 
-I/n0/gdt/NetBSD-current/pkgsrc/pkgtools/pkg_install/work/libfetch 
-DHAVE_NBCOMPAT_H=1 
-I/n0/gdt/NetBSD-current/pkgsrc/pkgtools/pkg_install/work/libnbcompat -I. 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -DFTP_COMBINE_CWDS    -c    ftp.c -o ftp.o
ftp.c:77:20: error: ftperr.h: No such file or directory
ftp.c: In function 'ftp_chkerr':
ftp.c:166: error: 'ftp_errlist' undeclared (first use in this function)
ftp.c:166: error: (Each undeclared identifier is reported only once
ftp.c:166: error: for each function it appears in.)
ftp.c: In function 'ftp_cwd':
ftp.c:282: error: 'ftp_errlist' undeclared (first use in this function)
ftp.c: In function 'ftp_stat':
ftp.c:413: error: 'ftp_errlist' undeclared (first use in this function)
ftp.c: In function 'ftp_transfer':
ftp.c:886: error: 'ftp_errlist' undeclared (first use in this function)
ftp.c: In function 'ftp_connect':
ftp.c:996: error: 'ftp_errlist' undeclared (first use in this function)
*** [ftp.o] Error code 1
--- fetch.o ---
objcopy -x fetch.o
--- common.o ---
objcopy -x common.o
1 error

make: stopped in 
/n0/gdt/NetBSD-current/pkgsrc/pkgtools/pkg_install/work/libfetch
*** Error code 2

Stop.
make: stopped in /n0/gdt/NetBSD-current/pkgsrc/pkgtools/pkg_install
WARNING: *** Please consider adding c++ to USE_LANGUAGES in the package 
Makefile.
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package 
Makefile.
*** Error code 1

Stop.
make: stopped in /n0/gdt/NetBSD-current/pkgsrc/pkgtools/pkg_install



Home | Main Index | Thread Index | Old Index