pkgsrc-Bugs archive

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

pkg/40544: pkgtools/pkg_install fails to build on Solaris



>Number:         40544
>Category:       pkg
>Synopsis:       pkgtools/pkg_install fails to build on Solaris
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 03 08:40:06 +0000 2009
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc

>Description:
Déjà-vu? Compiling pkgtools/pkg_install fails on OpenSolaris:

gcc -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/opt/pkg/var/db/pkg\" -D_LARGEFILE_SOURCE 
-D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDE
F_UMASK=022 
-I/opt/pkgsrc/pkgsrc/pkgtools/pkg_install/work/libarchive/libarchive 
-I/opt/pkgsrc/pkgsrc/pkgtools/pkg_insta
ll/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/opt/pkgsrc/pkgsrc/pkgtools/pkg_install/work/libnbcompat -I. -I. 
-DSYSCONFDIR=\"/
opt/pkg/etc\" -O -c pkgdb.c
pkgdb.c:87: error: syntax error before '*' token
pkgdb.c:87: warning: data definition has no type or storage class
pkgdb.c: In function `pkgdb_open':
pkgdb.c:102: error: `BTREEINFO' undeclared (first use in this function)
pkgdb.c:102: error: (Each undeclared identifier is reported only once
pkgdb.c:102: error: for each function it appears in.)
pkgdb.c:102: error: syntax error before "info"
pkgdb.c:106: error: `info' undeclared (first use in this function)
pkgdb.c:114: error: `DB' undeclared (first use in this function)
pkgdb.c:114: error: syntax error before ')' token
pkgdb.c: In function `pkgdb_close':
pkgdb.c:127: error: request for member `close' in something not a structure or 
union
pkgdb.c: In function `pkgdb_store':
pkgdb.c:142: error: `DBT' undeclared (first use in this function)
pkgdb.c:142: error: syntax error before "keyd"
pkgdb.c:147: error: `keyd' undeclared (first use in this function)
pkgdb.c:149: error: `vald' undeclared (first use in this function)
pkgdb.c:155: error: request for member `put' in something not a structure or 
union
pkgdb.c:155: error: `R_NOOVERWRITE' undeclared (first use in this function)
pkgdb.c: In function `pkgdb_retrieve':
pkgdb.c:167: error: `DBT' undeclared (first use in this function)
pkgdb.c:167: error: syntax error before "keyd"
pkgdb.c:173: error: `keyd' undeclared (first use in this function)
pkgdb.c:177: error: `vald' undeclared (first use in this function)
pkgdb.c:179: error: request for member `get' in something not a structure or 
union
pkgdb.c: In function `pkgdb_dump':
pkgdb.c:192: error: `DBT' undeclared (first use in this function)
pkgdb.c:192: error: syntax error before "key"
pkgdb.c:197: error: `R_FIRST' undeclared (first use in this function)
pkgdb.c:197: error: request for member `seq' in something not a structure or 
union
pkgdb.c:197: error: `key' undeclared (first use in this function)
pkgdb.c:197: error: `val' undeclared (first use in this function)
pkgdb.c:197: error: `R_NEXT' undeclared (first use in this function)
pkgdb.c: In function `pkgdb_remove':
pkgdb.c:218: error: `DBT' undeclared (first use in this function)
pkgdb.c:218: error: syntax error before "keyd"
pkgdb.c:223: error: `keyd' undeclared (first use in this function)
pkgdb.c:228: error: request for member `del' in something not a structure or 
union
pkgdb.c: In function `pkgdb_remove_pkg':
pkgdb.c:240: error: `DBT' undeclared (first use in this function)
pkgdb.c:240: error: syntax error before "data"
pkgdb.c:252: error: `R_FIRST' undeclared (first use in this function)
pkgdb.c:252: error: request for member `seq' in something not a structure or 
union
pkgdb.c:252: error: `key' undeclared (first use in this function)
pkgdb.c:252: error: `data' undeclared (first use in this function)
pkgdb.c:252: error: `R_NEXT' undeclared (first use in this function)
pkgdb.c:257: error: request for member `del' in something not a structure or 
union
*** Error code 1

Stop.
bmake: stopped in 
/opt/pkgsrc/pkgsrc/pkgtools/pkg_install/work/pkg_install-20090201/lib
*** Error code 1

Stop.
bmake: stopped in 
/opt/pkgsrc/pkgsrc/pkgtools/pkg_install/work/pkg_install-20090201
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/pkgsrc/pkgtools/pkg_install


This happens when trying to pkg_rolling-replace the package. I don't now, if a 
complete bootstrap will succeed, I will test it. I can send the config.log on 
request.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index