Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49242 - gnome-cups-manager-0.17 fails to compile with gcc 3.4.0
Summary: gnome-cups-manager-0.17 fails to compile with gcc 3.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
: 53243 (view as bug list)
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-04-27 21:11 UTC by Robert Moss (RETIRED)
Modified: 2004-07-18 02:23 UTC (History)
5 users (show)

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


Attachments
Patch to fix compilation error (gnome-cups-manager-0.17-gcc-3.4.diff,486 bytes, patch)
2004-04-27 21:12 UTC, Robert Moss (RETIRED)
Details | Diff
Ebuild for 0.18 (gnome-cups-manager-0.18.ebuild,789 bytes, application/octet-stream)
2004-06-07 06:11 UTC, Robert Moss (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Moss (RETIRED) gentoo-dev 2004-04-27 21:11:59 UTC
Simple error - there's an extra pair of parentheses on one line in one file that shouldn't be there. This breaks compilation. The attached patch fixes it.

Reproducible: Always
Steps to Reproduce:
Comment 1 Robert Moss (RETIRED) gentoo-dev 2004-04-27 21:12:21 UTC
Created attachment 30215 [details, diff]
Patch to fix compilation error
Comment 2 Bret Towe 2004-06-06 22:20:33 UTC
this patch works for me with gcc 3.4 on x86

Comment 3 Edward Hervey 2004-06-07 02:59:29 UTC
This patch works for me too with gcc3.4 on ~amd64
Comment 4 Robert Moss (RETIRED) gentoo-dev 2004-06-07 06:11:30 UTC
Created attachment 32853 [details]
Ebuild for 0.18

0.18 is out, and works unpatched here. Please test, as this is much nicer than
patching a CVS snapshot...
Comment 5 SpanKY gentoo-dev 2004-06-07 17:59:11 UTC
*** Bug 53243 has been marked as a duplicate of this bug. ***
Comment 6 Dylan Carlson (RETIRED) gentoo-dev 2004-06-08 21:15:36 UTC
0.18 with patch added to portage. 
Comment 7 Robert Moss (RETIRED) gentoo-dev 2004-06-09 16:15:13 UTC
Just wanted to retract my previous comment - the patch is still needed in all cases. Hadn't realised I was applying it!
Comment 8 scaba 2004-07-16 05:56:43 UTC
hmm, i still get that parentheses error while trying to compile gnome-cups-manager-0.18 with gcc-3.4.1-r1. it seems that the patch somehow isn't getting applied, eventhough i made sure it's there and the ebuild looks good to me as well. any ideas?
Comment 9 Robert Moss (RETIRED) gentoo-dev 2004-07-16 06:03:43 UTC
What's your exact error? It's possible that the same kind of error could be being thrown up, but in a different place, perhaps due to a local setting. Also, please post "emerge info", as we could do with knowing what version of Portage/glibc etc. you have, amongst other things.
Comment 10 scaba 2004-07-16 11:17:20 UTC
thanks for answering so quickly.

error message: 'https://n.ethz.ch/student/simoschw/download/linux/error.png'
sorry, but i've got only the console right now (writing this on another machine) and i haven't been able to catch the error message in a text file.


output of 'emerge info':

Gentoo Base System version 1.5.1
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo/ http://gentoo.oregonstate.edu"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome-current /usr/local/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml2 xv zlib"
Comment 11 scaba 2004-07-18 02:23:38 UTC
i found the cause of my problem. portage was using the ebuild from 'bmg-gnome-current' which hasn't got that error fixed yet.
sorry about that, it's working fine now.