Bug 202503 - ports-mgmt/pkg: configure: error: unable to find the liblzma (building pkg-1.5.6 in 10.1-REL18 jail)
Summary: ports-mgmt/pkg: configure: error: unable to find the liblzma (building pkg-1....
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-20 02:51 UTC by Marcin Cieślak
Modified: 2016-06-25 11:57 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (pkg)


Attachments
pkg-1.5.6.log (14.60 KB, text/plain)
2015-08-20 02:51 UTC, Marcin Cieślak
no flags Details
configure log (170.02 KB, text/plain)
2015-08-20 03:03 UTC, Marcin Cieślak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Cieślak 2015-08-20 02:51:29 UTC
Created attachment 160125 [details]
pkg-1.5.6.log

Running poudriere 3.1.7:

# poudriere jail -c -j nodejs_10_1_amd64 -v 10.1-RELEASE -a amd64


# poudriere jail -l | grep nodejs_10_1_amd64
nodejs_10_1_amd64    10.1-RELEASE-p18 amd64 ftp    2015-08-20 01:58:28 /usr/local/poudriere/jails/nodejs_10_1_amd64

# poudriere bulk -j nodejs_10_1_amd64 -i ports-mgmt/pkg


fails in the configure stage with:
checking for library containing lzma_version_string... no
configure: error: unable to find the liblzma
===>  Script "configure" failed unexpectedly.
Please report the problem to pkg@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.5.6/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/wrkdirs/usr/ports/ports-mgmt/pkg/work/pkg-1.5.6/src/pkg-static info -g -Ea).
*** Error code 1
Comment 1 Marcin Cieślak 2015-08-20 03:03:35 UTC
Created attachment 160126 [details]
configure log

config log says:

configure:13943: cc -o conftest -O2 -pipe -pg -g  -Wno-error -fstack-protector -fno-strict-aliasing -Wall -Wno-unused-function -D_BSD_SOURCE -DINET6=1   -fstack-protector conftest.c -llzma   >&5
/usr/bin/ld: //lib/libc.so.7: invalid DSO for symbol `_end' definition
//lib/libc.so.7: could not read symbols: Bad value
cc: error: linker command failed with exit code 1 (use -v to see invocation)
configure:13943: $? = 1
Comment 2 Marcin Cieślak 2015-08-24 13:08:49 UTC
Well, I've had 

CFLAGS += -pg -g
CXXFLAGS += -pg -g

in the make.conf for that jail.