Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303769 - dev-python/reportlab-2.4 fails to find libart_lgpl
Summary: dev-python/reportlab-2.4 fails to find libart_lgpl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-06 16:30 UTC by biohazrd
Modified: 2010-02-06 21:35 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 biohazrd 2010-02-06 16:30:59 UTC
Source appears to fail to create libart_lgpl makefile which main build is expecting to find??


Reproducible: Always




>>> Emerging (1 of 1) dev-python/reportlab-2.4
 * ReportLab_2_4.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                [ ok ]
 * CPV:  dev-python/reportlab-2.4                                                                                                                           
 * REPO: gentoo                                                                                                                                             
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU                                                                                               
>>> Unpacking source...                                                                                                                                     
>>> Unpacking ReportLab_2_4.tar.gz to /var/tmp/portage/dev-python/reportlab-2.4/work                                                                        
>>> Source unpacked in /var/tmp/portage/dev-python/reportlab-2.4/work                                                                                       
>>> Preparing source in /var/tmp/portage/dev-python/reportlab-2.4/work/ReportLab_2_4 ...                                                                    
/var/tmp/portage/dev-python/reportlab-2.4/temp/environment: line 2871: epatch: command not found                                                            
/var/tmp/portage/dev-python/reportlab-2.4/temp/environment: line 2873: epatch: command not found                                                            
>>> Source prepared.                                                                                                                                        
>>> Configuring source in /var/tmp/portage/dev-python/reportlab-2.4/work/ReportLab_2_4 ...                                                                  
>>> Source configured.                                                                                                                                      
>>> Compiling source in /var/tmp/portage/dev-python/reportlab-2.4/work/ReportLab_2_4 ...                                                                    
 * Building of dev-python/reportlab-2.4 with Python 2.6...                                                                                                  
python2.6 setup.py build -b build-2.6                                                                                                                       
################################################                                                                                                            
#Attempting install of _rl_accel, sgmlop & pyHnj                                                                                                            
#extensions from '/var/tmp/portage/dev-python/reportlab-2.4/work/ReportLab_2_4/src/rl_addons/rl_accel'
################################################
################################################
#Attempting install of _renderPM
#extensions from '/var/tmp/portage/dev-python/reportlab-2.4/work/ReportLab_2_4/src/rl_addons/renderPM'
Traceback (most recent call last):
  File "setup.py", line 460, in <module>
    main()
  File "setup.py", line 322, in main
    LIBART_VERSION = libart_version()
  File "setup.py", line 316, in libart_version
    for l in open(pjoin(LIBART_DIR,'configure.in'),'r').readlines():
IOError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/reportlab-2.4/work/ReportLab_2_4/src/rl_addons/renderPM/libart_lgpl/configure.in'
 * ERROR: dev-python/reportlab-2.4 failed:
 *   Building failed with Python 2.6 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2844:  Called distutils_src_compile
 *   environment, line  792:  Called python_execute_function 'distutils_building'
 *   environment, line 1970:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of 'emerge --info =dev-python/reportlab-2.4',
 * the complete build log and the output of 'emerge -pqv =dev-python/reportlab-2.4'.
 * The complete build log is located at '/var/tmp/portage/dev-python/reportlab-2.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/reportlab-2.4/temp/environment'.
 * S: '/var/tmp/portage/dev-python/reportlab-2.4/work/ReportLab_2_4'

>>> Failed to emerge dev-python/reportlab-2.4, Log file:

>>>  '/var/tmp/portage/dev-python/reportlab-2.4/temp/build.log'



