Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21464 - cannot kde-base/arts-1.1.2 with gcc-3.3 / glibc-3.2.2
Summary: cannot kde-base/arts-1.1.2 with gcc-3.3 / glibc-3.2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Caleb Tennis (RETIRED)
URL:
Whiteboard:
Keywords:
: 21462 21536 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-22 03:27 UTC by François Dupoux
Modified: 2003-07-07 19:25 UTC (History)
0 users

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 François Dupoux 2003-05-22 03:27:55 UTC
% emerge kde-base/arts

Calculating dependencies ...done!
>>> emerge (1 of 1) kde-base/arts-1.1.2 to /
oggvorbis
>>> md5 ;-) arts-1.1.2.tar.bz2
oggvorbis
oggvorbis
>>> Unpacking source...
>>> Unpacking arts-1.1.2.tar.bz2 to /var/tmp/portage/arts-1.1.2/work
patching file flow/gsl/configure.in.in
Running sed on Makefile.am
Running sed on Makefile.in
>>> Source unpacked.
oggvorbis
head: `-1' option is obsolete; use `-n 1'
Try `head --help' for more information.
*** AUTOCONF NOT FOUND!.
*** KDE requires autoconf 2.52, 2.53 or 2.54
make: *** [cvs] Error 1

!!! ERROR: kde-base/arts-1.1.2 failed.
!!! Function kde_src_compile, Line 107, Exitcode 1
!!! no configure script found, generation unsuccessful

---------------------------------------------
autoconf and automake are installed:
- autoconf (GNU Autoconf) 2.57
- automake (GNU automake) 1.7.2

*  sys-devel/autoconf
      Latest version available: 2.57-r1
      Latest version installed: 2.57-r1
      Size of downloaded files: 1,225 kB
      Homepage:    http://www.gnu.org/software/autoconf/autoconf.html
      Description: Used to create autoconfiguration files

*  sys-devel/automake
      Latest version available: 1.7.2
      Latest version installed: 1.7.2
      Size of downloaded files: 2,139 kB
      Homepage:    http://www.gnu.org/software/automake/automake.html
      Description: Used to generate Makefile.in from Makefile.am

*  sys-devel/gcc
      Latest version available: 3.2.2
      Latest version installed: 3.3
      Size of downloaded files: 19,835 kB
      Homepage:    http://www.gnu.org/software/gcc/gcc.html
      Description: The GNU Compiler Collection. Includes C/C++ and java compilers

*  sys-libs/glibc
      Latest version available: 2.3.1-r4
      Latest version installed: 2.3.2-r2
      Size of downloaded files: 17,701 kB
      Homepage:    http://www.gnu.org/software/libc/libc.html
      Description: GNU libc6 (also called glibc2) C library

*  sys-apps/portage
      Latest version available: 2.0.48
      Latest version installed: 2.0.47-r10
      Size of downloaded files: 189 kB
      Homepage:    http://www.gentoo.org
      Description: Portage ports system



Reproducible: Always
Steps to Reproduce:
Comment 1 François Dupoux 2003-05-22 08:57:31 UTC
In fact, I have this error with all programs which use autoconf. The problem comes from head, which does not accept -1 (it want -n 1):
Here is a script which makes the error:

check_autotool_versions()
{
AUTOCONF_VERSION=`$AUTOCONF --version | head 1`
case $AUTOCONF_VERSION in
  Autoconf*2.5* | autoconf*2.5* ) : ;;
  "" )
    echo "*** AUTOCONF NOT FOUND!."
    echo "*** KDE requires autoconf 2.52, 2.53 or 2.54"
    exit 1
    ;;
  * )
    echo "*** YOU'RE USING $AUTOCONF_VERSION."
    echo "*** KDE requires autoconf 2.52, 2.53 or 2.54"
    exit 1
    ;;
esac

we must put:
AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`

There is the same error for autoconf, autoheader, automake

Comment 2 François Dupoux 2003-05-22 09:08:16 UTC
The "head" command comes from "sys-apps/textutils"
Comment 3 François Dupoux 2003-05-22 09:16:34 UTC
I saw "head -1" and "head -2" in many scripts in /usr/portage. We have to update all these files, in order to use "head -n 1" and "head -n 2"
Comment 4 François Dupoux 2003-05-22 09:23:39 UTC
The bug do not occur with the old version. I have to make a reversed update, and install the old version again:
emerge sys-apps/textutils/textutils-2.0.19-r2.ebuild
It solved the problem, because textutil-2.0.19 accept both "head -1" and "head -n 1". But the real solution is to remove "head -1" from all our scripts !
Comment 5 Paul de Vrieze (RETIRED) gentoo-dev 2003-05-22 15:32:27 UTC
This is not a kde bug, it is a textutils bug and thus should be assigned to whoever maintains that.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-05-23 05:37:31 UTC
*** Bug 21462 has been marked as a duplicate of this bug. ***
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2003-05-23 06:35:40 UTC
*** Bug 21536 has been marked as a duplicate of this bug. ***
Comment 8 Volker Hemmann 2003-05-29 10:19:29 UTC
Hi,  
  
