https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-util/diffuse-0.7.2 fails to compile with dev-lang/python-exec[-native-symlinks]. Discovered on: amd64 (internal ref: ci) NOTE: Please take a look at the tracker bug for more info.
Created attachment 754374 [details] build.log build log and emerge --info
Created attachment 754378 [details] 1-meson-log.txt 1-meson-log.txt
The installed files are OK: grozin@bilbo ~ $ file /usr/bin/diffuse /usr/bin/diffuse: symbolic link to ../lib/python-exec/python-exec2 grozin@bilbo ~ $ ls /usr/lib/python-exec/python*/diffuse /usr/lib/python-exec/python3.10/diffuse* /usr/lib/python-exec/python3.9/diffuse* /usr/lib/python-exec/python3.8/diffuse* This is because I've done rm "${D}"/usr/bin/${PN} || die "rm ${PN} failed" python_foreach_impl python_doscript ../${P}-build/src/${PN} in src_install. The original "${D}"/usr/bin/diffuse installed by meson contained #!/usr/bin/python3 so, I had to remove it and to re-install correctly using python_doscript. As far as I understand, the reported problem is due to the line conf.set('PYTHON', python.find_installation('python3').path()) in src/meson.build. I don't know meson build system; how should I patch src/meson.build so that the build works without /usr/bin/python3 symlink?
Created attachment 754418 [details] diffuse-0.7.2.ebuild Could you please check if the attached version of the ebuild works in the -native-symlinks setup
Created attachment 754426 [details] diffuse-0.7.2.ebuild A better version
ci has reproduced this issue with version 0.7.3 - Updating summary.
ci has reproduced this issue with version 0.7.5 - Updating summary.
ci has reproduced this issue with version 0.7.7 - Updating summary.
ci has reproduced this issue with version 0.8.2 - Updating summary.