pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/43546: pkgsrc/emulators/wine has unresolved PNG linkage error
>Number: 43546
>Category: pkg
>Synopsis: pkgsrc/emulators/wine has unresolved PNG linkage error
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 01 11:35:00 +0000 2010
>Originator: Reinoud Zandijk
>Release: NetBSD 5.99.30
>Organization:
>Environment:
System: NetBSD heethoofdje.13thmonkey.org 5.99.30 NetBSD 5.99.30 (MONOLITHIC)
#0: Tue Jun 15 00:02:48 CEST 2010
reinoud%diablo.13thmonkey.org@localhost:/usr/sources/cvs.netbsd.org/src-clean/sys/arch/i386/compile/obj/MONOLITHIC
i386
Architecture: i386
Machine: i386
The userland is also from this date. I might have used pkg_rolling-replace but
that shouldn't matter in this case.
>Description:
When compiling the wine package from pkgsrc it breaks on linking with an
unresolved `png_set_longjump_fn'. When building with -k it shows atleast in
two places.
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory
`/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/wine-1.0.1/dlls/oleacc'
gmake[2]: Entering directory
`/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/wine-1.0.1/dlls/oleaut32'
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./oleaut32.spec
ole2disp.spec.o typelib.spec.o ole2disp.o typelib16.o connpt.o dispatch.o
hash.o oleaut.o olefont.o olepicture.o recinfo.o regsvr.o safearray.o stubs.o
tmarshal.o typelib.o typelib2.o ungif.o usrmarshal.o varformat.o variant.o
vartype.o oleaut32_oaidl_p.o oleaut32.res -o oleaut32.dll.so -lcomctl32
-lurlmon -luuid -lole32 -lrpcrt4 -luser32 -lgdi32 -ladvapi32 -lkernel32
-lntdll -Wb,-dcomctl32 -Wb,-durlmon ../../libs/port/libwine_port.a
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib
-Wl,-R/usr/X11R7/lib -lossaudio -li386 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
-L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
olepicture.o: In function `OLEPictureImpl_LoadPNG':
olepicture.c:(.text+0x170f): undefined reference to `png_set_longjmp_fn'
winegcc: cc failed
gmake[2]: *** [oleaut32.dll.so] Error 2
gmake[2]: Leaving directory
`/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/wine-1.0.1/dlls/oleaut32'
gmake[1]: *** [oleaut32] Error 2
gmake[1]: Leaving directory
`/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/wine-1.0.1/dlls'
gmake: *** [dlls] Error 2
*** Error code 2
Weird is that it is only missing this png reference. What is also wierd is the
following: an `objdump -S olepicture.o' of OLEPictureImpl_LoadPNG gives:
000016a0 <OLEPictureImpl_LoadPNG>:
16a0: 55 push %ebp
16a1: 89 e5 mov %esp,%ebp
16a3: 57 push %edi
...
1701: 83 c4 0c add $0xc,%esp
1704: 6a 34 push $0x34
1706: 8b bb 00 00 00 00 mov 0x0(%ebx),%edi
170c: 57 push %edi
170d: 50 push %eax
170e: e8 fc ff ff ff call 170f
<OLEPictureImpl_LoadPNG+0x6f>
1713: 89 04 24 mov %eax,(%esp)
This address 0x170f doesn't exist as an instruction !! so what's going on? Am
I misintepreting ? Can someone replicate this?
I tried hand-linking it with
I have installed png-1.4.2.
The last lines from the .work.log file are:
[*] /usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/cc
/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/cc -m32 -c -I.
-I. -I../../include -I../../include -D__WINESRC__ -D_OLEAUT32_
-DCOM_NO_WINDOWS_H -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith
-I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/X11R7/include
-I/usr/include/krb5 -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses
-O2 -I/usr/pkg/include -DLDAP_DEPRECATED -I/usr/include -I/usr/X11R7/include
-I/usr/include/krb5 -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/ncurses
-o oleaut32_oaidl_p.o oleaut32_oaidl_p.c
WARNING: [transform-gcc] passing unknown option -Wdeclaration-after-statement
<.> /usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.gcc/bin/gcc -m32 -c -I.
-I../../include -D__WINESRC__ -D_OLEAUT32_ -DCOM_NO_WINDOWS_H -D_REENTRANT
-fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement
-Wwrite-strings -Wpointer-arith
-I/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.buildlink/include
-DLDAP_DEPRECATED
-I/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.x11-buildlink/include
-I/usr/include/krb5
-I/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.x11-buildlink/include/freetype2
-I/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.buildlink/include/ncurses
-O2 -o oleaut32_oaidl_p.o oleaut32_oaidl_p.c
-L/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.buildlink/lib
[*] /usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/as
/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/as --32 -o
oleaut32.SGlhC0.o oleaut32.ARTT7m.s
<.> /usr/bin/as --32 -o oleaut32.SGlhC0.o oleaut32.ARTT7m.s
[*] /usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/ld
/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/ld -m elf_i386 -r
-o oleaut32.UHV7TF.o oleaut32.SGlhC0.o ole2disp.spec.o typelib.spec.o
ole2disp.o typelib16.o connpt.o dispatch.o hash.o oleaut.o olefont.o
olepicture.o recinfo.o regsvr.o safearray.o stubs.o tmarshal.o typelib.o
typelib2.o ungif.o usrmarshal.o varformat.o variant.o vartype.o
oleaut32_oaidl_p.o ../../dlls/uuid/libuuid.a ../../libs/port/libwine_port.a
../../dlls/winecrt0/libwinecrt0.a
<.> /usr/bin/ld -m elf_i386 -r -o oleaut32.UHV7TF.o oleaut32.SGlhC0.o
ole2disp.spec.o typelib.spec.o ole2disp.o typelib16.o connpt.o dispatch.o
hash.o oleaut.o olefont.o olepicture.o recinfo.o regsvr.o safearray.o stubs.o
tmarshal.o typelib.o typelib2.o ungif.o usrmarshal.o varformat.o variant.o
vartype.o oleaut32_oaidl_p.o ../../dlls/uuid/libuuid.a
../../libs/port/libwine_port.a ../../dlls/winecrt0/libwinecrt0.a
-L/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.buildlink/lib
[*] /usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/as
/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/as --32 -o
oleaut32.dll-lmLy8J.spec.o oleaut32.K6qs6J.s
<.> /usr/bin/as --32 -o oleaut32.dll-lmLy8J.spec.o oleaut32.K6qs6J.s
[*] /usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/cc
/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.wrapper/bin/cc -m32 -shared
-Wl,-Bsymbolic,-z,defs,-init,__wine_spec_init,-fini,__wine_spec_fini -o
oleaut32.dll.so -Wl,-R/usr/pkg/lib -Wl,-R/usr/lib -Wl,-R/usr/X11R7/lib
-Wl,-R/usr/pkg/lib -Wl,-R/usr/lib -Wl,-R/usr/X11R7/lib -L../../dlls
-L../../libs/wine -L/usr/pkg/lib -L/usr/lib -L/usr/X11R7/lib -L/usr/pkg/lib
-L/usr/lib -L/usr/X11R7/lib oleaut32.dll-lmLy8J.spec.o ole2disp.spec.o
typelib.spec.o ole2disp.o typelib16.o connpt.o dispatch.o hash.o oleaut.o
olefont.o olepicture.o recinfo.o regsvr.o safearray.o stubs.o tmarshal.o
typelib.o typelib2.o ungif.o usrmarshal.o varformat.o variant.o vartype.o
oleaut32_oaidl_p.o ../../dlls/uuid/libuuid.a ../../libs/port/libwine_port.a
-lossaudio -li386 ../../dlls/winecrt0/libwinecrt0.a -lwine -lm -lc
==> Reordering libraries: -lossaudio -li386 -lwine -lm -lc
<.> /usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.gcc/bin/gcc -m32 -shared
-Wl,-Bsymbolic -Wl,-z -Wl,defs -Wl,-init -Wl,__wine_spec_init -Wl,-fini
-Wl,__wine_spec_fini -o oleaut32.dll.so -Wl,-R/usr/pkg/lib
-Wl,-R/usr/X11R7/lib -L../../dlls -L../../libs/wine
-L/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.buildlink/lib
-L/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.x11-buildlink/lib
oleaut32.dll-lmLy8J.spec.o ole2disp.spec.o typelib.spec.o ole2disp.o
typelib16.o connpt.o dispatch.o hash.o oleaut.o olefont.o olepicture.o
recinfo.o regsvr.o safearray.o stubs.o tmarshal.o typelib.o typelib2.o ungif.o
usrmarshal.o varformat.o variant.o vartype.o oleaut32_oaidl_p.o
../../dlls/uuid/libuuid.a ../../libs/port/libwine_port.a
../../dlls/winecrt0/libwinecrt0.a
-I/usr/tmp/pkgsrc-heethoofdje/emulators/wine/work/.buildlink/include
-lossaudio -li386 -lwine -lm -lc
>How-To-Repeat:
Try building pkgsrc/emulators/wine on i386 and notice the same error at the
same place.
>Fix:
Not known. Might be as simple as somehow linking in libpng but why is it only
showing this one reference? There is a symbol called png_set_longjmp_fn
defined in libpng.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index