[Pkg-electronics-devel] Bug#990534: arduino: Arduino-IDE not starting

Carsten Schoenert c.schoenert at t-online.de
Sun Sep 11 07:08:27 BST 2022


Hello Francisco,

Am Wed, Sep 07, 2022 at 09:15:18PM +0000 schrieb Francisco Gonzalez Morell:
> There is a bug report with the same problem in Ubuntu.

no, it's not.
The two issues have different roots for the misbehavior. You talking
about a problem that was within the package listserialportsc.

> https://bugs.launchpad.net/ubuntu/+source/arduino/+bug/1916278
> 
> The problem seems to be the order of the linker flags in the
> listserialportsc Makefile. Moving the LDFLAGS after the object files
> fixes the bug.
> 
> listserialportsc is missing a library dependency: libserialport.so.0
> 
> A workaround is:
> 
> sudo apt install libserialport0 patchelf
> 
> sudo patchelf --add-needed /usr/lib/x86_64-linux-gnu/libserialport.so.0
> /usr/lib/x86_64-linux-gnu/liblistSerialsj.so.1.4.0

Debian didn't had this problem as Debian isn't using --as-needed within
the linker flags.
But a few days ago a MR for listserialportsc was worked into the
packaging that is reordering the LDFLAGS so an rebuild on the Ubuntu
infrastructur will create correctly linked binaries again (once Ubuntu
will pull in new packages from Debian).

https://salsa.debian.org/electronics-team/arduino/listserialportsc/-/merge_requests/2
https://tracker.debian.org/news/1358628/accepted-listserialportsc-140repack-1-source-into-unstable/

Regards
Carsteb



More information about the Pkg-electronics-devel mailing list