pkgsrc-Bugs archive

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

pkg/39968: graphics/gnuplot cannot find -lfontconfig (NetBSD 4.0 modular-xorg)



>Number:         39968
>Category:       pkg
>Synopsis:       graphics/gnuplot cannot find -lfontconfig (NetBSD 4.0 
>modular-xorg)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 08:45:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE (pkgsrc current today)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        I am using pkg_comp with NetBSD 4.0 release sets, without the X
        sets (no X11R6) - with X11_TYPE=modular set in (the sandbox) mk.conf.
        I have libkver installed and set to emulate NetBSD 4.0 (release)
        (which matches the installed sets) - the underlying system is
        4.0_STABLE (as in the Environment info above - 6 months old now).

        Compiling graphics/gnuplot fails as indicated below.

        The same ais true for graphics/gnuplot-nox11 (no surprise there
        probably) net/mldonkey and graphics/p5-GD.

>How-To-Repeat:
        I started with an empty pkg_comp sandbox (just pkg_install, libkver
        digest and lintpkgsrc - with perl as a dependency of course) installed.

        pkg_comp build graphics/gnuplot ends with ...

cc  -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2  
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib 
-L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib 
-Wl,-R/usr/pkg/lib -pthread -L/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib  
-o gnuplot  alloc.o axis.o  breaders.o bitmap.o color.o  command.o contour.o 
datafile.o  dynarray.o eval.o fit.o  gadgets.o getcolor.o graph3d.o  graphics.o 
help.o hidden3d.o  history.o internal.o interpol.o  matrix.o misc.o mouse.o  
parse.o plot.o plot2d.o  plot3d.o pm3d.o readline.o  save.o scanner.o set.o  
show.o specfun.o standard.o  stdfn.o tables.o term.o  time.o unset.o util.o  
util3d.o variable.o version.o    -lplot -lreadline  -ltermcap  -lz -lgd -ljpeg 
-lfontconfig -lfreetype -lpng12 -lz -lm -lpdf -lXaw -lXmu -lXt -lXext -lX11  -lm
ld: cannot find -lfontconfig
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/graphics/gnuplot/4x/gnuplot-4.2.3/src
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/graphics/gnuplot/4x/gnuplot-4.2.3/src
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/graphics/gnuplot/4x/gnuplot-4.2.3
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/graphics/gnuplot/4x/gnuplot-4.2.3
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/gnuplot
*** Error code 1

Stop.

        After the build aborted, the sandbox ended with the
        following packages installed (down to, and including
        lintpkgsrc would have been there before the build of
        gnuplot started, all the rest are by-products).

pkg_install-20081013 Package management and administration tools for pkgsrc
libkver-0.6nb1      Shared library and sysctl(1) replacement to override system 
version
digest-20080510     Message digest wrapper utility
perl-5.10.0nb2      Practical Extraction and Report Language
lintpkgsrc-4.82     Sanity checks on the complete pkgsrc tree
printproto-1.0.4    Print extension headers from X.org
kbproto-1.0.3       KB extension headers from X.org
xextproto-7.0.3     XExt extension headers from X.org
inputproto-1.4.4    Input extension headers from X.org
xproto-7.0.14       X protocol and ancillary headers from Xorg X11
checkperms-1.10     Check and correct file permissions
readline-5.2nb2     GNU library that can recall and edit previous input
freetype2-2.3.7     Font rendering engine and library API
expat-2.0.1         XML parser library written in C
fontconfig-2.6.0    Library for configuring and customizing font access
jpeg-6bnb4          IJG's jpeg compression utilities
png-1.2.33          Library for manipulating PNG images
gd-2.0.35           Graphics library for the dynamic creation of images
tiff-3.8.2nb4       Library and tools for reading and writing TIFF data files
pdflib-4.0.3nb7     C library to produce PDF files
libXau-1.0.4        Authorization Protocol for X from X.org
libXdmcp-1.0.2      X Display Manager Control Protocol library from X.org
libX11-1.1.5        Base X libraries from modular Xorg X11
libXext-1.0.4       X Extension library
libICE-1.0.4        Inter Client Exchange (ICE) library for X
libSM-1.1.0         X Session Management Library
libXt-1.0.5nb1      X Toolkit Intrinsics library
libXmu-1.0.4        X Miscellaneous Utilities library
libXpm-3.5.7nb1     X PixMap Library from modular Xorg X11
libXaw-1.0.5        X Athena Widgets Library from modular Xorg X11
libXp-1.0.0         X Print Service Extension Library
plotutils-2.4.1nb6  Programs and library for plotting scientific data

        In the build log I see no explict install of
        fontconfig-2.6.0 - it appears to arrive as a by-product
        of installing gd-2.0.35 (a dependency of gd) - but
        doesn't seen to be buildlinked anywhere (neither
        ghuplot itself, nor ../gd/buildlink3.mk reference it)

>Fix:
        My guess is that something needs to include fontconfig/buildlink3.mk
        so that the library is included - whether that should be
        gd/buildlink3.mk or gnuplot/Makefile{,-common} I have no idea.

        When this gets fixed, please fix the other 3 packages as well...
        (of course, if gd/buildlink3.mk is the problem, maybe just
        fixing it will fix all the others).



Home | Main Index | Thread Index | Old Index