Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't updae cups-filters because of libqpdf
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
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Thu Feb 01, 2018 7:33 pm    Post subject: [SOLVED] Can't updae cups-filters because of libqpdf Reply with quote

Today on a routine emerge -uDN world on an older gentoo stable x86 laptop I get the following error emerging cups-filters:
Code:
checking for LIBQPDF... no
configure: error: Package requirements (libqpdf >= 3.0.2) were not met:

Package 'libjpeg', required by 'libqpdf', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBQPDF_CFLAGS
and LIBQPDF_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

qpdf is installed stable just fine at version 7.0.0.

I'm dead in the water. I don't know what to do.

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi


Last edited by figueroa on Wed Feb 14, 2018 10:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Duncan Mac Leod
Guru
Guru


Joined: 02 May 2004
Posts: 310
Location: Germany

PostPosted: Thu Feb 01, 2018 10:07 pm    Post subject: Reply with quote

https://bugs.gentoo.org/641340

Try in package mask: >app-text/qpdf-5.1.1-r1

and in package use: app-text/xmlto text

remerge app-text/xmlto and then app-text/qpdf

I also had a stopper in upgrading my x86 profile from 13.0 to 17.0 emerging cups-filters and did these steps above to get my problems resolved.

Seems that qpdf v7 has some problems - in my case I need to stay with app-text/qpdf-5.1.1-r1

HTH
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu Feb 01, 2018 10:48 pm    Post subject: Reply with quote

Switch to libjpeg-turbo if you haven't yet.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Mon Feb 05, 2018 6:33 pm    Post subject: Reply with quote

Thank you Duncan Mac Leod. That worked like a charm. Someday I'll have to remember to unmask >app-text/qpdf-5.1.1-r1 but we are good for now.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Wed Feb 14, 2018 9:56 pm    Post subject: Reply with quote

Please drop your masks and upgrade to jpeg-9c instead, help get it stabilised. There are no known issues left and it resolves the issue with qpdf.
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2961
Location: Edge of marsh USA

PostPosted: Wed Feb 14, 2018 10:48 pm    Post subject: Reply with quote

Installing jpeg-turbo appears to have made things clear up. Appears to be solved. Thank you.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/23.0/split-usr/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Wed Feb 14, 2018 11:42 pm    Post subject: Reply with quote

Yeah, that's the default jpeg implementation in Gentoo everyone is advised to use anyway. See ancient news: https://www.gentoo.org/support/news-items/2012-04-24-libjpeg-turbo-by-default.html
Back to top
View user's profile Send private message
upengan78
l33t
l33t


Joined: 27 Jun 2007
Posts: 711
Location: IL

PostPosted: Fri Mar 02, 2018 9:09 pm    Post subject: Reply with quote

asturm wrote:
Please drop your masks and upgrade to jpeg-9c instead, help get it stabilised. There are no known issues left and it resolves the issue with qpdf.


Thanks OP for the thread. I used *-9c and that helped. Thanks asturm.
Back to top
View user's profile Send private message
chruldt
n00b
n00b


Joined: 05 Apr 2004
Posts: 9

PostPosted: Thu Apr 19, 2018 5:29 pm    Post subject: Reply with quote

updating jpeg-turbo and qpdf fixed it for me - maybe require higher version in the ebuild?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8935

PostPosted: Thu Apr 19, 2018 5:35 pm    Post subject: Reply with quote

libjpeg-turbo has never had an issue building qpdf, only jpeg-9c has. Requiring a higher version will only work if we bump a new virtual version enforcing that, but we should rather move away from that entirely in favor of an ffmpeg-libav use flag situation complete with subslot-triggered rebuilds.
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