Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301234 - sci-visualization/g3data-1.5.3 emerge error when creating documentation
Summary: sci-visualization/g3data-1.5.3 emerge error when creating documentation
Status: RESOLVED WONTFIX
Alias: None
Product: Documentation
Classification: Unclassified
Component: Project-specific documentation (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-16 22:23 UTC by Davide
Modified: 2012-08-07 01:58 UTC (History)
2 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 Davide 2010-01-16 22:23:01 UTC
Trying to emerge sci-visualization/g3data-1.5.3, emerge fails when
creating the documentation. I can install the package without any
problem if I download the source and 'make' excluding the doc part.
Would it be possible to fix the problem or add a flag disabling the
generation of the documentation?

This is the error message that I see:

>>> Emerging (17 of 17) sci-visualization/g3data-1.5.3
 * g3data-1.5.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                               [ ok ]
>>> Unpacking source...                                                                                                                    
>>> Unpacking g3data-1.5.3.tar.gz to /var/tmp/portage/sci-visualization/g3data-1.5.3/work                                                  
>>> Source unpacked in /var/tmp/portage/sci-visualization/g3data-1.5.3/work                                                                
>>> Preparing source in /var/tmp/portage/sci-visualization/g3data-1.5.3/work/g3data-1.5.3 ...                                              
 * Applying g3data-1.5.3-makefile.patch ...                                                                                           [ ok ]
>>> Source prepared.                                                                                                                        
>>> Configuring source in /var/tmp/portage/sci-visualization/g3data-1.5.3/work/g3data-1.5.3 ...                                             
>>> Source configured.                                                                                                                      
>>> Compiling source in /var/tmp/portage/sci-visualization/g3data-1.5.3/work/g3data-1.5.3 ...                                               
make -j3                                                                                                                                    
cc -c -O2 -march=i686 -pipe  -Wall `pkg-config --cflags gtk+-2.0` main.c                                                                    
cc -c -O2 -march=i686 -pipe  -Wall `pkg-config --cflags gtk+-2.0` sort.c                                                                    
cc -c -O2 -march=i686 -pipe  -Wall `pkg-config --cflags gtk+-2.0` points.c                                                                  
cc -c -O2 -march=i686 -pipe  -Wall `pkg-config --cflags gtk+-2.0` drawing.c                                                                 
points.c: In function 'print_results':                                                                                                      
points.c:154: warning: 'FP' may be used uninitialized in this function                                                                      
rm -f *.1                                                                                                                                   
onsgmls g3data.sgml | sgmlspl /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl                                              
onsgmls:g3data.sgml:1:58:W: cannot generate system identifier for public text "-//OASIS//DTD DocBook V4.1//EN"                              
onsgmls:g3data.sgml:1:58:E: reference to entity "REFENTRY" for which no system identifier could be generated                                
onsgmls:g3data.sgml:1:0: entity was defined here                                                                                            
onsgmls:g3data.sgml:1:58:E: DTD did not contain element declaration for document type name                                                  
onsgmls:g3data.sgml:2:9:E: element "REFENTRY" undefined                                                                                     
onsgmls:g3data.sgml:3:13:E: element "REFENTRYINFO" undefined                                                       

<...>

onsgmls:g3data.sgml:133:8:E: element "EMAIL" undefined                                                                                      
Can't call method "value" on an undefined value at /usr/share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl line 249, <STDIN> line 1.                                                                                                                                           
make: *** [g3data.1] Error 25                                                                                                               
make: *** Waiting for unfinished jobs....                                                                                                   
 *                                                                                                                                          
 * ERROR: sci-visualization/g3data-1.5.3 failed.                                                                                            
 * Call stack:                                                                                                                              
 *               ebuild.sh, line   49:  Called src_compile                                                                                  
 *             environment, line 2241:  Called _eapi2_src_compile                                                                           
 *               ebuild.sh, line  634:  Called die                                                                                          
 * The specific snippet of code:                                                                                                            
 *              emake || die "emake failed"                                                                                                 
 *  The die message:                                                                                                                        
 *   emake 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/sci-visualization/g3data-1.5.3/temp/build.log'.                                     
 * The ebuild environment file is located at '/var/tmp/portage/sci-visualization/g3data-1.5.3/temp/environment'.                            
 *                                                                                                                    

Reproducible: Always

Steps to Reproduce:
1.# emerge -av g3data
2.
3.




# emerge --info
Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686)
=================================================================                           
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 16 Jan 2010 19:45:01 +0000                                                  
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ing.unibo.it/gentoo/ ftp://mirror.ing.unibo.it/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bzip2 cdr cli cracklib crypt cups cxx dbus divx dri dvd flac fortran gdbm gif gpm hal iconv id3 ipv6 kde lame midi modules mp3 mp4 mplayer mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl pppd python qt3support readline realmedia reflection session spl ssl svg sysfs tcpd unicode v4l v4l2 video webkit wmp 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Packages being pulled in by g3data:

app-text/sgml-common-0.6.3-r5  0 kB
app-text/build-docbook-catalog-1.4  0 kB
dev-perl/SGMLSpm-1.03-r5  0 kB
www-client/lynx-2.8.7_p1  USE="bzip2 ipv6 nls ssl unicode -cjk -gnutls" 0 kB
app-text/opensp-1.5.2-r1  USE="nls -doc" 0 kB
app-text/openjade-1.3.2-r1  0 kB
app-text/docbook-sgml-dtd-4.1-r3  0 kB
app-text/docbook-sgml-dtd-4.0-r3  0 kB
app-text/docbook-dsssl-stylesheets-1.79  0 kB
app-text/docbook-sgml-dtd-3.0-r3  0 kB
app-text/docbook-sgml-dtd-3.1-r3  0 kB
app-text/docbook-xml-simple-dtd-4.1.2.4-r2  0 kB
app-text/docbook-xml-simple-dtd-1.0-r1  0 kB
app-text/docbook-xsl-stylesheets-1.75.2  0 kB
app-text/docbook-xml-dtd-4.5  0 kB
app-text/docbook-sgml-utils-0.6.14  USE="-jadetex" 0 kB
sci-visualization/g3data-1.5.3  USE="-examples" 0 kB
Comment 1 Sébastien Fabbro (RETIRED) gentoo-dev 2010-01-19 05:03:18 UTC
Hi

I could not reproduce this on a ~amd64 system. The problem is I have no idea how the doc is generated. I'm cc-ing the sgml to see if they have any idea about it. Meanwhile I introduced a doc keyword to allow building g3data without the full deps.
Comment 2 Davide 2010-01-24 19:09:39 UTC
(In reply to comment #1)
Hi
  Thanks for adding the "doc" keyword; works like a charm :-)

Cheers,

davide
Comment 3 Sébastien Fabbro (RETIRED) gentoo-dev 2012-08-07 01:58:24 UTC
sort of fixed with doc flag, and doc gone in 1.5.4.