pkgsrc-Bugs archive

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

pkg/33950: devel/monotone-viz won't link



>Number:         33950
>Category:       pkg
>Synopsis:       2006Q2 devel/monotone-viz won't link
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 08 15:15:00 +0000 2006
>Originator:     Rhialto
>Release:        NetBSD 3.0
>Organization:
        
>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
>Description:
        This happens:

pkg_comp:default.conf# make
=> Checksum SHA1 OK for monotone-viz-0.14.tar.gz.
=> Checksum RMD160 OK for monotone-viz-0.14.tar.gz.
===> build-message [monotone-viz-0.14nb1]
===> Building for monotone-viz-0.14nb1
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

        However, if one cds into the work directory, and repeats the
        gmake command, it works:

pkg_comp:default.conf# cd 
/pkg_comp/obj/pkgsrc/devel/monotone-viz/default/monotone-viz-0.14
pkg_comp:default.conf# gmake
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  "
pkg_comp:default.conf# 

>How-To-Repeat:
        See above.
>Fix:
        The method above is at best a workaround. I wonder what the
        difference between the pkgsrc and default environment is that breaks
        the build.

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

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index