Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
gtkwave fails to compile on my system; no (explicit) errors are reported by emerge. The only error that is visible (after grepping through the emerge output) is this: ar: libz.a: Malformed archive But this is well before the emake fails. kelvie@crunchy ~ $ emerge --info Portage 2.1_pre9-r4 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-reiser4-r2 x86_64) ================================================================= System uname: 2.6.16-reiser4-r2 x86_64 Dual Core AMD Opteron(tm) Processor 265 Gentoo Base System version 1.12.0_pre18 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.2-r1 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-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=opteron -O2 -pipe" CHOST="x86_64-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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-mtune=opteron -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="7zip X a52 aac aalib acl acpi alsa amd64 anthy asf auctex avi bash-completion berkdb bidi bitmap-fonts browserplugin bzip2 bzlib cairo ccache cddb cdio cdr cdrom chroot cjk cli codecs cracklib crypt cscope css cups divx4linux doc dri dvd dvdr dvdread eds emacs emacs-w3 emboss encode examples extensions fastcgi fbcon ffmpeg flac foomaticdb fortran freetype freewnn ftp fuse gda gif gimp glitz glut gnome gnutls gphoto2 gpm gs gstreamer gtk gtk2 gvim gzip hal httpd ide imagemagick imlib immqt-bc ipv6 isdnlog java javascript joystick jpeg k3b kde kdeenablefinal lapack latex libcaca libedit live lzw lzw-tiff matroska mikmod mime mixer mmap mng mod mono motif mozilla mp3 mpeg mpeg4 mplayer mppe-mppc msn msnextras mule ncurses net nls nocd nowin nptl nptlonly nsplugin ogg opengl openssl oracle pam pcntl pcre pdf pdflib perl pertty php pic plotutils png posix ppds pppd print python qemu-fast qt quicktime quinnstorm readline reflection ruby samba screen sdk sdl session shared slp speex spell spl ssl stream svg szip tcpd tetex text tga theora tidy tiff truetype truetype-fonts type1-fonts underscores unicode usb userlocales utf8 v4l v4l2 vcd vim-pager vim-with-x vlm wifi wxwindows xanim xcomposite xinerama xml xmms xorg xosd xpm xprint xscreensaver xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux userland_GNU video_cards_vga" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS emerge output to follow.
Created an attachment (id=85587) [edit] emerge output emerge output, straight from screen. command: emerge geda-suite
Arg.. I merged it with MAKEOPTS=-j1 and it compiled file. Perhaps this should be added into the ebuild (after further testing)?
I've never seen this error, though mine is gcc-4.1 + glibc-2.4-r2 on ~ppc userland. And I've emerged it with MAKEOPTS=-j2. Of cource, gtkwave-1.3.72 was compiled/works fine here. And then, IIRC, /usr/lib/libz.a comes from sys-libs/zlib. If libz.a is really makformed, zlib sounds fishy, IMHO.
(In reply to comment #3) > I've never seen this error, > though mine is gcc-4.1 + glibc-2.4-r2 on ~ppc userland. > And I've emerged it with MAKEOPTS=-j2. > Of cource, gtkwave-1.3.72 was compiled/works fine here. > > And then, IIRC, /usr/lib/libz.a comes from sys-libs/zlib. > If libz.a is really makformed, zlib sounds fishy, IMHO. > From the make output, it is created by this line: ar cq libz.a adler32.o compress.o crc32.o deflate.o gzio.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o The problem was, it is created 7 times (due to MAKEOPTS=-j7). Perhaps this is an amd64 specific problem? Or my make version?
a) gtkwave doesn't use system zlib. b) Problem is because -j6 or other crazy levels try to parallelize more than gtkwave's Makefile can handle. I've now set it to use -j2 which works fine in the ebuild. Thanks for reporting the bug.