pkgsrc-Bugs archive

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

pkg/31392: wget build fails, macppc



>Number:         31392
>Category:       pkg
>Synopsis:       wget build fails, macppc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 03:33:00 +0000 2005
>Originator:     Rob Hamrick
>Release:        NetBSD 2.0.2
>Organization:
>Environment:
NetBSD tumble 2.0.2 NetBSD 2.0.2 (GENERIC) #0: Tue Mar 22 16:19:08 UTC 2005 
jmc%faith.netbsd.org@localhost:/home/builds/ab/netbsd-2-0-2-RELEASE/macppc/200503220140Z-obj/home/builds/ab/netbsd-2-0-2-RELEASE/src/sys/arch/macppc/compile/GENERIC
 macppc
>Description:
make exits on error when installing wget 1.10.1 with pkgsrc (see below).  
Following up some on some suggestions on the netbsd-help list, I verified:

1) the file work/.buildlink/include/openssl/des.h is a plain file, not a 
symlink, and the it includes /usr/include/openssl/des.h and /usr/include/des.h. 
                                        
                                                                                
                    
2) the output of            
  $ ident /usr/include/openssl/des.h /usr/include/des.h
is
  /usr/include/openssl/des.h:
  ident warning: no id keywords in /usr/include/openssl/des.h

  /usr/include/des.h:
       $NetBSD: des.h,v 1.4 2003/07/24 14:16:30 itojun Exp $

3) The output of                                                                
                     
  $ ls -l /usr/include/openssl/des.h /usr/include/des.h
is
  -r--r--r--  1 root  wheel  10854 Jul 24  2003 /usr/include/des.h
  -r--r--r--  1 root  wheel  10305 Jul 24  2003 /usr/include/openssl/des.h

Builds of wget 1.10.1 from pkgsrc are reported to work on other ports.

The output of make is as follows:

===> Building for wget-1.10.1
cd src && /usr/bin/make CC='cc' CPPFLAGS='-I/usr/include' DEFS='-DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\" -DLOCALEDIR=\"/usr/pkg/share/locale\"'  
CFLAGS='-O2 -I/usr/include' LDFLAGS='-L/usr/lib -Wl,-R/usr/lib 
-Wl,-R/usr/pkg/lib' LIBS='-lintl -lintl /usr/lib/libssl.so 
/usr/lib/libcrypto.so'  prefix='/usr/pkg' exec_prefix='/usr/pkg' 
bindir='/usr/pkg/bin'  infodir='/usr/pkg/info' mandir='/usr/pkg/man' manext='1'
cc -I. -I. -I/usr/include  -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\"/usr/pkg/etc/wgetrc\" -DLOCALEDIR=\"/usr/pkg/share/locale\" 
-O2 -I/usr/include -c http-ntlm.c
http-ntlm.c:185: error: parse error before "des_key_schedule"
http-ntlm.c: In function `setup_des_key':
http-ntlm.c:187: error: `des_cblock' undeclared (first use in this function)
http-ntlm.c:187: error: (Each undeclared identifier is reported only once
http-ntlm.c:187: error: for each function it appears in.)
http-ntlm.c:187: error: parse error before "key"
http-ntlm.c:189: error: `key' undeclared (first use in this function)
http-ntlm.c:189: error: `key_56' undeclared (first use in this function)
http-ntlm.c:199: error: `ks' undeclared (first use in this function)
http-ntlm.c: In function `calc_resp':
http-ntlm.c:210: error: `des_key_schedule' undeclared (first use in this 
function)
http-ntlm.c:210: error: parse error before "ks"
http-ntlm.c:212: error: `ks' undeclared (first use in this function)
http-ntlm.c:213: error: `des_cblock' undeclared (first use in this function)
http-ntlm.c:213: error: parse error before ')' token
http-ntlm.c:217: error: parse error before ')' token
http-ntlm.c:221: error: parse error before ')' token
http-ntlm.c: In function `mkhash':
http-ntlm.c:262: error: `des_key_schedule' undeclared (first use in this 
function)
http-ntlm.c:262: error: parse error before "ks"
http-ntlm.c:264: error: `ks' undeclared (first use in this function)
http-ntlm.c:265: error: `des_cblock' undeclared (first use in this function)
http-ntlm.c:265: error: parse error before ')' token
http-ntlm.c:269: error: parse error before ')' token
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/wget/work/wget-1.10.1/src
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/wget/work/wget-1.10.1
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/wget
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/net/wget/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/wget

>How-To-Repeat:
$ cd /usr/pkgsrc/net/wget
$ su
# make fetch-list | sh
# make
>Fix:




Home | Main Index | Thread Index | Old Index