Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210606 - app-crypt/pinentry-0.7.4-r1 fails during configure due to flag-o-matic.eclass changes
Summary: app-crypt/pinentry-0.7.4-r1 fails during configure due to flag-o-matic.eclass...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-18 18:02 UTC by Tais P. Hansen
Modified: 2008-02-18 18:23 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 Tais P. Hansen 2008-02-18 18:02:02 UTC
Use of bindnow-flags is apparently now deprecated, causes pinentry (and possibly others) to break.

flag-o-matic.eclass:
# @FUNCTION: bindnow-flags
# @RETURN: Returns the flags to enable "now" binding in the current selected linker.
# @DESCRIPTION:
# DEPRECATED - Gets the flags needed for "NOW" binding
bindnow-flags() {
        ewarn "QA: stop using the bindnow-flags function ... simply drop it from your ebuild"

output:
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

config.log:
configure:2846: checking for C compiler default output file name
configure:2873: i686-pc-linux-gnu-gcc -march=prescott -O2 -pipe -ggdb3   * QA: stop using the bindnow-flags function ... simply drop it from your ebuild -Wl,
-z,now conftest.c  >&5
gcc: *: No such file or directory
gcc: QA:: No such file or directory
gcc: stop: No such file or directory
gcc: using: No such file or directory
gcc: the: No such file or directory
gcc: bindnow-flags: No such file or directory
gcc: function: No such file or directory
gcc: ...: No such file or directory
gcc: simply: No such file or directory
gcc: drop: No such file or directory
gcc: it: No such file or directory
gcc: from: No such file or directory
gcc: your: No such file or directory
gcc: ebuild: No such file or directory
configure:2876: $? = 1
configure:2914: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "pinentry"
| #define PACKAGE_TARNAME "pinentry"
| #define PACKAGE_VERSION "0.7.4"
| #define PACKAGE_STRING "pinentry 0.7.4"
| #define PACKAGE_BUGREPORT "gnupg-devel@gnupg.org"
| #define PACKAGE "pinentry"
| #define VERSION "0.7.4"
| #define _GNU_SOURCE 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2921: error: C compiler cannot create executables
Comment 1 Sven Wegener gentoo-dev 2008-02-18 18:23:59 UTC
That was a bug in the flag-o-matic eclass. I've just fixed it.