#2 Fix FTBFS errors for F33/Rawhide and ELN
Merged 3 years ago by catanzaro. Opened 3 years ago by merlinm.
rpms/ merlinm/rhythmbox eln  into  master

file modified
+11 -7
@@ -1,7 +1,3 @@ 

- # This package depends on automagic byte compilation

- # https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2

- %global _python_bytecompile_extra 1

- 

  %global gtk3_version 3.20.0

  %global libdmapsharing_version 2.9.19

  %global libsecret_version 0.18
@@ -9,7 +5,7 @@ 

  Name: rhythmbox

  Summary: Music Management Application

  Version: 3.4.4

- Release: 3%{?dist}

+ Release: 4%{?dist}

  License: GPLv2+ with exceptions and GFDL

  URL: https://wiki.gnome.org/Apps/Rhythmbox

  #VCS: git://git.gnome.org/rhythmbox
@@ -24,7 +20,7 @@ 

  BuildRequires: pkgconfig(json-glib-1.0)

  BuildRequires: pkgconfig(libbrasero-media3)

  BuildRequires: pkgconfig(libdmapsharing-3.0) >= %{libdmapsharing_version}

- %if ! 0%{?rhel}

+ %if 0%{?fedora} || 0%{?rhel} >= 9

  BuildRequires: pkgconfig(libgpod-1.0)

  %endif

  BuildRequires: pkgconfig(libmtp)
@@ -47,7 +43,7 @@ 

  ExcludeArch:    s390 s390x

  

  Requires: gtk3%{?_isa} >= %{gtk3_version}

- %if ! 0%{?rhel}

+ %if 0%{?fedora} || 0%{?rhel} >= 9

  Requires: gvfs-afc

  %endif

  Requires: libdmapsharing%{?_isa} >= %{libdmapsharing_version}
@@ -93,6 +89,9 @@ 

  %install

  %make_install

  

+ # Byte-compile Python plugins that are outside the standard Python paths

+ %py_byte_compile %{__python3} %{buildroot}%{_libdir}/rhythmbox

+ 

  # Remove libtool .la files

  find %{buildroot} -name "*.la" -type f -delete

  
@@ -179,6 +178,11 @@ 

  %{_datadir}/gir-1.0/*.gir

  

  %changelog

+ * Thu Jun 25 2020 Merlin Mathesius <mmathesi@redhat.com> - 3.4.4-4

+ - Add explicit % py_byte_compile since % _python_bytecompile_extra has been discontinued

+   See: https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_3

+ - Minor conditional fixes for ELN

+ 

  * Fri Feb 14 2020 Bastien Nocera <bnocera@redhat.com> - 3.4.4-3

  + rhythmbox-3.4.4-3

  - Disable "iPod" support on RHEL, it doesn't work on any modern devices

Pull-Request has been merged by catanzaro

3 years ago

Thanks... I've started a build for rawhide. Not sure what the procedure is for ELN.

Thank you! ELN is as straight forward as running fedpkg build --target eln with the master branch checked out.

OK, kicked off an ELN build too, but as long as it's a separate step, it's a step that's not going to happen very often I suspect. ;) Probably should trigger a new build automatically whenever there's a new build in rawhide....

ELN build has failed:

DEBUG util.py:621:  Errors during downloading metadata for repository 'build':
DEBUG util.py:621:    - Curl error (7): Couldn't connect to server for https://kojipkgs02.fedoraproject.org/repos/eln-build/1669369/s390x/repodata/a675dbc3f29437f1a10e488861eb06cec6d8aa533e7b7fb4e44987f881cb81ae-filelists.xml.gz [Failed to connect to kojipkgs02.fedoraproject.org port 443: No route to host]
DEBUG util.py:621:    - Curl error (7): Couldn't connect to server for https://kojipkgs02.fedoraproject.org/repos/eln-build/1669369/s390x/repodata/f60c48574ff9a3c44f18bb406715d666887ef0896eedf2ec61d4dbe87a2c2088-primary.xml.gz [Failed to connect to kojipkgs02.fedoraproject.org port 443: No route to host]
DEBUG util.py:621:    - Curl error (7): Couldn't connect to server for https://kojipkgs01.fedoraproject.org/repos/eln-build/1669369/s390x/repodata/f60c48574ff9a3c44f18bb406715d666887ef0896eedf2ec61d4dbe87a2c2088-primary.xml.gz [Failed to connect to kojipkgs01.fedoraproject.org port 443: No route to host]
DEBUG util.py:621:    - Curl error (18): Transferred a partial file for http://kojipkgs-cache01.s390.fedoraproject.org/repos/eln-build/1669369/s390x/repodata/f60c48574ff9a3c44f18bb406715d666887ef0896eedf2ec61d4dbe87a2c2088-primary.xml.gz [transfer closed with 2200502 bytes remaining to read]
DEBUG util.py:621:    - Curl error (18): Transferred a partial file for http://kojipkgs-cache01.s390.fedoraproject.org/repos/eln-build/1669369/s390x/repodata/a675dbc3f29437f1a10e488861eb06cec6d8aa533e7b7fb4e44987f881cb81ae-filelists.xml.gz [transfer closed with 22753972 bytes remaining to read]
DEBUG util.py:621:    - Curl error (7): Couldn't connect to server for https://kojipkgs01.fedoraproject.org/repos/eln-build/1669369/s390x/repodata/a675dbc3f29437f1a10e488861eb06cec6d8aa533e7b7fb4e44987f881cb81ae-filelists.xml.gz [Failed to connect to kojipkgs01.fedoraproject.org port 443: No route to host]
DEBUG util.py:621:  Error: Failed to download metadata for repo 'build': Yum repo downloading error: Downloading error(s): repodata/f60c48574ff9a3c44f18bb406715d666887ef0896eedf2ec61d4dbe87a2c2088-primary.xml.gz - Cannot download, all mirrors were already tried without success; repodata/a675dbc3f29437f1a10e488861eb06cec6d8aa533e7b7fb4e44987f881cb81ae-filelists.xml.gz - Cannot download, all mirrors were already tried without success

rawhide build is progressing fine.

There should soon be automation driving the ELN builds. Manual ELN builds will typically only be needed when testing.

The ELN build errors are the result of instability with the s390x builders in the Fedora build infrastructure, and has been causing all sorts of headaches! I kicked off the build again and it's running fine so far. I'll keep an eye on it.

Metadata