First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 182699
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: CFuga <cfuga@itam.mx>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gnome-pilot-2.0.13-gcc412.patch This patch allows gnome-pilot to be compiled with gcc-4.1.2 patch CFuga 2007-06-20 16:13 0000 766 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 182699 depends on: Show dependency tree
Show dependency graph
Bug 182699 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-20 16:10 0000
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 From CFuga 2007-06-20 16:13:41 0000 -------
Created an attachment (id=122613) [edit]
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 From Jakub Moc 2007-08-08 20:08:52 0000 -------
*** Bug 188168 has been marked as a duplicate of this bug. ***

------- Comment #3 From Alan Hourihane 2007-08-15 07:46:23 0000 -------
Can we get 2.0.14 stabilized then ???

------- Comment #4 From Andrew Frink 2007-08-21 00:57:17 0000 -------
(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 From Jakub Moc 2007-08-29 14:37:46 0000 -------
*** Bug 190644 has been marked as a duplicate of this bug. ***

------- Comment #6 From Markus Nigbur (RETIRED) 2007-09-04 22:18:50 0000 -------
Could we get 2.0.15 stable asap? It's currently blocking stable tree with +pda
flag.

------- Comment #7 From Frederic Grosshans 2007-09-13 16:57:56 0000 -------
This bug also happens on ppc

------- Comment #8 From Frederic Grosshans 2007-09-13 17:38:34 0000 -------
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 From Jakub Moc 2007-09-13 17:52:16 0000 -------
*** Bug 192438 has been marked as a duplicate of this bug. ***

------- Comment #10 From Gilles Dartiguelongue 2007-09-13 19:01:00 0000 -------
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 From Raúl Porcel 2007-09-13 19:52:59 0000 -------
ia64 stable

------- Comment #12 From Christian Faulhammer 2007-09-14 06:53:18 0000 -------
x86 stable

------- Comment #13 From Lars Weiler (RETIRED) 2007-09-20 19:17:56 0000 -------
ppc stable.

------- Comment #14 From Wulf Krueger (RETIRED) 2007-09-28 17:36:36 0000 -------
Marked stable on amd64. Last arch -> closing.

First Last Prev Next    No search results available      Search page      Enter new bug