Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 309415 - net-p2p/qbittorrent-2.1.2 fails to build with dev-libs/boost-1.41*
Summary: net-p2p/qbittorrent-2.1.2 fails to build with dev-libs/boost-1.41*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on: 312825
Blocks:
  Show dependency tree
 
Reported: 2010-03-14 21:58 UTC by Marco Nierlich
Modified: 2010-04-11 00:31 UTC (History)
5 users (show)

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


Attachments
emerge --info =net-p2p/qbittorrent-2.1.2' (qbittorrent.emerge_info,3.88 KB, text/plain)
2010-03-14 21:59 UTC, Marco Nierlich
Details
build environment (environment,98.70 KB, text/plain)
2010-03-14 22:01 UTC, Marco Nierlich
Details
build.log (build.log,128.21 KB, text/plain)
2010-03-14 22:02 UTC, Marco Nierlich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Nierlich 2010-03-14 21:58:18 UTC
since stable 2.1.2 did not build, I tried to build 2.1.6 which did not work neither.

pingu2 ~ # emerge -pqv =net-p2p/qbittorrent-2.1.2
[ebuild     U ] net-p2p/qbittorrent-2.1.2 [1.5.5] USE="X%* libnotify%* -geoip%"

Reproducible: Always
Comment 1 Marco Nierlich 2010-03-14 21:59:17 UTC
Created attachment 223561 [details]
emerge --info =net-p2p/qbittorrent-2.1.2'
Comment 2 Marco Nierlich 2010-03-14 22:01:32 UTC
Created attachment 223563 [details]
build environment
Comment 3 Marco Nierlich 2010-03-14 22:02:07 UTC
Created attachment 223565 [details]
build.log
Comment 4 Iskren Slavov 2010-03-15 12:59:54 UTC
(In reply to comment #3)
> Created an attachment (id=223565) [details]
> build.log
> 

Maybe you are using ~unstable version of boost? If so try using the current stable.
Comment 5 Marco Nierlich 2010-03-15 21:32:47 UTC
accoring to eix, I'm using boost stable:

[I] dev-libs/boost
     Available versions:  
	(0)	1.35.0-r2 1.35.0-r5
	(1.36)	~1.36.0-r1
	(1.37)	~1.37.0-r1
	(1.39)	~1.39.0
	(1.41)	~1.41.0-r2 1.41.0-r3
	(1.42)	~1.42.0
	{debug doc +eselect expat icu mpi python static-libs test tools}
     Installed versions:  1.35.0-r5(22:26:42 11/05/09)(eselect python -doc -expat -icu -mpi -test -tools) 1.41.0-r3(1.41)(12:34:36 03/14/10)(eselect python -debug -doc -expat -icu -mpi -test -tools)
     Homepage:            http://www.boost.org/
     Description:         Boost Libraries for C++
Comment 6 Marco Nierlich 2010-03-15 22:05:17 UTC
just tried to remerge boost but that did not help neither
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-16 21:57:17 UTC
(In reply to comment #6)
> just tried to remerge boost but that did not help neither

 Does a newer version of qbittorrent work?  Like 2.1.5?
Comment 8 Marco Nierlich 2010-03-17 14:00:37 UTC
(In reply to comment #7)
>  Does a newer version of qbittorrent work?  Like 2.1.5?

As written above, 2.1.6 does not work neither.

Comment 9 Iskren Slavov 2010-03-17 14:07:33 UTC
I'm using qbittorrent 2.2.0 w/ boost 1.42. Could you try to keyword boost 1.42 and see if that works for you?

(In reply to comment #5)
> accoring to eix, I'm using boost stable:
> 
> [I] dev-libs/boost
>      Available versions:  
>         (0)     1.35.0-r2 1.35.0-r5
>         (1.36)  ~1.36.0-r1
>         (1.37)  ~1.37.0-r1
>         (1.39)  ~1.39.0
>         (1.41)  ~1.41.0-r2 1.41.0-r3
>         (1.42)  ~1.42.0
>         {debug doc +eselect expat icu mpi python static-libs test tools}
>      Installed versions:  1.35.0-r5(22:26:42 11/05/09)(eselect python -doc
> -expat -icu -mpi -test -tools) 1.41.0-r3(1.41)(12:34:36 03/14/10)(eselect
> python -debug -doc -expat -icu -mpi -test -tools)
>      Homepage:            http://www.boost.org/
>      Description:         Boost Libraries for C++
> 

Comment 10 Iskren Slavov 2010-03-17 14:14:40 UTC
Whoops. I think I know where your problem may be. 

You can see the list of installed 'boost' library versions using the following command:
# eselect boost list
and then try to use an older version of boost library using
# eselect boost set

Tried the latest stable with qbittorrent-2.1.2 here and it works here (AMD64).
Comment 11 Marco Nierlich 2010-03-18 20:49:16 UTC
(In reply to comment #10)
> Whoops. I think I know where your problem may be. 
> 
> You can see the list of installed 'boost' library versions using the following
> command:
> # eselect boost list
> and then try to use an older version of boost library using
> # eselect boost set
> 
> Tried the latest stable with qbittorrent-2.1.2 here and it works here (AMD64).
> 

pingu2 ~ # eselect boost list
Available boost versions:
  [1]   boost-1.35/default *
  [2]   boost-1.41/default

it failed with boost 1.41 (was defaulted before) but after having changed to 1.35, qbittorrent-2.1.2 worked. Do you want me to try it with boost-1.4.2?
Comment 12 Matteo 'The Peach' Pescarin 2010-03-23 09:12:13 UTC
same problem here:
qbittorrent 2.2 failed with boost-1.41
after switching to boost-1.35 everything went find. Did not try with unmasked version 1.42.

# emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-tuxonice-r6 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r6-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-gentoo-2.0.0
Timestamp of tree: Sun, 21 Mar 2010 10:45:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r3, 2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r4
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3-r1, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.1.2, 4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests candy distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.unina.it/pub/linux/distributions/gentoo "
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/enlightenment /usr/local/portage/layman/gechi /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acpi alsa bash-completion berkdb bluetooth bzip2 cairo cddb cleartype cli cracklib crypt cups cxx dbus directfb dri dvdr exif fbcon flac foomaticdb fortran gdbm gif gimp gpm gtk hal iconv idn ipv6 jpeg jpeg2k lcms libnotify libsamplerate mmx mng modules mp3 mudflap ncurses nls nptl nptlonly offensive ogg opengl openmp pcre perl png ppds pppd python qt3support qt4 readline reflection samba session spl sse sse2 ssl startup-notification svg sysfs syslog tcpd threads tiff truetype unicode usb vorbis wavpack win32codecs wma x86 xcomposite xinerama xml xorg xscreensaver xvid zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="auth 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 alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime_magic cern-meta expires headers usertrack unique-id info include cgi cgid dav dav_fs dav_lock vhost_alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so filter unique_id ident" APACHE2_MPMS="itk" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2010-03-26 21:51:04 UTC
This is similar to bug #295474 where boost was not correctly detected in rb_libtorrent. So I added some similar code to qbittorrent-2.2.2 just now.
So could you please sync an hour from now and try to emerge rb_libtorrent-0.14.9 and qbittorrent-2.2.2 against boost:1.41 and let me know if that works.
Comment 14 Philipp Reinkemeier 2010-03-27 13:45:50 UTC
(In reply to comment #13)
> This is similar to bug #295474 where boost was not correctly detected in
> rb_libtorrent. So I added some similar code to qbittorrent-2.2.2 just now.
> So could you please sync an hour from now and try to emerge
> rb_libtorrent-0.14.9 and qbittorrent-2.2.2 against boost:1.41 and let me know
> if that works.
> 
I had the same "boost-detection-and-linking-failure" as the reporter. Ben's solution works for me, but only if you really keyword both, rb_libtorrent-0.14.9 + qbittorrent-2.2.2, qbittorrent-2.2.2 with the stable rb_libtorrrent-0.14.6 did NOT work.
Comment 15 Matteo 'The Peach' Pescarin 2010-03-29 01:06:14 UTC
(In reply to comment #13)
> So could you please sync an hour from now and try to emerge
> rb_libtorrent-0.14.9 and qbittorrent-2.2.2 against boost:1.41 and let me know
> if that works.
> 

I can confirm: it works: rb_libtorrent-0.14.9-r1 and qbittorrent-2.2.2 against boost:1.41

thanks for the fix.
Comment 16 Christian Faulhammer (RETIRED) gentoo-dev 2010-03-30 14:54:50 UTC
(In reply to comment #15)
> (In reply to comment #13)
> > So could you please sync an hour from now and try to emerge
> > rb_libtorrent-0.14.9 and qbittorrent-2.2.2 against boost:1.41 and let me know
> > if that works.
> > 
> 
> I can confirm: it works: rb_libtorrent-0.14.9-r1 and qbittorrent-2.2.2 against
> boost:1.41

 So this needs some stabilisations.  yngwin/qt and net-p2p, can you please gather information if we can just go on with above package versions?

Comment 17 Ben de Groot (RETIRED) gentoo-dev 2010-03-30 15:35:10 UTC
(In reply to comment #16)
>  So this needs some stabilisations.  yngwin/qt and net-p2p, can you please
> gather information if we can just go on with above package versions?

That was my idea. I wanted to wait a few days to see if any remaining issues would pop up. I'll file the stable bug tonight.

Comment 18 Ben de Groot (RETIRED) gentoo-dev 2010-04-11 00:31:09 UTC
The fixed versions are now marked stable.