pkgsrc-Users archive

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

Re: afterstep build broken due to libpixman missing



Hi,

On Sun, 03 Jul 2011 04:40:03 +0900, Eric Haszlakiewicz 
<erh%nimenees.com@localhost> wrote:

Hi,
I noticed that the packages available on ftp.netbsd.org for NetBSD-5.1 don't
include the afterstep package.  I'm trying to figure out why this is the case.
I also noticed that the most recent bulk build I saw on the pkgsrc-bulk mailing
list has the afterstep package marked as failed with this error:

cc GWCommand.o ../../libASGTK/libASGTK.a -L/usr/pkg/lib -L/usr/X11R7/lib 
-Wl,-R/usr/X11R7/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -rdynamic 
../../libAfterConf/libAfterConf.a ../../libAfterStep/libAfterStep.a 
../../libAfterImage/libAfterImage.a ../../libAfterBase/libAfterBase.a 
-L/usr/X11R7/lib -lfreetype -lz -ltiff -lX11 -L/usr/X11R7/lib -lSM -lICE -lGL 
-lXext -ljpeg -lpng -lz -lm  -lXinerama -lX11  -L/usr/X11R7/lib   -lSM -lICE 
-lXext -lGL   -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 
-lXrender -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 
-lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lpng15 -lpango-1.0 -lfontconfig 
-lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -L/usr/X11R7/lib 
-lfreetype -lz -ltiff -lX11 -L/usr/X11R7/lib -lSM -lICE -lGL -lXext -ljpeg 
-lpng -lz -lm -o GWCommand
/scratch/wm/afterstep/work/.buildlink/lib/libcairo.so: undefined reference to 
`pixman_image_set_destroy_function'

That function (and others) is provided by libpixman-1.so.0.  According to ldd,
libcairo.so has a dependency on libpixman-1.0, at least in the tarball I just
downloaded from ftp.netbsd.org.  The above compile command has "-lcairo".

So why doesn't this work?  Is there something wrong with the libcairo.so from
.buildlink/ such that the dependecy gets lost?

In pkgsrc/wm/afterstep/Makefile, if following line is moved to above MesaLib's 
one,
is it resolved for you?

.include "../../mk/giflib.buildlink3.mk"

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index