Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240097 - emerge net-im/jabberd-1.6.1.1-r1 fails
Summary: emerge net-im/jabberd-1.6.1.1-r1 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Thomas Anderson (tanderson) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-05 19:55 UTC by Ivan Grynko
Modified: 2008-10-14 19:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,42.41 KB, text/plain)
2008-10-05 19:59 UTC, Ivan Grynko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Grynko 2008-10-05 19:55:28 UTC
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking if static builds enabled... no
checking if partial static builds enabled... no
checking for socket... no
checking for socket in -lsocket... no
configure: error: Couldn't find required function socket

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-im/jabberd-1.6.1.1-r1/work/jabberd14-1.6.1.1/config.log
 *
 * ERROR: net-im/jabberd-1.6.1.1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2555:  Called econf '--sysconfdir=/etc/jabber' '--enable-ssl' '--disable-ipv6' '--with-mysql' '--without-postgresql'
 * ebuild.sh, line  541:  Called die
 * The specific snippet of code:
 * die "econf failed"
 * The die message:
 * econf 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-im/jabberd-1.6.1.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/jabberd-1.6.1.1-r1/temp/environment'.
 *

>>> Failed to emerge net-im/jabberd-1.6.1.1-r1, Log file:

>>>  '/var/tmp/portage/net-im/jabberd-1.6.1.1-r1/temp/build.log'

 * Messages for package net-im/jabberd-1.6.1.1-r1:

 *
 * ERROR: net-im/jabberd-1.6.1.1-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 2555:  Called econf '--sysconfdir=/etc/jabber' '--enable-ssl' '--disable-ipv6' '--with-mysql' '--without-postgresql'
 * ebuild.sh, line  541:  Called die
 * The specific snippet of code:
 * die "econf failed"
 * The die message:
 * econf 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-im/jabberd-1.6.1.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-im/jabberd-1.6.1.1-r1/temp/environment'.



Reproducible: Always

Steps to Reproduce:
1.emerge =net-im/jabberd-1.6.1.1-r1
2.
3.




Portage 2.2_rc11 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-glibc2.0
Timestamp of tree: Sun, 05 Oct 2008 05:45:03 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 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:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse2 -msse3 -mssse3 -pipe -fomit-frame-pointer"
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"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=core2 -msse2 -msse3 -mssse3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
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"
PORTDIR_OVERLAY="/usr/local/overlays/custom-kernels /usr/local/overlays/desktop-effects /usr/local/overlays/sunrise /usr/local/overlays/bobrik-cleartype /usr/local/overlays/gfxboot_overlay /usr/local/overlays/portage1"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac accessibility acl acpi additions aim akode alsa amarok amr amrnb amrwb amuled apache2 apm aqua_theme asf audiofile autocreate automount avahi avi ban bashlogger berkdb bitmap-fonts bittorrent branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cgi cli composite cracklib crypt ctype cups dbus dga dhcp directfb divx4linux dnsdb dovecot-sasl dts dvb dvd dvdnav dvdr dvdread emboss enca encode evo exif exiscan exiscan-acl exo exscalibar extensions extras fam fb fbcon ffmpeg filter_default firefox flac flash fortran freetype ftp fuse gdbm geoip gif glibc-omitfp glitz glx gnutls gphoto2 gpm gstreamer gtk gtk2 hal hashstyle hddtemp httpd iconv icq id3 id3tag imagemagick imap imlib irc irda isdnlog ithreads jabber java javascript jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix kdexdeltas kerberos kqemu ladspa ldap libcaca libclamav libnotify libwww lirc live lj lm_sensors lmtp logitech-mouse logrotate lzo mad mailwrapper matroska mbox mc md5sum midi mikmod mjpeg mmx mmxext mng mod_irc mod_muc mod_pubsub modplug motif mozilla moznopango mp2 mp3 mp4 mpeg mpeg4 mplayer mudflap musepack mysql nas ncurses network newspr nls nojoystick nptl nptlonly nsplugin ntfs nvidia nxclient ogg opengl openmp opensslcrypt oss otr pam panel-plugin pcre pdf perl plugins pluginsxcb png pop3d pppd pulseaudio pvr python qt qt3 qt3support qt4 quicktime radio rar readline real reflection reiserfs rewrite rss rtc rtsp samba sasl sdl session shaper shout slang smp sndfile socks5 softquota sound speex spell spl srt sse sse2 ssl ssse3 startup-notification stats stream suexec svg svga swat sysfs syslog taglib tcpd teletext tga theora thunar-vfs tiff trayicon truetype twolame type1-fonts udev unicode unsupported usb userlocales utemper utempter utf8 v4l v4l2 vcd vditool vhosts virtual-users vlm vorbis wavpack web win32codecs winpopup wma wmf wxwindows x264 x86 xanim xcb xcomposite xext xfacestartup-notification xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xpm xsltruetype-fonts xulrunner xv xvid xvid4 xvmc zeroconf zip zlib zvbi" ALSA_CARDS="hda-intel bt87x" 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 charset_lite proxy_ftp" CAMERAS="ptp2 samsung sonix sonydscf1 sonydscf55" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="serial serial_igor_cesko" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ivan Grynko 2008-10-05 19:59:25 UTC
Created attachment 167374 [details]
config.log
Comment 2 Mart Raudsepp gentoo-dev 2008-10-14 18:04:00 UTC
So the problem here is that configure uses ./libtool but with libtool-2* that isn't created before very late in the configure run. Sometimes it's really not necessary to use the libtool script for what is done. But if it is, the LT_OUTPUT macro can be used to output the ./libtool script earlier.
Because older versions of libtool might not have that macro (and in that case ./libtool is created early anyway), its existence should be checked before calling. In short the following line in configure.in or configure.ac (and an eautoreconf or matching patching of configure) would make ./libtool be created early if necessary:

m4_ifdef([LT_OUTPUT], [LT_OUTPUT])

Explained: if LT_OUTPUT is defined, call LT_OUTPUT.

This should be done somewhere after AM_PROG_LIBTOOL call. Right after it sounds good.
Upstream should consider if ./libtool call is really necessary even harder than us.
Comment 3 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2008-10-14 19:11:58 UTC
This is fixed in CVS; Thanks for the report Ivan, and thanks for the help Mart.