<?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>21347</bug_id>
          
          <creation_ts>2003-05-20 12:23 0000</creation_ts>
          <short_desc>Update of sys-apps/attr-2.2.0 fails</short_desc>
          <delta_ts>2003-11-27 00:23:45 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>Core system</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>pkuegle@vr-web.de</reporter>
          <assigned_to>seemant@gentoo.org</assigned_to>
          <cc>blkdeath@gentoo.org</cc>
    
    <cc>ian.truelsen@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>pkuegle@vr-web.de</who>
            <bug_when>2003-05-20 12:23:03 0000</bug_when>
            <thetext>When emerging sys-apps/attr-2.2.0 the following error occurs: 
 
gcc -march=i686 -O3 -pipe -g -DDEBUG -funsigned-char -Wall -I./include 
-DVERSION=\&quot;2.2.0\&quot; -DLOCALEDIR=\&quot;/usr/share/locale\&quot; -DPACKAGE=\&quot;attr\&quot; 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -Wall 
-I../include -DVERSION=\&quot;2.2.0\&quot; -DLOCALEDIR=\&quot;/usr/share/locale\&quot; 
-DPACKAGE=\&quot;attr\&quot; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h 
-D_REENTRANT -fno-strict-aliasing -c attr_copy_fd.c  -fPIC -DPIC -o .libs/attr_copy_fd.lo 
In file included from attr_copy_fd.c:37: 
../include/error_context.h:23: badly punctuated parameter list in `#define&apos; 
attr_copy_fd.c: In function `attr_copy_fd&apos;: 
attr_copy_fd.c:83: warning: implicit declaration of function `error&apos; 
make[1]: *** [attr_copy_fd.lo] Error 1 
make: *** [default] Error 2 
 
!!! ERROR: sys-apps/attr-2.2.0 failed. 
!!! Function src_compile, Line 41, Exitcode 2 
!!! (no error message) 
 
Short after the emerge statement the following happens: 
&gt;&gt;&gt; Unpacking attr_copy.diff to /mnt/daten/transfer/c001/portage/attr-2.2.0/work 
unpack attr_copy.diff: file format not recognized. Ignoring. 
 * Applying attr_copy.diff...                                             [ ok ] 
 
Maybe this has something to do with the resulting error. 
 
There is a small thread at the forum to: 
http://forums.gentoo.org/viewtopic.php?t=51455</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ian.truelsen@gmail.com</who>
            <bug_when>2003-05-23 08:02:00 0000</bug_when>
            <thetext>I have a similar problem, but the failure is at a slightly different point. I am not sure if this is a separate bug, but this is the output that I get:

rm -f .libs/attr_copy_fd.lo
gcc -march=i686 -O3 -pipe -g -DDEBUG -funsigned-char -Wall -I./include -DVERSION=\&quot;2.2.0\&quot; -DLOCALEDIR=\&quot;/usr/share/locale\&quot; -DPACKAGE=\&quot;attr\&quot; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -Wall -I../include -DVERSION=\&quot;2.2.0\&quot; -DLOCALEDIR=\&quot;/usr/share/locale\&quot; -DPACKAGE=\&quot;attr\&quot; -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -include libattr.h -D_REENTRANT -fno-strict-aliasing -c attr_copy_fd.c  -fPIC -DPIC -o .libs/attr_copy_fd.lo
In file included from attr_copy_fd.c:37:
../include/error_context.h:23: badly punctuated parameter list in `#define&apos;
attr_copy_fd.c: In function `attr_copy_fd&apos;:
attr_copy_fd.c:83: warning: implicit declaration of function `error&apos;
make[1]: *** [attr_copy_fd.lo] Error 1
make: *** [default] Error 2

!!! ERROR: sys-apps/attr-2.2.0 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! (no error message)

I also see the unpack attr_copy.diff error.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ian.truelsen@gmail.com</who>
            <bug_when>2003-05-23 08:03:31 0000</bug_when>
            <thetext>This is my emerge info:

Portage 2.0.48 (default-1.0, gcc-2.95.3, glibc-2.2.5-r8,2.2.5-r4)
=================================================================
System uname: 2.4.20 i686 Celeron (Mendocino)
GENTOO_MIRRORS=&quot;http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo&quot;
CONFIG_PROTECT=&quot;/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/env.d&quot;
PORTDIR=&quot;/usr/portage&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR_OVERLAY=&quot;&quot;
USE=&quot;x86 oss 3dnow apm arts avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv berkdb cdr esd gdbm gif gnome-libs gpm gtk imlib java libwww motif nls oggvorbis pam perl png python qt readline sdl slang ssl svga tcltk tcpd tiff mysql -gnome -X -kde -opengl&quot;
COMPILER=&quot;&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=i686 -O3 -pipe&quot;
CXXFLAGS=&quot;-march=i686 -O3 -pipe&quot;
ACCEPT_KEYWORDS=&quot;x86&quot;
MAKEOPTS=&quot;-j2&quot;
AUTOCLEAN=&quot;yes&quot;
SYNC=&quot;rsync://dark-lord.ihtruelsen.dyndns.org/gentoo-portage&quot;
FEATURES=&quot;sandbox ccache&quot;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mcp@phys.au.dk</who>
            <bug_when>2003-07-18 12:44:54 0000</bug_when>
            <thetext>I had the same problem, but after upgrading to gcc-3.2.3 and glibc-2.3.2 it is not there any more.

See http://www.gentoo.org/doc/en/new-upgrade-to-gentoo-1.4.xml</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ian.truelsen@gmail.com</who>
            <bug_when>2003-07-18 13:21:46 0000</bug_when>
            <thetext>Am I to take it that this is a package that is not workable for gcc 2.95? Is this confirmed?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2003-08-11 18:42:04 0000</bug_when>
            <thetext>Yes, the package does require gcc3 as they use some of it&apos;s new syntax for their code.

I&apos;ve put the depend on gcc3 in the new version in the tree shortly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>blkdeath@gentoo.org</who>
            <bug_when>2003-11-27 00:17:14 0000</bug_when>
            <thetext>Since this significantly breaks XFS support in the 1.2 profile, please accordingly
add a line to the 1.2 profile that masks any versions that include this change.

Also, would it be possible to restore the most recent GCC-2 compatable version of
attr to the tree in an unmasked state?</thetext>
          </long_desc>
      
    </bug>

</bugzilla>