[java-rxtx] 2.2pre2-6 has undefined symbols in librxtxSerial

Problems with packages? Post here, using [tags] of the package name.

[java-rxtx] 2.2pre2-6 has undefined symbols in librxtxSerial

Postby merinoff » Sat Jan 18, 2020 12:35 am

Hi there. As it it states, missing symbols in the package.
This is the same bug:
viewtopic.php?f=15&t=14067

Exerpt:
install java-rxtx
ldd -d /usr/lib/librxtxSerial-2.2pre1.so
linux-vdso.so.1 (0x00007ffe9b365000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa48ed47000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007fa48eb80000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007fa48ed88000)
undefined symbol: minor (/usr/lib/librxtxSerial-2.2pre1.so)
undefined symbol: major (/usr/lib/librxtxSerial-2.2pre1.so)

https://bugzilla.redhat.com/show_bug.cgi?id=1645856 - this is the relevant patch.

I could toss a PR myself, but I'm sort'a new here. I would be glad if you opened a bug and fixed it, or send me a link so that I'd do this myself, if this is possible for a stranger.

Thanks in advance!
merinoff
 
Posts: 4
Joined: Sat Jan 18, 2020 12:29 am

Re: [java-rxtx] 2.2pre2-6 has undefined symbols in librxtxSe

Postby merinoff » Sat Jan 18, 2020 12:36 am

Also, maybe we should just add a check to a CI job, if there is one?
merinoff
 
Posts: 4
Joined: Sat Jan 18, 2020 12:29 am

Re: [java-rxtx] 2.2pre2-6 has undefined symbols in librxtxSe

Postby moonman » Sat Jan 18, 2020 2:13 am

This has been fixed 3 months ago. Not to be rude, but you either didn't even try, or you are going to spam this forum later.
Your account has been flagged.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [java-rxtx] 2.2pre2-6 has undefined symbols in librxtxSe

Postby merinoff » Sat Jan 18, 2020 12:33 pm

I'm not really sure what I should have tried in the first place. This patch [2] is not seen in the commits to java-rxtx package in [1], even in the last October commit (I guess this is the three months you're referring to). The lib seems to be working on Debian/Ubuntu without tweaking (I found no patches of this kind, grepping through apt-get source librxtx-java, you can see Debian patches there [4]). That's why [3] their official repo don't have that patch either, moreover it looks haunted. I cloned the arch community repo, and the source in PKGBUILD is coming from [5], which is ancient (2009). My system is fresh, not a month old, so I have a slight hunch the bug is still there.
I'll try and make PR myself, but I'm not familiar with the process, so any help is appreciated.

[1] https://git.archlinux.org/svntogit/comm ... rep&q=rxtx
[2] https://bugzilla.redhat.com/attachment. ... ction=diff
[3] https://github.com/rxtx/rxtx/blob/devel ... erialImp.c
[4] http://deb.debian.org/debian/pool/main/ ... ian.tar.xz
[5] http://rxtx.qbang.org/pub/rxtx/rxtx-2.2pre2.zip
merinoff
 
Posts: 4
Joined: Sat Jan 18, 2020 12:29 am

Re: [java-rxtx] 2.2pre2-6 has undefined symbols in librxtxSe

Postby moonman » Sat Jan 18, 2020 6:51 pm

1. ArchLinux ARM has the package at version 2.2pre2-6.1 not 2.2pre2-6
2. ArchLinux ARM mostly builds packages unmodified from upstream, but the ones that need to be modified or are specific to arm are in the github repo https://github.com/archlinuxarm/PKGBUILDs
3. You can check package versions and patches for them also in https://archlinuxarm.org/packages
4. Finally, the patch you mentioned is already in 2.2pre2-6.1 https://github.com/archlinuxarm/PKGBUIL ... 75fc50eefc
5. I meant you didn't even try running the package.

The only thing I can think where you went wrong is maybe you confused ArchLinux with ArchLinuxARM ?
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: [java-rxtx] 2.2pre2-6 has undefined symbols in librxtxSe

Postby merinoff » Sun Jan 19, 2020 10:02 pm

The last bit seems to be the case. Sorry for confusion.
merinoff
 
Posts: 4
Joined: Sat Jan 18, 2020 12:29 am

Re: [java-rxtx] 2.2pre2-6 has undefined symbols in librxtxSe

Postby moonman » Sun Jan 19, 2020 10:31 pm

No worries.

Then you are looking for:
https://bbs.archlinux.org
https://bugs.archlinux.org
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 13 guests