just emerged gcc 3.3 and arts 1.1.2 yesterevening, everything seems to be fine. 
  
bash-2.05b$ emerge --info  
Portage 2.0.48 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1)  
=================================================================  
System uname: 2.4.21_rc2-gss i686 AMD Athlon(tm) XP 2000+  
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gent  
oo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gen  
too"  
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/k  
de/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /us  
r/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/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="/usr/local/portage"  
USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ mikmod mmx mpe                                                       
g ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib al                                                       
sa gdbm berkdb slang readline arts svga tcltk mysql X sdl gpm tcpd pam                                                        
libwww ssl perl python imlib oggvorbis gtk qt kde opengl cdr scanner                                                        
acpi acpi4linux dga dvd sse tiff usb -cups -java -tetex -esd -gnome -m                                                       
otif"  
COMPILER="gcc3"  
CHOST="i686-pc-linux-gnu"  
CFLAGS="-march=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -mfpmath=sse -f                                                       
omit-frame-pointer -ftracer -Wdisabled-optimization"  
CXXFLAGS="-march=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -mfpmath=sse                                                        
-fomit-frame-pointer -ftracer -Wdisabled-optimization"  
ACCEPT_KEYWORDS="x86 ~x86"  
MAKEOPTS="-j2"  
AUTOCLEAN="yes"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
FEATURES="sandbox ccache userpriv"  
  
bash-2.05b$ emerge --info  
Portage 2.0.48 (default-x86-1.4, gcc-3.3, glibc-2.3.2-r1)  
=================================================================  
System uname: 2.4.21_rc2-gss i686 AMD Athlon(tm) XP 2000+  
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo  
http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"  
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config  
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config  
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/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="/usr/local/portage"  
USE="x86 oss 3dnow apm avi crypt encode gif jpeg libg++ mikmod mmx mpeg  
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb  
slang readline arts svga tcltk mysql X sdl gpm tcpd pam libwww ssl perl python imlib  
oggvorbis gtk qt kde opengl cdr scanner acpi acpi4linux dga dvd sse tiff usb -cups  
-java -tetex -esd -gnome -motif"  
COMPILER="gcc3"  
CHOST="i686-pc-linux-gnu"  
CFLAGS="-march=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -mfpmath=sse  
-fomit-frame-pointer -ftracer -Wdisabled-optimization"  
CXXFLAGS="-march=athlon-xp -O2 -pipe -mmmx -m3dnow -msse -mfpmath=sse  
-fomit-frame-pointer -ftracer -Wdisabled-optimization"  
ACCEPT_KEYWORDS="x86 ~x86"  
MAKEOPTS="-j2"  
AUTOCLEAN="yes"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
FEATURES="sandbox ccache userpriv"  
  
*  sys-devel/autoconf  
      Latest version available: 2.57-r1  
      Latest version installed: 2.57-r1  
  
*  sys-devel/automake  
      Latest version available: 1.7.2  
      Latest version installed: 1.7.2  
  
*  sys-apps/textutils  
      Latest version available: 2.1  
      Latest version installed: 2.1  
        
*  sys-devel/gcc  
      Latest version available: 3.3  
      Latest version installed: 3.3  
       
*  sys-libs/glibc  
      Latest version available: 2.3.2-r1  
      Latest version installed: 2.3.2-r1  
     
*  sys-apps/portage  
      Latest version available: 2.0.48  
      Latest version installed: 2.0.48  
   
  
  
  
Comment 9 Nikolaus Krismer 2003-06-15 06:45:53 UTC
Same error here, but I'm not quite sure how to fix it at the moment, ...
Where is this function "check_autotool_version" in?
Maybe it would be a good idea to create a new ebuild!
Comment 10 Caleb Tennis (RETIRED) gentoo-dev 2003-06-23 20:02:21 UTC
textutils has been superceded by coreutils.  You may want to try to emerge coreutils as a 
replacement. 
 
I cannot reproduce this problem with any textutils or coreutils.  I'm wondering if there's 
something strange happening at compile time of the 'head' program.. 
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2003-06-23 20:20:07 UTC
I've also noticed that current kde cvs seems to have fixed this issue. 
Comment 12 Caleb Tennis (RETIRED) gentoo-dev 2003-07-07 19:25:03 UTC
This behaviour works fine with coreutils-5.0, but the original report, where it was borked in 
KDE, has been changed in kde cvs.