Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119714 - app-arch/pure-sfv-0.3 compile fails with gcc-4.0.2-r2
Summary: app-arch/pure-sfv-0.3 compile fails with gcc-4.0.2-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-01-20 11:25 UTC by Avuton Olrich
Modified: 2006-01-28 23:36 UTC (History)
1 user (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 Avuton Olrich 2006-01-20 11:25:43 UTC
Problem:
>>> emerge (1 of 5) app-arch/pure-sfv-0.3 to /
>>> checksums files   ;-) pure-sfv-0.3.ebuild
>>> checksums files   ;-) files/digest-pure-sfv-0.3
>>> checksums src_uri ;-) pure-sfv_0.3_src.tar.gz
>>> Unpacking source...
>>> Unpacking pure-sfv_0.3_src.tar.gz to /var/tmp/portage/pure-sfv-0.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/pure-sfv-0.3/work ...
gcc -march=athlon-xp -ggdb -O2 -pipe -Wall -Werror  -Wno-unused   -c -o par-cmdline/backend.o par-cmdline/backend.c
gcc -march=athlon-xp -ggdb -O2 -pipe -Wall -Werror  -Wno-unused   -c -o par-cmdline/fileops.o par-cmdline/fileops.c
cc1: warnings being treated as errors
par-cmdline/backend.c: In function 'move_away':
par-cmdline/backend.c:185: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
par-cmdline/backend.c: In function 'rename_away':
par-cmdline/backend.c:209: warning: pointer targets in passing argument 2 of 'move_away' differ in signedness
cc1: warnings being treated as errors
par-cmdline/fileops.c: In function 'file_md5_buffer':
par-cmdline/fileops.c:370: warning: pointer targets in passing argument 1 of 'md5_buffer' differ in signedness
make: *** [par-cmdline/backend.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [par-cmdline/fileops.o] Error 1

!!! ERROR: app-arch/pure-sfv-0.3 failed.
!!! Function src_compile, Line 24, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


emerge --info:
Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-4.0.2, glibc-2.3.6-r2, 2.6.14-rc5-mm1 i686)
=================================================================
System uname: 2.6.14-rc5-mm1 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.12.0_pre14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -ggdb -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 /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -ggdb -O2 -pipe"
DISTDIR="/mnt/aux/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /mnt/aux/portage-overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 7zip aac acpi aim alsa ao apache2 audiofile avi bash-completion bzip2 chroot crypt cups curl emacs fam ffmpeg flac flood gd gif glut gmp gstreamer idn imagemagick jack joystick jpeg lcms libsamplerate mad mhash mikmod mmap mmx mng mp3 mp4live mpeg mpeg2 mysql ncurses nocardbus nosendmail nptl nptlonly offensive ogg oscar pam pcre php png readline rtc ruby sharedmem slang sndfile speex sse ssl szip theora tiff transcode udev unicode usb utf8 uudeview vidix vorbis webdav xvid zip zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-20 12:53:19 UTC
Well, fixed with 

sed -i 's:-Werror::' ${S}/Makefile

;)

BTW, the test phase is broken (see below), please RESTRICT=test while at it.

>>> Test phase [test]: app-arch/pure-sfv-0.3
chmod u+x ./test_pure-sfv.sh
./test_pure-sfv.sh
Test one SFV file
run# pure-sfv -d ../tests/test1/all.SFV
Expected return [0]
pure-sfv v0.3   http://pure-sfv.sourceforge.net,  Testing
sfv: directory [/var/tmp/portage/pure-sfv-0.3/work], cd [../tests/test1]: No such file or directory
SFV file [all.SFV] not found
return [2] expected [0]
Test <FAIL>
make: *** [test] Error 1
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-01-27 18:18:56 UTC
Eh, somewhat of a hack.  I'd rather we got an actual patch, but, upstream for this appears dead.  We need a maintainer for this.
Comment 3 SpanKY gentoo-dev 2006-01-28 23:36:37 UTC
fixed in cvs