pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/30625: graphics/libwmf build fails on MacOS X 10.2.8
>Number: 30625
>Category: pkg
>Synopsis: graphics/libwmf build fails on MacOS X 10.2.8
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jun 28 17:29:00 +0000 2005
>Originator: John D. Baker
>Release: MacOS X 10.2.8
>Organization:
>Environment:
Darwin pm7500.technoskunk.fur 6.8 Darwin Kernel Version 6.8: Wed Sep 10
15:20:55 PDT 2003; root:xnu/xnu-344.49.obj~2/RELEASE_PPC Power Macintosh
powerpc
>Description:
libwmf's dependency on 'zlib' (libz) is getting confused between
the older version of zlib supplied with MacOS X 10.2.8 (v1.1.3) and
the version built through pkgsrc (1.2.2). This results in the build
of libwmf failing as follows:
[...]
gcc -pipe -DHAVE_CONFIG_H -DPACKAGE=\"libwmf\" -DVERSION=\"0.2.8\" -I. -I../..
-I../../include -I../../src -no-cpp-precomp
-I/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include
-I/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/freetype2
-O2 -I/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.x11-buildlink/include -c
ipa.c -Wp,-MD,.deps/ipa.TPlo -fno-common -DPIC -o .libs/ipa.o
In file included from
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:34,
from
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/png.h:359,
from ../../src/ipa/ipa.h:41,
from ipa.c:40:
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:255:
warning: redefinition of `Byte'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:257:
warning: redefinition of `uInt'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:258:
warning: redefinition of `uLong'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:264:
warning: redefinition of `Bytef'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:266:
warning: redefinition of `charf'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:267:
warning: redefinition of `intf'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:268:
warning: redefinition of `uIntf'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:269:
warning: redefinition of `uLongf'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:273:
warning: redefinition of `voidpf'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:274:
warning: redefinition of `voidp'
In file included from
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:34,
from
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/png.h:359,
from ../../src/ipa/ipa.h:41,
from ipa.c:40:
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zconf.h:287:1:
warning: "z_off_t" redefined
In file included from /usr/include/zlib.h:34,
from ../../include/libwmf/api.h:23,
from ../../src/wmfdefs.h:25,
from ipa.c:38:
/usr/include/zconf.h:251:1: warning: this is the location of the previous
definition
In file included from
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/png.h:359,
from ../../src/ipa/ipa.h:41,
from ipa.c:40:
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:40:1:
warning: "ZLIB_VERSION" redefined
In file included from ../../include/libwmf/api.h:23,
from ../../src/wmfdefs.h:25,
from ipa.c:38:
/usr/include/zlib.h:40:1: warning: this is the location of the previous
definition
In file included from
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/png.h:359,
from ../../src/ipa/ipa.h:41,
from ipa.c:40:
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:77:
warning: redefinition of `alloc_func'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:78:
warning: redefinition of `free_func'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:82:
redefinition of `struct z_stream_s'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:101:
warning: redefinition of `z_stream'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:103:
warning: redefinition of `z_streamp'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:933:
warning: redefinition of `gzFile'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:982:
conflicting types for `gzwrite'
/usr/include/zlib.h:705: previous declaration of `gzwrite'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:1051:
conflicting types for `gzseek'
/usr/include/zlib.h:758: previous declaration of `gzseek'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:1075:
conflicting types for `gztell'
/usr/include/zlib.h:782: previous declaration of `gztell'
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/.buildlink/include/zlib.h:1189:
redefinition of `struct internal_state'
*** Error code 1
Stop.
bmake: stopped in
/Volumes/NetBSD/tmp/pkgsrc/graphics/libwmf/work/libwmf-0.2.8.3/src/ipa
[...]
>How-To-Repeat:
On MacOS X 10.2.8:
cd .../pkgsrc/graphics/libwmf
bmake
>Fix:
libwmf built just fine on MacOS X 10.2.8 just a short while ago
(probably around April 2005) and did not exhibit the above-described
problem.
The problem does not appear on MacOS X 10.3.9, which includes zlib 1.1.4.
Home |
Main Index |
Thread Index |
Old Index