Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820473 - app-editors/qhexedit2-0.8.9[python]: sip: Unable to find file "QtCore/QtCoremod.sip"
Summary: app-editors/qhexedit2-0.8.9[python]: sip: Unable to find file "QtCore/QtCorem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: vowstar
URL:
Whiteboard:
Keywords: PullRequest
: 827726 (view as bug list)
Depends on:
Blocks: 820464
  Show dependency tree
 
Reported: 2021-10-27 07:38 UTC by yongxiang
Modified: 2022-05-31 02:55 UTC (History)
10 users (show)

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


Attachments
build.log (build.log,9.05 KB, text/x-log)
2021-10-27 07:40 UTC, yongxiang
Details
emerge --info (emerge-info.txt,6.75 KB, text/plain)
2021-10-27 07:41 UTC, yongxiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yongxiang 2021-10-27 07:38:25 UTC
/usr/bin/sip -n PyQt5.sip -t Qt_5_15_0 -t WS_X11 -x PyQt_WebChannel -I/usr/share/sip/PyQt5 -c /tmp/portage/app-editors/qhexedit2-0.8.9/work/qhexedit2-0.8.9-python3_9/temp.linux-x86_64-3.9 -b /tmp/portage/app-editors/qhexedit2-0.8.9/work/qhexedit2-0.8.9-python3_9/temp.linux-x86_64-3.9/qhexedit.sbf -I /usr/share/sip /tmp/portage/app-editors/qhexedit2-0.8.9/work/qhexedit2-0.8.9/src/qhexedit.sip
sip: Unable to find file "QtCore/QtCoremod.sip"

qfile QtCoremod.sip
dev-python/PyQt5: /usr/lib/python3.9/site-packages/PyQt5/bindings/QtCore/QtCoremod.sip


Reproducible: Always
Comment 1 yongxiang 2021-10-27 07:40:07 UTC
Created attachment 746943 [details]
build.log
Comment 2 yongxiang 2021-10-27 07:41:39 UTC
Created attachment 746946 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2021-10-27 12:54:51 UTC
The bug has been referenced in the following commit(s):

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

commit c4df52b8ee9c90ce7d434dc0178de49443836341
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-27 12:53:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-27 12:54:42 +0000

    app-editors/qhexedit2: Revert "add 0.8.9"
    
    This reverts commit b1954f0b14ff0203658ca936938f967f37f68095.
    
    Still fails with USE=python.
    
    Bug: https://bugs.gentoo.org/815133
    Bug: https://bugs.gentoo.org/820473
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/qhexedit2/Manifest               |  1 -
 app-editors/qhexedit2/qhexedit2-0.8.9.ebuild | 81 ----------------------------
 2 files changed, 82 deletions(-)

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

commit 23893fc42a53f12bcb5056fe72f37b5ddcf3a3a9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-27 12:52:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-27 12:54:41 +0000

    app-editors/qhexedit2: Revert "add SIP 5 patch"
    
    This reverts commit ee9e38d91f1b2b4a225df9e4e8bc1d83391d4ba7.
    
    Fails here with a different error.
    
    Bug: https://bugs.gentoo.org/815133
    Bug: https://bugs.gentoo.org/820473
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/qhexedit2-0.8.6_p20190316-sip5.patch     | 82 ---------------------
 .../qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild  | 86 ----------------------
 2 files changed, 168 deletions(-)
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2022-04-10 19:12:40 UTC
*** Bug 827726 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2022-05-13 20:04:07 UTC
The bug has been closed via the following commit(s):

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

commit 8759771fffe11541f3259bab8b305a0afd142f32
Author:     Huang Rui <vowstar@gmail.com>
AuthorDate: 2022-05-09 03:04:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-13 20:03:48 +0000

    app-editors/qhexedit2: fix compile problem and add BDEPEND
    
    sip-4 no longer supports the latest PyQt5 syntax,
    so it needs to be changed to sip-5
    Fix unable to find file "QtCore/QtCoremod.sip"
    Switched the build system to use sip-build + PyQt-builder
    Add dev-python/sip-5 as RDEPEND
    New maintainer by Proxy Maint
    
    Closes: https://bugs.gentoo.org/820473
    Closes: https://bugs.gentoo.org/758260
    Signed-off-by: Huang Rui <vowstar@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/25395
    Signed-off-by: Sam James <sam@gentoo.org>

 .../qhexedit2/files/qhexedit2-0.8.6-sip.patch      |  35 +++++++
 .../qhexedit2/files/qhexedit2-0.8.6-sip5.patch     |  82 +++++++++++++++
 .../files/qhexedit2-0.8.9-fix-crash.patch          |  37 +++++++
 app-editors/qhexedit2/metadata.xml                 |   9 +-
 .../qhexedit2/qhexedit2-0.8.6_p20190316-r1.ebuild  | 108 ++++++++++++++++++++
 .../qhexedit2/qhexedit2-0.8.9_p20210525-r1.ebuild  | 110 +++++++++++++++++++++
 6 files changed, 380 insertions(+), 1 deletion(-)
Comment 6 Fabio Rossi 2022-05-30 09:11:34 UTC
Reopening because I still get the same problem

sip-build: Unable to find file "QtCore/QtCoremod.sip"

by using latest app-editors/qhexedit2-0.8.9_p20210525-r1::gentoo
Comment 7 Fabio Rossi 2022-05-30 09:55:54 UTC
(In reply to Fabio Rossi from comment #6)
> Reopening because I still get the same problem
> 
> sip-build: Unable to find file "QtCore/QtCoremod.sip"
> 
> by using latest app-editors/qhexedit2-0.8.9_p20210525-r1::gentoo

The problem is solved by updating the dev-python/PyQt5 dep to version >=5.15.6, so a fix is needed for the ebuild
Comment 8 vowstar 2022-05-31 02:11:37 UTC
(In reply to Fabio Rossi from comment #7)
> (In reply to Fabio Rossi from comment #6)
> > Reopening because I still get the same problem
> > 
> > sip-build: Unable to find file "QtCore/QtCoremod.sip"
> > 
> > by using latest app-editors/qhexedit2-0.8.9_p20210525-r1::gentoo
> 
> The problem is solved by updating the dev-python/PyQt5 dep to version
> >=5.15.6, so a fix is needed for the ebuild

I'll add dev-python/PyQt5 >=5.15.6 as dep
Comment 9 Larry the Git Cow gentoo-dev 2022-05-31 02:55:17 UTC
The bug has been closed via the following commit(s):

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

commit 0c15c656d6f5b5b42f12b3509ad101677ac143e1
Author:     Huang Rui <vowstar@gmail.com>
AuthorDate: 2022-05-31 02:26:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-31 02:55:08 +0000

    app-editors/qhexedit2: fix PyQt5>=5.15.6 RDEPEND
    
    Closes: https://bugs.gentoo.org/820473
    Signed-off-by: Huang Rui <vowstar@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/25698
    Signed-off-by: Sam James <sam@gentoo.org>

 ...t2-0.8.6_p20190316-r1.ebuild => qhexedit2-0.8.6_p20190316-r2.ebuild} | 2 +-
 ...t2-0.8.9_p20210525-r1.ebuild => qhexedit2-0.8.9_p20210525-r2.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)