Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
app-text/calibre-7.26.0 failing against qtgui
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1491
Location: Berlin, Germany

PostPosted: Sat Jun 07, 2025 4:19 pm    Post subject: app-text/calibre-7.26.0 failing against qtgui Reply with quote

This is where the ebuild fails:
Code:
-- Build files have been written to: /var/tmp/portage/app-text/calibre-7.26.0/work/calibre-7.26.0/build/headless
[  0%] Built target headless_autogen_timestamp_deps
[ 16%] Automatic MOC for target headless
[ 16%] Built target headless_autogen
[ 50%] Building CXX object CMakeFiles/headless.dir/headless_autogen/mocs_compilation.cpp.o
[ 66%] Building CXX object CMakeFiles/headless.dir/main.cpp.o
[ 66%] Building CXX object CMakeFiles/headless.dir/headless_backingstore.cpp.o
[ 83%] Building CXX object CMakeFiles/headless.dir/headless_integration.cpp.o
In file included from /var/tmp/portage/app-text/calibre-7.26.0/work/calibre-7.26.0/src/calibre/headless/headless_integration.cpp:2:
/var/tmp/portage/app-text/calibre-7.26.0/work/calibre-7.26.0/src/calibre/headless/headless_integration.h:6:10: fatal error: QtGui/private/qgenericunixservices_p.h: No such file or directory
    6 | #include <QtGui/private/qgenericunixservices_p.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

There is a file named qgenericunixservices_p.h, but it belongs to qtgui, which only seems to exist in the qt5 branch. Is that what's going wrong here? How do I fix this?

Cheers,

EE
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3054

PostPosted: Sat Jun 07, 2025 7:04 pm    Post subject: Re: app-text/calibre-7.26.0 failing against qtgui Reply with quote

ExecutorElassus wrote:

There is a file named qgenericunixservices_p.h, but it belongs to qtgui, which only seems to exist in the qt5 branch.


Qtgui doesn't have a qt6 branch. Calibre built just fine for me but I'm on stable, so the problem might be in another package. I tried to compile the testing version of qtgui but it doesn't have a testing version so I guess you're on the same version as me.

Share the full command you're running as well as its full output.

Since I used the binhost for qtgui I'm now rebuilding locally and will report later if this re4produces the issue.

EDIT: it looks I don't experience such an issue. There must be something else at play here. Check you env, check /usr/local, check .local et.c.

Best Regards,
Georgi
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1491
Location: Berlin, Germany

PostPosted: Sat Jun 07, 2025 7:34 pm    Post subject: Reply with quote

I'm not sure what the "full" command might be; I'm just running `emerge calibre`, which is remerging calibre-7.26.0 from the main portage tree.

The only thing that comes to mind is that I have "-qt5" recently set in make.conf, but that shouldn't be causing this issue. I'll see if I can post build.log to a pastebin somewhere.

UPDATE: wgetpaste to the rescue: https://dpaste.com/5PRV7LE7C

Cheers,

EE
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3054

PostPosted: Sat Jun 07, 2025 7:47 pm    Post subject: Reply with quote

Can't see the log right now but try adding --deep to the command. Also why are you remembering calibre?

p.s. why would you put -qt5 in make.conf? You won't have qt5 if you don't need it. Why are you doing this?

Best Regards,
Georgi
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1491
Location: Berlin, Germany

PostPosted: Sat Jun 07, 2025 8:02 pm    Post subject: Reply with quote

--deep had no effect. I explicitly disabled qt5 because it was previously enabled and I wanted to make sure I don't keep building it. I guess I could just remove it.

Calibre was flagged to be remerged as part of a world build due to some dependency updating. I didn't catch which one, but I don't necessarily need to remerge it right now.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 2375

PostPosted: Sat Jun 07, 2025 8:57 pm    Post subject: Reply with quote

See bug 957106.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1491
Location: Berlin, Germany

PostPosted: Sat Jun 07, 2025 10:02 pm    Post subject: Reply with quote

amazing. Already fixed.

Also, goddammit I searched bugzilla for calibre and didn't find this fix. Thanks for pointing it out.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3054

PostPosted: Sun Jun 08, 2025 5:29 am    Post subject: Reply with quote

ExecutorElassus wrote:
I explicitly disabled qt5 because it was previously enabled and I wanted to make sure I don't keep building it. I guess I could just remove it.


What about using something like

Code:
emerge -pvc qtbase:5


And figuring it out from there? Killing a fly with a bazooka is very rarely a productive approach. Our you could run an update with USE="-qt5" just for the output. Then adjust things in package.use if necessary.

p.s. I know this is unrelated to your issue, I just feel it's worth mentioning. After years of using very slow hardware I've realized the benefits of using finer approach, no matter I can easily afford the compile cycles at the present moment.

Best Regards,
Georgi
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31690
Location: here

PostPosted: Sun Jun 08, 2025 5:40 am    Post subject: Reply with quote

ExecutorElassus wrote:
Also, goddammit I searched bugzilla for calibre and didn't find this fix. Thanks for pointing it out.

By default quick search not show fixed bug.
To get around this you can do the quick search by preprending your keywords with ALL (e.g., ‘app-text/calibre’ -> ‘ALL app-text/calibre’).
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 3054

PostPosted: Sun Jun 08, 2025 7:00 am    Post subject: Reply with quote

fedeliallalinea wrote:
ExecutorElassus wrote:
Also, goddammit I searched bugzilla for calibre and didn't find this fix. Thanks for pointing it out.

By default quick search not show fixed bug.
To get around this you can do the quick search by preprending your keywords with ALL (e.g., ‘app-text/calibre’ -> ‘ALL app-text/calibre’).


Very useful tip, thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



OSZAR »