<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>128028</bug_id>
          
          <creation_ts>2006-03-29 12:22 0000</creation_ts>
          <short_desc>app-misc/mc-4.6.0-r14 failes to compile using gcc-4.1.0 and linux-headers-2.6.11-r4.</short_desc>
          <delta_ts>2009-08-05 11:30:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2006.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>122768</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>corsair@gentoo.org</reporter>
          <assigned_to>plasmaroo@gentoo.org</assigned_to>
          <cc>ppc64@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2006-03-29 12:22:01 0000</bug_when>
            <thetext>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=\&quot;/usr/share/locale\&quot; -DLOCALE_ALIAS_PATH=\&quot;/usr/share/locale\&quot; -DLIBDIR=\&quot;/usr/lib64\&quot; -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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mc-4.6.0-r14/work/mc-4.6.0&apos;
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=&quot;ppc64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;powerpc64-unknown-linux-gnu&quot;
CFLAGS=&quot;-O2 -pipe -g&quot;
CHOST=&quot;powerpc64-unknown-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe -g&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks nostrip sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-04-17 17:50:39 0000</bug_when>
            <thetext>Want to pull &quot;#include &lt;asm/types.h&gt;&quot; out of /usr/include/asm-ppc64/elf.h and see what happens?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2006-04-17 22:50:24 0000</bug_when>
            <thetext>this gives another error:

/usr/include/asm-ppc64/elf.h:138: error: expected &apos;=&apos;, &apos;,&apos;, &apos;;&apos;, &apos;asm&apos; or &apos;__attribute__&apos; before &apos;elf_vrreg_t&apos;
/usr/include/asm-ppc64/elf.h:139: error: expected &apos;=&apos;, &apos;,&apos;, &apos;;&apos;, &apos;asm&apos; or &apos;__attribute__&apos; before &apos;elf_vrregset_t&apos;
/usr/include/asm-ppc64/elf.h:140: error: expected &apos;=&apos;, &apos;,&apos;, &apos;;&apos;, &apos;asm&apos; or &apos;__attribute__&apos; before &apos;elf_vrregset_t32&apos;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-04-18 08:46:54 0000</bug_when>
            <thetext>Guess you&apos;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;

 /*</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2006-04-18 12:23:08 0000</bug_when>
            <thetext>sorry, same error as in comment #2.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-04-18 14:56:49 0000</bug_when>
            <thetext>Ah, you need to undo the comment #1 change, forgot to mention that, sorry.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-04-19 15:35:19 0000</bug_when>
            <thetext>Patch added to 2.6.11-r5 headers, reopen bug if you still get problems.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2006-04-28 11:59:55 0000</bug_when>
            <thetext>yes, 2.6.11-r5 fixed it. Could you please add this to 2.6.16, too?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>halcy0n@gentoo.org</who>
            <bug_when>2006-04-30 17:41:51 0000</bug_when>
            <thetext>No longer blocking unmasking 4.1 since those headers are masked</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>plasmaroo@gentoo.org</who>
            <bug_when>2006-05-26 08:01:08 0000</bug_when>
            <thetext>Fixed in 2.6.16-3.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>