signon-plugin-oauth2-0.15 fails to build

Bug #1156776 reported by Lukas Vacek on 2013-03-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Online Accounts: Sign-on daemon
Fix Committed
Low
Unassigned
signon (Ubuntu)
Undecided
Unassigned
Raring
Undecided
Unassigned

Bug Description

In up to date raring, I run "apt-src install signon-plugin-oauth2" and "dpkg-buildpackage".

dpkg-buildpackage fails with:

make[2]: Entering directory `/home/lukas/dev/signon-plugin-oauth2-0.15/tests'
xvfb-run dbus-test-runner -t ./signon-oauth2plugin-tests
DBus daemon: unix:abstract=/tmp/dbus-jr5NMrjUAs,guid=7304a43bce16e2574541379051465093
task-0: Started with PID: 2917
*** Error in `./signon-oauth2plugin-tests': realloc(): invalid pointer: 0x000000000062f620 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7f576)[0x2aaaac2c4576]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0x300)[0x2aaaac2c8da0]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData7reallocEi+0x26)[0x2aaaaad80b86]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData6appendEi+0x67)[0x2aaaaad80c47]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x17dbec)[0x2aaaaae4dbec]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_Z21qRegisterResourceDataiPKhS0_S0_+0x116)[0x2aaaaae4ab16]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x28bd73)[0x2aaaaaf5bd73]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x6be39)[0x2aaaaad3be39]
/lib64/ld-linux-x86-64.so.2(+0xf876)[0x2aaaaaaba876]
/lib64/ld-linux-x86-64.so.2(+0xf930)[0x2aaaaaaba930]
/lib64/ld-linux-x86-64.so.2(+0x168a)[0x2aaaaaaac68a]
======= Memory map: ========
00400000-0042f000 r-xp 00000000 08:05 294567 /home/lukas/dev/signon-plugin-oauth2-0.15/tests/signon-oauth2plugin-tests
0062e000-0062f000 r--p 0002e000 08:05 294567 /home/lukas/dev/signon-plugin-oauth2-0.15/tests/signon-oauth2plugin-tests
0062f000-00630000 rw-p 0002f000 08:05 294567 /home/lukas/dev/signon-plugin-oauth2-0.15/tests/signon-oauth2plugin-tests
00aed000-00b0e000 rw-p 00000000 00:00 0 [heap]
2aaaaaaab000-2aaaaaace000 r-xp 00000000 08:05 276400 /lib/x86_64-linux-gnu/ld-2.17.so
2aaaaaace000-2aaaaaad1000 rw-p 00000000 00:00 0
2aaaaaaea000-2aaaaaaf5000 rw-p 00000000 00:00 0
2aaaaaccd000-2aaaaacce000 r--p 00022000 08:05 276400 /lib/x86_64-linux-gnu/ld-2.17.so
2aaaaacce000-2aaaaacd0000 rw-p 00023000 08:05 276400 /lib/x86_64-linux-gnu/ld-2.17.so
2aaaaacd0000-2aaaab0d7000 r-xp 00000000 08:05 36188 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.0.1
2aaaab0d7000-2aaaab2d7000 ---p 00407000 08:05 36188 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.0.1
2aaaab2d7000-2aaaab2e1000 r--p 00407000 08:05 36188 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.0.1
2aaaab2e1000-2aaaab2e2000 rw-p 00411000 08:05 36188 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.0.1
2aaaab2e2000-2aaaab2e4000 rw-p 00000000 00:00 0
2aaaab2e4000-2aaaab306000 r-xp 00000000 08:05 10673 /usr/lib/x86_64-linux-gnu/libqjson.so.0.8.1
2aaaab306000-2aaaab505000 ---p 00022000 08:05 10673 /usr/lib/x86_64-linux-gnu/libqjson.so.0.8.1
2aaaab505000-2aaaab506000 r--p 00021000 08:05 10673 /usr/lib/x86_64-linux-gnu/libqjson.so.0.8.1
2aaaab506000-2aaaab507000 rw-p 00022000 08:05 10673 /usr/lib/x86_64-linux-gnu/libqjson.so.0.8.1
2aaaab507000-2aaaab52b000 r-xp 00000000 08:05 7748 /usr/lib/x86_64-linux-gnu/libQtTest.so.4.8.4
2aaaab52b000-2aaaab72a000 ---p 00024000 08:05 7748 /usr/lib/x86_64-linux-gnu/libQtTest.so.4.8.4
2aaaab72a000-2aaaab72b000 r--p 00023000 08:05 7748 /usr/lib/x86_64-linux-gnu/libQtTest.so.4.8.4
2aaaab72b000-2aaaab72c000 rw-p 00024000 08:05 7748 /usr/lib/x86_64-linux-gnu/libQtTest.so.4.8.4
2aaaab72c000-2aaaab863000 r-xp 00000000 08:05 7742 /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.4
2aaaab863000-2aaaaba63000 ---p 00137000 08:05 7742 /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.4
2aaaaba63000-2aaaaba69000 r--p 00137000 08:05 7742 /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.4
2aaaaba69000-2aaaaba6b000 rw-p 0013d000 08:05 7742 /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4.8.4
2aaaaba6b000-2aaaabd35000 r-xp 00000000 08:05 7759 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4
2aaaabd35000-2aaaabf35000 ---p 002ca000 08:05 7759 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4
2aaaabf35000-2aaaabf40000 r--p 002ca000 08:05 7759 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4
2aaaabf40000-2aaaabf41000 rw-p 002d5000 08:05 7759 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4
2aaaabf41000-2aaaabf42000 rw-p 00000000 00:00 0
2aaaabf42000-2aaaac027000 r-xp 00000000 08:05 1939 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
2aaaac027000-2aaaac226000 ---p 000e5000 08:05 1939 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
2aaaac226000-2aaaac22e000 r--p 000e4000 08:05 1939 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
2aaaac22e000-2aaaac230000 rw-p 000ec000 08:05 1939 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
2aaaac230000-2aaaac245000 rw-p 00000000 00:00 0
2aaaac245000-2aaaac403000 r-xp 00000000 08:05 276411 /lib/x86_64-linux-gnu/libc-2.17.so
2aaaac403000-2aaaac602000 ---p 001be000 08:05 276411 /lib/x86_64-linux-gnu/libc-2.17.so
2aaaac602000-2aaaac606000 r--p 001bd000 08:05 276411 /lib/x86_64-linux-gnu/libc-2.17.so
2aaaac606000-2aaaac608000 rw-p 001c1000 08:05 276411 /lib/x86_64-linux-gnu/libc-2.17.so
2aaaac608000-2aaaac60d000 rw-p 00000000 00:00 0
2aaaac60d000-2aaaac625000 r-xp 00000000 08:05 276413 /lib/x86_64-linux-gnu/libpthread-2.17.so
2aaaac625000-2aaaac824000 ---p 00018000 08:05 276413 /lib/x86_64-linux-gnu/libpthread-2.17.so
2aaaac824000-2aaaac825000 r--p 00017000 08:05 276413 /lib/x86_64-linux-gnu/libpthread-2.17.so
2aaaac825000-2aaaac826000 rw-p 00018000 08:05 276413 /lib/x86_64-linux-gnu/libpthread-2.17.so
2aaaac826000-2aaaac82a000 rw-p 00000000 00:00 0
2aaaac82a000-2aaaac840000 r-xp 00000000 08:05 266171 /lib/x86_64-linux-gnu/libz.so.1.2.7
2aaaac840000-2aaaaca3f000 ---p 00016000 08:05 266171 /lib/x86_64-linux-gnu/libz.so.1.2.7
2aaaaca3f000-2aaaaca40000 r--p 00015000 08:05 266171 /lib/x86_64-linux-gnu/libz.so.1.2.7
2aaaaca40000-2aaaaca41000 rw-p 00016000 08:05 266171 /lib/x86_64-linux-gnu/libz.so.1.2.7
2aaaaca41000-2aaaacbfa000 r-xp 00000000 08:05 2308 /usr/lib/x86_64-linux-gnu/libicui18n.so.48.1.1
2aaaacbfa000-2aaaacdf9000 ---p 001b9000 08:05 2308 /usr/lib/x86_64-linux-gnu/libicui18n.so.48.1.1
2aaaacdf9000-2aaaace06000 r--p 001b8000 08:05 2308 /usr/lib/x86_64-linux-gnu/libicui18n.so.48.1.1
2aaaace06000-2aaaace07000 rw-p 001c5000 08:05 2308 /usr/lib/x86_64-linux-gnu/libicui18n.so.48.1.1
2aaaace07000-2aaaacf5d000 r-xp 00000000 08:05 2316 /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
2aaaacf5d000-2aaaad15c000 ---p 00156000 08:05 2316 /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
2aaaad15c000-2aaaad16d000 r--p 00155000 08:05 2316 /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
2aaaad16d000-2aaaad16e000 rw-p 00166000 08:05 2316 /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
2aaaad16e000-2aaaad172000 rw-p 00000000 00:00 0 task-0: Shutting down
DBus daemon: Shutdown
make[2]: *** [check] Error 255
make[2]: Leaving directory `/home/lukas/dev/signon-plugin-oauth2-0.15/tests'
make[1]: *** [sub-tests-check_ordered] Error 2
make[1]: Leaving directory `/home/lukas/dev/signon-plugin-oauth2-0.15'
dh_auto_test: make -j1 check returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Related branches

