Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94016 - xscreensaver has a bad test in configure.in which causes failure
Summary: xscreensaver has a bad test in configure.in which causes failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High minor (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-25 16:50 UTC by Colin Kingsley (RETIRED)
Modified: 2005-09-30 17:37 UTC (History)
1 user (show)

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 Colin Kingsley (RETIRED) gentoo-dev 2005-05-25 16:50:06 UTC
The build system for this package runs a small test to see if the host system has a working bc binary. However it neglects to suppres the GNU welcome message that bc always prints, and thus its test fails.

The solution is to patch configure.in, line 311. bc should be run with the -q flag. made the change on my system with a sed in the ebuild and everything was happy.
Comment 1 Jonathan Smith (RETIRED) gentoo-dev 2005-06-23 15:21:30 UTC
later versions are not affected by this problem
Comment 2 Colin Kingsley (RETIRED) gentoo-dev 2005-08-01 12:32:56 UTC
same issue in version 4.22
Comment 3 Colin Kingsley (RETIRED) gentoo-dev 2005-08-01 20:27:46 UTC
on further inspection, it seems that the issue is resolved if I unset
BC_ENV_ARGS before attempting the compile. I use BC_ENV_ARGS to make bc show me
3 decimal places, however it also seems to force the banner to appear, no matter
what.

Still, the build should not fail because I'm using BC_ENV_ARGS. I believe the
simplest solution would be to unset the variable within the ebuild before
calling  the configure script.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2005-09-30 17:37:28 UTC
Fixed.