Subject: pkg/19583: imlib2 does not build (probably buildlink2 problem)
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@menta.net>
List: netbsd-bugs
Date: 12/27/2002 22:56:02
>Number: 19583
>Category: pkg
>Synopsis: imlib2 does not build (probably buildlink2 problem)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 27 13:51:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Julio Merino
>Release: NetBSD 1.6K
>Organization:
HispaBSD
>Environment:
System: NetBSD darkstar.local 1.6K NetBSD 1.6K (DARKSTAR) #1: Thu Dec 26 14:57:10 CET 2002 sysbuild@darkstar.local:/var/build/current/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
imlib2 does not build. It seems a problem with the latest changes
in buildlink2's code (the ones that force programs to use the .la
files instead of non-installed libraries).
I've tried doing these changes manually in the Makefile and makes
the build succeed (e.g., replacing strings like -lImlib2
-L../src/.libs with ../src/libImlib2.la), but buildlink2 seems to
be failing. Even more, I get some buildlink2 warning messages
saying that this is beeing done:
/bin/sh ../libtool --mode=link cc -O2 -pipe -O2 -march=pentiumpro -I/usr/pkg/include -I/usr/X11R6/include -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L../src -o png.la -rpath /usr/pkg/lib/loaders/image -no-undefined -module -avoid-version loader_png.lo -lpng -lz -lm -L../src/.libs -lImlib2 -lintl
*** [buildlink2] Warning: deprecated -L../src detected
*** [buildlink2] Warning: deprecated -L../src/.libs detected
*** [buildlink2] Warning: replaced -lImlib2 with ../src/libImlib2.la
*** [buildlink2] Warning: replaced ../src/libImlib2.la with ../src/.libs/libImlib2.la
libtool: link: warning: `/var/build/obj.pkgsrc/graphics/imlib2/work.i386/.buildlink-x11/lib/libttf.la' seems to be moved
libtool: link: warning: `/var/build/obj.pkgsrc/graphics/imlib2/work.i386/.buildlink-x11/lib/libintl.la' seems to be moved
cc -shared -nodefaultlibs .libs/loader_png.o -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/var/build/obj.pkgsrc/graphics/imlib2/work.i386/imlib2-1.0.3/src/.libs/.libs -Wl,--rpath -Wl,/usr/pkg/lib -L/var/build/obj.pkgsrc/graphics/imlib2/work.i386/.buildlink-x11/lib -L/var/build/obj.pkgsrc/graphics/imlib2/work.i386/.buildlink/lib -L/var/build/obj.pkgsrc/graphics/imlib2/work.i386/imlib2-1.0.3/src /usr/pkg/lib/libpng.so -L/usr/pkg/lib -lz -lm -L/var/build/obj.pkgsrc/graphics/imlib2/work.i386/imlib2-1.0.3/src/.libs ../src/.libs/.libs/libImlib2.so -L/usr/X11R6/lib /usr/lib/libintl.so -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,png.so -o .libs/png.so
cc: ../src/.libs/.libs/libImlib2.so: No such file or directory
*** Error code 1
Stop.
>How-To-Repeat:
cd graphics/imlib2 && make
>Fix:
Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: