tying to packe something python for SLES12 ...
... but struggeling with build errors which I have no idea how to fix. Maybe someone can assist. It is here: https://build.opensuse.org/package/live_build_log/home:computersalat:devel:p... [ 49s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define 'disturl obs://build.opensuse.org/home:computersalat:devel:python/SLE_12.4/a839c1a5e3055dedcca4db488d72e590-python-qt4' /home/abuild/rpmbuild/SOURCES/python-qt4.spec [ 49s] error: lua script failed: [string "<lua>"]:46: bad argument #2 to 'format' (string expected, got nil) [ 49s] error: line 59: Provides: python2-qt4 = 4.12.3-1.1 [ 49s] %package -n python36-qt4 Thank you :-) -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ http://www.sc24.de - Sportbekleidung ------------------------------------------------------------
Hi Christian, Am 23.01.21 um 21:02 schrieb Christian:
... but struggeling with build errors which I have no idea how to fix.
Maybe someone can assist. It is here: https://build.opensuse.org/package/live_build_log/home:computersalat:devel:p...
[ 49s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define 'disturl obs://build.opensuse.org/home:computersalat:devel:python/SLE_12.4/a839c1a5e3055dedcca4db488d72e590-python-qt4' /home/abuild/rpmbuild/SOURCES/python-qt4.spec [ 49s] error: lua script failed: [string "<lua>"]:46: bad argument #2 to 'format' (string expected, got nil) [ 49s] error: line 59: Provides: python2-qt4 = 4.12.3-1.1 [ 49s] %package -n python36-qt4
Thank you :-)
I see two (possibly unrelated) errors: - Somehow you are pulling in the Tumbleweed definition for %pythons ("python36"). This could be because either the prjconf from Factory is applied to your SLE_12 repo or there is simply no prjconf override at all and then the definition in python-rpm-macros is used. Check /home/abuild/.rpmmacros for the prjconf definitions. - What's the version of python-rpm-macros? I have no clue about SLES12, but maybe the rpm is too old for the recent python-rpm-macro update which makes the format() fail. Make sure to use an old python-rpm-macros from SLE_12? I think the SLE12 targets in devel:languages:python suffer from the same. Hopefully this leads you to the right path. Cheers, Ben
participants (2)
-
Ben Greiner
-
Christian