Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266131 - x11-libs/qt-gui-4.5.0-r1 - zlib.cpp:1:18: error: zlib.h: No such file or directory
Summary: x11-libs/qt-gui-4.5.0-r1 - zlib.cpp:1:18: error: zlib.h: No such file or dire...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-14 17:17 UTC by Chris Slycord
Modified: 2009-04-22 15:43 UTC (History)
1 user (show)

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


Attachments
build log (x11-libs:qt-gui-4.5.0-r1:20090414-170502.log,5.82 KB, text/plain)
2009-04-14 17:18 UTC, Chris Slycord
Details
emerge --info (info,4.05 KB, text/plain)
2009-04-14 17:19 UTC, Chris Slycord
Details
qmake cache file (.qmake.cache,141 bytes, text/plain)
2009-04-15 20:10 UTC, Chris Slycord
Details
qmake vars file (.qmake.vars,302 bytes, text/plain)
2009-04-15 20:53 UTC, Chris Slycord
Details
ebuild environment (environment,127.71 KB, text/plain)
2009-04-16 02:34 UTC, Chris Slycord
Details
zlib config.tests makefile (Makefile,5.37 KB, text/plain)
2009-04-16 02:36 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2009-04-14 17:17:03 UTC
zlib auto-detection... ()
compiling zlib.cpp
zlib.cpp:1:18: error: zlib.h: No such file or directory
zlib.cpp: In function 'int main(int, char**)':
zlib.cpp:5: error: 'z_streamp' was not declared in this scope
zlib.cpp:5: error: expected `;' before 'stream'
zlib.cpp:6: error: 'stream' was not declared in this scope
zlib.cpp:7: error: 'zlibVersion' was not declared in this scope
zlib.cpp:10: error: 'compress2' was not declared in this scope
make: *** [zlib.o] Error 1
zlib disabled.
DB2 auto-detection... ()
compiling db2.cpp
db2.cpp:1:20: error: sqlcli.h: No such file or directory
db2.cpp:2:21: error: sqlcli1.h: No such file or directory
make: *** [db2.o] Error 1
DB2 disabled.
OCI auto-detection... ()
compiling oci.cpp
oci.cpp:1:17: error: oci.h: No such file or directory
make: *** [oci.o] Error 1
OCI disabled.
TDS auto-detection... ()
compiling tds.cpp
tds.cpp:1:22: error: sybfront.h: No such file or directory
tds.cpp:2:19: error: sybdb.h: No such file or directory
make: *** [tds.o] Error 1
TDS disabled.
Cups auto-detection... ()
compiling cups.cpp
cups.cpp:1:23: error: cups/cups.h: No such file or directory
cups.cpp: In function 'int main(int, char**)':
cups.cpp:5: error: 'cups_dest_t' was not declared in this scope
cups.cpp:5: error: 'd' was not declared in this scope
cups.cpp:6: error: 'cupsGetDests' was not declared in this scope
make: *** [cups.o] Error 1
Cups disabled.
Cups support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
 * 
 * ERROR: x11-libs/qt-gui-4.5.0-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3115:  Called qt4-build_src_configure
 *             environment, line 2827:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "./configure failed"
 *  The die message:
 *   ./configure failed


Reproducible: Always

Steps to Reproduce:
1. emerge =x11-libs/gt-gui-4.5.0-r1
2.
3.

Actual Results:  
fails to configure

Expected Results:  
build/install
Comment 1 Chris Slycord 2009-04-14 17:18:26 UTC
Created attachment 188323 [details]
build log
Comment 2 Chris Slycord 2009-04-14 17:19:17 UTC
Created attachment 188325 [details]
emerge --info
Comment 3 Rafał Mużyło 2009-04-14 18:55:22 UTC
While that configure script is not a standard autotools created,
IIRC it does create a config.log  (or similarly named file)
with full output of tests (including commands).
Please attach it.
Comment 4 Chris Slycord 2009-04-14 23:06:10 UTC
(In reply to comment #3)
> While that configure script is not a standard autotools created,
> IIRC it does create a config.log  (or similarly named file)
> with full output of tests (including commands).
> Please attach it.
> 
I looked through /var/tmp/portage/x11-libs/qt-gui-4.5.0-r1 and it's subdirectories and didn't find any similarly named file.
Comment 5 Rafał Mużyło 2009-04-15 13:43:34 UTC
OK, I remembered that part incorrectly.
Attach ${S}/.qmake.cache and i.e. go into
${S}/config.tests/unix/zlib and run make there,
to see what exactly fails during that particular test.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-15 19:04:17 UTC
Please do what Rafał suggested.
Comment 7 Chris Slycord 2009-04-15 20:09:24 UTC
(In reply to comment #5)
> OK, I remembered that part incorrectly.
> Attach ${S}/.qmake.cache and i.e. go into
> ${S}/config.tests/unix/zlib and run make there,
> to see what exactly fails during that particular test.
> 
I cd'd to ${S}/config.tests/unix/zlib and ran make and nothing went wrong. It created an executable named zlib and an object file zlib.o
Comment 8 Chris Slycord 2009-04-15 20:10:36 UTC
Created attachment 188492 [details]
qmake cache file
Comment 9 Rafał Mużyło 2009-04-15 20:16:38 UTC
That's wrong .qmake.cache, I think.
It looks like the one from ${S}/config.tests,
I was asking about one from ${S}.
Comment 10 Chris Slycord 2009-04-15 20:51:56 UTC
(In reply to comment #9)
> That's wrong .qmake.cache, I think.
> It looks like the one from ${S}/config.tests,
> I was asking about one from ${S}.
> 
There is no such file .qmake.cache at that location. Do you actually mean you want .qmake.vars? There is a file named that at that directory.
Comment 11 Chris Slycord 2009-04-15 20:53:50 UTC
Created attachment 188499 [details]
qmake vars file
Comment 12 Rafał Mużyło 2009-04-15 21:33:41 UTC
(In reply to comment #10)
> There is no such file .qmake.cache at that location. Do you actually mean you
> want .qmake.vars? There is a file named that at that directory.
> 
In that case, it's probably produced on a successful configure run.
I'm  not sure if we can get the same environment we had during emerge,
without emerge (attach environment file of the failed emerge).
Attach ${S}/config.tests/unix/zlib/Makefile too.
If that doesn't give any hints, I think I'm done and it's time for 
the maintainers to step in.
Comment 13 Chris Slycord 2009-04-16 02:34:32 UTC
Created attachment 188523 [details]
ebuild environment
Comment 14 Chris Slycord 2009-04-16 02:36:47 UTC
Created attachment 188525 [details]
zlib config.tests makefile
Comment 15 Chris Slycord 2009-04-22 15:43:20 UTC
Issue doesn't reproduce using qt-gui-4.5.0-r2.