Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197170 - net-p2p/microdc2-0.15.6 doesn't compile without libxml2
Summary: net-p2p/microdc2-0.15.6 doesn't compile without libxml2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-26 20:20 UTC by Alex Dedul
Modified: 2009-09-01 18:47 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 Alex Dedul 2007-10-26 20:20:31 UTC
When i try to emerge net-p2p/microdc2-0.15.6 it doesn't work if libxml2 is not installed. I guess it needs dependency on libxml2 in ebuild ?

Reproducible: Always

Steps to Reproduce:
1. emerge =net-p2p/microdc2-0.15.6
2.
3.

Actual Results:  
x86_64-pc-linux-gnu-gcc -Wall  -march=nocona -pipe -O3   -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+0x245c): undefined reference to `main_to_utf8_string'
command.c:(.text+0x2474): undefined reference to `main_to_utf8_string'
hub.o: In function `hub_input_available':
hub.c:(.text+0x14c0): undefined reference to `try_utf8_to_main_string'
hub.c:(.text+0x1cac): undefined reference to `try_utf8_to_main_string'
hub.c:(.text+0x1cde): undefined reference to `try_utf8_to_main_string'
filelist-in.o: In function `file_list_parse_init':
filelist-in.c:(.text+0xa2d): undefined reference to `filelist_xml_open'
filelist-in.c:(.text+0xa7e): undefined reference to `filelist_bzxml_open'
user.o: In function `user_handle_command':
user.c:(.text+0x1781): 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
 * 


Expected Results:  
Successful emerge

cwserver / # emerge --info
Portage 2.1.3.16 (default-linux/amd64/2007.0/no-multilib, gcc-4.1.1, glibc-2.6.1-r0, 2.6.23-gentoo x86_64)
=================================================================
System uname: 2.6.23-gentoo x86_64 Intel(R) Celeron(R) CPU 430 @ 1.80GHz
Timestamp of tree: Fri, 26 Oct 2007 01:47:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r3
dev-python/pycrypto: 2.0.1-r5
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -pipe -O3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /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="-march=nocona -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LANG="ru_RU.UTF-8"
MAKEOPTS="-j2"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acpi amd64 apache2 bash-completion bitmap-fonts bzlib cli cracklib dri iconv innodb isdnlog midi mime mmx mmx2 mudflap ncurses nptl nptlonly openmp pcre posix pppd readline reflection rtc session slang sockets spl sse sse2 tcpd threads truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" 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="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Alex Dedul 2007-10-26 20:23:24 UTC
Ah, and yes, after i do "emerge libxml2" microdc2 emerges OK then.
Comment 2 Raúl Porcel (RETIRED) gentoo-dev 2007-11-21 15:46:03 UTC
Fixed, thanks.
Comment 3 Sergey Mironov 2009-08-29 20:41:17 UTC
Hmm, seems that i have same error, ever with existing libxml2. Any ideas?


x86_64-pc-linux-gnu-gcc -Wall  -march=athlon64 -O2 -pipe  -Wl,-O1 -o tthsum  tth.o tth/libtth.a ../lib/libgnu.a  
command.o: In function `cmd_say':
command.c:(.text+0x2ffe): undefined reference to `main_to_utf8_string'
command.c:(.text+0x307e): undefined reference to `main_to_utf8_string'
hub.o: In function `prepare_chat_string_for_display':
hub.c:(.text+0x9c): undefined reference to `try_utf8_to_main_string'
filelist-in.o: In function `file_list_parse_init':
filelist-in.c:(.text+0xab9): undefined reference to `filelist_xml_open'
filelist-in.c:(.text+0xae0): undefined reference to `filelist_bzxml_open'
user.o: In function `user_handle_command':
user.c:(.text+0x175c): undefined reference to `utf8_to_main_string'
collect2: ld returned 1 exit status
make[3]: *** [microdc2] Error 1
Comment 4 Sergey Mironov 2009-08-29 20:43:43 UTC
i am emerging 
[ebuild  N    ] net-p2p/microdc2-0.15.6  USE="nls" 


My emerge --info:

Portage 2.1.6.13 (default/linux/amd64/2008.0/server, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r5ierton6 x86_64)       
 =================================================================                                                             
 System uname: Linux-2.6.28-gentoo-r5ierton6-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2300-with-gentoo-1.12.11.1        
 Timestamp of tree: Sat, 29 Aug 2009 20:00:01 +0000                                                                            
 app-shells/bash:     3.2_p39                                                                                                  
 dev-lang/python:     2.4.4-r13, 2.6.2-r1                                                                                      
 dev-python/pycrypto: 2.0.1-r6                                                                                                 
 sys-apps/baselayout: 1.12.11.1                                                                                                
 sys-apps/sandbox:    2.0                                                                                                      
 sys-devel/autoconf:  2.63-r1                                                                                                  
 sys-devel/automake:  1.9.6-r2, 1.10.2                                                                                         
 sys-devel/binutils:  2.18-r3                                                                                                  
 sys-devel/gcc-config: 1.4.1                                                                                                   
 sys-devel/libtool:   1.5.26                                                                                                   
 virtual/os-headers:  2.6.27-r2                                                                                                
 ACCEPT_KEYWORDS="amd64"                                                                                                       
 CBUILD="x86_64-pc-linux-gnu"                                                                                                  
 CFLAGS="-march=athlon64 -O2 -pipe"                                                                                            
 CHOST="x86_64-pc-linux-gnu"                                                                                                    CONFIG_PROTECT="/etc"                                                                                                          CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d  /etc/terminfo /etc/udev/rules.d"                                                                                               CXXFLAGS="-march=athlon64 -O2 -pipe"                                                                                           DISTDIR="/usr/portage/distfiles"                                                                                               FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                 GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/ ftp://mirror.yandex.ru/gentoo-distfiles/ "                           LANG="en_US.UTF-8"                                                                                                             LDFLAGS="-Wl,-O1"                                                                                                              LINGUAS="en ru"                                                                                                                MAKEOPTS="-j3"                                                                                                                 PKGDIR="/usr/portage/packages"                                                                                                
 PORTAGE_CONFIGROOT="/"                                                                                                         PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeou t=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                              
 PORTAGE_TMPDIR="/var/tmp"                                                                                                     
 PORTDIR="/usr/portage"
 SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                
 USE="3dnow 7zip acl acpi alsa amd64 apache2 bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups curl dbus djvu dri  dvd fortran gdbm gif iconv idn ipv6 isdnlog jpeg jpeg2k ldap mmx mp mp3 mudflap multilib ncurses nls nptl nptlonly odbc ogg op enmp pam pch pcre perl png postgres pppd python readline reflection samba session snmp spl sql sqlite3 sse sse2 ssh ssl ssse3  svg sysfs syslog tcl tcpd threads tiff tk truetype unicode vim-syntax vnc xft xinetd xml xorg xpm zlib" ALSA_CARDS="ali5451 al s4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestr o3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug fil e 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 a uthz_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 u serdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfo ntz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga  neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"                                                  
 Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAG E_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY 
Comment 5 Sergey Mironov 2009-09-01 18:47:38 UTC
Found a duplicate bug with solution

http://bugs.gentoo.org/show_bug.cgi?id=242504