Package: qt4-x11 Version: 4.4.0-3 Severity: important Tags: patch Hi,
Qt-4.4 now fails to build due to a PATH_MAX issue in 3rd party code: > /clucene/src/CLucene/queryParser > -I../../../../src/3rdparty/clucene/src/CLucene/search > -I../../../../src/3rdparty/clucene/src/CLucene/store > -I../../../../src/3rdparty/clucene/src/CLucene/util > -I.moc/release-shared -I.uic/release-shared -o > .obj/release-shared/StdHeader.o > ../../../../src/3rdparty/clucene/src/CLucene/StdHeader.cpp > In file included from > ../../../../src/3rdparty/clucene/src/CLucene/StdHeader.h:19, > from > ../../../../src/3rdparty/clucene/src/CLucene/StdHeader.cpp:9: > ../../../../src/3rdparty/clucene/src/CLucene/config/compiler.h:150:3: > error: #error "CL_MAX_PATH could not be determined" See e.g. http://buildd.debian-ports.org/fetch.php?&pkg=qt4-x11&ver=4.4.0-2&arch=hurd-i386&stamp=1211261593&file=log&as=raw for the full log. Our main Qt porter is looking at this, but as qt4 is uninstallable since the move to 4.4, and a lot of package Build-Depends on it indirectly, I propose to apply the attached patch as a first measure, hopefully that will be enough. thanks, Michael
--- qt4-x11-4.4.0/src/3rdparty/clucene/src/CLucene/config/compiler.h.orig 2008-06-12 04:33:08.000000000 -0600 +++ qt4-x11-4.4.0/src/3rdparty/clucene/src/CLucene/config/compiler.h 2008-06-12 04:33:47.000000000 -0600 @@ -147,7 +147,7 @@ #elif defined(_MAX_PATH) #define CL_MAX_PATH _MAX_PATH #else - #error "CL_MAX_PATH could not be determined" + #define CL_MAX_PATH 4096 #endif //this is the max filename... for now its just the same,