Re: F29 Mass rebuild - Help needed to fix failed build

2018-07-19 Thread Miro Hrončok

On 18.7.2018 15:23, Zoltan Kota wrote:

Hi All,

The Mass rebuild of pybliographer failed. See below:

Fwd: releng's pybliographer-1.2.18-4.fc29 failed to build

Notification time stamped 2018-07-15 03:04:40 UTC

releng's pybliographer-1.2.18-4.fc29 failed to build
http://koji.fedoraproject.org/koji/buildinfo?buildID=1121364

It seems the .configure script does not find 'python'. The script uses 
Python variable to store python path (configure.ac 
: AC_PATH_PROG(Python, python, no) ).


Can I add/override this variable in the spec file?
eg. %configure Python=%{__python2}

or what is the correct syntax/way to fix the issue?


A PR: https://src.fedoraproject.org/rpms/pybliographer/pull-request/1

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NVI63ABNA5TRQR4KZEPOCJJIIBTJOWMW/


Re: F29 Mass rebuild - Help needed to fix failed build

2018-07-19 Thread Miro Hrončok

On 18.7.2018 18:07, Peter Robinson wrote:

On Wed, Jul 18, 2018 at 3:18 PM, Mattias Ellert
 wrote:

ons 2018-07-18 klockan 15:23 +0200 skrev Zoltan Kota:

Hi All,

The Mass rebuild of pybliographer failed. See below:

Fwd: releng's pybliographer-1.2.18-4.fc29 failed to build

Notification time stamped 2018-07-15 03:04:40 UTC

releng's pybliographer-1.2.18-4.fc29 failed to build
 http://koji.fedoraproject.org/koji/buildinfo?buildID=1121364

It seems the .configure script does not find 'python'. The script uses Python 
variable to store python path (configure.ac: AC_PATH_PROG(Python, python, no) ).

Can I add/override this variable in the spec file?
eg. %configure Python=%{__python2}

or what is the correct syntax/way to fix the issue?

Thanks,
Zoltan


diff --git a/pybliographer.spec b/pybliographer.spec
index ac77e97..4649812 100644
--- a/pybliographer.spec
+++ b/pybliographer.spec
@@ -47,6 +47,7 @@ file formats: BibTeX, ISI, Medline, Ovid, Refer.
  %setup -q

  %build
+export Python=/usr/bin/python2


Or you can add:

BuildRequires: python-unversioned-command



No. You cannot.

1) that is supposed to be a temporary workaround, not a solution. this 
is an easyfix that needs no workarounds.
2) also 
https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package#Don.27t_.28Build.29Require_python-unversioned-command.2C_but_.2Fusr.2Fbin.2Fpython


Using unversioned python command in build of RPM packages in Fedora is 
against the guidelines. We realize that sometimes it's unavoidable, but 
this is not the case. Please stop providing advice that is against the 
packaging guidelines.


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AA76S5NQUVCSPFZOZH4CRDMBQCOFL6O7/


Re: F29 Mass rebuild - Help needed to fix failed build

2018-07-18 Thread Peter Robinson
On Wed, Jul 18, 2018 at 3:18 PM, Mattias Ellert
 wrote:
> ons 2018-07-18 klockan 15:23 +0200 skrev Zoltan Kota:
>> Hi All,
>>
>> The Mass rebuild of pybliographer failed. See below:
>> 
>> Fwd: releng's pybliographer-1.2.18-4.fc29 failed to build
>>
>> Notification time stamped 2018-07-15 03:04:40 UTC
>>
>> releng's pybliographer-1.2.18-4.fc29 failed to build
>> http://koji.fedoraproject.org/koji/buildinfo?buildID=1121364
>> 
>> It seems the .configure script does not find 'python'. The script uses 
>> Python variable to store python path (configure.ac: AC_PATH_PROG(Python, 
>> python, no) ).
>>
>> Can I add/override this variable in the spec file?
>> eg. %configure Python=%{__python2}
>>
>> or what is the correct syntax/way to fix the issue?
>>
>> Thanks,
>> Zoltan
>
> diff --git a/pybliographer.spec b/pybliographer.spec
> index ac77e97..4649812 100644
> --- a/pybliographer.spec
> +++ b/pybliographer.spec
> @@ -47,6 +47,7 @@ file formats: BibTeX, ISI, Medline, Ovid, Refer.
>  %setup -q
>
>  %build
> +export Python=/usr/bin/python2

Or you can add:

BuildRequires: python-unversioned-command
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/D6E6N67IUJ3IJM7NMML7VUFJYEC2HSMN/


Re: F29 Mass rebuild - Help needed to fix failed build

2018-07-18 Thread Mattias Ellert
ons 2018-07-18 klockan 15:23 +0200 skrev Zoltan Kota:
> Hi All,
> 
> The Mass rebuild of pybliographer failed. See below:
> 
> Fwd: releng's pybliographer-1.2.18-4.fc29 failed to build
> 
> Notification time stamped 2018-07-15 03:04:40 UTC
> 
> releng's pybliographer-1.2.18-4.fc29 failed to build
> http://koji.fedoraproject.org/koji/buildinfo?buildID=1121364
> 
> It seems the .configure script does not find 'python'. The script uses Python 
> variable to store python path (configure.ac: AC_PATH_PROG(Python, python, no) 
> ).
> 
> Can I add/override this variable in the spec file? 
> eg. %configure Python=%{__python2}
> 
> or what is the correct syntax/way to fix the issue?
> 
> Thanks,
> Zoltan

diff --git a/pybliographer.spec b/pybliographer.spec
index ac77e97..4649812 100644
--- a/pybliographer.spec
+++ b/pybliographer.spec
@@ -47,6 +47,7 @@ file formats: BibTeX, ISI, Medline, Ovid, Refer.
 %setup -q
 
 %build
+export Python=/usr/bin/python2
 %configure
 make %{?_smp_mflags}
 
Mattias


smime.p7s
Description: S/MIME cryptographic signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/SFNZXL6CPL3UL6RWQ7XXICJMFXYZMV2X/


F29 Mass rebuild - Help needed to fix failed build

2018-07-18 Thread Zoltan Kota
Hi All,

The Mass rebuild of pybliographer failed. See below:

Fwd: releng's pybliographer-1.2.18-4.fc29 failed to build

Notification time stamped 2018-07-15 03:04:40 UTC

releng's pybliographer-1.2.18-4.fc29 failed to build
http://koji.fedoraproject.org/koji/buildinfo?buildID=1121364

It seems the .configure script does not find 'python'. The script uses
Python variable to store python path (configure.ac: AC_PATH_PROG(Python,
python, no) ).

Can I add/override this variable in the spec file?
eg. %configure Python=%{__python2}

or what is the correct syntax/way to fix the issue?

Thanks,
Zoltan
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/YRGJVYBQCLANUSZJW5IIXGVRSFXFX3W6/