tech-pkg archive

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

Re: libarchive-2.8.4 for testing



At 19:56 Uhr +0200 19.6.2010, Joerg Sonnenberger wrote:
>On Sat, Jun 19, 2010 at 09:53:29PM +0530, Gautam BT wrote:
>> I just extracted the new version to archivers/libarchive/files and ran the
>> bootstrap. The bootstrap process completed without any errors. However
>> running bmake in archivers/bsdtar fails because of the getpwuid and getggrid
>> issues. A few tests fail as well. I am yet to look into the reasons for
>> this. Will do so in a few days and let you know.
>
>Refetch and try again.

NetBSD 1.5 dies building this version with

[...]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -g -O2 -c libarchive/archive_read_su
pport_format_xar.c -Wp,-MD,libarchive/.deps/archive_read_support_format_xar.TPl
o  -fPIC -DPIC -o libarchive/.libs/archive_read_support_format_xar.o
In file included from libarchive/archive_read_support_format_xar.c:42:
/usr/include/bzlib.h:171: syntax error before `FILE'
/usr/include/bzlib.h:199: syntax error before `FILE'
*** Error code 1

and wants

--- libarchive/archive_read_support_format_xar.c.orig   Sun Jun 20 21:25:19
2010
+++ libarchive/archive_read_support_format_xar.c        Sun Jun 20 21:25:56
2010
@@ -31,6 +31,7 @@
 #ifdef HAVE_STDLIB_H
 #include <stdlib.h>
 #endif
+#include <stdio.h>
 #if HAVE_LIBXML_XMLREADER_H
 #include <libxml/xmlreader.h>
 #elif HAVE_BSDXML_H


"make check-TESTS" then fails linking with

libtool: link: gcc -g -O2 -o libarchive_test [...]   -lz -lcrypto
libarchive/test/main.c:496: Undefined symbol `_wcscmp' referenced from text
segment
libarchive/test/test_entry.c:153: Undefined symbol `_wcscpy' referenced
from text segment
libarchive/test/test_entry.c:170: Undefined symbol `_wcscpy' referenced
from text segment
libarchive/test/test_entry.c:247: Undefined symbol `_wcscpy' referenced
from text segment
libarchive/test/test_entry.c:299: Undefined symbol `_wcscpy' referenced
from text segment
libarchive/test/test_entry.c:880: Undefined symbol `_wcscpy' referenced
from text segment
collect2: ld returned 1 exit status
*** Error code 1

-- indeed, wcscpy() does not exist on netbsd-1-5.

        hauke


--
"It's never straight up and down"     (DEVO)




Home | Main Index | Thread Index | Old Index