Opened 3 years ago

Closed 3 years ago

#2282 closed defect (fixed)

zoo-project packages missing for focal

Reported by: kalxas Owned by: osgeolive@…
Priority: critical Milestone: OSGeoLive14.0
Component: OSGeoLive Keywords:
Cc: osgeolive@…

Description


Attachments (9)

patch.p0 (552 bytes ) - added by djay 3 years ago.
Patch for the ZOO-Kernel configure.ac file
zoo-kernel-fixes.patch (2.3 KB ) - added by djay 3 years ago.
Patch fixing configure.ac, removing the references from ParameterType_ComplexInputImage and ParameterType_ComplexOutputImage (for zcfg2ptb and service_internal_otb)
zoo-kernel-test-fix.patch (2.6 KB ) - added by djay 3 years ago.
Uupdated patch (containing the previous one).
zoo-patch-test1.patch (3.4 KB ) - added by djay 3 years ago.
Fix issue about libxml2
zoo-patch-test2.patch (5.0 KB ) - added by djay 3 years ago.
Fix remaining old ParameterType
zoo-patch-test3.patch (5.4 KB ) - added by djay 3 years ago.
Fix for detecting Python 3.8 library location
zoo-patch-test4.patch (5.6 KB ) - added by djay 3 years ago.
zoo-patch-test4.2.patch (9.0 KB ) - added by djay 3 years ago.
Patch to get it building correctly with python 3.8
zoo-patch-test4.3.patch (7.7 KB ) - added by djay 3 years ago.
Fixing conflict with other patches

Download all attachments as: .zip

Change history (28)

comment:1 by kalxas, 3 years ago

Type: defecttask

comment:2 by kalxas, 3 years ago

Type: taskdefect

comment:3 by kalxas, 3 years ago

checking for proj_api.h... no
configure: error: could not find headers include related to PROJ4
	cd zoo-project/zoo-kernel && tail -v -n \+0 config.log
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ZOO Kernel configure 1.8.0, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --sharedstatedir=/var/lib --with-etc-dir=yes --sysconfdir=/etc/zoo-project --with-python --with-js --with-java=/usr/lib/jvm/default-java --with-java-rpath=yes --with-cgal=/usr --with-mapserver=/usr --with-ms-version=7 --with-itk=/usr --with-itk-version=4.13 --with-otb=/usr --with-otb-version=7.2

by djay, 3 years ago

Attachment: patch.p0 added

Patch for the ZOO-Kernel configure.ac file

comment:4 by djay, 3 years ago

If it is possible to apply the patch attached here, then make sure to run autoconf before running configure. This should solve the issue.

comment:5 by kalxas, 3 years ago

Thanks Gerald, I will apply and let you know.

by djay, 3 years ago

Attachment: zoo-kernel-fixes.patch added

Patch fixing configure.ac, removing the references from ParameterType_ComplexInputImage and ParameterType_ComplexOutputImage (for zcfg2ptb and service_internal_otb)

comment:8 by djay, 3 years ago

I think that the patch I provided here should solve the issue.

in reply to:  6 comment:9 by djay, 3 years ago

Replying to kalxas:

new build error:

https://launchpadlibrarian.net/520200617/buildlog_ubuntu-focal-amd64.zoo-project_1.8.0+ds-1~focal1_BUILDING.txt.gz

From what I can see here in the provided log, it seems this issue comes from the MapServer header file, as shown in the following (extracted from the log file):

In file included from /usr/include/mapserver/mapproject.h:46,

by djay, 3 years ago

Attachment: zoo-kernel-test-fix.patch added

Uupdated patch (containing the previous one).

comment:11 by djay, 3 years ago

Please find here the patch that should solve the issue found in the mentioned issue. Note that it includes the previous patch, so only this one should be applied.

comment:14 by kalxas, 3 years ago

After dropping CGAL service from zoo package we have a libxml related build error:

https://launchpadlibrarian.net/520522174/buildlog_ubuntu-focal-amd64.zoo-project_1.8.0+ds-1~focal6_BUILDING.txt.gz

by djay, 3 years ago

Attachment: zoo-patch-test1.patch added

Fix issue about libxml2

comment:15 by djay, 3 years ago

I have attached a patch containing all the previous modifications and also the fix for the last reported issue.

by djay, 3 years ago

Attachment: zoo-patch-test2.patch added

Fix remaining old ParameterType

comment:17 by djay, 3 years ago

Thanks for reporting the issue, there were remaining some references to ParameterType not existing anymore in the new OTB version.

I think this new patch should solve this issue.

by djay, 3 years ago

Attachment: zoo-patch-test3.patch added

Fix for detecting Python 3.8 library location

by djay, 3 years ago

Attachment: zoo-patch-test4.patch added

by djay, 3 years ago

Attachment: zoo-patch-test4.2.patch added

Patch to get it building correctly with python 3.8

by djay, 3 years ago

Attachment: zoo-patch-test4.3.patch added

Fixing conflict with other patches

comment:19 by kalxas, 3 years ago

Resolution: fixed
Status: newclosed

Thanks,

package now builds with Python 3 and is going to be available at next nightly iso

Note: See TracTickets for help on using tickets.