Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248635 - app-office/lyx-1.6.0: undefined references to boost stuff
Summary: app-office/lyx-1.6.0: undefined references to boost stuff
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-24 14:59 UTC by Ivan D Vasin
Modified: 2009-01-08 18:08 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan D Vasin 2008-11-24 14:59:41 UTC
While building lyx-1.6.0 I get numerous 'undefined reference' errors for various boost functions, mostly in boost::signals. There are too many to enumerate here but the last few are:

Timeout.cpp:(.text+0x95): undefined reference to `boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::signals::detail::stored_group, boost::signals::detail::stored_group, std::allocator<boost::function_base> > const&, boost::any const&)'                                                        
support/.libs/liblyxsupport.a(Timeout.o): In function `lyx::Timeout::~Timeout()':                                                                               
Timeout.cpp:(.text+0x2bc): undefined reference to `boost::signals::trackable::~trackable()'                                                                     
Timeout.cpp:(.text+0x2e6): undefined reference to `boost::signals::detail::signal_base::~signal_base()'                                                         
support/.libs/liblyxsupport.a(Timeout.o): In function `lyx::Timeout::~Timeout()':                                                                               
Timeout.cpp:(.text+0x31c): undefined reference to `boost::signals::trackable::~trackable()'                                                                     
Timeout.cpp:(.text+0x346): undefined reference to `boost::signals::detail::signal_base::~signal_base()'                                                         
support/.libs/liblyxsupport.a(Timeout.o): In function `lyx::Timeout::Timeout(unsigned int, lyx::Timeout::Type)':                                                
Timeout.cpp:(.text+0x393): undefined reference to `boost::signals::detail::signal_base::signal_base(boost::function2<bool, boost::signals::detail::stored_group, boost::signals::detail::stored_group, std::allocator<boost::function_base> > const&, boost::any const&)'                                                       
support/.libs/liblyxsupport.a(Timeout.o): In function `lyx::Timeout::~Timeout()':                                                                               
Timeout.cpp:(.text+0x2ca): undefined reference to `boost::signals::detail::signal_base::~signal_base()'                                                         
support/.libs/liblyxsupport.a(Timeout.o): In function `lyx::Timeout::~Timeout()':                                                                               
Timeout.cpp:(.text+0x32a): undefined reference to `boost::signals::detail::signal_base::~signal_base()'                                                         
/usr/X11R6/lib/libboost_filesystem.so: undefined reference to `boost::system::get_system_category()'                                                            
/usr/X11R6/lib/libboost_filesystem.so: undefined reference to `boost::system::get_posix_category()'                                                             
collect2: ld returned 1 exit status                                             
make[4]: *** [lyx] Error 1                                                      
make[4]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.0/work/lyx-1.6.0/src'                                                                           
make[3]: *** [all-recursive] Error 1                                            
make[3]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.0/work/lyx-1.6.0/src'                                                                           
make[2]: *** [all] Error 2                                                      
make[2]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.0/work/lyx-1.6.0/src'                                                                           
make[1]: *** [all-recursive] Error 1                                            
make[1]: Leaving directory `/var/tmp/portage/app-office/lyx-1.6.0/work/lyx-1.6.0'                                                                               
make: *** [all] Error 2

Reproducible: Always

Steps to Reproduce:
1. emerge lyx



Portage 2.2_rc15 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.28-rc4-00011-g3ad4f59 i686)                                                  
=================================================================               
System uname: Linux-2.6.28-rc4-00011-g3ad4f59-i686-Intel-R-_Pentium-R-_M_processor_1.86GHz-with-glibc2.0                                                        
Timestamp of tree: Sun, 23 Nov 2008 21:17:01 +0000                              
ccache version 2.4 [enabled]                                                    
app-shells/bash:     3.2_p48                                                    
dev-java/java-config: 1.3.7, 2.1.6-r1                                           
dev-lang/python:     2.5.2-r8                                                   
dev-python/pycrypto: 2.0.1-r6                                                   
dev-util/ccache:     2.4-r8                                                     
dev-util/cmake:      2.6.2                                                      
sys-apps/baselayout: 2.0.0                                                      
sys-apps/openrc:     0.3.0-r2                                                   
sys-apps/sandbox:    1.2.18.1-r3                                                
sys-devel/autoconf:  2.13, 2.63                                                 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2   
sys-devel/binutils:  2.19                                                       
sys-devel/gcc-config: 1.4.0-r4                                                  
sys-devel/libtool:   2.2.6a                                                     
virtual/os-headers:  2.6.27-r2                                                  
ACCEPT_KEYWORDS="x86 ~x86"                                                      
CBUILD="i686-pc-linux-gnu"                                                      
CFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer"                        
CHOST="i686-pc-linux-gnu"                                                       
CONFIG_PROTECT="/etc /opt/openjms/config /usr/env /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/shutdown /var/bind /var/qmail/alias /var/qmail/control"                                               
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                         
CXXFLAGS="-march=pentium4m -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden -fvisibility=hidden"                                                      
DISTDIR="/usr/portage/distfiles"                                                
EMERGE_DEFAULT_OPTS=""                                                          
FEATURES="ccache distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"  
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://distfiles.gentoo.org"                                                                              
INSTALL_MASK=""                                                                 
LANG="en_US.UTF-8"                                                              
LC_ALL="en_US.UTF-8"                                                            
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"                   
LINGUAS="en en_US"                                                              
MAKEOPTS="-j2"                                                                  
PKGDIR="/usr/portage/packages"                                                  
PORTAGE_RSYNC_EXTRA_OPTS=""                                                     
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                  
PORTAGE_TMPDIR="/var/tmp"                                                       
PORTDIR="/usr/portage"                                                          
PORTDIR_OVERLAY="/usr/local/portage/layman/sabayon /usr/local/portage/layman/enlightenment /usr/local/portage/layman/zen-overlay /usr/local/portage/layman/kde-crazy /usr/local/portage"                                                        
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"                         
USE="7zip X Xaw3d a52 aac aalib acl acpi addressbook administrator aim akode alias alsa amarok amazon amr animgif ansi ao apache2 apm applet artswrappersuid aspnet2 async asyncns athena audacious audiofile autoipd automount avahi avalon-framework avalon-logkit backtrace bash-completion bcmath bdf berkdb bidi big-tables binfilter bittorrent blas blender-game bluetooth boost branding bugzilla bzip2 cairo calendar caps captury cardbus cblas cdaudio cdda cddb cdinstall cdio cdparanoia cdr chm chroot clamav clearcase cli clisp cmake colordiff connectionstatus console contentcache corba cpufreq cracklib crypt cscope css ctype cups cupsddk curl curlwrappers cursors custom-optimization cviewer cvs cvsgraph cxx daap dbus device-mapper devil dia directfb disassembler disk-partition divx djbfft djvudnd docbook dot dri dts dvd dvdr dvdread dynamicplugin eap-tls ebook ecc emacs emerald emovix enca encode enscript eolconv epydoc equalizer erandom exif exiv2 expat extra-cardsets extraengine fam fame fastbuild fasttrack fat fbcon fbcondecor fbsplash ffmpeg fftw finger firefox firefox3 fits flac flash flatfile flexresp2 fltk fontconfig foomaticdb fortran fpx freetype ftp fuse g15 gcj gd gdbm gif gimpprint git glade glib glibc-omitfp glitz glut gmedia gmp gnutella gnutls gpg gpgme gphoto2 gpm graphviz gs gsm gstreamer gtk gtkhtml hal hash haskell hddtemphdri highlight history hou howl-compat hpn html htmlhandbook http httpd hunspell icons iconv icq icu id3 id3tag idn ieee1394 image imagemagick inifile inkjar inline innodb inode inotify ipod ipv6 isdnlog ithreads j2me jabber jack java java-internal java5 java6 javascript jbig jce jikes jingle jms jmx joystick jpeg jpeg2k kate kcal kde kdeenablefinal kdehiddenvisibility kdm kerberos kig-scripting kipi kqemu ladspa lame lapack latex lcms ldap ldap-sasl libass libcaca libffi libgcrypt libnotify libsamplerate libsexy libssh2 libtommath libvisual libwww livelm_sensors logitech-mouse lzo mad magic maps marble math matroska md5sum mdnsresponder-compat mhash midi mikmod mime ming mjpeg mmap mmx mmxext mng modplug mono moonlight motif mozdom mozembed moznopango mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mtp mudflap multiuser musepack music musicbrainz mysql mysqli ncurses nepomuk net netboot netjack network network-cron networkmanager new-clx nfs nis nls nntp no-helper nocd normalize nova nowin nowlistening nptl nptlonly nsplugin ntfs numeric nvidia nxclient offensive ogg openal openexr opengl openmp openssl opensslcrypt oscar pam pango pccts pch pcmcia pcntl pcre pdf perfprofiling perl perlsuid php physfs plasma plib plotutils plugins pmu png pnm pop posix postproc postscript pppd prediction prelude psyco pulseaudio pyste python qmake qt-copy qt-static qt3 qt3support qt4 query-browser quicktime rar rdesktop react readline realmedia reflection reiser4 reiserfs remix replaygain replytolist rtc rtf rtsp samba sasl scenarios sdl sdl-image semantic-desktop sensord server session shorten shout simplexml skins slang slp smime sms smtp sndfile snmp snortsam soap sockets socks5 sou sound soundex sounds sox speex spell spl sql sqlite sqlite3 srp srt sse sse2 ssl startup-notification statistics stream subversion suhosin suid svg svga svgz swat swig sysfs syslog sysvipc szip taglib tagwriting tcl tcpd tetex texteffect textures tga themes theora threads thunderbird tidy tiff timestatstk tokenizer tomsfastmath toolbar toolkit-scroll-bars tordns translator trayicon truetype tunepimp twolame unicode upnp usb userlocales userpriv vcd vcdinfo vcdx vhook vhosts videos vim vim-pager vim-syntax vim-with-x visualization vlm vncvncviewer voice vorbis vorbis-psy vpopmail wavpack webdav webkit webpresence wifi win32codecs winbind wireshark wma wmf wmp wordexp workbench wxwindows x264 x86 xanim xattr xcb xcomposite xemacs xface xfce xforms xft xine xinerama xinetd xml xmldoclet xmlreader xmlrpc xmlwriter xorg xosd xpm xrender xscreensaver xsl xulrunner xv xvid xvmc xvnc yv12 zip zlib zoran" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbddeflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="g15 ncurses text xosd" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, FFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 pavel sanda 2008-11-24 18:59:08 UTC
whats your version of boost?
Comment 2 Ivan D Vasin 2008-11-24 20:00:01 UTC
This is with dev-libs/boost-1.35.0-r2.
Comment 3 pavel sanda 2008-11-24 23:57:59 UTC
i can't reproduce your problems. for the time being iboost flag could help you.
Comment 4 Ivan D Vasin 2009-01-08 18:08:37 UTC
problem is gone after i did a clean gentoo install