Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238822 - app-arch/lzma-utils-4.32.7 fails to compile
Summary: app-arch/lzma-utils-4.32.7 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-26 22:53 UTC by Stefan Behte (RETIRED)
Modified: 2009-12-27 17:06 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 Stefan Behte (RETIRED) gentoo-dev Security 2008-09-26 22:53:40 UTC
[...]
lzmp.cpp:692:   instantiated from here
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/stl_vector.h:107: error: no matching function for call to âstd::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_Vector_impl::_Vector_impl(const std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&)â
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/stl_vector.h:82: note: candidates are: std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_Vector_impl::_Vector_impl(const std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_Vector_impl&)
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.h: In member function âstd::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]â:
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.h:494:   instantiated from âstd::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]â
lzmp.cpp:826:   instantiated from here
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.h:915: error: no matching function for call to âstd::basic_string<char, std::char_traits<char>, std::allocator<char> >::assign(const char*&, size_t)â
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.tcc:247: note: candidates are: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::assign(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/basic_string.h:912: note:                 std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::assign(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/stl_vector.h: In member function âvoid std::_Vector_base<_Tp, _Alloc>::_M_deallocate(_Tp*, size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]â:
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/stl_vector.h:119:   instantiated from âstd::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]â
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/stl_vector.h:203:   instantiated from âstd::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]â
lzmp.cpp:692:   instantiated from here
/usr/lib/gcc/mips-unknown-linux-gnu/4.1.2/include/g++-v4/bits/stl_vector.h:133: error: âstruct std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >::_Vector_implâ has no member named âdeallocateâ
make[4]: *** [lzmp.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/src/lzma'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/src/lzma'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-arch/lzma-utils-4.32.7/work/lzma-4.32.7'
make: *** [all] Error 2
 *
 * ERROR: app-arch/lzma-utils-4.32.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2038:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-arch/lzma-utils-4.32.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/lzma-utils-4.32.7/temp/environment'.
 *

 * Messages for package app-arch/lzma-utils-4.32.7:

 *
 * ERROR: app-arch/lzma-utils-4.32.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2038:  Called die
 * The specific snippet of code:
 *           emake || die "emake failed";
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-arch/lzma-utils-4.32.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-arch/lzma-utils-4.32.7/temp/environment'.
 *

Portage 2.1.4.4 (default-linux/mips/2007.1-dev/generic-be/o32, gcc-4.1.2, glibc-2.6.1-r0, 2.6.19.1-mipsgit-20061224-speedracer-gcc4.1.1 mips64)
=================================================================
System uname: 2.6.19.1-mipsgit-20061224-speedracer-gcc4.1.1 mips64 R12000 V2.3 FPU V0.0
Timestamp of tree: Fri, 26 Sep 2008 22:30:03 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="mips ~mips"
CBUILD="mips-unknown-linux-gnu"
CFLAGS="-O2 -mips4 -mabi=32 -pipe"
CHOST="mips-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mips4 -mabi=32 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="berkdb cli cracklib fortran gdbm gpm iconv isdnlog libwww midi mips mudflap nls nptl nptlonly offensive openmp pam pcre perl pppd python readline reflection sdl session spl ssl tcpd unicode xorg" 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="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev impact newport v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-29 15:42:04 UTC
Please attach the entire build log to this bug report.
Comment 2 Stefan Behte (RETIRED) gentoo-dev Security 2008-10-01 12:54:41 UTC
I won't do that, because I fixed it! :D

revdep-rebuild -X && emerge gcc
did the trick (which took ages on that machine).
An other Admin had put USE="-cxx" in /etc/make.conf and removed it later without re-emerging gcc, something was really broken there.
Fixed & thanks!