Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16063 - redhat-artwork-0.63-r1 failed to emerge with:
Summary: redhat-artwork-0.63-r1 failed to emerge with:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-20 04:22 UTC by Nick
Modified: 2003-03-31 06:26 UTC (History)
1 user (show)

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


Attachments
redhat-artwork/files/cursorthemegen-gcc-2.95.patch (cursorthemegen-gcc-2.95.patch,1.05 KB, patch)
2003-02-28 03:47 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nick 2003-02-20 04:22:00 UTC
While emerging redhat-artwork-0.63-r1 (for gnome 2.2) compilation fails.  

Reproducible: Always
Steps to Reproduce:
1. Start with a clean gnome 2.2 system
2. Try to emerge redhat-artwork
Actual Results:  
Compilation Error

Expected Results:  
It should have compiled

Here's about 20 lines of stdio, to trace when it went wrong:

gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -march=i686 -O3 -pipe
-Wall -c main.c
main.c: In function `cursor_get_image':
main.c:243: parse error before `*'
main.c:249: `tmp_pixbuf' undeclared (first use in this function)
main.c:249: (Each undeclared identifier is reported only once
main.c:249: for each function it appears in.)
main.c:237: warning: unused variable `image'
make[4]: *** [main.o] Error 1
make[4]: Leaving directory
`/var/tmp/portage/redhat-artwork-0.63-r1/work/redhat-artwork-0.63/art/cursor/cursorthemegen'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/redhat-artwork-0.63-r1/work/redhat-artwork-0.63/art/cursor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/redhat-artwork-0.63-r1/work/redhat-artwork-0.63/art'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/redhat-artwork-0.63-r1/work/redhat-artwork-0.63'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: x11-themes/redhat-artwork-0.63-r1 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! (no error message)

Here's emerge info:

Portage 2.0.47-r2 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/home/distfiles"
PKGDIR="/home/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi cups encode jpeg libg++ libwww mikmod mmx motif mpeg
ncurses pdflib quicktime spell
truetype xml2 xmms xv berkdb esd gdbm gif gnome gnome-libs gtk imlib java
oggvorbis opengl pam perl png python
readline sdl slang ssl tcpd tiff X -kde -arts -nls -svga -crypt -qt -qtmt -gpm
samba dvd mozilla moznoirc moznocompose"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Bruce A. Locke (RETIRED) gentoo-dev 2003-02-22 13:15:37 UTC
Redhat is now using a xfree86 cvs snapshot with "translucent" mouse cursor support in its betas (which is where the current version of redhat-artwork is being pulled from).  What version of XFree86 are you using?

Comment 2 Nick 2003-02-22 20:42:24 UTC
I was using xfree-4.2.1.  Can you give me your opinion on the stability of 
xfree-4.2.99.4?  If that's not a stable enough option, do you have any 
suggestions for a polished gnome 2.2 theme for my users?  I suppose this "bug" is 
just because I was using the wrong version of xfree!  Thanks for the clarification. 
Comment 3 TGL 2003-02-28 03:47:00 UTC
I can compile it with xfree-4.2.1, but I need to apply a small patch because of gcc-2.95. Modify the ebuild like this:

src_unpack() {
        cd ${WORKDIR}
        rpm2targz ${DISTDIR}/${A}
        tar xzf ${P}*.src.tar.gz
        tar xzf ${P}.tar.gz
        cd ${P}
        patch -p0 < ${FILESDIR}/cursorthemegen-gcc-2.95.patch
}

and save the following attachement in your redhat-artwork/files directory.
I don't think cursor will work with xfree-4.2.1 though, but at least it will emerge and gtk engine will work.
Comment 4 TGL 2003-02-28 03:47:58 UTC
Created attachment 8809 [details, diff]
redhat-artwork/files/cursorthemegen-gcc-2.95.patch

The gcc-2.95 patch.
Comment 5 Nick 2003-02-28 20:33:36 UTC
TGL, wow, thanks for the patch.  How hard would it be to modify the 
redhat-artwork-6x ebuild to check for gentoo or gcc version?  IMHO, this would 
be a valuable patch for us stability/compatibility freaks who distrust gcc 3.x. (I 
plan on switching somewhere around 3.4.5, in case anyone's wondering)  Wait a 
second, isn't this called a back-port?  I am satisfied with manually patching, and if 
I'm the only one with this bug, then I suppose it's resolved. 
 
Thanks 
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-03-24 23:00:20 UTC
thanks for the patch. it makes good sense. i wonder what the redhat people were thinking with that main.c .. :)

i've committed it to redhat-artwork-0.63-r1 and redhat-artwork-0.65. please test and see if it works for gcc-2.95 
Comment 7 foser (RETIRED) gentoo-dev 2003-03-31 06:26:57 UTC
works for me