Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40960 - emerge dev-libs/zziplib-0.10.82 fails
Summary: emerge dev-libs/zziplib-0.10.82 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 05:54 UTC by Dmitry Platonov
Modified: 2004-02-11 09:42 UTC (History)
0 users

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


Attachments
config.log found in i586-pc-linux-gnu (config.log,32.50 KB, text/plain)
2004-02-11 00:50 UTC, Dmitry Platonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Platonov 2004-02-09 05:54:22 UTC
here is output:
---------------------------------
config.status: create top_srcdir/Makefile guessed from local Makefile
config.status: extend top_srcdir/Makefile with top_srcdir/Makefile.mk
config.status: build in ./i586-pc-linux-gnu (HOST=i586-pc-linux-gnu)
config.status: creating zzip/_config.h - prefix ZZIP for config.h defines
config.status: creating zzip/_msvc.h - prefix ZZIP for zzip/_msvc.in defines
----- zziplib 0.10.82 /usr
host: i586-pc-linux-gnu
enable shared libraries
enable static libraries
CFLAGS= -march=pentium -O3 -pipe -fomit-frame-pointer -D_USE_MMAP  -fomit-frame-pointer -Wall -fno-writable-strings -Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wsign-compare -Wmissing-declarations
enable  mmap   (yes, sys/mman.h)
without lowstk (no)
without debug  (no)
# make  && make check  && make install
MAKE i686-pc-linux-gnu :       0 * all-all
make: *** [all-all] Error 1

!!! ERROR: dev-libs/zziplib-0.10.82 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! emake failed

Reproducible: Always
Steps to Reproduce:
1. emerge zziplib

Actual Results:  
build fails


Portage 2.0.49-r21 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1)
=================================================================
System uname: 2.6.1 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -O3 -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/te
xmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/new/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/ebuilds/overlay-freedesktop"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb cdr crypt cups dvd dvdr encode foomaticdb gdbm 
ggi gif gpm gtk gtk2 guile imlib java jpeg libg++ libwww mad matroska mikmod mmx
 motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quick
time readline ruby sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86 xm
l2 xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-02-11 00:17:04 UTC
Please attach the config.log that was generated as text/plain.  Thanks.
Comment 2 Dmitry Platonov 2004-02-11 00:50:28 UTC
Created attachment 25385 [details]
config.log found in i586-pc-linux-gnu
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-02-11 01:20:51 UTC
Any reason you're using -march=pentium on your athlon?
Comment 4 Dmitry Platonov 2004-02-11 01:40:25 UTC
It left from recent ancient times when my system was p166.
Does speed improve greatly if i specify march=athlon-xp?
My kernel is compiled for athlon-xp, and mplayer uses mxx/sse.
Also, there was some stability issues with march=athlon-xp, isn't it?

My system has no specific hardware bugs, if you asking about this.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-02-11 01:43:03 UTC
Can you try it with -mcpu=i686 instead of the -march=pentium just for fun
please?  If that results in the same failure, please capture the complete
output and add it as a text/plain attachment.  Thanks.
Comment 6 Dmitry Platonov 2004-02-11 02:16:35 UTC
I find problem.
After changing CHOST="i586-pc-linux-gnu" to CHOST="i686-pc-linux-gnu" in make.conf everything works ok with any CFLAGS. Is it bug in zziplib or what? I thought i586-pc-linux-gnu on 686-class machine would not harm as they are backward-compatible.
 
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2004-02-11 09:42:15 UTC
I think it matters because things will use CHOST as the name to use for
directories.  Then it doesn't match with what you actually have and things
aren't where they're expected to be.

The comments in make.conf seem to indicate that you had an errent setup anyhow
so I'm going to mark this has FIXED.