Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182699 - stabilize app-pda/gnome-pilot-2.0.15 for gcc-4.1.2
Summary: stabilize app-pda/gnome-pilot-2.0.15 for gcc-4.1.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: STABLEREQ
: 188168 190644 192438 (view as bug list)
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2007-06-20 16:10 UTC by CFuga
Modified: 2007-09-28 17:36 UTC (History)
6 users (show)

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


Attachments
This patch allows gnome-pilot to be compiled with gcc-4.1.2 (gnome-pilot-2.0.13-gcc412.patch,766 bytes, patch)
2007-06-20 16:13 UTC, CFuga
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CFuga 2007-06-20 16:10:31 UTC
After updating gcc from 4.1.1 to 4.1.2, the current stable gnome-pilot doesn't compile.

Reproducible: Always

Steps to Reproduce:
1. emerge '=sys-devel/gcc-4.1.2'
2. emerge '=app-pda/gnome-pilot-2.0.13'

Actual Results:  
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/libgnome-2.0 -I/usr/include/orbit-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-keyring-1 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libglade-2.0   -I/usr/include/libpisock -DGNOMELOCALEDIR=\""/usr/share/locale"\" -DGLADEDATADIR=\""/usr/share/gnome-pilot/glade"\"     -O2 -march=i686 -pipe -Wall -Wmissing-prototypes  -MT pilot.o -MD -MP -MF ".deps/pilot.Tpo" -c -o pilot.o pilot.c; \
        then mv -f ".deps/pilot.Tpo" ".deps/pilot.Po"; else rm -f ".deps/pilot.Tpo"; exit 1; fi
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po gpilotd-control-applet.desktop.in gpilotd-control-applet.desktop
Found cached translation database
Merging translations into gpilotd-control-applet.desktop.
util.c:36: error: initializer element is not constant
util.c:36: error: (near initialization for 'synctypes[0]')
util.c:37: error: initializer element is not constant
util.c:37: error: (near initialization for 'synctypes[1]')
util.c:38: error: initializer element is not constant
util.c:38: error: (near initialization for 'synctypes[2]')
util.c:39: error: initializer element is not constant
util.c:39: error: (near initialization for 'synctypes[3]')
util.c:40: error: initializer element is not constant
util.c:40: error: (near initialization for 'synctypes[4]')
util.c:41: error: initializer element is not constant
util.c:41: error: (near initialization for 'synctypes[5]')
util.c: In function 'get_default_pilot':
util.c:248: warning: assignment discards qualifiers from pointer target type
make[2]: *** [util.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-pda/gnome-pilot-2.0.13/work/gnome-pilot-2.0.13/capplet'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-pda/gnome-pilot-2.0.13/work/gnome-pilot-2.0.13'
make: *** [all] Error 2

!!! ERROR: app-pda/gnome-pilot-2.0.13 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ebuild.sh, line 1305:   Called gnome2_src_compile
  gnome2.eclass, line 71:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-pda/gnome-pilot-2.0.13/temp/build.log'.


Expected Results:  
emerge gnome-pilot without problems

# emerge --info
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 20 Jun 2007 09:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo "
LINGUAS="es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/armagetron /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa ao apache2 avahi bash-completion beagle berkdb bitmap-fonts branding bzip2 cairo caps cdr chardet cli cracklib crypt cscope cups curl dbus dga dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif glut gmp gnome gnutls gpm gs gstreamer gtk gtkhtml guile hal iconv idn ieee1394 imagemagick imap ipv6 isdnlog jack java jbig joystick jpeg jpeg2k kerberos keyring krb4 lcms ldap libcaca libg++ libgda libnotify libsamplerate logrotate lzo mad midi mikmod mmx mng mono motif mp3 mpeg mssql mudflap musepack mysql ncurses network nfs nls nptl nptlonly nsplugin ogg opengl openmp oss pam pango pcre pdf perl php pic png postgres ppds pppd prelude pulseaudio python qt3 qt3support quicktime readline real reflection rle samba sasl sdl sendmail session slp sndfile snmp speex spell spl sse sse2 ssl startup-notification svg tcpd tetex theora tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vhosts vorbis wavpack win32codecs wmf x264 x86 xattr xcb xinerama xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="fbdev sis v4l vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 CFuga 2007-06-20 16:13:41 UTC
Created attachment 122613 [details, diff]
This patch allows gnome-pilot to be compiled with gcc-4.1.2

This patch kills an unused static structure, and allows to use gcc-4.1.2 for compilation. The fix is present in gnome-pilot 2.0.14 and above.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-08 20:08:52 UTC
*** Bug 188168 has been marked as a duplicate of this bug. ***
Comment 3 Alan Hourihane 2007-08-15 07:46:23 UTC
Can we get 2.0.14 stabilized then ???
Comment 4 Andrew Frink 2007-08-21 00:57:17 UTC
(In reply to comment #3)
> Can we get 2.0.14 stabilized then ???

2.0.15 compiles just fine with 4.1.2. It's ~x86 for me, and there isn't a 2.0.14.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-29 14:37:46 UTC
*** Bug 190644 has been marked as a duplicate of this bug. ***
Comment 6 Markus Nigbur (RETIRED) gentoo-dev 2007-09-04 22:18:50 UTC
Could we get 2.0.15 stable asap? It's currently blocking stable tree with +pda flag.
Comment 7 Frederic Grosshans 2007-09-13 16:57:56 UTC
This bug also happens on ppc
Comment 8 Frederic Grosshans 2007-09-13 17:38:34 UTC
By the way, on ppc, I have the same problem with 2.0.13-r1.
And 2.0.15 compiles just fine.

PS: Since I report on another architecture (ppc) I hope it's not a "me-too" post. If this kind of information is useless, please let someone  tell me before I spam bugzilla too much ;-)
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-09-13 17:52:16 UTC
*** Bug 192438 has been marked as a duplicate of this bug. ***
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-09-13 19:01:00 UTC
archs, please do your magic :)

Once it's done we can make some cleaning as there is no major changes in deps since 2.0.10
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2007-09-13 19:52:59 UTC
ia64 stable
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-14 06:53:18 UTC
x86 stable
Comment 13 Lars Weiler (RETIRED) gentoo-dev 2007-09-20 19:17:56 UTC
ppc stable.
Comment 14 Wulf Krueger (RETIRED) gentoo-dev 2007-09-28 17:36:36 UTC
Marked stable on amd64. Last arch -> closing.