Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14829 - lilo 22.8-3 builf error w latest gcc

Attached to Project: Arch Linux
Opened by Baho Utot (baho-utot) - Monday, 25 May 2009, 23:23 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 30 May 2009, 15:10 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
==> Making package: lilo 22.8-3 i686 (Mon May 25 18:31:24 UTC 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Using cached copy of lilo-22.8.src.tar.gz
-> Using cached copy of gcc-44.patch
-> Using cached copy of lilo.conf
==> WARNING: Integrity checks (md5) are missing or incomplete.
==> Extracting Sources...
-> bsdtar -x -f lilo-22.8.src.tar.gz
==> Entering fakeroot environment...
==> Starting build()...
patching file checkit
./checkit
GCC version 2.91 or later is required
gcc is not present

AS86 version 0.16.10 or later is required
as86 version 0.16.17
OKAY

LD86 version 0.16.10 or later is required
ld86 version 0.16.17
OKAY

BCC version 0.16.10 or later is recommended
bcc is not present
You will not be able to make floppy2, diag2.img, or lilo.com
make: *** [test.img] Error 1
==> ERROR: Build Failed.



Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 30 May 2009, 15:10 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in svn language was wrong
Comment by Henning Garus (garns) - Tuesday, 26 May 2009, 00:49 GMT
Removing gcc-44.patch seems to fix this.
Comment by Tobias Powalowski (tpowa) - Thursday, 28 May 2009, 20:47 GMT
here it works and compiles fine.
Comment by Henning Garus (garns) - Thursday, 28 May 2009, 21:09 GMT
the PKGBUILD runs a checkit script, which after patching contains:

...
gcc -v 1>foo1 2>foo2
V=`cat foo1 foo2 | grep Version | cut -d " " -f 2`
...


On my system gcc -v reports the following:
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++ --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread model: posix
gcc version 4.4.0 20090505 (prerelease) (GCC)


Comment by Tobias Powalowski (tpowa) - Friday, 29 May 2009, 05:06 GMT
ahh
it greps vor Version and you have version, do you run a own compiled gcc?
with latesdt gcc from testing all is fine.
gcc-Version 4.4.0 20090526 (prerelease) (GCC)
also yours have a space thats the reason for failing with -f 2
Comment by Henning Garus (garns) - Friday, 29 May 2009, 13:38 GMT
That was gcc-4.0.0-2 from core I have now updated to gcc-4.4.0-3 from testing still says:

gcc version 4.4.0 20090526 (prerelease) (GCC)

I am running i686.
Comment by Tobias Powalowski (tpowa) - Saturday, 30 May 2009, 15:01 GMT
my 686 chroots doesn't list your gcc thing,
Es werden eingebaute Spezifikationen verwendet.
Ziel: i686-pc-linux-gnu
Konfiguriert mit: ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++ --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
Thread-Modell: posix
gcc-Version 4.4.0 20090526 (prerelease) (GCC)

Loading...