Open mmetak opened 6 years ago
After some digging, I think I found the problem.
obs-service-tar_scm
pulls obs-service-recompress
as a dependency that according to its PKGBUILD file, depends solely on python
(it's python3 on archlinux). So, pacman installs python
and python2
.
This causes the problem. When there are both versions of python installed (2 & 3) then when building this package I get shebang for python3, #!/usr/bin/python3
in file /usr/lib/obs/service/tar_scm
.
I solved this problem by updating obs-service-recompress
PKGBUILD file and replacing python
in depends with depends=('bzip2' 'gzip' 'xz')
. This dependency was weird in the first place for archlinux. Packages for other distros don't depend on python.
I hope this is the right place for this issue report. Currently, all builds for archlinux that use
obs_scm
fail with the error in the title. Bellow, I copied the build log from the officialobs-service-tar_scm
package inopenSUSE:Tools
and the required package is installedpython2-yaml
.