Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284174 - dev-python/pywebkitgtk-1.1.6-r1 fails to build with =sys-devel/libtool-1*
Summary: dev-python/pywebkitgtk-1.1.6-r1 fails to build with =sys-devel/libtool-1*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Sergio D. Rodríguez Inclan
URL:
Whiteboard:
Keywords:
: 285412 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-08 14:13 UTC by Sven Wehner
Modified: 2009-09-18 17:33 UTC (History)
3 users (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 Sven Wehner 2009-09-08 14:13:31 UTC
Hi,

I tried to update to the current pywebkitgtk version, which is 1.1.6-r1 (1.1.6 is installed and working afaik). But I get some errors after the "Source configured" message:
> make                                                                                                                                                                                                 
> make  all-am                                                                                                                                                                                         
> make[1]: Entering directory `/var/tmp/portage/dev-python/pywebkitgtk-1.1.6-r1/work/pywebkitgtk-1.1.6-2.6'                                                                                            
> /bin/sh ./libtool --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I/usr/include/python2.6     -pthread -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pygtk-2.0   -I/usr/include/webkit-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/libsoup-2.4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2   -march=native -Os -pipe -MT webkit/webkit_la-webkitmodule.lo -MD -MP -MF webkit/.deps/webkit_la-webkitmodule.Tpo -c -o webkit/webkit_la-webkitmodule.lo `test -f 'webkit/webkitmodule.c' || echo './'`webkit/webkitmodule.c                    
> ./libtool: line 848: X--tag=CC: command not found                                                                                                                                                    
> ./libtool: line 881: libtool: ignoring unknown tag : command not found                                                                                                                               
> ./libtool: line 848: X--mode=compile: command not found                                                                                                                                              
> ./libtool: line 1015: *** Warning: inferring the mode of operation is deprecated.: command not found                                                                                                 
> ./libtool: line 1016: *** Future versions of Libtool will require --mode=MODE be specified.: command not found                                                                                       
> ./libtool: line 1159: Xi686-pc-linux-gnu-gcc: command not found                                                                                                                                      
> ./libtool: line 1159: X-DHAVE_CONFIG_H: command not found                                                                                                                                            
> ./libtool: line 1159: X-I.: command not found                                                                                                                                                        
> ./libtool: line 1159: X-I/usr/include/python2.6: No such file or directory                                                                                                                           
> ./libtool: line 1159: X-pthread: command not found                                                                                                                                                   
> ./libtool: line 1159: X-I/usr/include/libxml2: No such file or directory                                                                                                                             
> ./libtool: line 1159: X-I/usr/include/glib-2.0: No such file or directory                                                                                                                            
> ./libtool: line 1159: X-I/usr/lib/glib-2.0/include: No such file or directory                                                                                                                        
> ./libtool: line 1159: X-I/usr/include/pygtk-2.0: No such file or directory                                                                                                                           
> ./libtool: line 1159: X-I/usr/include/webkit-1.0: No such file or directory                                                                                                                          
> ./libtool: line 1159: X-I/usr/include/glib-2.0: No such file or directory                                                                                                                            
> ./libtool: line 1159: X-I/usr/lib/glib-2.0/include: No such file or directory                                                                                                                        
> ./libtool: line 1159: X-I/usr/include/gtk-2.0: No such file or directory                                                                                                                             
> ./libtool: line 1159: X-I/usr/include/libsoup-2.4: No such file or directory                                                                                                                         
> ./libtool: line 1159: X-I/usr/lib/gtk-2.0/include: No such file or directory                                                                                                                         
> ./libtool: line 1159: X-I/usr/include/atk-1.0: No such file or directory                                                                                                                             
> ./libtool: line 1159: X-I/usr/include/cairo: No such file or directory                                                                                                                               
> ./libtool: line 1159: X-I/usr/include/pango-1.0: No such file or directory                                                                                                                           
> ./libtool: line 1159: X-I/usr/include/pixman-1: No such file or directory                                                                                                                            
> ./libtool: line 1159: X-I/usr/include/freetype2: No such file or directory                                                                                                                           
> ./libtool: line 1159: X-I/usr/include/libpng12: No such file or directory                                                                                                                            
> ./libtool: line 1159: X-I/usr/include/libxml2: No such file or directory                                                                                                                             
> ./libtool: line 1159: X-march=native: command not found                                                                                                                                              
> ./libtool: line 1159: X-Os: command not found                                                                                                                                                        
> ./libtool: line 1159: X-pipe: command not found                                                                                                                                                      
> ./libtool: line 1159: X-MT: command not found                                                                                                                                                        
> ./libtool: line 1159: Xwebkit/webkit_la-webkitmodule.lo: No such file or directory                                                                                                                   
> ./libtool: line 1159: X-MD: command not found                                                                                                                                                        
> ./libtool: line 1159: X-MP: command not found                                                                                                                                                        
> ./libtool: line 1159: X-MF: command not found                                                                                                                                                        
> ./libtool: line 1159: Xwebkit/.deps/webkit_la-webkitmodule.Tpo: No such file or directory                                                                                                            
> ./libtool: line 1159: X-c: command not found                                                                                                                                                         
> ./libtool: line 1212: Xwebkit/webkit_la-webkitmodule.lo: No such file or directory                                                                                                                   
> ./libtool: line 1217: libtool: compile: cannot determine name of library object from `': command not found                                                                                           
> make[1]: *** [webkit/webkit_la-webkitmodule.lo] Error 1                                                                                                                                              
> make[1]: Leaving directory `/var/tmp/portage/dev-python/pywebkitgtk-1.1.6-r1/work/pywebkitgtk-1.1.6-2.6'                                                                                             
> make: *** [all] Error 2   


in the libtool script I see lines like:

line 847-850:
> case $arg in
> -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;;
> *) optarg= ;;
> esac

line 881:
> case $tagname in
> CC)
>   # Don't test for the "default" C tag, as we know, it's there, but
>   # not specially marked.
>   ;;
> *)
>   if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then
>     taglist="$taglist $tagname"
>     # Evaluate the configuration.
>     eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`"
>   else
>     $echo "$progname: ignoring unknown tag $tagname" 1>&2
>   fi
>   ;;
> esac


line 1158-1159:
> # Aesthetically quote the previous argument.
> lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"`


I tried to install the 1.1.6 version (without review 1) and it the compilation worked (at least to a point after the libtool call). So I think the error comes from in the ebuild somewhere here:
> src_prepare() {
>       sed -e "s:libxslt,:libxslt, gthread-2.0:" -i configure.ac
>       AT_M4DIR="m4" eautoreconf
>       python_src_prepare
> }


Greetings
Sven

Reproducible: Always




emerge --info:
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-tuxonice-r1 i686)                                         
=================================================================                                                                               
System uname: Linux-2.6.29-tuxonice-r1-i686-Intel-R-_Pentium-R-_M_processor_2.00GHz-with-gentoo-1.12.11.1                                       
Timestamp of tree: Tue, 08 Sep 2009 10:45:01 +0000                                                                                              
app-shells/bash:     3.2_p39                                                                                                                    
dev-java/java-config: 2.1.8-r1                                                                                                                  
dev-lang/python:     2.6.2-r1                                                                                                                   
dev-python/pycrypto: 2.0.1-r8                                                                                                                   
dev-util/cmake:      2.6.4                                                                                                                      
sys-apps/baselayout: 1.12.11.1                                                                                                                  
sys-apps/sandbox:    1.6-r2                                                                                                                     
sys-devel/autoconf:  2.13, 2.63-r1                                                                                                              
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 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="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe"
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/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -Os -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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="/portage"
PORTDIR_OVERLAY="/portage/local/layman/sectools /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog kdeenablefinal kdehiddenvisibility logrotate mmx mudflap ncurses nls nptl nptlonly openmp pam pch pcre perl pic pppd python readline reflection session spl sse sse2 ssl sysfs tcpd truetype unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="radeon vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-08 15:07:41 UTC
Please test with =sys-devel/libtool-2*.
Comment 2 Sven Wehner 2009-09-08 18:40:42 UTC
Works!

Are you going to add a dependency?
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-16 01:15:00 UTC
Fixed.
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-18 17:33:46 UTC
*** Bug 285412 has been marked as a duplicate of this bug. ***