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?= <>
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:
 -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
 bmake: stopped in /opt/pkgsrc/pkgsrc/bootstrap/work/pkg_install/admin
 *** Error code 1
 bmake: stopped in /opt/pkgsrc/pkgsrc/bootstrap/work/pkg_install
   Jörn Clausen                    
   Universität Bielefeld

Home | Main Index | Thread Index | Old Index