Please provide static archives inside libtqt4-dev

Bug #1776717 reported by empty on 2018-06-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
Undecided
Unassigned

Bug Description

Look like debbuild doesn’t works well when used for cross compiling (I don’t have enough ram for native building on the target device) :

{standard input}:33009: Error: operand mismatch -- `swpb x1,x9,[x10]'
{standard input}:33009: Info: did you mean this?
{standard input}:33009: Info: swpb w1, w9, [x10]
{standard input}:33488: Error: operand mismatch -- `swpb x9,x20,[x19]'
{standard input}:33488: Info: did you mean this?
{standard input}:33488: Info: swpb w9, w20, [x19]
{standard input}:33511: Error: operand mismatch -- `swpb x10,x20,[x19]'
{standard input}:33511: Info: did you mean this?
{standard input}:33511: Info: swpb w10, w20, [x19]
{standard input}:33542: Error: operand mismatch -- `swpb x3,x11,[x12]'
{standard input}:33542: Info: did you mean this?
{standard input}:33542: Info: swpb w3, w11, [x12]
{standard input}:33763: Error: operand mismatch -- `swpb x2,x20,[x19]'
{standard input}:33763: Info: did you mean this?
{standard input}:33763: Info: swpb w2, w20, [x19]
{standard input}:33784: Error: operand mismatch -- `swpb x3,x20,[x19]'
{standard input}:33784: Info: did you mean this?
{standard input}:33784: Info: swpb w3, w20, [x19]
{standard input}:33820: Error: operand mismatch -- `swpb x1,x8,[x4]'
{standard input}:33820: Info: did you mean this?
{standard input}:33820: Info: swpb w1, w8, [x4]
{standard input}:33961: Error: operand mismatch -- `swpb x8,x20,[x27]'
{standard input}:33961: Info: did you mean this?
{standard input}:33961: Info: swpb w8, w20, [x27]
{standard input}:33981: Error: operand mismatch -- `swpb x9,x20,[x27]'
{standard input}:33981: Info: did you mean this?
{standard input}:33981: Info: swpb w9, w20, [x27]
{standard input}:34009: Error: operand mismatch -- `swpb x1,x12,[x11]'
{standard input}:34009: Info: did you mean this?
{standard input}:34009: Info: swpb w1, w12, [x11]
{standard input}:34124: Error: operand mismatch -- `swpb x2,x27,[x19]'
{standard input}:34124: Info: did you mean this?
{standard input}:34124: Info: swpb w2, w27, [x19]
{standard input}:34144: Error: operand mismatch -- `swpb x3,x27,[x19]'
{standard input}:34144: Info: did you mean this?
{standard input}:34144: Info: swpb w3, w27, [x19]
{standard input}:34172: Error: operand mismatch -- `swpb x1,x6,[x5]'
{standard input}:34172: Info: did you mean this?
{standard input}:34172: Info: swpb w1, w6, [x5]
{standard input}:34235: Error: operand mismatch -- `swpb x1,x6,[x4]'
{standard input}:34235: Info: did you mean this?
{standard input}:34235: Info: swpb w1, w6, [x4]
{standard input}:34354: Error: operand mismatch -- `swpb x1,x13,[x14]'
{standard input}:34354: Info: did you mean this?
{standard input}:34354: Info: swpb w1, w13, [x14]
Makefile:8364: recipe for target '.obj/release-static/qfutureinterface.o' failed
make[3]: *** [.obj/release-static/qfutureinterface.o] Error 1
make[3]: Leaving directory '/root/qt4-x11-4.8.7+dfsg/src/corelib'
Makefile:201: recipe for target 'sub-corelib-make_default-ordered' failed
make[2]: *** [sub-corelib-make_default-ordered] Error 2
dh_auto_build: make -j8 -O returned exit code 2
debian/rules:173: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 25
make[1]: Leaving directory '/root/qt4-x11-4.8.7+dfsg'
debian/rules:94: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

As result, I’m unable to distribute an ubuntu independent static executable (or rather distribution independent at all https://softwarerecs.stackexchange.com/q/50597/2341)

The problem above is rather an xyz one. As far I know, Qt4 as well as Qt5 are the only dev package in ubuntu where a version suitable for static linking whereas this is as simple as passing -static to configure if building inside the correct environment (which I added to debian/rules). This concerns all architectures, and not only those in third party ports.

If you refuse to fix it for Qt4, please fix it for Qt5 !

empty (ytrezq) wrote :

It was for building for arm64

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers