Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949980 - dev-python/shiboken6-6.8.1.1-r1 fails in prepare source
Summary: dev-python/shiboken6-6.8.1.1-r1 fails in prepare source
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-19 19:42 UTC by Alex Orange
Modified: 2025-02-19 20:38 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,207.74 KB, text/x-log)
2025-02-19 19:44 UTC, Alex Orange
Details
emerge --info (emerge.info,7.45 KB, text/plain)
2025-02-19 19:44 UTC, Alex Orange
Details
emerge -pqv (emerge.pqv,584 bytes, text/plain)
2025-02-19 19:44 UTC, Alex Orange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Orange 2025-02-19 19:42:35 UTC
Was trying to use the fix for https://bugs.gentoo.org/949974 (new shiboken6) and it won't build.

>>> Unpacking pyside-pyside-setup-6.8.1.1.gh.tar.gz to /var/tmp/portage/dev-python/shiboken6-6.8.1.1-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/shiboken6-6.8.1.1-r1/work
>>> Preparing source in /var/tmp/portage/dev-python/shiboken6-6.8.1.1-r1/work/pyside-pyside-setup-6.8.1.1/sources/shiboken6 ...
sed: can't read sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp: No such file or directory


Reproducible: Always

Steps to Reproduce:
1. emerge -avDuN --with-bdeps y world
2.
3.
Actual Results:  
The above error message.

Expected Results:  
It builds.
Comment 1 Alex Orange 2025-02-19 19:44:01 UTC
Created attachment 919437 [details]
build.log
Comment 2 Alex Orange 2025-02-19 19:44:11 UTC
Created attachment 919438 [details]
emerge --info
Comment 3 Alex Orange 2025-02-19 19:44:24 UTC
Created attachment 919439 [details]
emerge -pqv
Comment 4 Alex Orange 2025-02-19 19:44:40 UTC
P.S. Yes, I'm sure my logs will show I'm not up to the 23.0 profile. I found out this machine wasn't over yet and this is part of my clean updating so I can get to that.
Comment 5 Alex Orange 2025-02-19 19:50:25 UTC
Looking at the ebuild, perhaps sources/shiboken6 shouldn't be at the beginning of the filepath here?

    sed -e \
        's~(findClangBuiltInIncludesDir())~(QStringLiteral("'"${EPREFIX}"'/usr/lib/clang/'"${LLVM_SLOT}"'/include"))~' \
        -i sources/shiboken6/ApiExtractor/clangparser/compilersupport.cpp || die
Comment 6 Larry the Git Cow gentoo-dev 2025-02-19 20:08:15 UTC
The bug has been closed via the following commit(s):

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

commit 26f5d7f6e00c35d8e386d11741a8297861adcbcd
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2025-02-19 20:04:16 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2025-02-19 20:07:56 +0000

    dev-python/shiboken6: fix sed path
    
    Non-maintainer drive-by fix, have not really tested beside
    checking that the sed applies.
    
    Seems this was copied from the pyside-6.8.2 ebuild which
    has a different (top level) S value.
    
    Closes: https://bugs.gentoo.org/949980
    Fixes: 57f2e650fb99bf0d69a1bd059dd6ffdae32ddf2d
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-python/shiboken6/shiboken6-6.8.1.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 7 Alex Orange 2025-02-19 20:38:02 UTC
Confirmed, builds with that patch.