Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117964 - app-misc/gramps-2.0.9 fails to build on x86
Summary: app-misc/gramps-2.0.9 fails to build on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-05 17:55 UTC by Peter Ruskin
Modified: 2006-01-08 09:54 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ebuild for gramps-2.0.9 (gramps-2.0.9-r1.ebuild,1.60 KB, application/octet-stream)
2006-01-07 14:00 UTC, Morten Cools
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2006-01-05 17:55:55 UTC
With doc use flag set in make.conf:
>>> emerge (1 of 1) app-misc/gramps-2.0.9 to /
>>> md5 files   ;-) gramps-2.0.9.ebuild
>>> md5 files   ;-) gramps-1.0.8.ebuild
>>> md5 files   ;-) gramps-1.0.10.ebuild
>>> md5 files   ;-) gramps-1.0.11.ebuild
>>> md5 files   ;-) files/digest-gramps-2.0.9
>>> md5 files   ;-) files/digest-gramps-1.0.8
>>> md5 files   ;-) files/digest-gramps-1.0.10
>>> md5 files   ;-) files/digest-gramps-1.0.11
>>> md5 src_uri ;-) gramps-2.0.9.tar.gz
>>> Unpacking source...
>>> Unpacking gramps-2.0.9.tar.gz to /var/tmp/portage/gramps-2.0.9/work
>>> Source unpacked.
QA Notice: USE Flag 'doc' not in IUSE for app-misc/gramps-2.0.9
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-mime-install --enable-gtk-doc
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml::/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
Using directory $(prefix)/share/mime for installation of mime type definitions
checking for msgfmt... /usr/bin/msgfmt
checking for msgconv... /usr/bin/msgconv
checking for iconv... /usr/bin/iconv
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for sh... /bin/sh
checking Python bindings for gtk2.4 (pygtk2>=2.3.4)... ok
checking Python bindings for gnome... ok
checking Python bindings for gconf... ok
checking Python bindings for gnome canvas... ok
checking Python bindings for gnome vfs... ok
checking Python bindings for glade... ok
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/const.py
config.status: creating src/docgen/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/dates/Makefile
config.status: creating src/data/Makefile
config.status: creating src/data/templates/Makefile
config.status: creating src/po/Makefile
config.status: creating doc/Makefile
config.status: creating doc/gramps-manual/Makefile
config.status: creating doc/gramps-manual/C/Makefile
config.status: creating doc/gramps-manual/fr/Makefile
config.status: creating example/Makefile
config.status: creating example/gramps/Makefile
config.status: creating gramps.spec
config.status: creating gramps.sh
Making all in src
make[1]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src'
Making all in docgen
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/docgen'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/docgen'
Making all in plugins
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/plugins'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/plugins'
Making all in dates
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/dates'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/dates'
Making all in data
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data'
Making all in templates
make[3]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data/templates'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data/templates'
make[3]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data'
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data'
Making all in po
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/po'
/usr/bin/msgconv --to-code=UTF-8 hu.po -o temp.po
/usr/bin/msgconv --to-code=UTF-8 zh_CN.po -o temp.po
/usr/bin/msgfmt temp.po -o hu.mo
/usr/bin/msgfmt temp.po -o zh_CN.mo
temp.po:6928:1: parse error
temp.po:6928: keyword "szt" unknown
temp.po:6929: end-of-line within string
temp.po:6931: duplicate message definition
temp.po:6043: ...this is the location of the first definition
temp.po:6935: duplicate message definition
temp.po:6047: ...this is the location of the first definition
temp.po:6939: duplicate message definition
temp.po:6011: ...this is the location of the first definition
temp.po:6943: duplicate message definition
temp.po:6015: ...this is the location of the first definition
temp.po:6947: duplicate message definition
temp.po:6019: ...this is the location of the first definition
temp.po:6951: duplicate message definition
temp.po:6023: ...this is the location of the first definition
temp.po:6955: duplicate message definition
temp.po:6027: ...this is the location of the first definition
temp.po:6959: duplicate message definition
temp.po:6055: ...this is the location of the first definition
temp.po:6963: duplicate message definition
temp.po:6064: ...this is the location of the first definition
temp.po:6978: duplicate message definition
temp.po:6071: ...this is the location of the first definition
temp.po:6988: duplicate message definition
temp.po:6075: ...this is the location of the first definition
temp.po:6992: duplicate message definition
temp.po:6079: ...this is the location of the first definition
temp.po:6996: duplicate message definition
temp.po:6083: ...this is the location of the first definition
temp.po:7000: duplicate message definition
temp.po:6087: ...this is the location of the first definition
temp.po:7004: duplicate message definition
temp.po:6091: ...this is the location of the first definition
temp.po:7008: duplicate message definition
temp.po:6095: ...this is the location of the first definition
temp.po:7012: duplicate message definition
/usr/bin/msgfmt: too many errors, aborting
make[2]: *** [zh_CN.mo] Error 1
make[2]: *** Waiting for unfinished jobs....
temp.po:6928:1: parse error
temp.po:6928: keyword "szt" unknown
temp.po:6929: end-of-line within string
temp.po:6931: duplicate message definition
temp.po:6043: ...this is the location of the first definition
temp.po:6935: duplicate message definition
temp.po:6047: ...this is the location of the first definition
temp.po:6939: duplicate message definition
temp.po:6011: ...this is the location of the first definition
temp.po:6943: duplicate message definition
temp.po:6015: ...this is the location of the first definition
temp.po:6947: duplicate message definition
temp.po:6019: ...this is the location of the first definition
temp.po:6951: duplicate message definition
temp.po:6023: ...this is the location of the first definition
temp.po:6955: duplicate message definition
temp.po:6027: ...this is the location of the first definition
temp.po:6959: duplicate message definition
temp.po:6055: ...this is the location of the first definition
temp.po:6963: duplicate message definition
temp.po:6064: ...this is the location of the first definition
temp.po:6978: duplicate message definition
temp.po:6071: ...this is the location of the first definition
temp.po:6988: duplicate message definition
temp.po:6075: ...this is the location of the first definition
temp.po:6992: duplicate message definition
temp.po:6079: ...this is the location of the first definition
temp.po:6996: duplicate message definition
temp.po:6083: ...this is the location of the first definition
temp.po:7000: duplicate message definition
temp.po:6087: ...this is the location of the first definition
temp.po:7004: duplicate message definition
temp.po:6091: ...this is the location of the first definition
temp.po:7008: duplicate message definition
temp.po:6095: ...this is the location of the first definition
temp.po:7012: duplicate message definition
/usr/bin/msgfmt: too many errors, aborting
make[2]: *** [hu.mo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-misc/gramps-2.0.9 failed.
!!! Function gnome2_src_compile, Line 48, Exitcode 2

...and then with USE="-doc":
# USE="-doc" emerge gramps -va

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] app-misc/gramps-2.0.9 [1.0.11] -debug 0 kB

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 1) app-misc/gramps-2.0.9 to /
>>> md5 files   ;-) gramps-2.0.9.ebuild
>>> md5 files   ;-) gramps-1.0.8.ebuild
>>> md5 files   ;-) gramps-1.0.10.ebuild
>>> md5 files   ;-) gramps-1.0.11.ebuild
>>> md5 files   ;-) files/digest-gramps-2.0.9
>>> md5 files   ;-) files/digest-gramps-1.0.8
>>> md5 files   ;-) files/digest-gramps-1.0.10
>>> md5 files   ;-) files/digest-gramps-1.0.11
>>> md5 src_uri ;-) gramps-2.0.9.tar.gz
>>> Unpacking source...
>>> Unpacking gramps-2.0.9.tar.gz to /var/tmp/portage/gramps-2.0.9/work
>>> Source unpacked.
QA Notice: USE Flag 'doc' not in IUSE for app-misc/gramps-2.0.9
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-mime-install --disable-gtk-doc
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gconftool-2... /usr/bin/gconftool-2
Using config source xml::/etc/gconf/gconf.xml.defaults for schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema files
Using directory $(prefix)/share/mime for installation of mime type definitions
checking for msgfmt... /usr/bin/msgfmt
checking for msgconv... /usr/bin/msgconv
checking for iconv... /usr/bin/iconv
checking for a Python interpreter with version >= 2.3... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.4/site-packages
checking for sh... /bin/sh
checking Python bindings for gtk2.4 (pygtk2>=2.3.4)... ok
checking Python bindings for gnome... ok
checking Python bindings for gconf... ok
checking Python bindings for gnome canvas... ok
checking Python bindings for gnome vfs... ok
checking Python bindings for glade... ok
checking for scrollkeeper-config... /usr/bin/scrollkeeper-config
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/const.py
config.status: creating src/docgen/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/dates/Makefile
config.status: creating src/data/Makefile
config.status: creating src/data/templates/Makefile
config.status: creating src/po/Makefile
config.status: creating doc/Makefile
config.status: creating doc/gramps-manual/Makefile
config.status: creating doc/gramps-manual/C/Makefile
config.status: creating doc/gramps-manual/fr/Makefile
config.status: creating example/Makefile
config.status: creating example/gramps/Makefile
config.status: creating gramps.spec
config.status: creating gramps.sh
Making all in src
make[1]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src'
Making all in docgen
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/docgen'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/docgen'
Making all in plugins
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/plugins'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/plugins'
Making all in dates
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/dates'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/dates'
Making all in data
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data'
Making all in templates
make[3]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data/templates'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data/templates'
make[3]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data'
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/data'
Making all in po
make[2]: Entering directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/po'
/usr/bin/msgconv --to-code=UTF-8 hu.po -o temp.po
/usr/bin/msgconv --to-code=UTF-8 zh_CN.po -o temp.po
/usr/bin/msgfmt temp.po -o hu.mo
rm temp.po
/usr/bin/msgconv --to-code=UTF-8 cs.po -o temp.po
/usr/bin/msgfmt temp.po -o zh_CN.mo
/usr/bin/msgfmt: error while opening "temp.po" for reading: No such file or directory
make[2]: *** [zh_CN.mo] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/bin/msgfmt temp.po -o cs.mo
make[2]: *** Waiting for unfinished jobs....
rm temp.po
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gramps-2.0.9/work/gramps-2.0.9/src'

# emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.14-gentoo-r6 i686)
=================================================================
System uname: 2.6.14-gentoo-r6 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /usr/X11R6/lib/X11/xkb /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks emergemail fixpackages nostrip notitles sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.ISO8859-15"
LC_ALL="en_GB.ISO8859-15"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-gentopia"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 4kstacks S3TC X aac aalib acpi acpi4linux alsa apm arts artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 bzlib calendar cddb cdparanoia cdr codecs cscope cups curl curlwrappers dbase devmap dmx doc dv dvd dvdr dvdread emboss encode escreen esd exif expat faac faad fbcon ffmpeg flac foomaticdb ftp gd ggi gif gimp gimpprint glut gmp gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml idn imagemagick imlib innodb interbase iodbc java javascript jbig joystick jp2 jpeg jpeg2k junit kde kdexdeltas lcms libg++ libwww live lua lzw-tiff mad maildir mbox mikmod mime mmx mmx2 mng monkey mono motif mozcalendar moznocompose moznoirc mp3 mpeg mysql mysqli ncurses network nls no_wxgtk1 nocardbus nomac nptl nsplugin odbc ogg oggvorbis ooo-kde openal opengl oss pcre pdflib perl png posix postgres ppds python qt quicktime readline real rtc samba scanner sdl sensord slang slp smartcard sms sox speex spell sqlite sqlite3 sse ssl svg tcltk tcpd tetex tga theora tiff timidity truetype truetype-fonts type1-fonts udev unicode usb vcd videos vim-with-x vorbis win32codecs wmf wxwindows xbase xine xml2 xmms xpm xv xvid yv12 zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Guy 2006-01-07 10:18:06 UTC
Ditto on AMD64
Comment 2 Morten Cools 2006-01-07 13:59:51 UTC
It seems that whoever made the ebuild removed the MAKEOPTS line (ref. http://sourceforge.net/mailarchive/forum.php?thread_id=9405873&forum_id=1993)

Here's an updated ebuild...
Comment 3 Morten Cools 2006-01-07 14:00:59 UTC
Created attachment 76474 [details]
Updated ebuild for gramps-2.0.9
Comment 4 Peter Ruskin 2006-01-07 15:15:25 UTC
Thanks, ebuild at Comment #3 works for me.
Comment 5 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-08 09:54:15 UTC
Okay, fixed the parallelization issue.  Sorry for the trouble.  Please sync and test in ~2 hours.