pkgsrc-Users archive

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

2006Q1 devel/monotone-viz fails to build on 3.0/amd64 (+workaround +fix?)



>Submitter-Id:  net
>Originator:    Rhialto
>Organization:
        
>Confidential:  no
>Synopsis:      2006Q1 devel/monotone-viz fails to build on 3.0/amd64 
>(+workaround +fix?)
>Severity:      non-critical
>Priority:      medium
>Category:      pkg
>Class:         sw-bug
>Release:       NetBSD 3.0
        
        
>Environment:
        
        
System: NetBSD radl.falu.nl 3.0 NetBSD 3.0 (Radls Doordringend Onjuiste 
Akkoord) #0: Sat Jan 28 16:44:07 CET 2006 
root%radl.falu.nl@localhost:/usr/src/sys/arch/amd64/compile/RADL amd64
Architecture: x86_64
Machine: amd64
pkgsrc-2006Q1
>Description:
        monotone-viz doesn't link - it looks for a non-existent library
        that doesn't seem to be necessary in the first place.
>How-To-Repeat:
        cd pkgsrc/devel/monotone-viz; make

cd crypto ; ocamlc -ccopt "" -ccopt "-I/usr/pkg/include -I/usr/include 
-DGLX_GLXEXT_LEGACY -I/usr/X11R6/include -I/usr/pkg/include/freetype2" 
ocaml-openssl.c
gcc: -R/usr/pkg/lib: linker input file unused because linking not done
gcc: -R/usr/X11R6/lib: linker input file unused because linking not done
cd . ; ocamlc -ccopt "-I/usr/pkg/include/libgnomecanvas-2.0 
-I/usr/pkg/include/libart-2.0 -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/gtk-2.0 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 
-I/usr/pkg/include/cairo  " -ccopt "-I/usr/pkg/include -I/usr/include 
-DGLX_GLXEXT_LEGACY -I/usr/X11R6/include -I/usr/pkg/include/freetype2" 
gnomecanvas_hack.c
gcc: -R/usr/pkg/lib: linker input file unused because linking not done
gcc: -R/usr/X11R6/lib: linker input file unused because linking not done
ar crs lib3rdparty.a mlsqlite/ocaml-sqlite3.o glib/ocaml-gspawn.o 
glib/ocaml-giochannel.o glib/ocaml-misc.o glib/ocaml-gdate.o 
glib/ocaml-gpattern.o crypto/ocaml-openssl.o gnomecanvas_hack.o
ocamlc -custom -o monotone-viz -I . -I ocamlnet-0.97.1 -I mlsqlite -I 
extlib-1.3 -I /usr/pkg/lib/ocaml/lablgtk2 -I glib -I crypto str.cma lablgtk.cma 
gtkInit.cmo lablgnomecanvas.cma  ocamlnet-0.97.1/base64.cmo 
mlsqlite/sqlite3.cmo extlib-1.3/IO.cmo extlib-1.3/unzip.cmo glib/gspawn.cmo 
glib/giochannel.cmo glib/viz_gmisc.cmo glib/gpattern.cmo crypto/crypto.cmo 
viz_misc.cmo viz_types.cmo q.cmo dot_lexer.cmo dot_parser.cmo 
revision_lexer.cmo revision_parser.cmo subprocess.cmo components.cmo 
schema_lexer.cmo database.cmo agraph.cmo autocolor.cmo viz_style.cmo icon.cmo 
ui.cmo unidiff.cmo view.cmo query.cmo app.cmo version.cmo main.cmo 
lib3rdparty.a /usr/lib/libcrypto.a -ccopt "-Wl,-R/usr/pkg/lib -L/usr/pkg/lib 
-lsqlite3  "
ld: cannot find -llablgnomecanvas
Error while building custom runtime system
gmake: *** [monotone-viz] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/monotone-viz

>Fix:
        I found a workaround:

        if you cd to the work directory,
        /p/obj/pkgsrc/devel/monotone-viz/default/monotone-viz-0.14 in my
        case, and repeat the last, failing, command, you get a binary.
        It doesn't use a lablgnomecanvas library.
        There exists however a file
        /usr/pkg/lib/ocaml/lablgtk2/liblablgnomecanvas.a, so probably
        this needs to be added to lablgtk2's buildlink file or
        somesuch.
        I see that the liblablgnomecanvas.a file appears in the file 
        x11/lablgtk2/PLIST, but not in the output of pkg_info -L
        lablgtk2 .

        I reported this on pkgsrc-users but I file the pr now so that
        the issue is not forgotten.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert      -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.




Home | Main Index | Thread Index | Old Index