Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 218648

Summary: hal-0.5.9.1-r3 fails to compile with gtkdoc-mkhtml: line 53: 27328 Seg fault
Product: Gentoo Linux Reporter: Maurizio Rottin <maurizio.rottin>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
ebuild with gtkdoc useflag

Description Maurizio Rottin 2008-04-20 20:21:37 UTC
[ebuild     U ] sys-apps/hal-0.5.9.1-r3 [0.5.9-r1] USE="acpi crypt -debug -dell -disk-partition -doc -pcmcia (-selinux)" 0 kB

/usr/bin/gtkdoc-mkhtml: line 53: 27328 Segmentation fault      /usr/bin/xsltproc --nonet --xinclude --stringparam gtkdoc.bookname $module --stringparam gtkdoc.version "1.10" $gtkdocdir/gtk-doc.xsl $document
make[4]: *** [html-build.stamp] Error 139
make[4]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/doc/api/libhal-storage'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/doc/api'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1'
make: *** [all] Error 2

emerge --info
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage/layman/xeffects'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage/layman/kde'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage/layman/iwlwifi'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage/layman/sunrise'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage/layman/sabayon'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage/layman/mozilla'
Portage 2.2_pre5 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-gentoo-r4 i686)
=================================================================
System uname: 2.6.23-gentoo-r4 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Sat, 19 Apr 2008 11:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r6
sys-apps/baselayout: 1.12.11.1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://mirror.ing.unibo.it/gentoo/ ftp://mirror.ing.unibo.it/gentoo/ "
LINGUAS="en_US it"
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/overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa apache2 arts authdaemond bash-completion berkdb bindist bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus debug divx4linux dri dvb dvd dvdr dvdread dvdrw eds emboss encode esd evo examples fam firefox flac fortran gdbm gif glitz gnome gnutils gnutls gpm gstreamer gtk hal iconv ieee1394 insecure-drivers isdnlog java jikes jpeg kde kerberos kqemu laptop ldap log4j logrotate mad midi mikmod mmx mmxextmono mp3 mpeg mudflap musicbrainz ncurses network networking nls nptl nptlonly nsplugin ogg opengl openmp openxr oss pam pcre pda pdf perl pertty png pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl sdk sdl session smb spell spl sse sse2 ssl svg tcpd theora threads tiff truetype unicode usb v4l v4l2 vcd vim-syntax vorbis win32codecs x86 xinerama xml xorg xscreensaver xsl xv xvid zlib" ALSA_CARDS="hda-intel" 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" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US it" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maurizio Rottin 2008-04-20 20:22:27 UTC
Created attachment 150457 [details]
build.log
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2008-04-20 21:50:05 UTC

*** This bug has been marked as a duplicate of bug 194089 ***
Comment 3 Maurizio Rottin 2008-04-21 21:33:41 UTC
(In reply to comment #2)
> 
> *** This bug has been marked as a duplicate of bug 194089 ***
> 

i only post a temporary solution for who have this problem:
(i encounter the problem even without doc useflag)

#ebuild /usr/portage/sys-apps/hal/hal-0.5.9.1-r3.ebuild  compile     
#cd /var/tmp/portage/sys-apps/hal-0.5.9.1-r3/work/hal-0.5.9.1/
edit Makefile, and cut off line 58
"        install-html-recursive install-info-recursive \"
now
#make clean && make all-recursive
#ebuild /usr/portage/sys-apps/hal/hal-0.5.9.1-r3.ebuild  install

the docbook part should not be a problem...or am i wrong?
Comment 4 Maurizio Rottin 2008-04-21 22:26:40 UTC
Created attachment 150545 [details]
ebuild with gtkdoc useflag

the ./configure script put --enable-gtk-doc as default!
then i simply put a new flag "gtkdoc" in the ebuild in the attachment 
i don't know if you can merge this on the tree, but this compiles as
USE="-gtkdoc" emerge -av hal