Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135359 - x11-plugins/asclock-2.0.12 gcc 4.1.1 patch + modular X fixes
Summary: x11-plugins/asclock-2.0.12 gcc 4.1.1 patch + modular X fixes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Afterstep Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-06-03 00:35 UTC by matsuba
Modified: 2006-10-10 19:20 UTC (History)
1 user (show)

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


Attachments
files/asclock-gcc41.patch (asclock-2.0.12-gcc41.patch,1.49 KB, patch)
2006-06-03 12:47 UTC, Mark Loeser (RETIRED)
Details | Diff
asclock-2.0.12-r1.ebuild (asclock-2.0.12-r1.ebuild,1.47 KB, text/plain)
2006-09-11 13:25 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matsuba 2006-06-03 00:35:07 UTC
asclock-2.0.12 compile with gcc 4.1.1 failed
See output below.

Calculating dependencies... done!
>>> Emerging (1 of 1) x11-plugins/asclock-2.0.12 to /
>>> Creating Manifest for /usr/portage/x11-plugins/asclock
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking asclock-2.0.12.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking asclock-2.0.12.tar.gz to /var/tmp/portage/asclock-2.0.12/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/asclock-2.0.12/work/asclock-2.0.12 ...
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from asclock.c:4:
default_theme/clock.xpm:2: error: static declaration of 
Comment 1 matsuba 2006-06-03 00:35:07 UTC
asclock-2.0.12 compile with gcc 4.1.1 failed
See output below.

Calculating dependencies... done!
>>> Emerging (1 of 1) x11-plugins/asclock-2.0.12 to /
>>> Creating Manifest for /usr/portage/x11-plugins/asclock
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking asclock-2.0.12.tar.gz ;-)
>>> Unpacking source...
>>> Unpacking asclock-2.0.12.tar.gz to /var/tmp/portage/asclock-2.0.12/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/asclock-2.0.12/work/asclock-2.0.12 ...
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
In file included from asclock.c:4:
default_theme/clock.xpm:2: error: static declaration of clock_xpm follows non-static declaration
asclock.h:41: error: previous declaration of clock_xpm was here
In file included from asclock.c:6:
default_theme/month.xpm:2: error: static declaration of month_xpm follows non-static declaration
asclock.h:42: error: previous declaration of month_xpm was here
In file included from asclock.c:7:
default_theme/date.xpm:2: error: static declaration of date_xpm follows non-static declaration
asclock.h:45: error: previous declaration of date_xpm was here
In file included from asclock.c:8:
default_theme/weekday.xpm:2: error: static declaration of weekday_xpm follows non-static declaration
asclock.h:43: error: previous declaration of weekday_xpm was here

!!! ERROR: x11-plugins/asclock-2.0.12 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  asclock-2.0.12.ebuild, line 36:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
----------------------------------------------------

emerge --info

Gentoo Base System version 1.12.0
Portage 2.1_rc3-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 AMD Athlon(tm) XP 2500+
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ja_JP.utf8"
LC_ALL="ja_JP.utf8"
LINGUAS="ja"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portagejp /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cjk cli crypt cups dba dlloader doc eds emacs emboss encode esd fbcon firefox foomaticdb fortran gd gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg ldap leim libg++ libwww lynxkeymap mad migemo mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sasl sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userlocales vorbis xface xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_ja userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-06-03 12:47:21 UTC
Created attachment 88296 [details, diff]
files/asclock-gcc41.patch

This should fix it
Comment 3 matsuba 2006-06-05 07:06:51 UTC
(In reply to comment #1)
In my box ,this bug had fixed with this patch.  
thanks a lot.  
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-26 05:40:18 UTC
Please apply the patch to the tree...
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-09-11 13:25:49 UTC
Created attachment 96742 [details]
asclock-2.0.12-r1.ebuild

- fixed for modular X (and monolithic not supported any more)
Comment 6 Bryan Østergaard (RETIRED) gentoo-dev 2006-10-10 11:49:19 UTC
InCVS, thanks.