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

rtems-epics build fails on 32 bit #13

Open
aderbenev opened this issue Sep 11, 2017 · 5 comments
Open

rtems-epics build fails on 32 bit #13

aderbenev opened this issue Sep 11, 2017 · 5 comments

Comments

@aderbenev
Copy link
Member

When building rtems-epics aff7372 with rebuildd on 32 bit Debian 8 jessie image, error message is:

dh_install: usr/lib/epics/lib/pkgconfig/epics-base-linux-x86.pc exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting

Addition to override_dh_install in debian/rules fixes the build:

rm -f $(CURDIR)/debian/tmp/usr/lib/epics/lib/pkgconfig/epics-base-linux-x86.pc
@mdavidsaver
Copy link
Contributor

Strange, this file should match a line in debian/epics-dev.install

usr/lib/epics/lib/pkgconfig/*.pc usr/share/pkgconfig

in https://github.com/epicsdeb/epics-base/blob/master/debian/epics-dev.install

@mdavidsaver
Copy link
Contributor

Right, this is from the host package... You're on the right track. Can you try changing:

rm -f $(CURDIR)/debian/tmp/usr/lib/epics/lib/pkgconfig/epics-base-linux-x86_64.pc

to

rm -f $(CURDIR)/debian/tmp/usr/lib/epics/lib/pkgconfig/epics-base-linux-*.pc

https://github.com/epicsdeb/epics-base/blob/master-rtems/debian/rules#L64

I guess it's been a while since anyone has done a 32-bit build.

@mdavidsaver
Copy link
Contributor

Or more strictly:

rm -f $(CURDIR)/debian/tmp/usr/lib/epics/lib/pkgconfig/epics-base-$(EPICS_HOST_ARCH).pc

@ralphlange
Copy link
Contributor

Careful. Does that work for cross-builds?

@aderbenev
Copy link
Member Author

The build succeeds after replacing the existing

rm -f $(CURDIR)/debian/tmp/usr/lib/epics/lib/pkgconfig/epics-base-linux-x86_64.pc

with

rm -f $(CURDIR)/debian/tmp/usr/lib/epics/lib/pkgconfig/epics-base-$(EPICS_HOST_ARCH).pc

in debian/rules as suggested.

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

4 participants