Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 306669 - dev-util/git-1.7.0 fails while compiling during the doc/info stage
Summary: dev-util/git-1.7.0 fails while compiling during the doc/info stage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-24 16:49 UTC by Paul Moore
Modified: 2010-02-25 15:06 UTC (History)
0 users

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 Paul Moore 2010-02-24 16:49:17 UTC
When trying to compile dev-util/git-1.7.0 it fails when trying to build the documentation - the relevant snippet is below.

>>> build error >>>
    DB2TEXI user-manual.texi                                                    
Can't locate XML/SAX/ParserFactory.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1/i686-linux /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i686-linux /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.1/i686-linux /usr/lib/perl5/5.10.1 .) at /usr/bin/db2x_texixml line 2147.                                       
BEGIN failed--compilation aborted at /usr/bin/db2x_texixml line 2147.           
docbook2texi:/book: no description for directory entry                          
    DB2TEXI gitman.texi                                                         
make: *** [user-manual.texi] Error 2                                            
make: *** Waiting for unfinished jobs....                                       
Can't locate XML/SAX/ParserFactory.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1/i686-linux /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i686-linux /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.1/i686-linux /usr/lib/perl5/5.10.1 .) at /usr/bin/db2x_texixml line 2147.                                       
BEGIN failed--compilation aborted at /usr/bin/db2x_texixml line 2147.           
make: *** [gitman.texi] Error 2                                                 
 * ERROR: dev-util/git-1.7.0 failed:                                            
 *   emake info html failed                                                     
 *                                                                              
 * Call stack:                                                                  
 *     ebuild.sh, line  54:  Called src_compile                                 
 *   environment, line 2843:  Called die                                        
 * The specific snippet of code:                                                
 *               git_emake info || die "emake info html failed";                
>>>


Reproducible: Always

Steps to Reproduce:
1. emerge dev-util/git

Actual Results:  
Compilation fails, see description for the error message.

Expected Results:  
The package builds successfully.

Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.32-gentoo-r4 i686)                                                              
=================================================================               
System uname: Linux-2.6.32-gentoo-r4-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-gentoo-2.0.1                                                          
Timestamp of tree: Mon, 22 Feb 2010 22:30:01 +0000                              
app-shells/bash:     4.1_p2                                                     
dev-java/java-config: 2.1.10                                                    
dev-lang/python:     2.6.4-r1, 3.1.1-r1                                         
dev-python/pycrypto: 2.0.1-r8                                                   
dev-util/cmake:      2.8.0-r2
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.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       3.3.6-r1, 4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA @FREE @EULA @BINARY-REDISTRIBUTABLE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -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/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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j2"
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/access-hp /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 a52 aac acl acpi aiglx aim alsa amarok amazon amr amrnb amrwb animgif async avantgo berkdb bittorrent bl bluetooth branding buttons bzip2 cairo calendar cdb cddb cdparanoia cdr cdrom cli colordiff connectionstatus consolekit cpudetection cracklib crypt cscope css cups cxx dbus dga divx dnd doc dri dts dv dvb dvd dvdnav dvdr eds emboss encode eolconv evo examples exif fam fat fbcon fbsplash ffmpeg firefox flac fortran ftp gd gdbm gif gimp glep glut gmedia gnome gphoto2 gpm gstreamer gtk hal hdri highlight hpijs htmlhandbook iconv id3 ieee1394 imagemagick imap ipv6 irc jabber java javascript jpeg jpeg2k kde lame laptop ldap libnotify libwww live logitech-mouse lzo lzw mad matrox mikmod mime mjpeg mmap mmx mmxext mng modules mozilla moznocompose moznoirc moznomail moznoroaming mp3 mp4 mpeg mpeg2 mplayer msn mtp mudflap musicbrainz na_dd na_icons ncurses netmeeting nfs nls nptl nptlonly nsplugin ofx ogg openexr opengl openmp pam pcre pda pdf perl pmu png pnm policykit posix ppds pppd python qemu qt3support qt4 quicktime rdesktop readline realmedia reflection rss rtc ruby samba scanner sdl sdl-image secure-delete semantic-desktop session sftp sharedmem shout slp smbclient smp sms snmp sockets sound spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs syslog taglib tagwriting tcpd templates threads thumbnail thunar tiff tivo translator truetype unicode usb uudeview v4l v4l2 vcd vim-with-x visualization vnc vorbis webdav webkit wifi win32codecs wma wmf wmp x264 x86 xanim xcomposite xext xft xim xine xml xml2 xorg xpm xulrunner xv xvid xvmc yahoo yv12 zeroconf zip zlib zvbi" 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 en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2010-02-24 17:57:23 UTC
You probably didn't run `perl-cleaner --all` after upgrading to perl-5.10.1. It reinstalls the perl modules so perl-5.10.1 can use them.
Comment 2 Paul Moore 2010-02-25 15:06:32 UTC
Thanks, that appears to have solved the problem.