Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS: libsegwayrmp (ARM only) #33

Open
cottsay opened this issue Mar 26, 2015 · 2 comments
Open

FTBFS: libsegwayrmp (ARM only) #33

cottsay opened this issue Mar 26, 2015 · 2 comments

Comments

@cottsay
Copy link
Member

cottsay commented Mar 26, 2015

Example failure: https://csc.mcs.sdsmt.edu/jenkins/job/ros-indigo-libsegwayrmp_binaryrpm_heisenbug_armhfp/1/consoleFull

@richmattes
Copy link

Linking CXX shared library ../lib/libsegwayrmp.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/segwayrmp.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard  -O2 -g -DNDEBUG  -Wl,-z,relro  -shared -Wl,-soname,libsegwayrmp.so -o ../lib/libsegwayrmp.so CMakeFiles/segwayrmp.dir/src/segwayrmp.cc.o CMakeFiles/segwayrmp.dir/src/impl/rmp_io.cc.o CMakeFiles/segwayrmp.dir/src/impl/rmp_serial.cc.o CMakeFiles/segwayrmp.dir/src/impl/rmp_ftd2xx.cc.o -lboost_system -lboost_thread /opt/ros/indigo/lib/libserial.so ../ftd2xx/linux/x32/libftd2xx.a -ldl -lrt -lpthread -Wl,-rpath,/opt/ros/indigo/lib: 
/usr/bin/ld: ../ftd2xx/linux/x32/libftd2xx.a(ftd2xx.o): Relocations in generic ELF (EM: 3)
/usr/bin/ld: ../ftd2xx/linux/x32/libftd2xx.a(ftd2xx.o): Relocations in generic ELF (EM: 3)
/usr/bin/ld: ../ftd2xx/linux/x32/libftd2xx.a(ftd2xx.o): Relocations in generic ELF (EM: 3)
/usr/bin/ld: ../ftd2xx/linux/x32/libftd2xx.a(ftd2xx.o): Relocations in generic ELF (EM: 3)
../ftd2xx/linux/x32/libftd2xx.a: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status

This driver is including the driver blob from FTDI, and doesn't include an ARM build. As such, this package won't build on ARM unless it's ported away from libftd2xx.

Already reported against libsegwayrmp at segwayrmp/libsegwayrmp#6

@cottsay
Copy link
Member Author

cottsay commented Mar 31, 2015

I set up the buildfarm to "Abort" as opposed to "Fail" if the build fails correctly as the result of a "ExcludeArch:" or "ExclusiveArch:" in the .spec file. If this package is deemed to be "unbuildable" on Fedora ARM, we should open a PR against the -release repo to automatically patch the .spec to "ExcludeArch: %{arm}".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants