Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21347 - Update of sys-apps/attr-2.2.0 fails
Summary: Update of sys-apps/attr-2.2.0 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-20 12:23 UTC by Philipp Kügle
Modified: 2003-11-27 00:23 UTC (History)
2 users (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 Philipp Kügle 2003-05-20 12:23:03 UTC
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=\"2.2.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -Wall 
-I../include -DVERSION=\"2.2.0\" -DLOCALEDIR=\"/usr/share/locale\" 
-DPACKAGE=\"attr\" -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' 
attr_copy_fd.c: In function `attr_copy_fd': 
attr_copy_fd.c:83: warning: implicit declaration of function `error' 
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: 
>>> 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
Comment 1 Ian Truelsen 2003-05-23 08:02:00 UTC
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=\"2.2.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -DDEBUG -funsigned-char -Wall -I../include -DVERSION=\"2.2.0\" -DLOCALEDIR=\"/usr/share/locale\" -DPACKAGE=\"attr\" -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'
attr_copy_fd.c: In function `attr_copy_fd':
attr_copy_fd.c:83: warning: implicit declaration of function `error'
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.
Comment 2 Ian Truelsen 2003-05-23 08:03:31 UTC
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="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/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"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="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"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://dark-lord.ihtruelsen.dyndns.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 3 Martin C. Petersen 2003-07-18 12:44:54 UTC
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
Comment 4 Ian Truelsen 2003-07-18 13:21:46 UTC
Am I to take it that this is a package that is not workable for gcc 2.95? Is this confirmed?
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-11 18:42:04 UTC
Yes, the package does require gcc3 as they use some of it's new syntax for their code.

I've put the depend on gcc3 in the new version in the tree shortly.
Comment 6 Stewart (RETIRED) gentoo-dev 2003-11-27 00:17:14 UTC
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?