FreeBSD Port: pkg-1.5.2 - link error on FreeBSD 11.0-CURRENT r282802

David P. Discher dpd at dpdtech.com
Fri May 15 00:47:01 UTC 2015


Just setting up a poudriere builder for 11 (my 10-stable poudriere works great, with pkg 1.5.2 ) - and of course, pkg is the first thing to build, and I’m getting a link error.  Everything is standard, running GENERIC-NODEBUG kernel.


====>> Building ports-mgmt/pkg
build started at Fri May 15 00:30:04 UTC 2015
port directory: /usr/ports/ports-mgmt/pkg
building for: FreeBSD dpdtech 11.0-CURRENT FreeBSD 11.0-CURRENT amd64
maintained by: pkg at FreeBSD.org
Makefile ident:      $FreeBSD: head/ports-mgmt/pkg/Makefile 385710 2015-05-07 22:50:51Z bapt $
Poudriere version: 3.1.4
Host OSVERSION: 1100073
Jail OSVERSION: 1100073

---Begin Environment---
OSVERSION=1100073
UNAME_v=FreeBSD 11.0-CURRENT
UNAME_r=11.0-CURRENT
LC_COLLATE=C
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen
MASTERMNT=/usr/local/poudriere/data/.m/freebsd11-current-default/ref
FORCE_PACKAGE=yes
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNAME=pkg-1.5.2
OLDPWD=/
PWD=/usr/local/poudriere/data/.m/freebsd11-current-default/ref/.p/pool
MASTERNAME=freebsd11-current-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1.4
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
---End Environment---

[ ……………………… ]

--- pkg-static ---
CCLD     pkg-static
/usr/lib/liblzma.a(check.o): In function `lzma_check_init':
/usr/src/lib/liblzma/../../contrib/xz/src/liblzma/check/check.c:(.text+0x5e): undefined reference to `_libmd_SHA256_Init'
/usr/lib/liblzma.a(check.o): In function `lzma_check_update':
/usr/src/lib/liblzma/../../contrib/xz/src/liblzma/check/check.c:(.text+0xbf): undefined reference to `_libmd_SHA256_Update'
/usr/lib/liblzma.a(check.o): In function `lzma_check_finish':
/usr/src/lib/liblzma/../../contrib/xz/src/liblzma/check/check.c:(.text+0x10d): undefined reference to `_libmd_SHA256_Final'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [pkg-static] Error code 1

make[4]: stopped in /wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.5.2/src
1 error

make[4]: stopped in /wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.5.2/src
*** [all-recursive] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.5.2
1 error

make[3]: stopped in /wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.5.2
*** [all] Error code 2

make[2]: stopped in /wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.5.2
1 error

make[2]: stopped in /wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.5.2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg
====>> Cleaning up wrkdir
===>  Cleaning for pkg-1.5.2
build of ports-mgmt/pkg ended at Fri May 15 00:31:57 UTC 2015
build time: 00:01:53
!!! build failure encountered !!!




-
David P. Discher
http://davidpdischer.com/
AIM: DavidDPD | Y!M: daviddpdz



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20150514/0502c18f/attachment.sig>


More information about the freebsd-ports mailing list