Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762925 - app-text/gnome-doc-utils-0.20.10-r2 fails to compile with dev-lang/python-exec[-native-symlinks]
Summary: app-text/gnome-doc-utils-0.20.10-r2 fails to compile with dev-lang/python-exe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 762406
  Show dependency tree
 
Reported: 2021-01-01 16:11 UTC by Agostino Sarubbo
Modified: 2021-06-01 02:16 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,51.31 KB, text/plain)
2021-01-01 16:11 UTC, Agostino Sarubbo
Details
patch (0001-app-text-gnome-doc-utils-Fix-build.patch,2.94 KB, patch)
2021-05-24 20:24 UTC, Alexey
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-01-01 16:11:10 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/gnome-doc-utils-0.20.10-r2 fails to compile with dev-lang/python-exec[-native-symlinks].
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
Please take a look at the tracker bug for more info.
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-01 16:11:13 UTC
Created attachment 680509 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-01 16:11:15 UTC
Possible context of error(s):

/bin/sh: /var/tmp/portage/app-text/gnome-doc-utils-0.20.10-r2/work/gnome-doc-utils-0.20.10-python3_6/xml2po/xml2po/xml2po: /usr/bin/python3: bad interpreter: No such file or directory
Comment 3 Scott Furry 2021-02-17 06:03:32 UTC
Please note that failure to emerge this package blocks xfce4 packages:
 - dev-libs/libdbusmenu-16.04.0-r1
 - xfce-base/xfce4-panel-4.16.1
 - xfce-base/xfce4-meta-4.16-r2
Comment 4 Scott Furry 2021-02-17 07:05:07 UTC
Further examination, I found that this package is likely casualty to removal of python-exec. In the past, invoking /usr/bin/python3 would start the installed python3 interpreter. However, this is not happening on my system with the update.

A local workaround for me was to create a symbolic link to the currently install python(version 3.8 for my system) as such:

ln -s /usr/bin/python3.8 /usr/bin/python3

Installation of package completed as expected with this workaround.
Comment 5 Alexey 2021-05-24 20:24:30 UTC
Created attachment 711051 [details, diff]
patch
Comment 6 Agostino Sarubbo gentoo-dev 2021-05-24 20:28:58 UTC
Hello, thanks for the patch. I believe you can speed up the process by making a pull-request via Github.
Comment 7 Larry the Git Cow gentoo-dev 2021-06-01 02:16:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5683590390e32ac6440afe1e3316e9b56922a1

commit ec5683590390e32ac6440afe1e3316e9b56922a1
Author:     Alexey Sokolov <sokolov@google.com>
AuthorDate: 2021-05-24 20:22:49 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-06-01 02:15:47 +0000

    app-text/gnome-doc-utils: Fix build
    
    without python native symlinks and on prefix
    
    Closes: https://bugs.gentoo.org/762925
    Signed-off-by: Alexey Sokolov <sokolov@google.com>
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 .../files/gnome-doc-utils-0.20.10-fix-out-of-tree-build.patch       | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)