description: updated
Alberto Mardegan (mardy) wrote :

Hi Lukas, thanks for reporting this. As you can see from the logs you pasted, the plugin is linking to Qt5Core and to other libs from Qt4.

It looks like the file signon-plugins.pc installed by signon is bringing the Qt5 dependencies; we'll fix that.

affects: account-plugins → signon
Changed in signon:
importance: Undecided → Low
status: New → Triaged
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 559, scheduled for release in signon, milestone 8.38.devel1

Changed in signon:
status: Triaged → Fix Committed
Lukas Vacek (lukas-vacek) wrote :

Changing the status to New as there is another issue causing signon-plugin-oauth2-0.15 to fail to build

Changed in signon:
status: Fix Committed → New
Lukas Vacek (lukas-vacek) wrote :

Indeed the original issue has been fixed.

Now the build fails on:

g++ -m64 -Wl,-O1 -shared -o liboauth2plugin.so base-plugin.o oauth1plugin.o oauth2plugin.o plugin.o moc_base-plugin.o moc_oauth1plugin.o moc_oauth2plugin.o moc_plugin.o -L/usr/lib/x86_64-linux-gnu -lsignon-plugins -lsignon-qt -lqjson -lQtXmlPatterns -lQtNetwork -lQtCore -lpthread
/usr/bin/ld: cannot find -lsignon-plugins
collect2: error: ld returned 1 exit status
make[2]: *** [lib/signon/liboauth2plugin.so] Error 1
make[2]: Leaving directory `/home/lukas/dev/signon-plugin-oauth2-0.15/src'
make[1]: *** [sub-src-make_default-ordered] Error 2
make[1]: Leaving directory `/home/lukas/dev/signon-plugin-oauth2-0.15'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 25
dpkg-buildpackage: error: debian/rules build gave error exit status 2

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 560, scheduled for release in signon, milestone 8.38.devel1

Changed in signon:
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package signon - 8.49-0ubuntu2

---------------
signon (8.49-0ubuntu2) raring; urgency=low

  * debian/rules, debian/signon-plugins-dev.install
    - Install the libsignon-plugins.a file (LP: #1156776)
 -- Alberto Mardegan <email address hidden> Tue, 26 Mar 2013 16:06:25 +0200

Changed in signon (Ubuntu):
status: New → Fix Released
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 561, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 563, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 580, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision None, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 603, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 604, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 605, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision None, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 607, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 609, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 611, scheduled for release in signon, milestone 8.38.devel1

PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:signon at revision 613, scheduled for release in signon, milestone 8.38.devel1

Rolf Leggewie (r0lf) wrote :

raring has seen the end of its life and is no longer receiving any updates. Marking the raring task for this ticket as "Won't Fix".

Changed in signon (Ubuntu Raring):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers