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
Created attachment 188323 [details] build log
Created attachment 188325 [details] emerge --info
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.
(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.
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.
Please do what Rafał suggested.
(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
Created attachment 188492 [details] qmake cache file
That's wrong .qmake.cache, I think. It looks like the one from ${S}/config.tests, I was asking about one from ${S}.
(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.
Created attachment 188499 [details] qmake vars file
(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.
Created attachment 188523 [details] ebuild environment
Created attachment 188525 [details] zlib config.tests makefile
Issue doesn't reproduce using qt-gui-4.5.0-r2.