Summary: | x11-plugins/asclock-2.0.12 gcc 4.1.1 patch + modular X fixes | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | matsuba <tma> |
Component: | [OLD] GCC Porting | Assignee: | Gentoo Afterstep Maintainers (OBSOLETE) <afterstep+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jakub |
Priority: | High | Keywords: | Inclusion |
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 117482 | ||
Attachments: |
files/asclock-gcc41.patch
asclock-2.0.12-r1.ebuild |
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 Created attachment 88296 [details, diff]
files/asclock-gcc41.patch
This should fix it
(In reply to comment #1) In my box ,this bug had fixed with this patch. thanks a lot. Please apply the patch to the tree... Created attachment 96742 [details]
asclock-2.0.12-r1.ebuild
- fixed for modular X (and monolithic not supported any more)
InCVS, thanks. |
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