Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1412771 - pl: FTBFS in Fedora Rawhide on armv7hl
Summary: pl: FTBFS in Fedora Rawhide on armv7hl
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: pl
Version: rawhide
Hardware: armv7hl
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1412953
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-12 18:29 UTC by Igor Gnatenko
Modified: 2017-01-13 12:14 UTC (History)
3 users (show)

Fixed In Version: pl-7.2.3-4.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-13 12:14:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2017-01-12 18:29:58 UTC
https://koji.fedoraproject.org/koji/taskinfo?taskID=17259189

+ mv 'swipl-7.2.3/lib/*/libjpl.so' swipl-jpl/
mv: cannot stat 'swipl-7.2.3/lib/*/libjpl.so': No such file or directory

Comment 1 Petr Pisar 2017-01-13 08:07:40 UTC
The real failure is:

gcc -shared -rdynamic -Wl,--enable-new-dtags -pthread -Wl,-rpath=/usr/lib/swipl-7.2.3/lib/armv7hl-linux -L/builddir/build/BUILD/swipl-7.2.3/src/../lib/armv7hl-linux -L'/usr/lib/jvm/java-1.8.0-openjdk-aarch32-1.8.0.112-2.161109.fc26.arm/jre/lib/arm/server' -L'/usr/lib/jvm/java-1.8.0-openjdk-aarch32-1.8.0.112-2.161109.fc26.arm/jre/lib/arm' -o libjpl.so src/c/jpl.o  -ljava -lverify -ljvm -lswipl
/usr/bin/ld: cannot find -ljava
/usr/bin/ld: cannot find -lverify
/usr/bin/ld: cannot find -ljvm
collect2: error: ld returned 1 exit status

I would say that openjdk relocated its libraries again as happened many times in the history. But Koschei blames glibc:

        glibc-devel 	2.24.90-24.fc26 	> 	2.24.90-25.fc26
	glibc 	2.24.90-24.fc26 	> 	2.24.90-25.fc26
	libcrypt-nss 	2.24.90-24.fc26 	> 	2.24.90-25.fc26
	glibc-common 	2.24.90-24.fc26 	> 	2.24.90-25.fc26
	glibc-headers 	2.24.90-24.fc26 	> 	2.24.90-25.fc26
	glibc-all-langpacks 	2.24.90-24.fc26 	> 	2.24.90-25.fc26
	kernel-headers 	4.10.0-0.rc0.git8.1.... 	> 	4.10.0-0.rc0.git9.1....
	python3-lxml 	3.7.0-2.fc26 	> 	3.7.1-1.fc26
	python3-setuptools 	30.4.0-2.fc26 	> 	32.2.0-1.fc26

Comment 2 Petr Pisar 2017-01-13 09:06:59 UTC
It actually looks like a change in openjdk. There is an experimental arm32 package that misplaces the shared libraries (bug #1412953).

Comment 3 Petr Pisar 2017-01-13 12:14:04 UTC
I applied a workaround in the pl package.


Note You need to log in before you can comment on or make changes to this bug.