Can't compile newest rc version net-misc/sms. Reproducible: Always Steps to Reproduce: 1.emerge sms 2. 3. Actual Results: >>> md5 src_uri ;-) sms-2.0.0-rc1.tar.gz >>> Unpacking source... >>> Unpacking sms-2.0.0-rc1.tar.gz to /var/tmp/portage/sms-2.0.0_rc1/work >>> Source unpacked. Makefile:22: main.d: Nie ma takiego pliku ani katalogu Makefile:22: app.d: Nie ma takiego pliku ani katalogu Makefile:22: config.d: Nie ma takiego pliku ani katalogu Makefile:22: generic_sms.d: Nie ma takiego pliku ani katalogu Makefile:22: era.d: Nie ma takiego pliku ani katalogu Makefile:22: eranet.d: Nie ma takiego pliku ani katalogu Makefile:22: miastoplusa.d: Nie ma takiego pliku ani katalogu Makefile:22: ideambox.d: Nie ma takiego pliku ani katalogu g++ -c -march=athlon-xp -O2 -pipe -w -I./lib main.cc -o main.o g++ -c -march=athlon-xp -O2 -pipe -w -I./lib app.cc -o app.o g++ -c -march=athlon-xp -O2 -pipe -w -I./lib config.cc -o config.o g++ -c -march=athlon-xp -O2 -pipe -w -I./lib generic_sms.cc -o generic_sms.o g++ -c -march=athlon-xp -O2 -pipe -w -I./lib era.cc -o era.o g++ -c -march=athlon-xp -O2 -pipe -w -I./lib eranet.cc -o eranet.o g++ -c -march=athlon-xp -O2 -pipe -w -I./lib miastoplusa.cc -o miastoplusa.o g++ -c -march=athlon-xp -O2 -pipe -w -I./lib ideambox.cc -o ideambox.o g++ -o sms2 main.o app.o config.o generic_sms.o era.o eranet.o miastoplusa.o ideambox.o -L/usr/local/lib -lcurl -lpcre -lpcre++ /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libpcre++.so: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libpcre++.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libpcre++.so: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' collect2: ld returned 1 exit status make: *** [sms2] B??d 1 !!! ERROR: net-misc/sms-2.0.0_rc1 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Compile package. Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-ck7 i686) ================================================================= System uname: 2.6.8-ck7 i686 AMD Duron(tm) processor Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -w" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -w" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync2.pl.gentoo.org/gentoo-portage/" USE="X aalib alsa apache2 apm arts avi berkdb bitmap-fonts crypt dga dnow encode fbcon flac foomaticdb gb gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad maildir mikmod mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml xml2 xprint xv xvidstroke zlib linguas_pl
If you unmask and emerge sys-libs/libstdc++-v3 does that help? to unmask: echo sys-libs/libstdc++-v3 >> /etc/portage/package.unmask echo sys-libs/libstdc++-v3 >> /etc/portage/package.keyword
I was installed that package some time ago: * sys-libs/libstdc++-v3 Latest version available: 3.3.4 Latest version installed: 3.3.4 Size of downloaded files: 22,784 kB Homepage: http://gcc.gnu.org/libstdc++/ Description: Compatibility package for running binaries linked against a pre gcc 3.4 libstdc++ License: GPL-2 LGPL-2.1 I don't try emerge sms without that package.
does this mean it still fails with sys-libs/libstdc++-v3 installed?
Yes, i have it installed but it is still not working for me. I have no idea why.
Good news - I can replicate the problem. Bad news - I don't know why it does it (yet) and can't fix it. I just added 2.0.1 - does this work for you? It gave the same fault for me.
I try 2.0.1 but still get error: >>> md5 src_uri ;-) sms-2.0.1.tar.gz >>> Unpacking source... >>> Unpacking sms-2.0.1.tar.gz to /var/tmp/portage/sms-2.0.1/work >>> Source unpacked. Makefile:30: ostrze?enie: polecenia zakrywaj?ce dla obiektu `cgdbm.o' Makefile:24: ostrze?enie: ignoruj? stare polecenia dla obiektu `cgdbm.o' g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib main.cc -o main.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib app.cc -o app.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib config.cc -o config.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib generic_sms.cc -o generic_sms.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib era.cc -o era.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib eranet.cc -o eranet.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib miastoplusa.cc -o miastoplusa.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib ideambox.cc -o ideambox.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib plusmail.cc -o plusmail.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib plus.cc -o plus.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib lib/mr_curl/mr_curl.cc -o lib/mr_curl/mr_curl.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib cgdbm.cc -o cgdbm.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib smsaddr.cc -o smsaddr.o g++ -o smsaddr smsaddr.o cgdbm.o -L/usr/local/lib -lgdbm g++ -o sms main.o app.o config.o generic_sms.o era.o eranet.o miastoplusa.o ideambox.o plusmail.o plus.o lib/mr_curl/mr_curl.o cgdbm.o -L/usr/local/lib -lcurl -lpcre -lpcre++ -lgdbm /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libpcre++.so: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libpcre++.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.2/../../../libpcre++.so: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' collect2: ld returned 1 exit status make: *** [sms] B??d 1 !!! ERROR: net-misc/sms-2.0.1 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Can you submit a bug report upstream please? I would but my polish ability is non-existant. This problem still exists in 2.0.2 which I'm just about to commit. gcc-porters - I'm sure this is something basic however I don't know what it is. Thought it may be something you see often.
In 2.0.2 i get error: >>> md5 src_uri ;-) sms-2.0.2.tar.gz >>> Unpacking source... >>> Unpacking sms-2.0.2.tar.gz to /var/tmp/portage/sms-2.0.2/work >>> Source unpacked. Makefile:30: ostrze?enie: polecenia zakrywaj?ce dla obiektu `cgdbm.o' Makefile:24: ostrze?enie: ignoruj? stare polecenia dla obiektu `cgdbm.o' g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib main.cc -o main.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib app.cc -o app.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib config.cc -o config.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib generic_sms.cc -o generic_sms.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib era.cc -o era.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib eranet.cc -o eranet.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib miastoplusa.cc -o miastoplusa.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib ideambox.cc -o ideambox.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib plusmail.cc -o plusmail.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib plus.cc -o plus.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib lib/mr_curl/mr_curl.cc -o lib/mr_curl/mr_curl.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib cgdbm.cc -o cgdbm.o g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib smsaddr.cc -o smsaddr.o g++ -o smsaddr smsaddr.o cgdbm.o -L/usr/local/lib -lgdbm g++ -o sms main.o app.o config.o generic_sms.o era.o eranet.o miastoplusa.o ideambox.o plusmail.o plus.o lib/mr_curl/mr_curl.o cgdbm.o -L/usr/local/lib -lcurl -lpcre -lpcre++ -lgdbm /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libpcre++.so: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libpcre++.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libpcre++.so: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' collect2: ld returned 1 exit status make: *** [sms] B??d 1 !!! ERROR: net-misc/sms-2.0.2 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
fixed.
Not fixed for me :( I still get the same error. Can You look at this one more time?
what is the version of sms now? is your emerge info the same? is the error the same?
# emerge sms -u Calculating dependencies ...done! >>> emerge (1 of 1) net-misc/sms-2.0.2 to / >>> md5 src_uri ;-) sms-2.0.2.tar.gz >>> Unpacking source... >>> Unpacking sms-2.0.2.tar.gz to /var/tmp/portage/sms-2.0.2/work >>> Source unpacked. Makefile:30: ostrzeżenie: polecenia zakrywające dla obiektu `cgdbm.o' Makefile:24: ostrzeżenie: ignoruję stare polecenia dla obiektu `cgdbm.o' i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib main.cc -o main.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib app.cc -o app.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib config.cc -o config.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib generic_sms.cc -o generic_sms.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib era.cc -o era.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib eranet.cc -o eranet.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib miastoplusa.cc -o miastoplusa.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib ideambox.cc -o ideambox.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib plusmail.cc -o plusmail.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib plus.cc -o plus.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib lib/mr_curl/mr_curl.cc -o lib/mr_curl/mr_curl.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib cgdbm.cc -o cgdbm.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib smsaddr.cc -o smsaddr.o i686-pc-linux-gnu-g++ -o sms main.o app.o config.o generic_sms.o era.o eranet.o miastoplusa.o ideambox.o plusmail.o plus.o lib/mr_curl/mr_curl.o cgdbm.o -lc -lcurl -lpcre -lpcre++ -lgdbm i686-pc-linux-gnu-g++ -o smsaddr smsaddr.o cgdbm.o -lc -lgdbm /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libpcre++.so: undefined reference to `std::__default_alloc_template<true, 0>::allocate(unsigned int)' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libpcre++.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage' /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libpcre++.so: undefined reference to `std::__default_alloc_template<true, 0>::deallocate(void*, unsigned int)' collect2: ld returned 1 exit status make: *** [sms] Błąd 1 !!! ERROR: net-misc/sms-2.0.2 failed. !!! Function src_compile, Line 25, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. I can't compile version 2.0.2 (change summary for bug).
I forgot about info. Portage 2.0.51.16 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.10-nitro2 i686) ================================================================= System uname: 2.6.10-nitro2 i686 AMD Duron(tm) processor Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 17:30:38)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -w" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -w" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://194.117.143.72/mirrors/gentoo ftp://194.117.143.71/mirrors/gentoo ftp://194.117.143.70/mirrors/gentoo" LANG="pl_PL" LC_ALL="pl_PL" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups curl dga emboss encode f77 fam fbcon flac foomaticdb fortran gb gdbm gif glx gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww mad maildir mmx mpeg mysql nas ncurses nls nptl nptlonly nvidia oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl stroke svga tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales xml xml2 xv xvid zlib linguas_pl" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
Hi! On the updated 2005.0 Gentoo stable system (x86) it compiles and links without any warnning. So, it seems it is a problem related to the gcc version, since I use gcc-3.3.5 and the problem appears in 3.4.x versions. If you have any idea, why you encounter compile problems, please let me know, so I can contact the author directly. /ediap
I update ebuild to 2.0.3 and get next error: >>> Unpacking sms-2.0.3.tar.gz to /var/tmp/portage/sms-2.0.3/work >>> Source unpacked. Makefile:30: ostrzeżenie: polecenia zakrywające dla obiektu `cgdbm.o' Makefile:24: ostrzeżenie: ignoruję stare polecenia dla obiektu `cgdbm.o' i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib main.cc -o main.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib app.cc -o app.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib config.cc -o config.o i686-pc-linux-gnu-g++ -c -MMD -march=athlon-xp -O2 -pipe -w -I./lib generic_sms.cc -o generic_sms.o In file included from config.cc:10: ./lib/mr_pcre/mr_pcre.h:4:20: pcre++.h: Nie ma takiego pliku ani katalogu In file included from config.cc:10: ./lib/mr_pcre/mr_pcre.h: In static member function `static bool PcreWrap::pcre_match_all(const std::string&, const std::string&, const std::string&, std::vector<std::vector<std::string, std::allocator<std::string> >, std::allocator<std::vector<std::string, std::allocator<std::string> > > >&)': ./lib/mr_pcre/mr_pcre.h:33: error: `pcrepp' has not been declared ./lib/mr_pcre/mr_pcre.h:33: error: `Pcre' undeclared (first use this function) ./lib/mr_pcre/mr_pcre.h:33: error: (Each undeclared identifier is reported only once for each function it appears in.) ./lib/mr_pcre/mr_pcre.h:33: error: expected `;' before "pcre" ./lib/mr_pcre/mr_pcre.h:39: error: expected primary-expression before '.' token ./lib/mr_pcre/mr_pcre.h:41: error: expected primary-expression before '.' token ./lib/mr_pcre/mr_pcre.h:43: error: expected primary-expression before '.' token ./lib/mr_pcre/mr_pcre.h: In static member function `static bool PcreWrap::pcre_match(const std::string&, const std::string&, const std::string&)': ./lib/mr_pcre/mr_pcre.h:54: error: `pcrepp' has not been declared ./lib/mr_pcre/mr_pcre.h:54: error: `Pcre' undeclared (first use this function) ./lib/mr_pcre/mr_pcre.h:54: error: expected `;' before "pcre" ./lib/mr_pcre/mr_pcre.h:56: error: expected primary-expression before '.' token config.cc: At global scope: config.cc:14: error: expected namespace-name before ';' token config.cc:14: error: `<type error>' is not a namespace config.cc: In member function `std::string Config::ParseConfigLine(const std::string&)': config.cc:46: error: `Pcre' undeclared (first use this function) config.cc:46: error: expected `;' before "pcre" config.cc:49: error: expected primary-expression before '=' token config.cc:51: error: expected primary-expression before '.' token config.cc:55: error: expected primary-expression before '.' token config.cc:57: error: expected primary-expression before '.' token config.cc:61: error: expected primary-expression before '.' token config.cc:61: error: expected primary-expression before '.' token config.cc:65: error: expected primary-expression before '=' token config.cc:67: error: expected primary-expression before '.' token config.cc:72: error: expected primary-expression before '.' token config.cc:80: error: expected primary-expression before '.' token config.cc:80: error: expected primary-expression before '.' token make: *** [config.o] Błąd 1 make: *** Czekam na niezakończone zadania.... gcc: 3.4.3.20050110 ;-(
I think 2.0.3 fixed this for me. Please reopen if it doesn't
Hmm. Now 2.2 compile for me. Then now is ok. I have no ebuild for 2.0.3. If 2.0.2 is work good then i don't need 2.0.3. Close bug is good idea. Thanks to all.