[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Porting issue with Qt5 on sparc64 - need quick advise



On Wednesday 04 November 2015 13:46:05 John Paul Adrian Glaubitz wrote:
> Dear Debian Qt Maintainers!
> 
> I am currently working on bringing Debian on sparc64 back into shape
> and yesterday I ran into an issue while building Qt5:
> 
> io/qtldurl.cpp: In function 'bool containsTLDEntry(const QString&)':
> io/qtldurl.cpp:46:34: error: 'tldCount' was not declared in this scope
>      int index = qt_hash(entry) % tldCount;
>                                   ^
> io/qtldurl.cpp:50:23: error: 'tldIndices' was not declared in this scope
>      uint chunkIndex = tldIndices[index], offset = 0;
>                        ^
> 
> For me, this looks like an issue with any of the dependencies of the
> Qt5 package being outdated on sparc64 but I am not sure which.

From the build log:

# Add here the code to generate the helpers and then the headers.
sh debian/generateTLDs.sh
make[2]: Entering directory '/«BUILDDIR»/qtbase-opensource-src-5.5.1+dfsg/util/corelib/qurl-generateTLDs'
g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -fno-exceptions -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../../include -I../../../include/QtCore -I.moc -I../../../mkspecs/linux-g++-64 -o .obj/main.o main.cpp
g++ -Wl,-z,relro -Wl,--as-needed -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -o qurl-generateTLDs .obj/main.o   -L/«BUILDDIR»/qtbase-opensource-src-5.5.1+dfsg/lib -lQt5Core -lpthread 
make[2]: Leaving directory '/«BUILDDIR»/qtbase-opensource-src-5.5.1+dfsg/util/corelib/qurl-generateTLDs'
Segmentation fault
cat: effective_tld_names.dat.qt: No such file or directory
# Clean up the compiled code and start again.

So basically it's failing to regenerate the TLDs list. See debian/rules's
override_dh_auto_build-arch, specially line 228.

Happy hacking!

-- 
Cuando me preguntaron sobre algún arma capaz de contrarrestar el poder de la
bomba atómica, yo sugerí la mejor de todas: la paz.
 Albert Einstein

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: