Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586858 - dev-embedded/libftdi-1.2 -- undefined reference to `boost::test_tools::...
Summary: dev-embedded/libftdi-1.2 -- undefined reference to `boost::test_tools::...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-24 01:49 UTC by Gary E. Miller
Modified: 2017-05-01 18:01 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,35.61 KB, text/plain)
2016-06-24 01:49 UTC, Gary E. Miller
Details
environment (environment,111.56 KB, text/plain)
2016-06-24 01:49 UTC, Gary E. Miller
Details
build.log USE=-cxx (build.log,35.69 KB, text/plain)
2016-06-24 07:06 UTC, Gary E. Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2016-06-24 01:49:04 UTC
Created attachment 438604 [details]
build.log

Fails to emerge

emerge -1 =dev-embedded/libftdi-1.2

[...]
[ 90%] Linking CXX executable test_libftdi1
cd /var/tmp/portage/dev-embedded/libftdi-1.2/work/libftdi-1.2_build/test && /usr/
bin/cmake -E cmake_link_script CMakeFiles/test_libftdi1.dir/link.txt --verbose=1
/usr/lib64/distcc/bin/x86_64-pc-linux-gnu-g++   -O2 -pipe -march=btver1    -Wl,-O
1 -Wl,--as-needed CMakeFiles/test_libftdi1.dir/basic.cpp.o CMakeFiles/test_libftd
i1.dir/baudrate.cpp.o  -o test_libftdi1 -rdynamic ../src/libftdi1.so.2.2.0 -lboos
t_unit_test_framework-mt -lusb-1.0 
CMakeFiles/test_libftdi1.dir/basic.cpp.o: In function `Basic::SimpleInit::test_me
thod()':
basic.cpp:(.text+0x1b3): undefined reference to `boost::test_tools::tt_detail::check_impl(boost::test_tools::predicate_result const&, boost::unit_test::lazy_ostream const&, boost::unit_test::basic_cstring<char const>, unsigned long, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, unsigned long, ...)'
[...]

robin ~ # emerge -pqv '=dev-embedded/libftdi-1.2::gentoo'
[ebuild  NS   ] dev-embedded/libftdi-1.2 [0.20] USE="cxx python -doc -examples -static-libs -tools" 
[ebuild  rR   ] sys-apps/flashrom-0.9.9  USE="atapromise atavia buspirate_spi drkaiser dummy ft2232_spi gfxnvidia internal internal_dmi it8212 linux_spi nic3com nicintel nicintel_eeprom nicintel_spi nicrealtek ogp_spi pickit2_spi pony_spi rayer_spi satamv satasii serprog usbblaster_spi wiki -atahpt -ch341a_spi -dediprog -mstarddc_spi -nicnatsemi -static -tools" 

robin ~ # emerge --info '=dev-embedded/libftdi-1.2::gentoo'
Portage 2.3.0_rc1 (python 2.7.11-final-0, default/linux/amd64/13.0/desktop/kde, gcc-5.4.0, glibc-2.23-r2, 4.6.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.6.1-gentoo-x86_64-AMD_E-350_Processor-with-gentoo-2.2
KiB Mem:     7768724 total,    201812 free
KiB Swap:   16777212 total,  16767356 free
Timestamp of repository gentoo: Thu, 23 Jun 2016 17:30:01 +0000
sh bash 4.3_p46
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.2.5 [disabled]
app-shells/bash:          4.3_p46::gentoo
dev-lang/perl:            5.24.0-r1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.4.4::gentoo, 3.5.1-r3::gentoo
dev-util/ccache:          3.2.5::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
dev-util/pkgconfig:       0.29.1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.21::gentoo
sys-apps/sandbox:         2.10-r2::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://backup.rellim.com/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=btver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=btver1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --backtrack=2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6 -l2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp/"
USE="X a52 aac aacplus aacs accessibility acl acpi adns aio alsa amd64 amr amrenc apng ares asyncdns avahi avcodec avformat bash-completion bcmath berkdb bluetooth bluray bound branding bzip2 cairo caps cdda cdr celt cli connman consolekit cracklib crypt cryptsetup cups curl cxx dane dbus declarative device-mapper djbfft dlz dri dts dvb dvd dvdr e2 ecwj2k egl emboss encode exif expat extraengine faac faad fam fdk ffmpeg fftw firefox fits flac fontconfig foomaticdb fortran fortune fpm fpx g g3dvl gcrypt gd gdbm geoip geos gif gimp git glamor gles1 gles2 glib gml gmp gnome-keyring gnutls gost gpg gpm gps grass gsl gsm gstreamer gtk gtk3 hardened harfbuzz hdf highlight http2 iconv icu id3tag infinality inotify iproute2 ipv6 jack jbig jpeg jpeg2k json kipi ladspa lame lcms libass libcanberra libedit libffi libinput libmpeg2 libnotify libsamplerate libsecret libsoxr libv4l2 lm_sensors lmdb lzma lzo mad matroska md5sum mhash mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses net netcdf netlink network nfs nfsv4 nfsv41 nls nptl ntp offensive ogdi ogg openal openexr opengl openmp openssl opus osmesa pam pango pcntl pcre pdf pdfimport penexr perl phonon plasma png pnm policykit popcnt postproc ppds pulseaudio pyqt4 python q32 q8 qt3support qt4 qt5 quvi raw readline realtime rpc rpz rtmp scrypt sctp sdl seccomp semantic-desktop session sharedmem shm shout smi smp sndfile snmp spatialite speex spell sql sqlite sse sse2 sse3 sse4a ssh ssl ssse3 sssvg startup-notification svg swscale t1lib tcpd theora threads thunar tiff toolame truetype twolame udev udisks unbound unicode upower urandom usb utils utp v4l2 v8 vaad vaapi vdpau vim-syntax vlc vorbis vpx webkit webkit2 webp wifi wmf wps wxwidgets x264 x265 xattr xcb xcomposite xft xine xinerama xml xmlndr xorg xosd xosine xpm xrender xscreensaver xsl xulrunner xv xvid xvmc xz zip zlib zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3" DRACUT_MODULES="caps crypt livenet lvm ssh-client syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby21 ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="vesa radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Gary E. Miller 2016-06-24 01:49:26 UTC
Created attachment 438606 [details]
environment
Comment 2 SpanKY gentoo-dev 2016-06-24 05:31:31 UTC
what version of boost do you have installed ?  i'm assuming it builds fine if you do USE=-cxx.
Comment 3 Gary E. Miller 2016-06-24 07:05:31 UTC
(In reply to SpanKY from comment #2)
> what version of boost do you have installed ?  

dev-libs/boost-1.61.0

With these USE flags:

 context debug doc icu mpi +nls python static-libs +threads tools 

> i'm assuming it builds fine if you do USE=-cxx.

I just tried it, that also fails.  Slightly differently.  I'll attach a build.log.
Comment 4 Gary E. Miller 2016-06-24 07:06:43 UTC
Created attachment 438628 [details]
build.log USE=-cxx

USE=-cxx
Comment 5 SpanKY gentoo-dev 2016-06-24 07:39:06 UTC
(In reply to Gary E. Miller from comment #3)

if you have boost 1.61.0 installed, why does the log say:
-- Boost version: 1.52.0

and why does the build show:
In file included from /usr/include/boost-1_51/boost/test/test_tools.hpp:21:0,

seems to me your system is messed up
Comment 6 David Seifert gentoo-dev 2017-04-30 22:09:40 UTC
Those orphaned files look to be from the days of SLOTed boost. Please re-emerge boost and retry.
Comment 7 Gary E. Miller 2017-05-01 18:01:57 UTC
(In reply to David Seifert from comment #6)
> Those orphaned files look to be from the days of SLOTed boost. Please
> re-emerge boost and retry.

This bug is over a year old.  I gave up on this package a long time ago.