pkgsrc-Bugs archive

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

pkg/46873: graphics/enblend-enfuse does require -lboost_system



>Number:         46873
>Category:       pkg
>Synopsis:       graphics/enblend-enfuse does require -lboost_system
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 29 15:00:00 +0000 2012
>Originator:     Tero Kivinen
>Release:        NetBSD current
>Organization:
>Environment:
NetBSD tiiliskivi.i.kivinen.iki.fi 6.99.10 NetBSD 6.99.10 (TIILISKIVI) #0: Tue 
Aug 28 05:47:14 EEST 2012  
root%tiiliskivi.i.kivinen.iki.fi@localhost:/usr/obj/sys/arch/amd64/compile/TIILISKIVI
 amd64

>Description:
When I try to compile graphics/enblend-enfuse the compliation fails:

c++  -pthread  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../include 
-DVIGRA_STATIC_LIB -pthread -I/usr/pkg/include/OpenEXR   -O2 -I/usr/pkg/include 
-I/usr/include -DNDEBUG -Wall  -pthread  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib 
-L/usr/lib -Wl,-R/usr/lib -o enblend enblend-enblend.o enblend-gpu.o 
enblend-error_message.o enblend-filenameparse.o enblend-filespec.o 
enblend-self_test.o enblend-tiff_message.o vigra_impex/libvigra_impex.a -lGLEW 
-lGLU -lGL  -lm -lglut  -lSM -lICE -lXmu -lXi  -lGLU -lGL  -lm  
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread 
  -lxmi -llcms -ltiff -lpng -ljpeg -lz                       
enblend-enblend.o: In function `global constructors keyed to command':          
enblend.cc:(.text+0xc975): undefined reference to 
`boost::system::generic_category()'                                             
                              
enblend.cc:(.text+0xc981): undefined reference to 
`boost::system::generic_category()'                                             
                              
enblend.cc:(.text+0xc98d): undefined reference to 
`boost::system::system_category()'                                              
                              
gmake[3]: *** [enblend] Error 1                                                 
gmake[3]: Leaving directory 
`/usr/pkgsrc/graphics/enblend-enfuse/work/enblend-enfuse-4.0-753b534c819d/src'  
                                                    
gmake[2]: *** [install-recursive] Error 1                                       
gmake[2]: Leaving directory 
`/usr/pkgsrc/graphics/enblend-enfuse/work/enblend-enfuse-4.0-753b534c819d/src'  
                                                    
gmake[1]: *** [install] Error 2                                                 
gmake[1]: Leaving directory 
`/usr/pkgsrc/graphics/enblend-enfuse/work/enblend-enfuse-4.0-753b534c819d/src'  
                                                    
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/graphics/enblend-enfuse
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/enblend-enfuse
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/graphics/enblend-enfuse




>How-To-Repeat:
cd /usr/pkgsrc/grapchis/enblend-enfuse
make

>Fix:
To fix this I manually added the -lboost_system to the LIBS of the 
src/Makefile. Most likely this also means that the pkgsrc Makefile would 
require .include "../../devel/boost-libs/buildlink3.mk" in addition to the 
boost-headers.



Home | Main Index | Thread Index | Old Index