pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55400: bootstrap broken on FreeBSD following libarchive update



>Number:         55400
>Category:       pkg
>Synopsis:       bootstrap broken on FreeBSD following libarchive update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 19 14:45:00 +0000 2020
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
>Organization:
>Environment:
FreeBSD 13.0-CURRENT #0 r362034: Thu Jun 11 04:10:59 BST 2020 amd64
>Description:
Attempting to bootstrap pkgsrc on FreeBSD results in linking errors related to libarchive

cc -L/tmp/work-pbulk/libnbcompat -L../lib -o pkg_create main.o perform.o pl.o util.o build.o -linstall /tmp/work-pbulk/libarc
hive/.libs/libarchive.a  -lnbcompat                                                                                         
ld: error: undefined symbol: _libmd_MD5Init                                                                                 
>>> referenced by archive_digest.c:138 (libarchive/archive_digest.c:138)                                                    
>>>               archive_digest.o:(__archive_md5init) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a             
                                                                                                                            
ld: error: undefined symbol: _libmd_MD5Update                                                                               
>>> referenced by archive_digest.c:146 (libarchive/archive_digest.c:146)                                                    
>>>               archive_digest.o:(__archive_md5update) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a           
                                                                                                                            
ld: error: undefined symbol: _libmd_MD5Final                                                                                
>>> referenced by archive_digest.c:153 (libarchive/archive_digest.c:153)                                                    
>>>               archive_digest.o:(__archive_md5final) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a            
                                                                                                                            
ld: error: undefined symbol: _libmd_RIPEMD160_Init                                                                          
>>> referenced by archive_digest.c:353 (libarchive/archive_digest.c:353)                                                    
>>>               archive_digest.o:(__archive_ripemd160init) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a     
  
ld: error: undefined symbol: _libmd_RIPEMD160_Final
>>> referenced by archive_digest.c:368 (libarchive/archive_digest.c:368)
>>>               archive_digest.o:(__archive_ripemd160final) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a

ld: error: undefined symbol: _libmd_SHA1_Init
>>> referenced by archive_digest.c:519 (libarchive/archive_digest.c:519)
>>>               archive_digest.o:(__archive_sha1init) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a

ld: error: undefined symbol: _libmd_SHA1_Update
>>> referenced by archive_digest.c:527 (libarchive/archive_digest.c:527)
>>>               archive_digest.o:(__archive_sha1update) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a

ld: error: undefined symbol: _libmd_SHA1_Final
>>> referenced by archive_digest.c:534 (libarchive/archive_digest.c:534)
>>>               archive_digest.o:(__archive_sha1final) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a

ld: error: undefined symbol: _libmd_SHA256_Init
>>> referenced by archive_digest.c:782 (libarchive/archive_digest.c:782)
>>>               archive_digest.o:(__archive_sha256init) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a

ld: error: undefined symbol: _libmd_SHA256_Update
>>> referenced by archive_digest.c:790 (libarchive/archive_digest.c:790)
>>>               archive_digest.o:(__archive_sha256update) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a
ld: error: undefined symbol: _libmd_SHA256_Final
>>> referenced by archive_digest.c:797 (libarchive/archive_digest.c:797)
>>>               archive_digest.o:(__archive_sha256final) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a
                                     

ld: error: undefined symbol: _libmd_SHA512_Init
>>> referenced by archive_digest.c:1276 (libarchive/archive_digest.c:1276)
>>>               archive_digest.o:(__archive_sha512init) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a

ld: error: undefined symbol: _libmd_SHA512_Update
>>> referenced by archive_digest.c:1284 (libarchive/archive_digest.c:1284)
>>>               archive_digest.o:(__archive_sha512update) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a

ld: error: undefined symbol: _libmd_SHA512_Final
>>> referenced by archive_digest.c:1291 (libarchive/archive_digest.c:1291)
>>>               archive_digest.o:(__archive_sha512final) in archive /tmp/work-pbulk/libarchive/.libs/libarchive.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [pkg_create] Error code 1

bmake[1]: stopped in /tmp/work-pbulk/pkg_install/create    
>How-To-Repeat:
attempt to bootstrap on FreeBSD/amd64
cd pkgsrc/bootstrap
./bootstrap
>Fix:



Home | Main Index | Thread Index | Old Index