mate-desktop / mozo

Menu editor for MATE using the freedesktop.org menu specification
http://www.mate-desktop.org
GNU Lesser General Public License v2.1
28 stars 12 forks source link

Cannot upgrade mozo 1.23 using COPR, MATE-1.23.x repo owned by raveit65 #63

Closed rbuj closed 5 years ago

rbuj commented 5 years ago

Actual behaviour

I couldn't upgrade mozo to 1.23.0 using https://copr.fedorainfracloud.org/coprs/raveit65/MATE-1.23.x/ on Fedora Rawhide.

Steps to reproduce the behaviour

# LANG=C dnf upgrade -y --refresh
Copr repo for MATE-1.23.x owned by raveit65                                                             6.7 kB/s | 3.6 kB     00:00    
Fedora - Modular Rawhide - Developmental packages for the next Fedora release                            12 kB/s |  20 kB     00:01    
Fedora - Rawhide - Developmental packages for the next Fedora release                                    34 kB/s |  20 kB     00:00    
Modular dependency problem:

 Problem: conflicting requests
  - nothing provides module(ninja) needed by module meson:latest:3220190826183302:737d6d13-0.x86_64
Dependencies resolved.

 Problem: cannot install the best update candidate for package mozo-1.22.1-4.fc32.noarch
  - nothing provides python(abi) = 3.7 needed by mozo-1.23.0-1.fc31.noarch
========================================================================================================================================
 Package          Architecture       Version                      Repository                                                       Size
========================================================================================================================================
Skipping packages with broken dependencies:
 mozo             noarch             1.23.0-1.fc31                copr:copr.fedorainfracloud.org:raveit65:MATE-1.23.x             134 k

Transaction Summary
========================================================================================================================================
Skip  1 Package

Nothing to do.
Complete!

MATE general version

MATE-1.23.x

Package version

1.23.0-1.fc31

Linux Distribution

# cat /etc/redhat-release 
Fedora release 32 (Rawhide)
raveit65 commented 5 years ago

Isn't ninja in reops? https://koji.fedoraproject.org/koji/packageinfo?packageID=2642 Sounds like a fedora branching problem.... I can't fix that.

raveit65 commented 5 years ago

Downloading from koji and installing by hand should solve the problem.

rbuj commented 5 years ago

I couldn't build the rpm from the spec file:

$ LANG=C repoquery --repo=copr:copr.fedorainfracloud.org:raveit65:MATE-1.23.x -a | grep mozo
Last metadata expiration check: 0:13:44 ago on Sun Sep  1 11:50:19 2019.
mozo-0:1.23.0-1.fc31.noarch
mozo-0:1.23.0-1.fc31.src

$ git clone http://copr-dist-git.fedorainfracloud.org/git/raveit65/MATE-1.23.x/mozo.git
$ cd mozo
$ sudo dnf builddep -y mozo.spec
$ wget https://pub.mate-desktop.org/releases/1.23/mozo-1.23.0.tar.xz
$ md5sum mozo-1.23.0.tar.xz > sources
$ fedpkg local
...
Byte-compiling python modules...
config.py
Byte-compiling python modules (optimized versions) ...
config.py
make[2]: Leaving directory '/home/robert/mozo/mozo-1.23.0/Mozo'
make[1]: Leaving directory '/home/robert/mozo/mozo-1.23.0/Mozo'
make[1]: Entering directory '/home/robert/mozo/mozo-1.23.0'
make[2]: Entering directory '/home/robert/mozo/mozo-1.23.0'
 /usr/bin/mkdir -p '/home/robert/rpmbuild/BUILDROOT/mozo-1.23.0-1.fc31.x86_64/usr/bin'
 /usr/bin/install -p mozo '/home/robert/rpmbuild/BUILDROOT/mozo-1.23.0-1.fc31.x86_64/usr/bin'
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/robert/mozo/mozo-1.23.0'
make[1]: Leaving directory '/home/robert/mozo/mozo-1.23.0'
+ desktop-file-install --dir=/home/robert/rpmbuild/BUILDROOT/mozo-1.23.0-1.fc31.x86_64/usr/share/applications /home/robert/rpmbuild/BUILDROOT/mozo-1.23.0-1.fc31.x86_64/usr/share/applications/mozo.desktop
+ /usr/lib/rpm/find-lang.sh /home/robert/rpmbuild/BUILDROOT/mozo-1.23.0-1.fc31.x86_64 mozo --with-gnome --all-name
+ /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 1.23.0-1.fc31 --unique-debug-suffix -1.23.0-1.fc31.x86_64 --unique-debug-src-base mozo-1.23.0-1.fc31.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/robert/mozo/mozo-1.23.0
find: ‘debug’: No such file or directory
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0
Bytecompiling .py files below /home/robert/rpmbuild/BUILDROOT/mozo-1.23.0-1.fc31.x86_64/usr/lib/python3.8 using /usr/bin/python3.8
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** ERROR: ambiguous python shebang in /usr/bin/mozo: #!/usr/bin/python -OOt. Change it to python3 (or python2) explicitly.
error: Bad exit status from /var/tmp/rpm-tmp.KAOUwt (%install)
    Bad exit status from /var/tmp/rpm-tmp.KAOUwt (%install)

