Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551780 - app-backup/backintime-1.1.4 fails to build due to wrong python version test in ./configure
Summary: app-backup/backintime-1.1.4 fails to build due to wrong python version test i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-11 13:41 UTC by Timo Ollech
Modified: 2015-11-09 09:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch that fixes the configure script (configure.patch,470 bytes, patch)
2015-06-16 14:46 UTC, Fabian Kislat
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Ollech 2015-06-11 13:41:40 UTC
With the latest version 1.1.4 first I had to add the USE flag python_single_target_python3_3 for backintime to build, as Python 2.7 is still my system default. Now the build fails with the following schizophrenic error message:

Python 3.3.5
Warning: Wrong Python version.
Please make sure Python 3.x is used by adding '--python' or '--python3'.
 * ERROR: app-backup/backintime-1.1.4::gentoo failed (configure phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_configure
 *   environment, line 2817:  Called die
 * The specific snippet of code:
 *       ./configure --python3 --no-fuse-group || die;


Python 3.3.5 qualifies for being Python 3.x in my view... So the test in the configure script must be wrong somehow, but I can't figure out how to fix it.

Reproducible: Always
Comment 1 Fabian Kislat 2015-06-16 14:46:32 UTC
Created attachment 405244 [details, diff]
A patch that fixes the configure script

I observed the same thing. The reason is that 'python3 --version' outputs the version number to stderr, not stdout, so the grep won't see it. I attached a patch that should fix it (I didn't run the entire emerge, but configure now works).
Comment 3 Michael Weber (RETIRED) gentoo-dev 2015-11-09 09:42:26 UTC
FYI, this change was included in 1.1.8.