Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 886165

Summary: app-text/diffpdf-2.1.3-r2 fails to compile (DASH-SYSTEM): generic.hpp:15:10: fatal error: poppler-qt5.h: No such file or directory
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Maciej Mrozowski <reavertm>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 893356    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-15 19:18:56 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/diffpdf-2.1.3-r2 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-15 19:18:57 UTC
Created attachment 842915 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-15 19:18:58 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


generic.hpp:15:10: fatal error: poppler-qt5.h: No such file or directory
generic.hpp:15:10: fatal error: poppler-qt5.h: No such file or directory
Comment 3 Maciej Mrozowski gentoo-dev 2023-02-25 00:23:48 UTC
Unable to reproduce (with dash as system shell + also sh as user shell for good measure).
Problem is likely here:

(... gcc command) -I/usr/local/include/poppler/qt5

diffpdf sets such include path as fallaback when /usr/include/poppler/qt5 dir does not exists

Accordig to package list, poppler was installed with the right use flags (qt5)
But maybe it silently failed somewhere in the middle, maybe due to dash?
It would help if tinderbox could provide filelists for packages, in dependency chain, or just all.