Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151916 - [glibc-2.4] stabilize dev-libs/aterm-2.4.2
Summary: [glibc-2.4] stabilize dev-libs/aterm-2.4.2
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
Depends on: 116610
Blocks:
  Show dependency tree
 
Reported: 2006-10-19 01:06 UTC by Evil Compile Person
Modified: 2006-10-21 03:22 UTC (History)
2 users (show)

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


Attachments
ebuild-patch (aterm-ebuild.patch,673 bytes, patch)
2006-10-20 13:45 UTC, Markus Meier
Details | Diff
aterm-2.4.2-gcc4-fix.patch (aterm-2.4.2-gcc4-fix.patch,2.12 KB, patch)
2006-10-20 13:47 UTC, Markus Meier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2006-10-19 01:06:00 UTC
i686-pc-linux-gnu-gcc  -O2 -march=i686 -pipe -L../aterm  -o randgen  randgen.o -lATerm 
if i686-pc-linux-gnu-gcc        -O2 -march=i686 -pipe        -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"aterm\" -DVERSION=\"2.3.1\" -DHAVE_STRDUP=1 -DHAVE_LRAND48=1 -DHAVE_SRAND48=1         -I.. -I../aterm -DSRCDIR="\"../test/\""   -MT termstats.o -MD -MP -MF ".deps/termstats.Tpo" \
	  -c -o termstats.o `test -f 'termstats.c' || echo './'`termstats.c; \
	then mv -f ".deps/termstats.Tpo" ".deps/termstats.Po"; \
	else rm -f ".deps/termstats.Tpo"; exit 1; \
	fi
termstats.c: In function 'main':
termstats.c:59: error: 'CLK_TCK' undeclared (first use in this function)
termstats.c:59: error: (Each undeclared identifier is reported only once
termstats.c:59: error: for each function it appears in.)
make[1]: *** [termstats.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/aterm-2.3.1/work/aterm-2.3.1/test'
make: *** [all-recursive] Error 1

!!! ERROR: dev-libs/aterm-2.3.1 failed.

Gentoo Base System version 1.12.5
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.16 x86_64)
=================================================================
System uname: 2.6.16.16 x86_64 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Wed, 18 Oct 2006 17:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-19 01:13:59 UTC
Try with 2.4.2 please.
Comment 2 Evil Compile Person 2006-10-20 09:48:19 UTC
>>> dev-libs/aterm-2.4.2 merged.

compiles and merges fine, suggest stabilization
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-20 10:13:06 UTC
~x86 - please stabilize 2.4.2; the maintainer has been MIA for quite some time, so assigning directly.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-10-20 11:46:13 UTC
[ebuild  N    ] dev-libs/aterm-2.4.2  USE="java" 

1) fails emerges
make[1]: *** No rule to make target `terms.h', needed by `all'.  Stop.
make[1]: *** Waiting for unfinished jobs....

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.5
Last Sync: Fri, 20 Oct 2006 15:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
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 /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 aiglx alsa artworkextra asf audiofile bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds elibc_glibc emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jikes jpeg jpeg2k kde kernel_linux ldap leim libg++ linguas_de lm_sensors mad maildir matroska mbox mhash mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule mysql nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg opengl pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_fbdev video_cards_radeon video_cards_vesa videos vorbis win32codecs wmf wxwindows xine xml xorg xosd xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-10-20 11:53:32 UTC
Shrug... compiles fine here.

Marking LATER until someone figures out Bug 116610
Comment 6 Markus Meier gentoo-dev 2006-10-20 13:43:37 UTC
fails with and without java useflag.

* this ebuild has a bug
* patch needed for gcc4/glibc-2.4 compilation (in test directory)
* only works with -j1 here
Comment 7 Markus Meier gentoo-dev 2006-10-20 13:45:38 UTC
Created attachment 100105 [details, diff]
ebuild-patch

* fixes a bug (s/myc/myconf/)
* add patch
* MAKEOPTS="-j1"
Comment 8 Markus Meier gentoo-dev 2006-10-20 13:47:14 UTC
Created attachment 100106 [details, diff]
aterm-2.4.2-gcc4-fix.patch

should fix compilation.
removes obsolete[1] CLK_TCK with CLOCKS_PER_SEC

1 http://www.chemie.fu-berlin.de/chemnet/use/info/libc/libc_17.html
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2006-10-21 01:01:05 UTC
Emerges with the patched ebuild, but fails test suite

PASS: randgen
### cannot find term 835cef4 in hashtable at pos 356224 header = 4090
### cannot find term suc(...(1)) at 0x835cef4 in hashtable at pos 356224, header = 16528
/bin/sh: line 4: 14967 Aborted                 ${dir}$tst
FAIL: fib

dev-libs/sdf2-bundle fails on it though
    configure: error: cannot find libATerm-gcc.a. You must install the ATerm library with the option --with-gcc

This option is set in the ebuild so the patch seems to break it somehow.
Comment 10 Markus Meier gentoo-dev 2006-10-21 03:22:49 UTC
(In reply to comment #9)
> Emerges with the patched ebuild, but fails test suite
> 
> PASS: randgen
> ### cannot find term 835cef4 in hashtable at pos 356224 header = 4090
> ### cannot find term suc(...(1)) at 0x835cef4 in hashtable at pos 356224,
> header = 16528
> /bin/sh: line 4: 14967 Aborted                 ${dir}$tst
> FAIL: fib

This test doesn't fail here...

> dev-libs/sdf2-bundle fails on it though
>     configure: error: cannot find libATerm-gcc.a. You must install the ATerm
> library with the option --with-gcc
> 
> This option is set in the ebuild so the patch seems to break it somehow.
> 

don't know... I symlinked /usr/lib/libATerm.a to /usr/lib/libATerm-gcc.a (which is the check in the configure script) and then it is ok, but the package fails to compile later. I think that this compile failure isn't related to the aterm package.