tech-pkg archive

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

bootstrap / pkg_install problems



Hi,

On Mac OS X 10.4.11 (PowerPC) and on 10.5.2 machines I cannot build bootstrap. A few days ago, it failed here:

gcc -isystem /usr/include -L../libnbcompat -L../../libnbcompat -L../lib -o pkg_admin check.o config.o main.o -linstall -ltermcap -lnbcompat
/usr/bin/ld: warning -L: directory name (../libnbcompat) does not exist
/usr/bin/ld: Undefined symbols:
_gpg_cmd
_check_pkg_vulnerabilities
_fetch_pkg_vulnerabilities
collect2: ld returned 1 exit status
*** Error code 1

(10.4.11)

gcc -isystem /usr/include -L../libnbcompat -L../../libnbcompat -L../lib -o pkg_admin check.o config.o main.o -linstall -ltermcap -lnbcompat
Undefined symbols:
  "_fetch_pkg_vulnerabilities", referenced from:
      _main in main.o
  "_check_pkg_vulnerabilities", referenced from:
      _main in main.o
  "_gpg_cmd", referenced from:
      _config_variables in config.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
*** Error code 1

(10.5.2)


Today (perhaps after the pkg_install-20080313 update), it failed here:

gcc -isystem /usr/include -L../libnbcompat -L../../libnbcompat -L../lib -o pkg_admin check.o config.o main.o -linstall -ltermcap -lnbcompat
/usr/bin/ld: warning -L: directory name (../libnbcompat) does not exist
/usr/bin/ld: Undefined symbols:
_gpg_cmd
collect2: ld returned 1 exit status
*** Error code 1

(10.4.11)


gcc -isystem /usr/include -L../libnbcompat -L../../libnbcompat -L../lib -o pkg_admin check.o config.o main.o -linstall -ltermcap -lnbcompat
Undefined symbols:
  "_gpg_cmd", referenced from:
      _config_variables in config.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
*** Error code 1

(10.5.2)


Note that doing a bmake update in pkgtools/pkg_install on OS X systems which already have had pkgsrc works.

Also, on a NetBSD/vax current system (4.99.55, from yesterday), trying to do a "make" in pkgtools/pkg_install gives:

=> Fixing paths in scripts.
cd: can't cd to /usr/pkgsrc/pkgtools/pkg_install/work/pkg_install-20080313
*** Error code 2

Any ideas?

John Klos


Home | Main Index | Thread Index | Old Index