Hi,
The line is:
{ Q_ASSERT_X(i >= 0 && i < p.size(), "QList<T>::at", "index out of range");
But I wonder why your ruby is 2.5.0, the current ruby in ubuntu18.04 is
2.5.1
Best, Steffen
Am 23.06.21 um 14:07 schrieb Javier Hidalgo-Carrió:
Hi Steffen,
Thanks for the quick feedback! Can you please tell me what do you have
in /usr/include/qt4/QtCore/qlist.h at line 469? It is failing in an
assert to me. Which is probably right.
The error output :
using generator
"/var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/ext/build/generator/bin/generator_smoke.so"
parsing
"/var/lib/gems/2.5.0/gems/qtbindings-4.8.6.5/ext/smoke/qtxmlpatterns/qtxmlpatterns_includes.h"
ASSERT failure in QList<T>::at: "index out of range", file
/usr/include/qt4/QtCore/qlist.h, line 469
Aborted (core dumped)
smoke/qtxmlpatterns/CMakeFiles/smokeqtxmlpatterns.dir/build.make:74:
recipe for target 'smoke/qtxmlpatterns/smokedata.cpp' failed
Ubuntu 18.04: 5.4.0-74-generic #83~18.04.1-Ubuntu SMP Tue May 11
16:01:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Regards,
Javier.
On Wed, 23 Jun 2021 at 13:46, Steffen Planthaber
<[email protected] <mailto:[email protected]>> wrote:
Hi,
I tried to recreate the issue on a new ubuntu 18.04 docker container.
The qtbindings are compiling fine for me.
Best, Steffen
Am 23.06.21 um 13:09 schrieb Steffen Planthaber:
Hmm,
Our buildserver installs without failure on 18.04.
For 20.04, one workaround for ruby is to use rbenv
apt-get install -y rbenv
# update ruby versions for rbenv
mkdir -p "$(rbenv root)"/plugins/
git clonehttps://github.com/rbenv/ruby-build <https://github.com/rbenv/ruby-build>
"$(rbenv root)"/plugins/ruby-build
#install 2.5.1 (ubutnu 18.04)
rbenv install -f 2.5.1
rbenv global 2.5.1
eval "$(rbenv init -)" && ruby autoproj_bootstrap --no-color --no-progress
--no-interactive || true
After this, the correct ruby executable is set by the env.sh
WARNING: This is used in docker on our buildserver, I never
checked further impacts on the system etc.
Kind Regards,
STeffen
Am 23.06.21 um 12:18 schrieb Javier Hidalgo-Carrió:
Hi rock-dev,
I see 'gem install qtbindings' is failing when installing rock
in Ubuntu 18.04 with ruby2.5. Similar to this issue
https://github.com/ryanmelt/qtbindings/issues/169
<https://github.com/ryanmelt/qtbindings/issues/169>
Is there any backup plan to overcome this issue?
Regards,
Javier.
_______________________________________________
Rock-dev mailing list
[email protected] <mailto:[email protected]>
https://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
<https://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev>
--
Steffen Planthaber
Besuchsadresse der Nebengeschäftstelle:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Postadresse der Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 1
28359 Bremen, Germany
Tel.: +49 421 178 45-4125
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail:[email protected] <mailto:[email protected]>
Weitere Informationen:http://www.dfki.de/robotik
<http://www.dfki.de/robotik>
-------------------------------------------------------------
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH
Trippstadter Strasse 122, 67663 Kaiserslautern, Germany
Geschäftsführung:
Prof. Dr. Antonio Krüger (Vorsitzender)
Helmut Ditzer
Vorsitzender des Aufsichtsrats:
Dr. Gabriël Clemens
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------
_______________________________________________
Rock-dev mailing list
[email protected] <mailto:[email protected]>
https://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
<https://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev>
--
Steffen Planthaber
Besuchsadresse der Nebengeschäftstelle:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Postadresse der Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 1
28359 Bremen, Germany
Tel.: +49 421 178 45-4125
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail:[email protected] <mailto:[email protected]>
Weitere Informationen:http://www.dfki.de/robotik
<http://www.dfki.de/robotik>
-------------------------------------------------------------
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH
Trippstadter Strasse 122, 67663 Kaiserslautern, Germany
Geschäftsführung:
Prof. Dr. Antonio Krüger (Vorsitzender)
Helmut Ditzer
Vorsitzender des Aufsichtsrats:
Dr. Gabriël Clemens
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------
_______________________________________________
Rock-dev mailing list
[email protected] <mailto:[email protected]>
https://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
<https://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev>
_______________________________________________
Rock-dev mailing list
[email protected]
https://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
--
Steffen Planthaber
Besuchsadresse der Nebengeschäftstelle:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Postadresse der Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 1
28359 Bremen, Germany
Tel.: +49 421 178 45-4125
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: [email protected]
Weitere Informationen: http://www.dfki.de/robotik
-------------------------------------------------------------
Deutsches Forschungszentrum für Künstliche Intelligenz GmbH
Trippstadter Strasse 122, 67663 Kaiserslautern, Germany
Geschäftsführung:
Prof. Dr. Antonio Krüger (Vorsitzender)
Helmut Ditzer
Vorsitzender des Aufsichtsrats:
Dr. Gabriël Clemens
Amtsgericht Kaiserslautern, HRB 2313
-------------------------------------------------------------
_______________________________________________
Rock-dev mailing list
[email protected]
https://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev