[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: zoo-project 1.7.0



On 2019-07-23 13:10, Angelos Tzotsos wrote:
This is what I got from a test build on Launchpad:
https://launchpad.net/~gcpp-kalxas/+archive/ubuntu/osgeolive/+sourcepub/10360913/+listing-archive-extra

That would be:

 configure: error: checking for GetAvailableApplications... failed

The configure log for that shows:

/usr/bin/ld: /tmp/ccnIzndw.o: relocation R_X86_64_32 against `.rodata._ZNK3itk10Statistics37MersenneTwisterRandomVariateGenerator14GetNameOfClassEv.str1.8' can not be used when making a PIE object; recompile with -fPIC
 /usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

You can try to enable PIE for bionic by removing it in debian/rules:

 # Disable PIE on Ubuntu where it's still problematic
VENDOR_DERIVES_FROM_UBUNTU ?= $(shell dpkg-vendor --derives-from Ubuntu && echo yes)
 DISTRIBUTION_RELEASE       := $(shell lsb_release -cs)

 ifeq ($(VENDOR_DERIVES_FROM_UBUNTU),yes)
   ifneq (,$(filter $(DISTRIBUTION_RELEASE),xenial bionic))
     export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
   endif
 endif

Kind Regards,

Bas


Reply to: