no python on fedora 29 copr












1















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











share|improve this question





























    1















    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











    share|improve this question



























      1












      1








      1








      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











      share|improve this question
















      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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 38 mins ago







      Cyker

















      asked 1 hour ago









      CykerCyker

      1,40721530




      1,40721530






















          1 Answer
          1






          active

          oldest

          votes


















          3














          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.






          share|improve this answer


























          • 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 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













          • 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











          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
          });


          }
          });














          draft saved

          draft discarded


















          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









          3














          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.






          share|improve this answer


























          • 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 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













          • 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
















          3














          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.






          share|improve this answer


























          • 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 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













          • 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














          3












          3








          3







          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.






          share|improve this answer















          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.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          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 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













          • 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



















          • 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 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













          • 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

















          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


















          draft saved

          draft discarded




















































          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.




          draft saved


          draft discarded














          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





















































          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







          Popular posts from this blog

          Liste der Baudenkmale in Friedland (Mecklenburg)

          Single-Malt-Whisky

          Czorneboh