pkgsrc-Bugs archive

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

pkg/39532: bootstrap fails under Interix (libfetch fails)



>Number:         39532
>Category:       pkg
>Synopsis:       bootstrap fails under Interix (libfetch fails)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 13 12:55:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0: 
Wed Jul 16 00:28:58 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
bootstrap fails under Interix due to libfetch.

gcc -D_ALL_SOURCE -D_ALL_SOURCE  -Wall -Wstrict-prototypes -Wmissing-prototypes 
-Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith 
-Wwrite-strings -Wswitch -Wshadow -Werror  -D_ALL_SOURCE -I/usr/local/include 
-I/usr/local/ssl/include -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=002 
-I/tmp/pkgsrc-bootstrap/wrk/pkgtools/pkg_install/work/zlib 
-I/tmp/pkgsrc-bootstrap/wrk/pkgtools/pkg_install/work/libarchive/libarchive 
-I/tmp/pkgsrc-bootstrap/wrk/pkgtools/pkg_install/work/libfetch 
-DHAVE_NBCOMPAT_H=1 
-I/tmp/pkgsrc-bootstrap/wrk/pkgtools/pkg_install/work/libnbcompat -I. 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -DFTP_COMBINE_CWDS -c common.c
common.c:66: error: `EAI_AGAIN' undeclared here (not in a function)
common.c:66: error: initializer element is not constant
common.c:66: error: (near initialization for `netdb_errlist[0].num')
common.c:66: error: initializer element is not constant
common.c:66: error: (near initialization for `netdb_errlist[0]')
common.c:67: error: `EAI_FAIL' undeclared here (not in a function)
common.c:67: error: initializer element is not constant
common.c:67: error: (near initialization for `netdb_errlist[1].num')
common.c:67: error: initializer element is not constant
common.c:67: error: (near initialization for `netdb_errlist[1]')
common.c:68: error: `EAI_NONAME' undeclared here (not in a function)
common.c:68: error: initializer element is not constant
common.c:68: error: (near initialization for `netdb_errlist[2].num')
common.c:68: error: initializer element is not constant
common.c:68: error: (near initialization for `netdb_errlist[2]')
common.c:69: error: initializer element is not constant
common.c:69: error: (near initialization for `netdb_errlist[3]')
common.c: In function `fetch_default_port':
common.c:190: warning: implicit declaration of function `ntohs'
common.c: In function `fetch_bind':
common.c:247: error: storage size of `hints' isn't known
common.c:254: warning: implicit declaration of function `getaddrinfo'
common.c:256: error: dereferencing pointer to incomplete type
common.c:257: error: dereferencing pointer to incomplete type
common.c:257: error: dereferencing pointer to incomplete type
common.c:247: warning: unused variable `hints'
common.c: In function `fetch_connect':
common.c:272: error: storage size of `hints' isn't known
common.c:294: error: dereferencing pointer to incomplete type
common.c:295: error: dereferencing pointer to incomplete type
common.c:295: error: dereferencing pointer to incomplete type
common.c:296: error: dereferencing pointer to incomplete type
common.c:299: error: dereferencing pointer to incomplete type
common.c:304: error: dereferencing pointer to incomplete type
common.c:304: error: dereferencing pointer to incomplete type
common.c:308: warning: implicit declaration of function `freeaddrinfo'
common.c:272: warning: unused variable `hints'
common.c:294: warning: value computed is not used
common.c: In function `fetch_write':
common.c:499: error: `uintptr_t' undeclared (first use in this function)
common.c:499: error: (Each undeclared identifier is reported only once
common.c:499: error: for each function it appears in.)
common.c: In function `fetch_writev':
common.c:573: error: `uintptr_t' undeclared (first use in this function)
common.c: In function `fetch_putln':
common.c:589: error: `uintptr_t' undeclared (first use in this function)
*** Error code 1

>Fix:

Unknown


Home | Main Index | Thread Index | Old Index