RPM build errors:
Could not execute local: rpmbuild --define '_sourcedir /home/robert/mozo' --define '_specdir /home/robert/mozo' --define '_builddir /home/robert/mozo' --define '_srcrpmdir /home/robert/mozo' --define '_rpmdir /home/robert/mozo' --define 'dist %{?distprefix}.fc31' --define 'fedora 31' --eval '%undefine rhel' --define 'fc31 1' --eval '%undefine fc32' -ba /home/robert/mozo/mozo.spec | tee .build-1.23.0-1.fc31.log
raveit65 commented 5 years ago

Honestly f31 was branched one week ago or so. This is normal business in fedora that not all will work after branching in rawhide. Keep in mind that f31 will release in 2 or 3 month. I wouldn't spend time for this at the moment. Believe me, a lot of issues with rawhide will gone in some weeks.

raveit65 commented 5 years ago

Fedora COPR is branched and it has now f31, and i was able to rebuild mozo and the rest of the MATE stack for f31 and rawhide (f32). https://copr.fedorainfracloud.org/coprs/raveit65/MATE-1.23.x/build/1027095/ Except engrampa and mate-backgrounds.

raveit65 commented 5 years ago

Latest builds https://copr.fedorainfracloud.org/coprs/raveit65/MATE-1.23.x/builds/

rbuj commented 5 years ago

@raveit65 Thank you very much!

$ sudo dnf upgrade -y --refresh
$ dnf repository-packages copr:copr.fedorainfracloud.org:raveit65:MATE-1.23.x list --installed | sed 's/  */ /g' | cut -d' ' -f1,2 | grep fc32
atril.x86_64 1.23.1-1.fc32
atril-caja.x86_64 1.23.1-1.fc32
atril-libs.x86_64 1.23.1-1.fc32
atril-thumbnailer.x86_64 1.23.1-1.fc32
caja.x86_64 1.23.2-1.fc32
caja-core-extensions.x86_64 1.23.2-1.fc32
caja-devel.x86_64 1.23.2-1.fc32
caja-extensions-common.noarch 1.23.0-1.fc32
caja-image-converter.x86_64 1.23.0-1.fc32
caja-open-terminal.x86_64 1.23.0-1.fc32
caja-schemas.x86_64 1.23.2-1.fc32
caja-sendto.x86_64 1.23.0-1.fc32
caja-wallpaper.x86_64 1.23.0-1.fc32
caja-xattr-tags.x86_64 1.23.0-1.fc32
eom.x86_64 1.23.0-1.fc32
libmatekbd.x86_64 1.23.0-1.fc32
libmatemixer.x86_64 1.23.0-1.fc32
libmateweather.x86_64 1.23.0-1.fc32
libmateweather-data.noarch 1.23.0-1.fc32
marco.x86_64 1.23.1-2.fc32
marco-libs.x86_64 1.23.1-2.fc32
mate-applets.x86_64 1.23.0-1.fc32
mate-calc.x86_64 1.23.0-1.fc32
mate-control-center.x86_64 1.23.2-1.fc32
mate-control-center-filesystem.x86_64 1.23.2-1.fc32
mate-desktop.x86_64 1.23.2-1.fc32
mate-desktop-devel.x86_64 1.23.2-1.fc32
mate-desktop-libs.x86_64 1.23.2-1.fc32
mate-dictionary.x86_64 1.23.0-1.fc32
mate-disk-usage-analyzer.x86_64 1.23.0-1.fc32
mate-icon-theme.noarch 1.23.1-1.fc32
mate-media.x86_64 1.23.0-1.fc32
mate-menus.x86_64 1.23.0-1.fc32
mate-menus-devel.x86_64 1.23.0-1.fc32
mate-menus-libs.x86_64 1.23.0-1.fc32
mate-menus-preferences-category-menu.x86_64 1.23.0-1.fc32
mate-notification-daemon.x86_64 1.23.0-1.fc32
mate-panel.x86_64 1.23.1-1.fc32
mate-panel-libs.x86_64 1.23.1-1.fc32
mate-polkit.x86_64 1.23.0-1.fc32
mate-power-manager.x86_64 1.23.0-1.fc32
mate-screensaver.x86_64 1.23.0-1.fc32
mate-screenshot.x86_64 1.23.0-1.fc32
mate-search-tool.x86_64 1.23.0-1.fc32
mate-session-manager.x86_64 1.23.0-1.fc32
mate-settings-daemon.x86_64 1.23.2-1.fc32
mate-system-log.x86_64 1.23.0-1.fc32
mate-system-monitor.x86_64 1.23.0-1.fc32
mate-terminal.x86_64 1.23.0-1.fc32
mate-user-guide.noarch 1.23.1-1.fc32
mate-utils-common.noarch 1.23.0-1.fc32
mozo.noarch 1.23.0-1.fc32
pluma.x86_64 1.23.2-1.fc32
pluma-data.noarch 1.23.2-1.fc32
$ dnf repository-packages copr:copr.fedorainfracloud.org:raveit65:MATE-1.23.x list --installed | sed 's/  */ /g' | cut -d' ' -f1,2 | grep -v fc32
Paquets instal·lats
engrampa.x86_64 1.23.0-1.fc31
mate-backgrounds.noarch 1.23.0-1.fc31