Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2017 07:31:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 219160] [ports-mgmt/pkg] Make at least OpenSSL linkable from ports
Message-ID:  <bug-219160-32340-YyCEcy56RU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219160-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-219160-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219160

--- Comment #1 from Michael Osipov <1983-01-06@gmx.net> ---
Naively setting

export CPPFLAGS=3D"-I/usr/local/include"
export LDFLAGS=3D"-L/usr/local/lib"

Gives me:
l,-rpath -Wl,/usr/local/lib
--- pkg-static ---
/usr/local/lib/libarchive.a(archive_read_support_filter_lz4.o): In function
`lz4_filter_read_default_stream':
(.text+0x794): undefined reference to `LZ4_decompress_safe'
/usr/local/lib/libarchive.a(archive_read_support_filter_lz4.o): In function
`lz4_filter_read_default_stream':
(.text+0x9f7): undefined reference to `LZ4_decompress_safe_usingDict'
/usr/local/lib/libarchive.a(archive_read_support_filter_lz4.o): In function
`lz4_filter_read_legacy_stream':
(.text+0xb41): undefined reference to `LZ4_decompress_safe'
/usr/local/lib/libarchive.a(archive_read_support_filter_lzop.o): In function
`lzop_filter_read':
(.text+0x7e6): undefined reference to `lzo1x_decompress_safe'
/usr/lib/liblzma.a(stream_encoder_mt.o): In function `stream_encoder_mt_ini=
t':
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0x406):
undefined reference to `pthread_condattr_init'
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0x41a):
undefined reference to `pthread_condattr_setclock'
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0x426):
undefined reference to `pthread_condattr_destroy'
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0x444):
undefined reference to `pthread_condattr_destroy'
/usr/lib/liblzma.a(stream_encoder_mt.o): In function `stream_encode_mt':
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0xaad):
undefined reference to `pthread_condattr_init'
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0xac7):
undefined reference to `pthread_condattr_setclock'
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0xae7):
undefined reference to `pthread_condattr_destroy'
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0xb0b):
undefined reference to `pthread_condattr_destroy'
/usr/src/contrib/xz/src/liblzma/common/stream_encoder_mt.c:(.text+0xc24):
undefined reference to `pthread_create'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [pkg-static] Error code 1

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

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

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

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

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

make[2]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.10.1
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219160-32340-YyCEcy56RU>