Created attachment 14469 [details] patch to change pyproject name to xdg-base-dirs Conflicting files between python3-xdg and python3-pyxdg have been solved upstream by renaming python "xdg" project to "xdg-base-dirs". Attached is a patch for python3-xdg spec file that keeps Mageia package name unchanged but everything else adheres to the new name. Mageia 9 is affected too. Luckily, there are no obvious dependencies on this pyhton3-xdg and I run into it by playing with fvwm3 and its application menu not displaying properly.
Fixed for Cauldron by renaming python-xdg to python-xdg-base-dirs!
CC: (none) => geiger.david68210
(In reply to David GEIGER from comment #1) > Fixed for Cauldron by renaming python-xdg to python-xdg-base-dirs! Seeing that you run into an error/typo because of my proposed changes I wondered why it worked for me. It turns out with the typo the tests conditional was always true but the tar source file from pypi doesn't contain the tests as the one from git repo does and those tests run without error for me so the package had no issues building. Anyhow, sorry for that and as usual great job. I'm not sure if I should close or not this bug. PS: Mageia 9 will need BR: pyproject-rpm-macros and python3-devel is called twice.
(In reply to Aurelian R from comment #2) > (In reply to David GEIGER from comment #1) > > Fixed for Cauldron by renaming python-xdg to python-xdg-base-dirs! > > Seeing that you run into an error/typo because of my proposed changes I > I'm not sure if I should close or not this bug. I was unsure whether you agreed that DavidG's fix was sufficient, or whether a residual problem remains. If this applies to just Cauldron, the bug can be closed Fixed. If it applies to Mageia 9, put MGA9TOO in whiteboard, and leave it open for that. > PS: Mageia 9 will need BR: pyproject-rpm-macros and python3-devel is called > twice. Please clarify this. Do you mean this bug; or a different one for a different problem? Where are the duplicated calls?
CC: (none) => lewyssmith
(In reply to Lewis Smith from comment #3) > I was unsure whether you agreed that DavidG's fix was sufficient, or whether > a residual problem remains. David's fix is sufficient for the python module to work, I just needed to understand myself that the source he used, namely the pypi source, doesn't have the module's self test included. > If this applies to just Cauldron, the bug can be closed Fixed. If it applies > to Mageia 9, put MGA9TOO in whiteboard, and leave it open for that. MGA9TOO indeed. > > PS: Mageia 9 will need BR: pyproject-rpm-macros and python3-devel is called > > twice. > Please clarify this. Do you mean this bug; or a different one for a > different problem? Where are the duplicated calls? Those are comments about python-xdg spec file when the package is build for Mageia 9, namely, an additional "BuildRequires: pyproject-rpm-macros" and a merely format/clean-up aspect, without consequence though, of python-devel being listed twice in the "BuildRequires" list.
Whiteboard: (none) => MGA9TOO
Thanks for these points. Can we give this to you, David, for M9, since you have already done half of it.
CC: geiger.david68210, lewyssmith => (none)Assignee: bugsquad => geiger.david68210
So python3-xdg was also replaced by python3-xdg-base-dirs for mga9! Assigning to QA, Packages in 9/Core/Updates_testing: ====================== python3-xdg-base-dirs-6.0.1-1.mga9.noarch.rpm From SRPMS: python-xdg-base-dirs-6.0.1-1.mga9.src.rpm
Assignee: geiger.david68210 => qa-bugsVersion: Cauldron => 9Whiteboard: MGA9TOO => (none)
Keywords: (none) => advisory
RH mageia 9 LC_ALL=C urpmi python3-xdg installing python3-xdg-5.1.1-2.mga9.noarch.rpm from /var/cache/urpmi/rpms Preparing... ################################################################################################## Installation failed: file /usr/lib/python3.10/site-packages/xdg/__init__.py from install of python3-xdg-5.1.1-2.mga9.noarch conflicts with file from package python3-pyxdg-0.28-1.mga9.noarch file /usr/lib/python3.10/site-packages/xdg/__pycache__/__init__.cpython-310.opt-1.pyc from install of python3-xdg-5.1.1-2.mga9.noarch conflicts with file from package python3-pyxdg-0.28-1.mga9.noarch file /usr/lib/python3.10/site-packages/xdg/__pycache__/__init__.cpython-310.pyc from install of python3-xdg-5.1.1-2.mga9.noarch conflicts with file from package python3-pyxdg-0.28-1.mga9.noarch LC_ALL=C urpmi python3-xdg-base-dirs installing python3-xdg-base-dirs-6.0.1-1.mga9.noarch.rpm from //home/katnatek/qa-testing/x86_64 Preparing... ################################################################################################## 1/1: python3-xdg-base-dirs ################################################################################################## The file conflict is fixed, but I like a test where python3-xdg is installed and when you update with python3-xdg-base-dirs in qarepo the package replace to python3-xdg
The things I do for the cause XD Close lxqt session and start Plasma X11 LC_ALL=C urpme python3-pyxdg To satisfy dependencies, the following 4 packages will be removed (1.3MB): openbox-3.6.1-13.1.mga9.x86_64 (due to missing python3-pyxdg) python3-pyxdg-0.28-1.mga9.noarch task-lxqt-1.4.0-1.mga9.noarch (due to missing task-lxqt-minimal) task-lxqt-minimal-1.4.0-1.mga9.noarch (due to missing openbox) Remove 4 packages? (y/N) y removing openbox-3.6.1-13.1.mga9.x86_64 python3-pyxdg-0.28-1.mga9.noarch task-lxqt-1.4.0-1.mga9.noarch task-lxqt-minimal-1.4.0-1.mga9.noarch removing package task-lxqt-1.4.0-1.mga9.noarch 1/4: removing task-lxqt-1.4.0-1.mga9.noarch ################################################################################################## removing package task-lxqt-minimal-1.4.0-1.mga9.noarch 2/4: removing task-lxqt-minimal-1.4.0-1.mga9.noarch ################################################################################################## removing package openbox-3.6.1-13.1.mga9.x86_64 3/4: removing openbox-3.6.1-13.1.mga9.x86_64 ################################################################################################## removing package python3-pyxdg-0.28-1.mga9.noarch 4/4: removing python3-pyxdg-0.28-1.mga9.noarch ################################################################################################## writing /var/lib/rpm/installed-through-deps.list The following packages: bsdtar-3.6.2-5.1.mga9.x86_64 ffmpegthumbnailer-2.2.2^git20220218-1.mga9.x86_64 gvfs-1.50.4-1.mga9.x86_64 gvfs-archive-1.50.4-1.mga9.x86_64 gvfs-fuse-1.50.4-1.mga9.x86_64 gvfs-gphoto2-1.50.4-1.mga9.x86_64 gvfs-iphone-1.50.4-1.mga9.x86_64 gvfs-mtp-1.50.4-1.mga9.x86_64 gvfs-smb-1.50.4-1.mga9.x86_64 kvantum-1.0.9-2.mga9.x86_64 lib64ffmpegthumbnailer4-2.2.2^git20220218-1.mga9.x86_64 lib64fm-qt14-1.4.0-1.mga9.x86_64 lib64fm4-1.3.2-4.mga9.x86_64 lib64gck1_0-3.41.1-1.mga9.x86_64 lib64gcr-base3_1-3.41.1-1.mga9.x86_64 lib64lxqt-globalkeys-ui1-1.4.0-1.mga9.x86_64 lib64lxqt-globalkeys1-1.4.0-1.mga9.x86_64 lib64menu-cache3-1.1.0-7.mga9.x86_64 lib64muparser2-2.3.4-1.mga9.x86_64 lib64obrender32-3.6.1-13.1.mga9.x86_64 lib64obt2-3.6.1-13.1.mga9.x86_64 lib64poppler-qt6_3-23.02.0-1.2.mga9.x86_64 lib64qt6svg6-6.4.1-3.mga9.x86_64 lib64qtermwidget5_1-1.4.0-1.mga9.x86_64 lib64statgrab10-0.92.1-2.mga9.x86_64 lib64sysstat0-0.4.6-3.mga9.x86_64 lib64torrent-rasterbar2.0-2.0.9-1.mga9.x86_64 lib64xcb-screensaver0-1.15-2.mga9.x86_64 libfm-1.3.2-4.mga9.x86_64 libfm-qt-1.4.0-1.mga9.x86_64 liblxqt-1.4.0-1.mga9.x86_64 lxde-icon-theme-0.5.1-6.mga9.noarch lximage-qt-1.4.0-1.mga9.x86_64 lxqt-about-1.4.0-1.mga9.x86_64 lxqt-admin-1.4.0-1.mga9.x86_64 lxqt-archiver-0.9.0-1.mga9.x86_64 lxqt-config-1.4.0-1.mga9.x86_64 lxqt-globalkeys-1.4.0-1.mga9.x86_64 lxqt-menu-data-1.4.1-1.mga9.noarch lxqt-openssh-askpass-1.4.0-1.mga9.x86_64 lxqt-panel-1.4.0-1.mga9.x86_64 lxqt-powermanagement-1.4.0-1.mga9.x86_64 lxqt-qtplugin-1.4.0-1.mga9.x86_64 lxqt-runner-1.4.0-1.mga9.x86_64 lxqt-session-1.4.0-1.mga9.x86_64 lxqt-sudo-1.4.0-1.mga9.x86_64 lxqt-theme-artemis-1.0-4.mga9.noarch lxqt-themes-1.3.0-1.mga9.noarch lxshortcut-1.3.2-4.mga9.x86_64 menu-cache-1.1.0-7.mga9.x86_64 obconf-qt-0.16.3-1.mga9.x86_64 pcmanfm-qt-1.4.0-1.mga9.x86_64 picom-10.2-1.mga9.x86_64 picom-conf-0.16.0-4.git20220731.3.mga9.x86_64 qastools-0.23.0-3.mga9.x86_64 qbittorrent-4.6.2-1.mga9.x86_64 qlipper-5.1.2-5.mga9.x86_64 qpdfview-0.5.0-2.mga9.x86_64 qterminal-1.4.0-1.mga9.x86_64 qtermwidget-1.4.0-1.mga9.x86_64 qtsvg6-6.4.1-3.mga9.x86_64 screengrab-2.6.0-1.mga9.x86_64 sddm-config-editor-0.1.r8246144-6.mga9.x86_64 sonnet-config-5.114.0-1.1.mga9.x86_64 xdg-desktop-portal-lxqt-0.5.0-1.mga9.x86_64 are now orphaned, if you wish to remove them, you can use "urpme --auto-orphans" LC_ALL=C urpmi python3-xdg installing python3-xdg-5.1.1-2.mga9.noarch.rpm from /var/cache/urpmi/rpms Preparing... ################################################################################################## 1/1: python3-xdg ################################################################################################## https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates/task-lxqt-minimal-1.4.0-1.mga9.noarch.rpm LC_ALL=C urpmi --auto --auto-update urpmi database is locked, process 211307 is already using it (/usr/bin/perl /usr/libexec/urpmi.update MLO_backport (MLO4)) [root@jgrey ~]# LC_ALL=C urpmi --auto --auto-update medium "QA Testing (32-bit)" is up-to-date medium "QA Testing (64-bit)" is up-to-date medium "Core Release (distrib1)" is up-to-date medium "Core Updates (distrib3)" is up-to-date medium "Nonfree Release (distrib11)" is up-to-date medium "Nonfree Updates (distrib13)" is up-to-date medium "Tainted Release (distrib21)" is up-to-date medium "Tainted Updates (distrib23)" is up-to-date medium "Core 32bit Release (distrib31)" is up-to-date medium "Core 32bit Updates (distrib32)" is up-to-date medium "Nonfree 32bit Release (distrib36)" is up-to-date medium "Tainted 32bit Release (distrib41)" is up-to-date medium "Tainted 32bit Updates (distrib42)" is up-to-dat installing python3-xdg-base-dirs-6.0.1-1.mga9.noarch.rpm from //home/katnatek/qa-testing/x86_64 Preparing... ################################################################################################## 1/1: python3-xdg-base-dirs ################################################################################################## removing package python3-xdg-5.1.1-2.mga9.noarch 1/1: removing python3-xdg-5.1.1-2.mga9.noarch ################################################################################################## LC_ALL=C urpmi task-lxqt task-lxqt-minimal python3-pyxdg --no-recommends To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (distrib1)") python3-pyxdg 0.28 1.mga9 noarch (medium "Core Updates (distrib3)") openbox 3.6.1 13.1.mga9 x86_64 task-lxqt 1.4.0 1.mga9 noarch task-lxqt-minimal 1.4.0 1.mga9 noarch 1.3MB of additional disk space will be used. 432KB of packages will be retrieved. Proceed with the installation of the 4 packages? (Y/n) y https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/release/python3-pyxdg-0.28-1.mga9.noarch.rpm https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates/task-lxqt-minimal-1.4.0-1.mga9.noarch.rpm https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates/openbox-3.6.1-13.1.mga9.x86_64.rpm https://mirror.math.princeton.edu/pub/mageia/distrib/9/x86_64/media/core/updates/task-lxqt-1.4.0-1.mga9.noarch.rpm installing task-lxqt-1.4.0-1.mga9.noarch.rpm python3-pyxdg-0.28-1.mga9.noarch.rpm task-lxqt-minimal-1.4.0-1.mga9.noarch.rpm openbox-3.6.1-13.1.mga9.x86_64.rpm from /var/cache/urpmi/rpms Preparing... ################################################################################################## 1/4: python3-pyxdg ################################################################################################## 2/4: openbox ################################################################################################## 3/4: task-lxqt-minimal ################################################################################################## 4/4: task-lxqt ##################################################################################################
Whiteboard: (none) => MGA9-64-OKCC: (none) => andrewsfarm
Validating.
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugs
32973.adv is missing the package version
CC: (none) => dan
(In reply to Dan Fandrich from comment #10) > 32973.adv is missing the package version Fixed
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2024-0147.html
Resolution: (none) => FIXEDStatus: NEW => RESOLVED