Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60566 - When trying to emerge xscreensaver, configure fails.
Summary: When trying to emerge xscreensaver, configure fails.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Don Seiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-16 09:24 UTC by Robert Marmorstein
Modified: 2005-02-24 13:46 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 Robert Marmorstein 2004-08-16 09:24:29 UTC
When I try to emerge xscreensaver, it fails with a "configure cannot build
executables, see config.log for more information."

USE="-icc" emerge xscreensaver worked, though.


Reproducible: Always
Steps to Reproduce:
1.Put "i+icc" in your USE flags.
2.emerge xscreensaver
3.

Actual Results:  
Emerge fails with the previously mentioned error.

Expected Results:  
Installed xscreensaver.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-16 10:43:44 UTC
can you please paste the error for us? (and attach the config.log)
Comment 2 Erlend Pedersen :. 2004-08-18 15:43:00 UTC
Fails for me, too. Looking at the ebuild, it looks like a patch for ICC was commented out (because it was too old), but the USE flag left. I tried attaching my config.log, but ... dunno .. didn't work.

My config.log contains these lines, though:

configure:1987: checking for C compiler version
configure:1990: icc --version </dev/null >&5
8.0
configure:1993: $? = 0
configure:1995: icc -v </dev/null >&5
Version 8.0
configure:1998: $? = 0
configure:2000: icc -V </dev/null >&5
Intel(R) C++ Compiler for 32-bit applications, Version 8.0   Build 20031016Z Package ID: l_cc_p_8.0.055
Copyright (C) 1985-2003 Intel Corporation.  All rights reserved.
FOR NON-COMMERCIAL USE ONLY

iccbin: Command line error: no files specified; for help type "iccbin -help"
configure:2003: $? = 1
configure:2026: checking for C compiler default output file name
configure:2029: icc -O2 -march=pentium3 -fomit-frame-pointer -pipe   conftest.c  >&5
iccbin: Command line error: invalid argument for option '-march'
configure:2032: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2071: error: C compiler cannot create executables
See `config.log' for more details.
Comment 3 Geert Vanhaute 2004-12-24 02:56:43 UTC
Same problem for me :
Compilation of xscreensaver-4.16 fails on ICC
Compilerflags and licence of ICC is set correctly.
Version 4.15 compiles correctly.

This is the error produced with 4.16:
 ../utils/erase.o(.text+0x24b7): In function `losira':
 : undefined reference to `vmldCos2'
 ../utils/erase.o(.text+0x24ef): In function `losira':
 : undefined reference to `vmldSin2'
 make[1]: *** [braid] Error 1
 make[1]: Leaving directory `/var/tmp/portage/xscreensaver-4.16/work/xscreensaver-4.16/hacks'
 make: *** [default] Error 5
 
 !!! ERROR: x11-misc/xscreensaver-4.16 failed.
 !!! Function src_compile, Line 152, Exitcode 2
 !!! (no error message)
 !!! If you need support, post the topmost build error, NOT this status message.

Comment 4 Christoph Brill (egore) (RESIGNED) 2005-01-23 13:18:20 UTC
I have the same error like Comment #3

I got it working with adding -icc to x11-misc/xscreensaver in /etc/portage/packages.use
Comment 5 Don Seiler (RETIRED) gentoo-dev 2005-02-24 13:42:23 UTC
Is a viable solution just to comment out the rest of ICC stuff in the ebuild?
Comment 6 Don Seiler (RETIRED) gentoo-dev 2005-02-24 13:46:34 UTC
Commented out all ICC-related code in ebuilds for 4.16 and 4.20.