Bug 247558 - ports-mgmt/pkg fails to compile on CURRENT amd64
Summary: ports-mgmt/pkg fails to compile on CURRENT amd64
Status: Closed FIXED
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: 2020-06-26 07:56 UTC by schaiba
Modified: 2020-07-06 06:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schaiba 2020-06-26 07:56:16 UTC
Updated my CURRENT VM to r362612, then tried to update my ports via portmaster. pkg fails with : 

cc -o pkg-static add.o alias.o annotate.o audit.o autoremove.o backup.o check.o clean.o config.o create.o delete.o event.o fetch.o globals.o info.o install.o lock.o main.o plugins.o query.o register.o repo.o rquery.o search.o set.o shell.o shlib.o ssh.o stats.o update.o updating.o upgrade.o utils.o version.o which.o -static  -fstack-protector-strong  -L/usr/ports/ports-mgmt/pkg/work/pkg-1.14.5/libpkg -lpkg_flat  -lelf -ljail -larchive -lbz2 -lz -llzma -lprivatezstd -lm -lssl -lcrypto -pthread -lutil
ld: error: undefined symbol: _libmd_SHA256_Init
>>> referenced by check.h:143 (/usr/src/contrib/xz/src/liblzma/check/check.h:143)
>>>               check.o:(lzma_check_init) in archive /usr/lib/liblzma.a

ld: error: undefined symbol: _libmd_SHA256_Update
>>> referenced by check.h:160 (/usr/src/contrib/xz/src/liblzma/check/check.h:160)
>>>               check.o:(lzma_check_update) in archive /usr/lib/liblzma.a

ld: error: undefined symbol: _libmd_SHA256_Final
>>> referenced by check.h:167 (/usr/src/contrib/xz/src/liblzma/check/check.h:167)
>>>               check.o:(lzma_check_finish) in archive /usr/lib/liblzma.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [pkg-static] Error code 1

Tried with MAKE_JOBS_UNSAFE=yes , same thing.
Comment 1 schaiba 2020-07-06 06:46:50 UTC
Works now, with src and ports tree updated as of today. Closing.