Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2009 14:59:18 GMT
From:      Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/134046: archivers/unmakeself compile broken on FreeBSD-HEAD
Message-ID:  <200904271459.n3RExIuW023949@www.freebsd.org>
Resent-Message-ID: <200904271500.n3RF01Kx016657@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134046
>Category:       ports
>Synopsis:       archivers/unmakeself compile broken on FreeBSD-HEAD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 27 15:00:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Oleg Ginzburg
>Release:        8-CURRENT
>Organization:
>Environment:
FreeBSD oleg.domain.local 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r189397M: Wed Mar 25 09:32:20 MSK 2009     root@oleg.domain.local:/usr/obj/usr/src/sys/o20090210i  i386

>Description:
no reference to lib who produce lots of SHA/MD5 function ( libcrypto and libmd )

oleg# make
===>  Vulnerability check disabled, database not found
===>  Extracting for unmakeself-1.1
===>  Patching for unmakeself-1.1
===>  Configuring for unmakeself-1.1
===>  Building for unmakeself-1.1
cc -O2 -pipe -fno-strict-aliasing  -I/usr/ports/archivers/unmakeself/work -o /usr/ports/archivers/unmakeself/work/unmakeself  /usr/ports/archivers/unmakeself/files/unmakeself.c -larchive -lbz2 -lz
/usr/lib/libarchive.so: undefined reference to `SHA1_Init'
/usr/lib/libarchive.so: undefined reference to `SHA256_Update'
/usr/lib/libarchive.so: undefined reference to `SHA512_Final'
/usr/lib/libarchive.so: undefined reference to `RIPEMD160_Final'
/usr/lib/libarchive.so: undefined reference to `SHA256_Final'
/usr/lib/libarchive.so: undefined reference to `SHA384_Final'
/usr/lib/libarchive.so: undefined reference to `SHA1_Update'
/usr/lib/libarchive.so: undefined reference to `SHA1_Final'
/usr/lib/libarchive.so: undefined reference to `MD5Final'
/usr/lib/libarchive.so: undefined reference to `SHA384_Init'
/usr/lib/libarchive.so: undefined reference to `SHA384_Update'
/usr/lib/libarchive.so: undefined reference to `SHA512_Init'
/usr/lib/libarchive.so: undefined reference to `RIPEMD160_Update'
/usr/lib/libarchive.so: undefined reference to `RIPEMD160_Init'
/usr/lib/libarchive.so: undefined reference to `SHA512_Update'
/usr/lib/libarchive.so: undefined reference to `MD5Init'
/usr/lib/libarchive.so: undefined reference to `MD5Update'
/usr/lib/libarchive.so: undefined reference to `SHA256_Init'
*** Error code 1

Stop in /usr/ports/archivers/unmakeself.

>How-To-Repeat:
on the CURRENT
make -C /usr/ports/archivers/unmakeself
>Fix:
--- unmakeself.bak/Makefile     2009-04-27 18:53:39.000000000 +0400
+++ unmakeself/Makefile 2009-04-27 18:54:33.000000000 +0400
@@ -13,7 +13,7 @@
 MAINTAINER=    ports@FreeBSD.org
 COMMENT=       Extract Makeself archives

-LDFLAGS=       -larchive -lbz2 -lz
+LDFLAGS=       -larchive -lbz2 -lz -lcrypto -lmd
 NO_WRKSUBDIR=  yes

 PLIST_FILES=   bin/unmakeself
diff -ruN unmakeself.bak/work/config.h unmakeself/work/config.h
--- unmakeself.bak/work/config.h        1970-01-01 03:00:00.000000000 +0300
+++ unmakeself/work/config.h    2009-04-27 18:53:48.000000000 +0400
@@ -0,0 +1 @@
+#define HAS_MEMMEM
Files unmakeself.bak/work/unmakeself and unmakeself/work/unmakeself differ


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904271459.n3RExIuW023949>