Summary: | dev-lisp/clisp-2.47.r1 fails to compile with sys-devel/gcc-4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | J.Benoist Leger <jben> |
Component: | Current packages | Assignee: | Common Lisp Bugs <common-lisp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | israel.lugo, joost.ruis, lpmichalik, SebastianLuther, uzytkownik2 |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 322599 | ||
Bug Blocks: | 249226 | ||
Attachments: |
The build.log file
My solution, and it compiles fine |
Description
J.Benoist Leger
2009-04-28 14:04:21 UTC
Created attachment 189713 [details]
The build.log file
Created attachment 189715 [details, diff]
My solution, and it compiles fine
reported upstream Patch works fine. This should be fixed in 2.48 Yes, but stable is 2.47, and gcc-4.4 has just gone stable too. Please, reopen. (In reply to comment #6) > Yes, but stable is 2.47, and gcc-4.4 has just gone stable too. Please, reopen. > Hit that too, reopening. Confirmed. I have just upgraded to GCC 4.4 stable and dev-lisp/clisp-2.47-r1 fails to compile. For search purposes, I quote the exact error message: gcc -Igllib -O2 -march=native -msse3 -mfpmath=sse -pipe -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -O -falign-functions=4 -DUNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -c time.c ../src/time.d:305:19: error: token "=" is not valid in preprocessor expressions make: *** [time.o] Error 1 * ERROR: dev-lisp/clisp-2.47-r1 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2736: Called die * The specific snippet of code: * emake -j1 || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-lisp/clisp-2.47-r1', * the complete build log and the output of 'emerge -pqv =dev-lisp/clisp-2.47-r1'. * The complete build log is located at '/var/tmp/portage/dev-lisp/clisp-2.47-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-lisp/clisp-2.47-r1/temp/environment'. * S: '/var/tmp/portage/dev-lisp/clisp-2.47-r1/work/clisp-2.47' The problem is an incorrect preprocessor expression in the src/time.d file, line 305, as indicated by GCC. There's a simple typo, a = that should be a ==. GCC 4.1 was kind enough to let it slip, but GCC 4.4 is strict and complains about the error. J. Benoist Leger's patch is correct and fixes the problem. It is a trivial patch for a trivial problem caused by a typo. Please apply this patch ASAP since as it stands now, dev-lisp/clisp stable won't compile with sys-devel/gcc stable. (In reply to comment #7) > (In reply to comment #6) > > Yes, but stable is 2.47, and gcc-4.4 has just gone stable too. Please, reopen. > > > > Hit that too, reopening. > don't do that, open stablereq's if needed... I think this should really be RESOLVED WONTFIX... This bug is specifically about dev-lisp/clisp-2.47-r1, and the decision was to not fix that version because 2.48 is out. I understand that there may not be much interest in fixing 2.47-r1 since 2.48 is already stable, but at the very least, dev-lisp/2.47-r1 should be keyworded... right now dev-lisp/2.47-r1 is marked stable, and it does *not* compile with stable gcc! That is a very big no no. (In reply to comment #9) > > don't do that, open stablereq's if needed... > (In reply to comment #10) > I think this should really be RESOLVED WONTFIX... This bug is specifically > about dev-lisp/clisp-2.47-r1, and the decision was to not fix that version > because 2.48 is out. > > I understand that there may not be much interest in fixing 2.47-r1 since 2.48 > is already stable, but at the very least, dev-lisp/2.47-r1 should be > keyworded... right now dev-lisp/2.47-r1 is marked stable, and it does *not* > compile with stable gcc! That is a very big no no. Erm, I obviously meant dev-lisp/clisp-2.47-1 in my previous comment; sorry. |