Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 825730 - dev-util/diffuse-0.9.0 fails to compile with dev-lang/python-exec[-native-symlinks]
Summary: dev-util/diffuse-0.9.0 fails to compile with dev-lang/python-exec[-native-sym...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2021-11-21 18:56 UTC by Agostino Sarubbo
Modified: 2024-04-14 05:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,46.00 KB, text/plain)
2021-11-21 18:56 UTC, Agostino Sarubbo
Details
1-meson-log.txt (1-meson-log.txt,1.07 KB, text/plain)
2021-11-21 18:56 UTC, Agostino Sarubbo
Details
diffuse-0.7.2.ebuild (diffuse-0.7.2.ebuild,1.52 KB, text/plain)
2021-11-22 07:07 UTC, Andrey Grozin
Details
diffuse-0.7.2.ebuild (diffuse-0.7.2.ebuild,1.55 KB, text/plain)
2021-11-22 09:04 UTC, Andrey Grozin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-11-21 18:56:41 UTC
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.
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-21 18:56:43 UTC
Created attachment 754374 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-21 18:56:44 UTC
Created attachment 754378 [details]
1-meson-log.txt

1-meson-log.txt
Comment 3 Andrey Grozin gentoo-dev 2021-11-22 04:50:52 UTC
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?
Comment 4 Andrey Grozin gentoo-dev 2021-11-22 07:07:20 UTC
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
Comment 5 Andrey Grozin gentoo-dev 2021-11-22 09:04:32 UTC
Created attachment 754426 [details]
diffuse-0.7.2.ebuild

A better version
Comment 6 Agostino Sarubbo gentoo-dev 2022-01-03 07:23:13 UTC
ci has reproduced this issue with version 0.7.3 - Updating summary.
Comment 7 Agostino Sarubbo gentoo-dev 2022-04-26 09:26:36 UTC
ci has reproduced this issue with version 0.7.5 - Updating summary.
Comment 8 Agostino Sarubbo gentoo-dev 2023-01-30 16:20:06 UTC
ci has reproduced this issue with version 0.7.7 - Updating summary.
Comment 9 Agostino Sarubbo gentoo-dev 2023-05-23 13:03:20 UTC
ci has reproduced this issue with version 0.8.2 - Updating summary.
Comment 10 Agostino Sarubbo gentoo-dev 2024-04-14 05:58:41 UTC
ci has reproduced this issue with version 0.9.0 - Updating summary.