Project

General

Profile

Actions

Bug #2076

closed

[snapshots build broken] pkgsrc bootstrap fails with gcc44

Added by herrgard over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

It fails at this step:
/pkg/lib -L../lib -o pkg_add main.o perform.o -linstall -lfetch -lcrypto -larchive -lnbcompat
../lib/libinstall.a(parse-config.o): In function `pkg_install_config':
parse-config.c:(.text+0x534): undefined reference to `fetchConnectionCacheInit'
../lib/libinstall.a(pkg_io.o): In function `fetch_archive_read':
pkg_io.c:(.text+0x112): undefined reference to `fetchIO_read'
pkg_io.c:(.text+0x1c4): undefined reference to `fetchStringifyURL'
pkg_io.c:(.text+0x201): undefined reference to `fetchIO_close'
pkg_io.c:(.text+0x277): undefined reference to `fetchIO_read'
../lib/libinstall.a(pkg_io.o): In function `fetch_archive_close':
pkg_io.c:(.text+0x2dd): undefined reference to `fetchIO_close'
../lib/libinstall.a(pkg_io.o): In function `open_archive_by_url':
pkg_io.c:(.text+0x32a): undefined reference to `fetchCopyURL'
pkg_io.c:(.text+0x33d): undefined reference to `fetchStringifyURL'
../lib/libinstall.a(pkg_io.o): In function `find_best_package_int':
pkg_io.c:(.text+0x558): undefined reference to `fetchUnquoteFilename'
pkg_io.c:(.text+0x62b): undefined reference to `fetchInitURLList'
pkg_io.c:(.text+0x657): undefined reference to `fetchStringifyURL'
pkg_io.c:(.text+0x69e): undefined reference to `fetchFreeURLList'
pkg_io.c:(.text+0x6dc): undefined reference to `fetchUnquoteFilename'
pkg_io.c:(.text+0x6ff): undefined reference to `fetchFreeURLList'
pkg_io.c:(.text+0x77c): undefined reference to `fetchCopyURL'
pkg_io.c:(.text+0x7f5): undefined reference to `fetchFreeURLList'
  • Error code 1
Stop.
bmake: stopped in /tmp/moh/work/wrk/pkgtools/pkg_install/work/pkg_install-20110215/add
  • Error code 1

It does not fail with CCVER set to gcc41.

How to reproduce:
cd /usr/pkgsrc/bootstrap
mkdir /tmp/moh && ./bootstrap --prefix /tmp/moh/pkg --varbase /tmp/moh/pkgvar --workdir /tmp/moh/work --unprivileged

then to try the bootstrap again you can just remove /tmp/moh and start over.

Sascha Wildner asked me to test this patch, http://yoyodyne.ath.cx/tmp/lib_path.diff, but it did not fix the issue.

-Max

Actions

Also available in: Atom PDF