pkgsrc-Bugs archive

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

pkg/44812: www/bluefish (2.0.3) fails work-directory references test (NetBSD 5.0)



>Number:         44812
>Category:       pkg
>Synopsis:       www/bluefish (2.0.3) fails work-directory references test 
>(NetBSD 5.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 02 03:30:00 +0000 2011
>Originator:     Robert Elz
>Release:        NetBSD 5.0  (pkgsrc current (HEAD) 2011-04-01)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1 NetBSD 5.1 (JADE-1.12-20101117) #5: Wed 
Nov 17 05:30:55 ICT 2010 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5.1/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
        www/bluefish (2.0.3) fails the "work-directory references" test
        performed by pkgsrc when PKG_DEVELOPER=yes

>How-To-Repeat:
        I use pkg_comp (which causes PKG_DEVELOPER=yes by default) with
        NetBSD 5.0 sets installed (and X11_TYPE=native).   I have libkver
        installed to simulate a NetBSD 5.0 release environment as closely
        as is reasonably possible.   I doubt that most of that (except
        PKG_DEVELOPER) is relevant.   I also have USE_DESTDIR=no.  That
        might be relevant.

        In that environment, building a binary package for www/bluefish
        fails when the work-directory references fails, as:

=> Checking file-check results for bluefish-2.0.3
=> Checking for non-existent script interpreters in bluefish-2.0.3
=> Checking file permissions in bluefish-2.0.3
=> Checking for missing run-time search paths in bluefish-2.0.3
=> Checking for work-directory references in bluefish-2.0.3
ERROR: /usr/pkg/lib/bluefish/about.so:  Binary file 
/usr/pkg/lib/bluefish/about.so matches
ERROR: *** The above files still have references to the build directory.
ERROR:     This is possibly an error that should be fixed by unwrapping
ERROR:     the files or adding missing tools to the package makefile!
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/bluefish
*** Error code 1

Stop.

        The library installation shows no obvious errors ...

gmake[4]: Entering directory 
`/pkg_comp/obj/pkgsrc/www/bluefish/5/bluefish-2.0.3/src/plugin_about'
svnversion: not found
gmake[5]: Entering directory 
`/pkg_comp/obj/pkgsrc/www/bluefish/5/bluefish-2.0.3/src/plugin_about'
gmake[5]: Nothing to be done for `install-exec-am'.
svnversion: not found
test -z "/usr/pkg/lib/bluefish" || ../.././install-sh -c -d 
"/usr/pkg/lib/bluefish"
 /bin/sh ../../libtool   --mode=install /usr/bin/install -c -o root -g wheel   
about.la '/usr/pkg/lib/bluefish'
libtool: install: /usr/bin/install -c -o root -g wheel .libs/about.so 
/usr/pkg/lib/bluefish/about.so
libtool: install: /usr/bin/install -c -o root -g wheel .libs/about.lai 
/usr/pkg/lib/bluefish/about.la
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/pkg/lib/bluefish

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
rm about_rev.h.tmp

        That is, aside from the "svnversion: not found" which occurs
        frequently during the build, and I assume is harmless (there
        is no build dependency upon anything svn related that I can see).

        Similarly, I also see no errors during the compile of that
        library (from earlier in the log of course):

gmake[5]: Entering directory 
`/pkg_comp/obj/pkgsrc/www/bluefish/5/bluefish-2.0.3/src/plugin_about'
/bin/sh ../../libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H 
-DLOCALEDIR=\"/usr/pkg/share/locale\" -DPKGDATADIR=\"/usr/pkg/share/bluefish\" 
-I. -I../../src   -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2  -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -D_REENTRANT -pthread 
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/X11R7/include 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/pixman-1 -I/usr/X11R7/include/freetype2 
-I/usr/pkg/include/libpng15 -I/usr/pkg/include -I/usr/pkg/include/libxml2 
-I/usr/pkg/include/enchant    -MT about.lo -MD -MP -MF .deps/about.Tpo -c -o 
about.lo about.c
libtool: compile:  cc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/pkg/share/locale\" 
-DPKGDATADIR=\"/usr/pkg/share/bluefish\" -I. -I../../src -I/usr/pkg/include 
-I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -O2 
-I/usr/pkg/include -I/usr/include -I/usr/X11R7/include 
-I/usr/X11R7/include/freetype2 -D_REENTRANT -pthread -I/usr/pkg/include/gtk-2.0 
-I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 
-I/usr/pkg/include/cairo -I/usr/pkg/include/gdk-pixbuf-2.0 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include/glib/gio-unix-2.0/ 
-I/usr/X11R7/include -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 
-I/usr/X11R7/include/freetype2 -I/usr/pkg/include/libpng15 -I/usr/pkg/include 
-I/usr/pkg/include/libxml2 -I/usr/pkg/include/enchant -MT about.lo -MD -MP -MF 
.deps/about.Tpo -c about.c  -fPIC -DPIC -o .libs/about.o
mv -f .deps/about.Tpo .deps/about.Plo
/bin/sh ../../libtool --tag=CC   --mode=link cc  -O2 -I/usr/pkg/include 
-I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -D_REENTRANT 
-pthread -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/gdk-pixbuf-2.0 -I/usr/pkg/include/pango-1.0 
-I/usr/pkg/include/glib/gio-unix-2.0/ -I/usr/X11R7/include 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/pixman-1 -I/usr/X11R7/include/freetype2 
-I/usr/pkg/include/libpng15 -I/usr/pkg/include -I/usr/pkg/include/libxml2 
-I/usr/pkg/include/enchant    -module -avoid-version  -L/usr/pkg/lib -L/usr/lib 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -o 
about.la -rpath /usr/pkg/lib/bluefish about.lo  -lm  -Wl,-R/usr/pkg/lib 
-Wl,-R/usr/X11R7/lib -pthread -Wl,--export-dynamic -L/usr/pkg/lib 
-L/usr/X11R7/lib -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXext 
-lXrender -lXinerama -lXi !
 -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 
-lm -lfreetype -lz -lfontconfig -lXfixes -lpng15 -lcairo -lX11 -lgio-2.0 
-lgobject-2.0 -lgthread-2.0 -lxml2 -lenchant -lgmodule-2.0 -lglib-2.0 -lintl   
libtool: link: cc -shared  .libs/about.o   -Wl,-rpath -Wl,/usr/pkg/lib 
-Wl,-rpath -Wl,/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -L/usr/X11R7/lib 
/usr/pkg/lib/libgtk-x11-2.0.so -L/usr/pkg/lib/python2.6/config 
/usr/pkg/lib/libatk-1.0.so /usr/pkg/lib/libgdk-x11-2.0.so 
/usr/pkg/lib/libpangocairo-1.0.so -lXext -lXrender -lXinerama -lXi -lXcursor 
-lXcomposite -lXdamage /usr/pkg/lib/libgdk_pixbuf-2.0.so 
/usr/pkg/lib/libpangoft2-1.0.so /usr/pkg/lib/libpango-1.0.so -lm -lfreetype -lz 
-lfontconfig -lXfixes /usr/pkg/lib/libpng15.so /usr/pkg/lib/libcairo.so 
-L/usr/X11R7//lib -lX11 /usr/pkg/lib/libgio-2.0.so 
/usr/pkg/lib/libgobject-2.0.so /usr/pkg/lib/libgthread-2.0.so 
/usr/pkg/lib/libxml2.so /usr/pkg/lib/libenchant.so 
/usr/pkg/lib/libgmodule-2.0.so /usr/pkg/lib/libglib-2.0.so -lintl  -pthread 
-Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -Wl,-R/usr/pkg/lib 
-Wl,-R/usr/X11R7/lib -pthread -Wl,--export-dynamic   -pthread -Wl,-soname 
-Wl,about.so -o .libs/about.so
libtool: link: ( cd ".libs" && rm -f "about.la" && ln -s "../about.la" 
"about.la" )
gmake[5]: Leaving directory 
`/pkg_comp/obj/pkgsrc/www/bluefish/5/bluefish-2.0.3/src/plugin_about'

>Fix:
        ???



Home | Main Index | Thread Index | Old Index