Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128028 - app-misc/mc-4.6.0-r14 failes to compile using gcc-4.1.0 and linux-headers-2.6.11-r4.
Summary: app-misc/mc-4.6.0-r14 failes to compile using gcc-4.1.0 and linux-headers-2.6...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 122768
  Show dependency tree
 
Reported: 2006-03-29 12:22 UTC by Markus Rothe (RETIRED)
Modified: 2009-08-05 11:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Rothe (RETIRED) gentoo-dev 2006-03-29 12:22:01 UTC
Hi,

app-misc/mc-4.6.0-r14 failes to compile using gcc-4.1.0 and linux-headers-2.6.11-r4.

powerpc64-unknown-linux-gnu-gcc -c -DLOCALEDIR=\"/usr/share/locale\" -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. -I. -I../intl -I../intl -I../intl -I.. -O2 -pipe -g -I/usr/include/gssapi -Wall  dcigettext.c
In file included from /usr/include/asm/types.h:8,
                 from /usr/include/asm-ppc64/elf.h:4,
                 from /usr/include/asm/elf.h:8,
                 from /usr/include/asm-ppc64/sigcontext.h:12,
                 from /usr/include/asm/sigcontext.h:8,
                 from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:333,
                 from dcigettext.c:78:
/usr/include/asm-ppc64/types.h:19: error: two or more data types in declaration specifiers
make[2]: *** [dcigettext.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0/intl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0'
make: *** [all] Error 2

!!! ERROR: app-misc/mc-4.6.0-r14 failed.
!!! Function src_compile, Line 109, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


# emerge --info
Portage 2.0.54 (default-linux/ppc/ppc64/2006.0/64bit-userland/power3, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo ppc64)
=================================================================
System uname: 2.6.16-gentoo ppc64 POWER3 (630+)
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -g"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc64 alsa apache2 apm arts berkdb bitmap-fonts bzip2 cli ctype cups curl dba dri eds emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gmp gnome gnutls gpm gstreamer gtk2 ibm imlib ipv6 jpeg kde libg++ libwww mad memlimit mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix python qt quicktime readline sdl session simplexml soap sockets spell spl ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis webdav xml xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-04-17 17:50:39 UTC
Want to pull "#include <asm/types.h>" out of /usr/include/asm-ppc64/elf.h and see what happens?
Comment 2 Markus Rothe (RETIRED) gentoo-dev 2006-04-17 22:50:24 UTC
this gives another error:

/usr/include/asm-ppc64/elf.h:138: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrreg_t'
/usr/include/asm-ppc64/elf.h:139: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrregset_t'
/usr/include/asm-ppc64/elf.h:140: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'elf_vrregset_t32'
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2006-04-18 08:46:54 UTC
Guess you'll have to do this then:

--- types.h     2006-04-18 16:46:19.000000000 +0100
+++ types.h~    2006-04-18 16:46:07.000000000 +0100
@@ -16,6 +16,10 @@
  * 2 of the License, or (at your option) any later version.
  */

+#ifdef umode_t /* Fix userspace definitions, we do it properly here... */
+#undef umode_t
+#endif
+
 typedef unsigned int umode_t;

 /*
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2006-04-18 12:23:08 UTC
sorry, same error as in comment #2.
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2006-04-18 14:56:49 UTC
Ah, you need to undo the comment #1 change, forgot to mention that, sorry.
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2006-04-19 15:35:19 UTC
Patch added to 2.6.11-r5 headers, reopen bug if you still get problems.
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2006-04-28 11:59:55 UTC
yes, 2.6.11-r5 fixed it. Could you please add this to 2.6.16, too?
Comment 8 Mark Loeser (RETIRED) gentoo-dev 2006-04-30 17:41:51 UTC
No longer blocking unmasking 4.1 since those headers are masked
Comment 9 Tim Yamin (RETIRED) gentoo-dev 2006-05-26 08:01:08 UTC
Fixed in 2.6.16-3.