pkgsrc-Bugs archive

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

pkg/46471: latest patch in graphics/graphviz does not work for me



>Number:         46471
>Category:       pkg
>Synopsis:       latest patch in graphics/graphviz does not work for me
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 21 08:30:00 +0000 2012
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
When building graphics/graphviz on Solaris 10 using a standalone GCC 4.7.0 and 
native linker, compilation fails here:

libtool: link: g++ -shared -nostdlib -L/usr/pkgsrc/20120411/lib 
-Wl,-R/usr/pkgsrc/20120411/lib -L/usr/lib -Wl,-R/usr/lib /usr/lib/crti.o 
/usr/lib/values-Xa.o 
/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/crtbegin.o
  .libs/libgv_perl_la-gv.o .libs/libgv_perl_la-gv_builtins.o 
.libs/libgv_perl_la-gv_dummy_init.o .libs/libgv_perl_la-gv_perl.o   -Wl,-R 
-Wl,/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/gvc/.libs
 -Wl,-R 
-Wl,/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/xdot/.libs
 -Wl,-R 
-Wl,/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/graph/.libs
 -Wl,-R 
-Wl,/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/pathplan/.libs
 -Wl,-R 
-Wl,/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/.buildlink/lib 
-Wl,-R 
-Wl,/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/cdt/.libs
 -Wl,-R -Wl,/usr/local/gcc/gcc-4.7
 .0/lib -Wl,-R -Wl,/usr/pkgsrc/20120411/lib -Wl,-R 
-Wl,/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/.buildlink/lib 
-Wl,-R -Wl,/usr/local/gcc/gcc-4.7.0/lib 
-L/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/xdot/.libs
 
-L/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/graph/.libs
 
-L/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/pathplan/.libs
 
-L/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/cdt/.libs
 -L/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/.buildlink/lib 
../../lib/gvc/.libs/libgvc.so 
/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/xdot/.libs/libxdot.so
 
/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/graph/.libs/libgraph.so
 
/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/pathplan/.libs/libpathplan.so
 /pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/.
 buildlink/lib/libexpat.so -lsocket -lnsl 
/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/.buildlink/lib/libz.so 
../../lib/graph/.libs/libgraph.so 
/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/graphviz-2.26.3/lib/cdt/.libs/libcdt.so
 ../../lib/cdt/.libs/libcdt.so 
-L/pkgsrc/source/pkgsrc/graphics/graphviz/work.pkgsrc-i86/.buildlink/lib/perl5/5.14.0/i386-solaris-thread-multi/CORE
 -lperl 
-L/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0
 -L/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc 
-L/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/../../..
 /usr/local/gcc/gcc-4.7.0/lib/libstdc++.so -lm -lc -lgcc_s 
/software/local/gcc/sunos5.10-x64/gcc-4.7.0/bin/../lib/gcc/i386-pc-solaris2.10/4.7.0/crtend.o
 /usr/lib/crtn.o  -Wl,-R/usr/pkgsrc/20120411/lib -Wl,-rpath 
-Wl,/usr/pkgsrc/20120411/lib/perl5/5.14.0/i386-solaris-thread-multi/CORE   
-Wl,-h -Wl,libgv_perl.so -o .libs/libgv_perl.so
ld: elf error: file 
/usr/pkgsrc/20120411/lib/perl5/5.14.0/i386-solaris-thread-multi/CORE: 
elf_begin: I/O error: region read: Is a directory

After removing the patch, the package builds again. Seems someone has already 
injected the needed -R option before.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index