no python on fedora 29 copr
one of my src rpm submitted to copr for build failed because there is no python; is this because something is wrong with the src rpm itself, or there is simply no python on copr machines, or i missed some settings?
checking for perl... /usr/bin/perl
checking for python... no
BUILDSTDERR: configure: error: You need 'python' to compile XXX
fedora rpmbuild
add a comment |
one of my src rpm submitted to copr for build failed because there is no python; is this because something is wrong with the src rpm itself, or there is simply no python on copr machines, or i missed some settings?
checking for perl... /usr/bin/perl
checking for python... no
BUILDSTDERR: configure: error: You need 'python' to compile XXX
fedora rpmbuild
add a comment |
one of my src rpm submitted to copr for build failed because there is no python; is this because something is wrong with the src rpm itself, or there is simply no python on copr machines, or i missed some settings?
checking for perl... /usr/bin/perl
checking for python... no
BUILDSTDERR: configure: error: You need 'python' to compile XXX
fedora rpmbuild
one of my src rpm submitted to copr for build failed because there is no python; is this because something is wrong with the src rpm itself, or there is simply no python on copr machines, or i missed some settings?
checking for perl... /usr/bin/perl
checking for python... no
BUILDSTDERR: configure: error: You need 'python' to compile XXX
fedora rpmbuild
fedora rpmbuild
edited 38 mins ago
Cyker
asked 1 hour ago
CykerCyker
1,40721530
1,40721530
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
It's very likely that you are missing one or more of:
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python-unversioned-command
in your spec file. The build environment starts out rather minimal and BuildRequires are used to pull in additional things. Python is rather large, so there was effort to move it from the default buildroot a little while ago.
See Dependencies in the Python section of the Fedora Packaging Guidelines.
hello, i added that line in spec, but configure still fails; same error (no python); it's the webkitgtk source rpm pulled from fedora 26 (because it was removed since fedora 27);
– Cyker
1 hour ago
Possible that that requires Python 2?
– mattdm
1 hour ago
added bothpython2-devel
andpython3-devel
, but configure script still cannot find python on copr; the same script is ok on local machine; would you mind taking a look at the log here?
– Cyker
1 hour ago
it seems on fedora 29/usr/bin/python
is installed by packagepython-unversioned-command
, neitherpython2
norpython3
; does this matter? source
– Cyker
1 hour ago
looks like problem goes away when i addedBuildRequires: python-unversioned-command
in addition to the other twoBuildRequires
; now it passed configure and started make; thank you very much;
– Cyker
40 mins ago
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494139%2fno-python-on-fedora-29-copr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It's very likely that you are missing one or more of:
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python-unversioned-command
in your spec file. The build environment starts out rather minimal and BuildRequires are used to pull in additional things. Python is rather large, so there was effort to move it from the default buildroot a little while ago.
See Dependencies in the Python section of the Fedora Packaging Guidelines.
hello, i added that line in spec, but configure still fails; same error (no python); it's the webkitgtk source rpm pulled from fedora 26 (because it was removed since fedora 27);
– Cyker
1 hour ago
Possible that that requires Python 2?
– mattdm
1 hour ago
added bothpython2-devel
andpython3-devel
, but configure script still cannot find python on copr; the same script is ok on local machine; would you mind taking a look at the log here?
– Cyker
1 hour ago
it seems on fedora 29/usr/bin/python
is installed by packagepython-unversioned-command
, neitherpython2
norpython3
; does this matter? source
– Cyker
1 hour ago
looks like problem goes away when i addedBuildRequires: python-unversioned-command
in addition to the other twoBuildRequires
; now it passed configure and started make; thank you very much;
– Cyker
40 mins ago
add a comment |
It's very likely that you are missing one or more of:
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python-unversioned-command
in your spec file. The build environment starts out rather minimal and BuildRequires are used to pull in additional things. Python is rather large, so there was effort to move it from the default buildroot a little while ago.
See Dependencies in the Python section of the Fedora Packaging Guidelines.
hello, i added that line in spec, but configure still fails; same error (no python); it's the webkitgtk source rpm pulled from fedora 26 (because it was removed since fedora 27);
– Cyker
1 hour ago
Possible that that requires Python 2?
– mattdm
1 hour ago
added bothpython2-devel
andpython3-devel
, but configure script still cannot find python on copr; the same script is ok on local machine; would you mind taking a look at the log here?
– Cyker
1 hour ago
it seems on fedora 29/usr/bin/python
is installed by packagepython-unversioned-command
, neitherpython2
norpython3
; does this matter? source
– Cyker
1 hour ago
looks like problem goes away when i addedBuildRequires: python-unversioned-command
in addition to the other twoBuildRequires
; now it passed configure and started make; thank you very much;
– Cyker
40 mins ago
add a comment |
It's very likely that you are missing one or more of:
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python-unversioned-command
in your spec file. The build environment starts out rather minimal and BuildRequires are used to pull in additional things. Python is rather large, so there was effort to move it from the default buildroot a little while ago.
See Dependencies in the Python section of the Fedora Packaging Guidelines.
It's very likely that you are missing one or more of:
BuildRequires: python2-devel
BuildRequires: python3-devel
BuildRequires: python-unversioned-command
in your spec file. The build environment starts out rather minimal and BuildRequires are used to pull in additional things. Python is rather large, so there was effort to move it from the default buildroot a little while ago.
See Dependencies in the Python section of the Fedora Packaging Guidelines.
edited 13 mins ago
Cyker
1,40721530
1,40721530
answered 1 hour ago
mattdmmattdm
28.3k1172112
28.3k1172112
hello, i added that line in spec, but configure still fails; same error (no python); it's the webkitgtk source rpm pulled from fedora 26 (because it was removed since fedora 27);
– Cyker
1 hour ago
Possible that that requires Python 2?
– mattdm
1 hour ago
added bothpython2-devel
andpython3-devel
, but configure script still cannot find python on copr; the same script is ok on local machine; would you mind taking a look at the log here?
– Cyker
1 hour ago
it seems on fedora 29/usr/bin/python
is installed by packagepython-unversioned-command
, neitherpython2
norpython3
; does this matter? source
– Cyker
1 hour ago
looks like problem goes away when i addedBuildRequires: python-unversioned-command
in addition to the other twoBuildRequires
; now it passed configure and started make; thank you very much;
– Cyker
40 mins ago
add a comment |
hello, i added that line in spec, but configure still fails; same error (no python); it's the webkitgtk source rpm pulled from fedora 26 (because it was removed since fedora 27);
– Cyker
1 hour ago
Possible that that requires Python 2?
– mattdm
1 hour ago
added bothpython2-devel
andpython3-devel
, but configure script still cannot find python on copr; the same script is ok on local machine; would you mind taking a look at the log here?
– Cyker
1 hour ago
it seems on fedora 29/usr/bin/python
is installed by packagepython-unversioned-command
, neitherpython2
norpython3
; does this matter? source
– Cyker
1 hour ago
looks like problem goes away when i addedBuildRequires: python-unversioned-command
in addition to the other twoBuildRequires
; now it passed configure and started make; thank you very much;
– Cyker
40 mins ago
hello, i added that line in spec, but configure still fails; same error (no python); it's the webkitgtk source rpm pulled from fedora 26 (because it was removed since fedora 27);
– Cyker
1 hour ago
hello, i added that line in spec, but configure still fails; same error (no python); it's the webkitgtk source rpm pulled from fedora 26 (because it was removed since fedora 27);
– Cyker
1 hour ago
Possible that that requires Python 2?
– mattdm
1 hour ago
Possible that that requires Python 2?
– mattdm
1 hour ago
added both
python2-devel
and python3-devel
, but configure script still cannot find python on copr; the same script is ok on local machine; would you mind taking a look at the log here?– Cyker
1 hour ago
added both
python2-devel
and python3-devel
, but configure script still cannot find python on copr; the same script is ok on local machine; would you mind taking a look at the log here?– Cyker
1 hour ago
it seems on fedora 29
/usr/bin/python
is installed by package python-unversioned-command
, neither python2
nor python3
; does this matter? source– Cyker
1 hour ago
it seems on fedora 29
/usr/bin/python
is installed by package python-unversioned-command
, neither python2
nor python3
; does this matter? source– Cyker
1 hour ago
looks like problem goes away when i added
BuildRequires: python-unversioned-command
in addition to the other two BuildRequires
; now it passed configure and started make; thank you very much;– Cyker
40 mins ago
looks like problem goes away when i added
BuildRequires: python-unversioned-command
in addition to the other two BuildRequires
; now it passed configure and started make; thank you very much;– Cyker
40 mins ago
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f494139%2fno-python-on-fedora-29-copr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown