pkgsrc-Bugs archive

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

Re: PR/40544 CVS commit: pkgsrc/pkgtools/pkg_install/files/create



The following reply was made to PR pkg/40544; it has been noted by GNATS.

From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: PR/40544 CVS commit: pkgsrc/pkgtools/pkg_install/files/create
Date: Tue, 03 Feb 2009 15:09:29 +0100

 >  Log Message:
 >  Include fcntl.h for O_RDONLY, it is included indirectly on NetBSD, but
 >  not on Solaris. Part of PR 40544.
 
 I resynced my source tree after your first patch. Then I got:
 
 cc -DHAVE_CONFIG_H -DOPSYS_NAME=\"SunOS\" -DMACHINE_ARCH=\"i386\" 
 -DBINDIR=\"/opt/pkg/sbin\" -D_LARGEFILE_SOURCE -D_LARGE_FILES 
 -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
 
-I/opt/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
 
 -I/opt/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch 
 -DHAVE_NBCOMPAT_H=1 
 -I/opt/pkgsrc/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat 
 -I/usr/include -I. -I. -I../lib -DHAVE_SSL -O -I/usr/include -c perform.c
 "perform.c", line 341: warning: implicit function declaration: open
 "perform.c", line 341: undefined symbol: O_RDONLY
 "perform.c", line 537: undefined symbol: O_WRONLY
 "perform.c", line 537: undefined symbol: O_TRUNC
 "perform.c", line 537: undefined symbol: O_CREAT
 "perform.c", line 770: undefined symbol: O_WRONLY
 "perform.c", line 770: undefined symbol: O_APPEND
 "perform.c", line 770: undefined symbol: O_CREAT
 "perform.c", line 1414: undefined symbol: O_RDONLY
 cc: acomp failed for perform.c
 
  > Log Message:
  > If no db.h or variant exists, use the one from nbcompat.
  > For PR 40544.
 
 I resynced again after your second patch, now build breaks already at
 
 ranlib libinstall.a
 cc -DHAVE_CONFIG_H -I../libnbcompat -I../../libnbcompat -I. -I. -I../lib 
 -DBOOTSTRAP -g -c check.c
 cc -DHAVE_CONFIG_H -I../libnbcompat -I../../libnbcompat -I. -I. -I../lib 
 -DBOOTSTRAP -g -c main.c
 cc -L../libnbcompat -L../../libnbcompat -L../lib -o pkg_admin check.o 
 main.o -linstall -lsocket -lnsl -ltermcap -lnbcompat
 Undefined                       first referenced
   symbol                             in file
 dbopen                              ../lib/libinstall.a(pkgdb.o)
 ld: fatal: Symbol referencing errors. No output written to pkg_admin
 *** Error code 1
 
 Stop.
 bmake: stopped in /opt/pkgsrc/pkgsrc/bootstrap/work/pkg_install/admin
 *** Error code 1
 
 Stop.
 bmake: stopped in /opt/pkgsrc/pkgsrc/bootstrap/work/pkg_install
 
 
 -- 
   Jörn Clausen                             
joern.clausen%uni-bielefeld.de@localhost
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld
 


Home | Main Index | Thread Index | Old Index