First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 128028
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Markus Rothe <corsair@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 128028 depends on: Show dependency tree
Show dependency graph
Bug 128028 blocks: 122768
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: 2006-03-29 12:22 0000
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 From Tim Yamin (RETIRED) 2006-04-17 17:50:39 0000 -------
Want to pull "#include <asm/types.h>" out of /usr/include/asm-ppc64/elf.h and
see what happens?

------- Comment #2 From Markus Rothe 2006-04-17 22:50:24 0000 -------
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 From Tim Yamin (RETIRED) 2006-04-18 08:46:54 0000 -------
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 From Markus Rothe 2006-04-18 12:23:08 0000 -------
sorry, same error as in comment #2.

------- Comment #5 From Tim Yamin (RETIRED) 2006-04-18 14:56:49 0000 -------
Ah, you need to undo the comment #1 change, forgot to mention that, sorry.

------- Comment #6 From Tim Yamin (RETIRED) 2006-04-19 15:35:19 0000 -------
Patch added to 2.6.11-r5 headers, reopen bug if you still get problems.

------- Comment #7 From Markus Rothe 2006-04-28 11:59:55 0000 -------
yes, 2.6.11-r5 fixed it. Could you please add this to 2.6.16, too?

------- Comment #8 From Mark Loeser 2006-04-30 17:41:51 0000 -------
No longer blocking unmasking 4.1 since those headers are masked

------- Comment #9 From Tim Yamin (RETIRED) 2006-05-26 08:01:08 0000 -------
Fixed in 2.6.16-3.

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