Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146112 - [gcc-4.1] net-im/wengophone-2.0_rc2 (testing) build fails.
Summary: [gcc-4.1] net-im/wengophone-2.0_rc2 (testing) build fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: Lowest minor (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-03 04:00 UTC by Géraud Plagne
Modified: 2006-10-23 12:31 UTC (History)
1 user (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 Géraud Plagne 2006-09-03 04:00:10 UTC
After switching from gcc-3.4.6 to gcc-4.1.1 and having rebuilt the system, wengophone build fails.


# gcc-config i686-pc-linux-gnu-4.1.1
# source /etc/profile
# fix_libtool_files.sh 3.4.6
# emerge --oneshot -av libtool
# emerge -eav system
# etc-update
# emerge -eav world

Calculating dependencies... done!
>>> Emerging (1 of 1) net-im/wengophone-2.0_rc2 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking wengophone_2.0.0~rc2-svn7135.orig.tar.gz ;-)
>>> checking wengophone_2.0.0~rc2-svn7135-1.diff.gz ;-)
 * You need to add #include <boost/visit_each.hpp> in
 * /usr/include/boost/bind.hpp to build with gcc-4.1

!!! ERROR: net-im/wengophone-2.0_rc2 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  wengophone-2.0_rc2.ebuild, line 49:   Called die

!!! Please fix your includes



#emerge --info

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth calendar cdparanoia cli crypt cups dlloader dri dvb dvd dvdr dvdread eds emboss encode esd evo fam foomaticdb fortran ftp gdbm gif gpm gstreamer gtk gtk2 imap imlib ipv6 isdnlog java jpeg kde libg++ libwww lm_sensors mad mikmod mime mmx mmxext motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdf pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sqlite3 sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev userlocales vorbis win32codecs wxwindows xml xmms xorg xosd xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr lirc_devices_avermedia98 userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Luca Barbato gentoo-dev 2006-09-03 04:05:21 UTC
 * You need to add #include <boost/visit_each.hpp> in
 * /usr/include/boost/bind.hpp to build with gcc-4.1

Not a bug.

Surely would be nice having an updated boost
Comment 2 Géraud Plagne 2006-09-03 04:44:00 UTC
(In reply to comment #1)
>  * You need to add #include <boost/visit_each.hpp> in
>  * /usr/include/boost/bind.hpp to build with gcc-4.1
> 
> Not a bug.
> 
> Surely would be nice having an updated boost

Thanks for the advice.

I have merged the ~x86 dev-libs/boost-1.33.1 ebuild, but it does not solve the problem.





Comment 3 Sam 2006-09-14 01:24:35 UTC
What i did is just as told. Edit bind.hpp, and around line 27 add the missing include. Here's a patch


xushitop d # cat wengo-2.0_rc2-gcc4.1.1-visit-each.patch 
--- /usr/include/boost/bind.hpp     2006-09-14 08:49:51.000000000 +0100
+++ /usr/include/boost/bind.hpp 2006-09-14 08:50:08.000000000 +0100
@@ -27,6 +27,7 @@
 #include <boost/type.hpp>
 #include <boost/bind/arg.hpp>
 #include <boost/detail/workaround.hpp>
+#include <boost/visit_each.hpp>
 
 // Borland-specific bug, visit_each() silently fails to produce code
 
xushitop d # 



 # patch -p0 < wengo-2.0_rc2-gcc4.1.1-visit-each.patch 
re-emerge wengo.
Comment 4 Anton Bolshakov 2006-10-06 16:39:05 UTC
I didn't get it. Shell we open an another bug for dev-libs/boost then?..
Comment 5 Tiziano Müller (RETIRED) gentoo-dev 2006-10-07 00:38:47 UTC
No need to. I took over dev-libs/boost as a maintainer a couple of days ago and I've already included such a patch for 1.33.1-r1 along with some other fixes. The updated boost-ebuild will hit CVS this weekend.
Comment 6 Bernd Pachur 2006-10-23 10:29:48 UTC
(In reply to comment #5)
> No need to. I took over dev-libs/boost as a maintainer a couple of days ago and
> I've already included such a patch for 1.33.1-r1 along with some other fixes.
> The updated boost-ebuild will hit CVS this weekend.
> 

but where is the ebuild? it's not in portage.
there is only a masked pre-version of 1.34.
Comment 7 Bernd Pachur 2006-10-23 10:30:11 UTC
(In reply to comment #5)
> No need to. I took over dev-libs/boost as a maintainer a couple of days ago and
> I've already included such a patch for 1.33.1-r1 along with some other fixes.
> The updated boost-ebuild will hit CVS this weekend.
> 

but where is the ebuild? it's still not in portage.
there is only a masked pre-version of 1.34.
Comment 8 Tiziano Müller (RETIRED) gentoo-dev 2006-10-23 12:31:34 UTC
Ok, finally fixed. Sorry for the delay but I first wanted to include icu-support in the boost revision-bump. But it just took too long until mips keywords the icu-package so I removed it again to solve this bug (and others) first.
Closing this bug for now, please re-open if it doesn't work for you.