Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114724 - bootsplash needs patch to compile with gcc4
Summary: bootsplash needs patch to compile with gcc4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-07 03:24 UTC by UncleOwen
Modified: 2005-12-10 08:59 UTC (History)
1 user (show)

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


Attachments
patch to make bootsplash compile with gcc4 (bootsplash-gcc4-fix.patch,821 bytes, patch)
2005-12-07 03:25 UTC, UncleOwen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description UncleOwen 2005-12-07 03:24:49 UTC
# emerge -av bootsplash

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

Calculating dependencies ...done!
[ebuild  N    ] media-gfx/bootsplash-0.6.1-r7  708 kB 
[...]
gcc -O2 -Wall   -c -o mng.o mng.c
gcc -O2 -Wall   -c -o console.o console.c
mng.c: In function 'copyline':
mng.c:229: error: invalid lvalue in increment
mng.c:276: error: invalid lvalue in increment
make: *** [mng.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/bootsplash-0.6.1-r7/work/utils/fbmngplay'

!!! ERROR: media-gfx/bootsplash-0.6.1-r7 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
Comment 1 UncleOwen 2005-12-07 03:25:52 UTC
Created attachment 74222 [details, diff]
patch to make bootsplash compile with gcc4

It's a long time since I did something in C, so I'm not sure this patch is
correct... but at least it compiles.
Comment 2 UncleOwen 2005-12-07 03:26:37 UTC
Gentoo Base System version 1.12.0_pre11
Portage 2.0.53 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r1,
2.6.14-gentoo-r4 i686)
=================================================================
System uname: 2.6.14-gentoo-r4 i686 Pentium III (Coppermine)
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-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss
encode expat foomaticdb fortran gdbm gif gmp gnome gpm gstreamer gtk gtk2 imlib
ipv6 jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell
ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2005-12-10 08:59:18 UTC
Fixed in CVS, thanks.