emerge --info
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo x86_64)                                                                  
=================================================================                                                                                            
System uname: Linux-2.6.32-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5520_@_2.27GHz-with-gentoo-2.0.1                                                              
Timestamp of tree: Sat, 06 Feb 2010 15:30:01 +0000                                                                                                           
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                                                                    
app-shells/bash:     4.0_p37                                                                                                                                 
dev-java/java-config: 1.3.7-r1, 2.1.10                                                                                                                       
dev-lang/python:     2.6.4-r1, 3.1.1-r1                                                                                                                      
dev-python/pycrypto: 2.1.0                                                                                                                                   
dev-util/cmake:      2.8.0                                                                                                                                   
sys-apps/baselayout: 2.0.1                                                                                                                                   
sys-apps/openrc:     0.6.0-r1                                                                                                                                
sys-apps/sandbox:    2.2                                                                                                                                     
sys-devel/autoconf:  2.13, 2.65                                                                                                                              
sys-devel/automake:  1.6.3-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1                                                                                            
sys-devel/binutils:  2.19.1-r1, 2.20                                                                                                                         
sys-devel/gcc:       4.4.1, 4.4.2                                                                                                                            
sys-devel/gcc-config: 1.4.1                                                                                                                                  
sys-devel/libtool:   2.2.6b                                                                                                                                  
virtual/os-headers:  2.6.30-r1                                                                                                                               
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"                                                                                                                      
ACCEPT_LICENSE="*"                                                                                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                 
CFLAGS="-march=core2 -msse4 -O2 -pipe"                                                                                                                       
CHOST="x86_64-pc-linux-gnu"                                                                                                                                  
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/gentoo-release /etc/hosts /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                    
CXXFLAGS="-march=core2 -msse4 -O2 -pipe"                                                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                                                             
FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                                                                                         
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ "                                                                                                                                  
LDFLAGS="-Wl,-O1"
LINGUAS="en_US"
MAKEOPTS="-j24"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/layman/go-mysql /usr/local/portage /usr/local/portage/layman"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility ace acl acpi alsa amd64 apache2 automount big-tables binary-drivers bittorrent bluetooth branding bzip2 cairo cblas cdda cddb cdparanoia cdr cdrom cli consolekit cracklib crypt ctype cups cupsddk curl custom-optimization cxx dbus dhcp divx dri dv dvd dvdr dvdread dvi encode epiphany esd evo expat extensions extras fat fax fbsplash festival ffmpeg filter firefox firefox3 flac foomaticdb fortran ftp fts3 gdbm gdm gedit gif gimp gimpprint gkrellm glitz gmedia gnutls gs gstreamer gtk hal hpcups iconv id3tag ieee1394 innodb ipod ipv6 java javascript jpeg jpeg2k kde lame laptop lcms libsexy live lm_sensors mad mbrola mmx mmxext mng motif moznoirc moznomail mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multilib multislot multitarget musicbrainz mysql ncurses networkmanager new-hpcups nfs nfsv3 nfsv4 nls nptl nptlonly nsplugin ntfs nut nvidia ogg openal openexr opengl openmp opensslcrypt oxygen pam pango pbxt pcre pdf perl php pm-utils png podcast ppds pppd python qt3support qt4 quicktime readline realmedia reflection samba scanner sdl session shaper slp snmp sockets sound sox spell spl sql sqlite sse sse2 ssl ssse3 subversion svg swat sysfs tagwriting tcl tcpd theora tiff tk truetype unicode usb v4l v4l2 verse vhosts vorbis webkit x264 xine xml xorg xscreensaver xulrunner xv xvid yv12 zeroconf zip 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 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="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 biohazrd 2010-02-06 16:47:07 UTC
The epatch is failing in /var/tmp/portage/dev-python/reportlab-2.4/temp/environment...

src_prepare ()
{
    sed -i -e 's|/usr/lib/X11/fonts/TrueType/|/usr/share/fonts/ttf-bitstream-vera/|' -e 's|/usr/local/Acrobat|/opt/Acrobat|g' -e 's|%(HOME)s/fonts|%(HOME)s/$
    epatch "${FILESDIR}/${PN}-2.2_qa_msg.patch";
    rm -fr src/rl_addons/renderPM/libart_lgpl;
    epatch "${FILESDIR}/${P}-external_libart_lgpl.patch"
}
Comment 2 m0par 2010-02-06 18:53:33 UTC
Additionally, rebuilding 2.3-r1 now results in the same error. (I stupidly unmerged reportlab after 2.4 failed but it was pulled back in emerging world and now neither 2.3-r1 nor 2.4 build.)

So, is it more likely that the problem is in a dependency or compiling component?

Both build logs (2.3-r1 and 2.4) report "epatch: command not found"
e.g.
/var/tmp/portage/dev-python/reportlab-2.4/temp/environment: line 2857: epatch: command not found
/var/tmp/portage/dev-python/reportlab-2.4/temp/environment: line 2859: epatch: command not found
Comment 3 m0par 2010-02-06 18:58:54 UTC
With that in mind, inheriting eutils fixes the problem.
Comment 4 Rafał Mużyło 2010-02-06 19:00:37 UTC
The problem is probably missing eutils inherit.
Recently there were eclass changes and certain
implicit inherit is no longer true.
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-02-06 21:35:41 UTC
Fixed.