Description of problem: I just rebuilt the src.rpm of python-setuptools from Cauldron to Mageia 8 and in the build output I saw these lines with the exact same content: grep: /home/kristoffer/rpmbuild/BUILDROOT/python-setuptools-58.5.3-1.mga8.x86_64/usr/lib/python3.8/site-packages/setuptools/script: File or directory does not exist grep: (dev).tmpl: File or directory does not exist grep: /home/kristoffer/rpmbuild/BUILDROOT/python-setuptools-58.5.3-1.mga8.x86_64/usr/lib/python3.8/site-packages/setuptools/script: File or directory does not exist grep: (dev).tmpl: File or directory does not exist grep: /home/kristoffer/rpmbuild/BUILDROOT/python-setuptools-58.5.3-1.mga8.x86_64/usr/lib/python3.8/site-packages/setuptools/script: File or directory does not exist grep: (dev).tmpl: File or directory does not exist I did ls -l /home/kristoffer/rpmbuild/BUILD/setuptools-58.5.3/build/lib/setuptools/ and there seems to be a typo somewhere as script(dev) actually does exist: -rw-r--r-- 1 kristoffer kristoffer 218 nov 5 00:33 'script (dev).tmpl' -rw-r--r-- 1 kristoffer kristoffer 138 nov 5 00:33 script.tmpl Version-Release number of selected component (if applicable): 58.5.3-1 How reproducible: Everytime. Steps to Reproduce: 1. Download the 58.5.3 python-setuptools src rpm. 2. Open a terminal window and run rpmbuild --rebuild python-setuptools-58.5.3-1.mga8.src.rpm and watch the output. 3. The rebuild works, but the script file is "missing" nevertheless.
Summary: script is missing in /usr/lib/python3.8/site-packages/setuptools/ when rebuilding the python-setuptools src rpm from Cauldron => script is "missing" in /usr/lib/python3.8/site-packages/setuptools/ when rebuilding the python-setuptools src rpm from Cauldron
Summary: script is "missing" in /usr/lib/python3.8/site-packages/setuptools/ when rebuilding the python-setuptools src rpm from Cauldron => script is "missing" in ~/rpmbuild/BUILD/setuptools-58.5.3/build/lib/setuptools when rebuilding the python-setuptools src rpm from Cauldron
Thank you for the report. My M8 system has: '/usr/lib/python3.8/site-packages/setuptools/script (dev).tmpl' /usr/lib/python3.8/site-packages/setuptools/script.tmpl which is not eactly what it wanted: /usr/lib/python3.8/site-packages/setuptools/script Assigning to Python people.
Assignee: bugsquad => python
It's not a bug in python, but in some scriptlet run by rpmbuild. I suspect /usr/lib/rpm/gi-find-deps.sh. Looks like the scriptlet doesn't properly handle files with a space in their name. I'll dig this a bit more.
Fixed with rpm-mageia-setup-2.62-2.mga9.
Status: NEW => RESOLVEDCC: (none) => jani.valimaaResolution: (none) => FIXEDSource RPM: python-setuptools => rpm-mageia-setup-2.62-1.mga9
(In reply to Jani Välimaa from comment #3) > Fixed with rpm-mageia-setup-2.62-2.mga9. Kiitos, Jani. ;)