Fusselbär
Makefile Voyeur
Hatte Fehlermeldungen beim archivers/libzip compilern und Abbruch:
Lag aber wohl bloß an Sprachschwierigkeiten auf der Baustelle,
mit diesem kleinen Patch baut archivers/libzip jetzt wieder bei mir:
Meine Kiste läuft auf de_DE.ISO8859-15
Code:
===> Building for libzip-0.10
make all-recursive
Making all in lib
sh ./make_zipconf.sh ../config.h zipconf.h
make all-am
/bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fno-strict-aliasing -MT zip_add.lo -MD -MP -MF .deps/zip_add.Tpo -c -o zip_add.lo zip_add.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -fno-strict-aliasing -MT zip_add.lo -MD -MP -MF .deps/zip_add.Tpo -c zip_add.c -fPIC -DPIC -o .libs/zip_add.o
In file included from zip.h:51,
from zipint.h:45,
from zip_add.c:36:
./zipconf.h:22:13: warning: missing whitespace after the macro name
In file included from zip.h:51,
from zipint.h:45,
from zip_add.c:36:
./zipconf.h:24: error: stray '\337' in program
./zipconf.h:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int16_t'
./zipconf.h:28: error: stray '\337' in program
./zipconf.h:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint16_t'
./zipconf.h:29:13: warning: missing whitespace after the macro name
./zipconf.h:29:1: warning: "ZIP_" redefined
./zipconf.h:22:1: warning: this is the location of the previous definition
./zipconf.h:31: error: stray '\337' in program
./zipconf.h:31: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int32_t'
./zipconf.h:35: error: stray '\337' in program
./zipconf.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uint32_t'
./zipconf.h:36:13: warning: missing whitespace after the macro name
./zipconf.h:36:1: warning: "ZIP_" redefined
./zipconf.h:29:1: warning: this is the location of the previous definition
./zipconf.h:43:13: warning: missing whitespace after the macro name
./zipconf.h:43:1: warning: "ZIP_" redefined
./zipconf.h:36:1: warning: this is the location of the previous definition
In file included from zipint.h:45,
from zip_add.c:36:
zip.h:187: error: expected specifier-qualifier-list before 'zip_uint64_t'
zip.h:203: error: expected declaration specifiers or '...' before '*' token
zip.h:203: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:204: error: 'zip_int64_t' declared as function returning a function
zip.h:208: error: 'zip_add' declared as function returning a function
zip.h:209: error: 'zip_add_dir' declared as function returning a function
zip.h:211: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:215: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:224: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:226: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:228: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:228: error: 'zip_fread' declared as function returning a function
zip.h:231: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:233: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:235: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:236: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'zip_get_num_entries'
zip.h:240: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:241: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:245: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:247: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:250: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:252: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:254: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:257: error: expected declaration specifiers or '...' before 'zip_source_callback'
zip.h:259: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:260: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:262: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip.h:266: error: expected declaration specifiers or '...' before 'zip_uint64_t'
In file included from zip_add.c:36:
zipint.h:122: error: expected declaration specifiers or '...' before 'zip_uint16_t'
zipint.h:125: error: expected declaration specifiers or '...' before 'zip_uint16_t'
zipint.h:129: warning: parameter names (without types) in function declaration
zipint.h:131: warning: parameter names (without types) in function declaration
zipint.h:141: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zipint.h:142: error: 'zip_source_layered_callback' declared as function returning a function
zipint.h:149: error: expected declaration specifiers or '...' before 'zip_uint16_t'
zipint.h:158: error: expected declaration specifiers or '...' before 'zip_uint16_t'
zipint.h:161: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zipint.h:161: error: 'zip_source_read' declared as function returning a function
zipint.h:212: error: expected specifier-qualifier-list before 'zip_uint64_t'
zipint.h:269: error: expected specifier-qualifier-list before 'zip_source_callback'
zipint.h:314: error: expected declaration specifiers or '...' before 'zip_uint32_t'
zipint.h:339: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zipint.h:345: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zipint.h:352: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zipint.h:353: error: '_zip_replace' declared as function returning a function
zipint.h:354: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zipint.h:356: error: expected declaration specifiers or '...' before 'zip_uint64_t'
zip_add.c:49: error: 'zip_add' declared as function returning a function
zip_add.c: In function 'zip_add':
zip_add.c:55: error: 'ZIP_UINT64_MAX' undeclared (first use in this function)
zip_add.c:55: error: (Each undeclared identifier is reported only once
zip_add.c:55: error: for each function it appears in.)
zip_add.c:55: warning: passing argument 3 of '_zip_replace' from incompatible pointer type
zip_add.c:55: error: too many arguments to function '_zip_replace'
*** Error code 1
Stop in /usr/ports/archivers/libzip/work/libzip-0.10/lib.
*** Error code 1
Stop in /usr/ports/archivers/libzip/work/libzip-0.10/lib.
*** Error code 1
Stop in /usr/ports/archivers/libzip/work/libzip-0.10.
*** Error code 1
Stop in /usr/ports/archivers/libzip/work/libzip-0.10.
*** Error code 1
Stop in /usr/ports/archivers/libzip.
mit diesem kleinen Patch baut archivers/libzip jetzt wieder bei mir:
Code:
--- Makefile.orig 2011-04-26 12:45:04.000000000 +0200
+++ Makefile 2011-04-27 15:23:53.000000000 +0200
@@ -19,6 +19,8 @@
USE_GNOME= gnomehack pkgconfig
USE_LDCONFIG= yes
+MAKE_ENV= LANG=C LC_ALL=C
+
MAN1= zipcmp.1 \
zipmerge.1 \
ziptorrent.1