Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234085 - app-text/poppler-bindings-0.6.3 - configure:26749: error: Qt development libraries not found
Summary: app-text/poppler-bindings-0.6.3 - configure:26749: error: Qt development libr...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-06 13:44 UTC by numerodix
Modified: 2008-10-19 10:56 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,59.21 KB, text/plain)
2008-08-06 14:56 UTC, numerodix
Details
Comparason of 2 Environment lists (portage_vs_paludis_env,28.64 KB, patch)
2008-10-19 10:56 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description numerodix 2008-08-06 13:44:15 UTC
checking for Qt headers... no
checking for Qt libraries... no
configure: error: Qt development libraries not found
See `config.log' for more details.

!!! ERROR in app-text/poppler-bindings-0.6.3:
!!! In econf at line 1711
!!! econf failed

!!! Call stack:
!!!    * econf (/var/tmp/paludis/app-text-poppler-bindings-0.6.3/temp/loadsaveenv:1711)
!!!    * src_compile (/var/tmp/paludis/app-text-poppler-bindings-0.6.3/temp/loadsaveenv:3811)
!!!    * ebuild_f_compile (/usr/libexec/paludis/0/src_compile.bash:49)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:463)
!!!    * main (/usr/libexec/paludis/ebuild.bash:478)

diefunc: making ebuild PID 7932 exit with error
die trap: exiting with error.

Install error:
  * In program paludis -i --dl-reinstall if-use-changed --debug-build none --log-level warning --continue-on-failure if-independent kpdf:
  * When performing install action from command line:
  * When executing install task:
  * When installing 'app-text/poppler-bindings-0.6.3:0::gentoo':
  * Install error: Install failed for 'app-text/poppler-bindings-0.6.3:0::gentoo'


Reproducible: Always

Steps to Reproduce:
1. Try to install anything that depends on poppler-bindings (kpdf, inkscape etc)
2. Receive this error.
Comment 1 Rafał Mużyło 2008-08-06 14:33:17 UTC
So, how about that config.log then ?
Comment 2 numerodix 2008-08-06 14:56:04 UTC
Created attachment 162363 [details]
config.log

Sure thing, here it is.
Comment 3 Rafał Mużyło 2008-08-06 17:51:26 UTC
What is your version of qt3 ?
Is it correctly merged ?
Comment 4 numerodix 2008-08-06 18:00:23 UTC
> What is your version of qt3 ?
3.3.8-r4

> Is it correctly merged ?
Yes, it seems to be. I have konqueror, amarok (all kde3 versions) and so forth running without issues.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-06 21:23:50 UTC
please provide emerge --info and emerge -pv poppler-bindings.
Comment 6 numerodix 2008-08-07 12:56:06 UTC
[ebuild     UD] app-text/poppler-bindings-0.6.3 [0.8.5] USE="cairo gtk* qt3* qt4* -test" 0 kB

It's the damnedest thing. It builds just fine using portage with the same use flags that caused paludis to choke. I guess the bug is not in the package then.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-10 16:41:02 UTC
yeah if paludis has a problem emerging this ebuild, please see with paludis devs if it's a bug of their own or if indeed the ebuild does something nasty that it shouldn't do.
Comment 8 Santiago M. Mola (RETIRED) gentoo-dev 2008-08-12 10:03:49 UTC
Please, refer to the following thread in the paludis-user mailing list:
http://lists.pioto.org/pipermail/paludis-user/2008-August/000480.html

Reopen this if there's something which can be fixed on the poppler or qt side.
Comment 9 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-10-19 10:54:45 UTC
this problem is still prevalent in poppler-bindings-0.10.0 

The problem is possibly related to paludis appearing to sanitise the ENV variables much more heavily and as a result QTDIR is undefined. 

however, simply extending "inherit" to have "qt3" in it re-instantiates the QTDIR environment variable, and build continues as normal. 

the QT3 eclass does this in a highly trivial way however:

if [[ -z "${QTDIR}" ]]; then
        export QTDIR="/usr/qt/3"
fi

so if one wants to merely place this in the src_configure block that would /possibly/ have the same effect 

I would assume it works in portage due to the presence of /etc/env.d/50qtdir3 

but as far as I am aware, paludis does not simply naively import that directory into build scope. 

I make a test ebuild that just executed "env" then died in src_configure and ran it under both portage and paludis to compare their ENV's  and will attach this for your examination. Notedly I don't use portage any more so the portage specific things such as USE / Compile flags etc will be different.  

Test Script is as follows: 

EAPI="2"
inherit autotools eutils multilib 
DESCRIPTION="fake ebuild to test package manager"
HOMEPAGE="http://127.0.0.1"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND=""
src_configure() {
	env;
	die;
}
Comment 10 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2008-10-19 10:56:14 UTC
Created attachment 169068 [details, diff]
Comparason of 2 Environment lists

My test ebuild + sort + diff -Naur