Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 242504

Summary: net-p2p/microdc2-0.15.6 fails to compile with undefined reference to `main_to_utf8_string'
Product: Gentoo Linux Reporter: Geert De Pooter <live_gdp>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: arttuv69
Priority: High    
Version: 2007.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment

Description Geert De Pooter 2008-10-17 21:56:59 UTC
Hello,

This is my first bug report so if I forget something please tell me.

I'm trying to emerge microdc2 0.15.6 on 2 pcs, 1 x86 and 1 amd64. On both machines I get the same error:

i686-pc-linux-gnu-gcc -Wall  -O1 -march=pentium-m -pipe   -o tthsum  tth.o tth/libtth.a ../lib/libgnu.a
i686-pc-linux-gnu-gcc -Wall  -O1 -march=pentium-m -pipe   -o microdc2  command.o connection.o variables.o fs.o xml_flist.o hub.o huffman.o main.o lookup.o filelist-in.o screen.o search.o user.o util.o tth_file.o local_flist.o hash.o charsets.o common/libcommon.a bzip2/libbzip2.a tth/libtth.a ../lib/libgnu.a -lreadline
command.o: In function `cmd_say':
command.c:(.text+0x38ef): undefined reference to `main_to_utf8_string'
command.c:(.text+0x390b): undefined reference to `main_to_utf8_string'
hub.o: In function `prepare_chat_string_for_display':
hub.c:(.text+0xd8): undefined reference to `try_utf8_to_main_string'
filelist-in.o: In function `file_list_parse_init':
filelist-in.c:(.text+0xed3): undefined reference to `filelist_xml_open'
filelist-in.c:(.text+0xeff): undefined reference to `filelist_bzxml_open'
user.o: In function `user_handle_command':
user.c:(.text+0x17e3): undefined reference to `utf8_to_main_string'
collect2: ld returned 1 exit status
make[3]: *** [microdc2] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-p2p/microdc2-0.15.6/work/microdc2-0.15.6/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-p2p/microdc2-0.15.6/work/microdc2-0.15.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-p2p/microdc2-0.15.6/work/microdc2-0.15.6'
make: *** [all] Error 2
 *
 * ERROR: net-p2p/microdc2-0.15.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line   87:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make 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/net-p2p/microdc2-0.15.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/microdc2-0.15.6/temp/environment'.

I have libxml2 installed.
I will add the buildlog and enviroment asap.

Kind Regards,
Geert
Comment 1 Geert De Pooter 2008-10-17 21:57:38 UTC
Created attachment 168846 [details]
build.log
Comment 2 Geert De Pooter 2008-10-17 21:58:16 UTC
Created attachment 168848 [details]
environment
Comment 3 Geert De Pooter 2008-10-17 21:59:31 UTC
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.60GHz
Timestamp of tree: Fri, 17 Oct 2008 09:15:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O1 -march=pentium-m -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O1 -march=pentium-m -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.binarycompass.org http://ftp.snt.utwente.nl/pub/os/linux/gentoo "
LINGUAS="en"
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.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 arts avi bash-completion bzip2 cairo cdparanoia cdr cgi clamav cli cracklib crypt cups dbus diskio dlz dri dts dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox fortran ftp gdbm gif gimp gnome gpm gstreamer gtk hal howl iconv imagemagick isdnlog ithreads jpeg kde kdeenablefinal kerberos ldap lm_sensors mad matroska mfd-rewrites midi mikmod mmap mmx mp3 mpeg mudflap mysql nagios-dns nagios-ping nagios-ssh ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf pdflib perl php png posix pppd python qt qt3 qt3support qt4 quicktime readline reflection rpm samba sdl sendmail session simplexml smux snmp sockets spell spl sqlite sqlite3 sse sse2 ssl svg svga swat symlink syslog tcpd threads tiff truetype udev unicode usb userlocales vcd verbose vorbis wifi win32codecs x86 xinerama xml xorg xosd xv xvid zlib" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synatics vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa ati vga svga vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 4 Arttu Valo 2008-10-18 00:35:34 UTC
This could be a duplicate of bug #241010 -- and then some others, part of them already closed.
Comment 5 Mike Auty (RETIRED) gentoo-dev 2008-10-18 10:18:23 UTC
Hiya Geert, thanks for the bug report, it was spot on!  5:)  I'm going to add a little more detail to the summary line to help anyone else looking for a bug like this.

After a quick read over both bugs' build logs, I think Arttu's right, so I'm going to mark this as a duplicate of bug 241010.

Don't be afraid to post more bugs, we're always glad to receive well-written reports!  5:)

*** This bug has been marked as a duplicate of bug 241010 ***