Open aderbenev opened 6 years ago
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
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.
Or more strictly:
rm -f $(CURDIR)/debian/tmp/usr/lib/epics/lib/pkgconfig/epics-base-$(EPICS_HOST_ARCH).pc
Careful. Does that work for cross-builds?
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.
When building rtems-epics https://github.com/epicsdeb/epics-base/commit/aff7372d52f26505a809c4e59266e449d087e2ad with rebuildd on 32 bit Debian 8 jessie image, error message is:
Addition to override_dh_install in debian/rules fixes the build: