Opened 11 months ago

Closed 9 months 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 9 months ago.
Patch for the ZOO-Kernel configure.ac file
zoo-kernel-fixes.patch (2.3 KB) - added by djay 9 months 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 9 months ago.
Uupdated patch (containing the previous one).
zoo-patch-test1.patch (3.4 KB) - added by djay 9 months ago.
Fix issue about libxml2
zoo-patch-test2.patch (5.0 KB) - added by djay 9 months ago.
Fix remaining old ParameterType?
zoo-patch-test3.patch (5.4 KB) - added by djay 9 months ago.
Fix for detecting Python 3.8 library location
zoo-patch-test4.patch (5.6 KB) - added by djay 9 months ago.
zoo-patch-test4.2.patch (9.0 KB) - added by djay 9 months ago.
Patch to get it building correctly with python 3.8
zoo-patch-test4.3.patch (7.7 KB) - added by djay 9 months ago.
Fixing conflict with other patches

Download all attachments as: .zip

Change history (28)

comment:1 Changed 10 months ago by kalxas

Type: defecttask

comment:2 Changed 9 months ago by kalxas

Type: taskdefect

comment:3 Changed 9 months ago by kalxas

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

Changed 9 months ago by djay

Attachment: patch.p0 added

Patch for the ZOO-Kernel configure.ac file

comment:4 Changed 9 months ago by djay

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 Changed 9 months ago by kalxas

Thanks Gerald, I will apply and let you know.

Changed 9 months ago by djay

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 Changed 9 months ago by djay

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

comment:9 in reply to:  6 Changed 9 months ago by djay

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,

Changed 9 months ago by djay

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

Uupdated patch (containing the previous one).

comment:11 Changed 9 months ago by djay

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 Changed 9 months ago by kalxas

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

Changed 9 months ago by djay

Attachment: zoo-patch-test1.patch added

Fix issue about libxml2

comment:15 Changed 9 months ago by djay

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

Changed 9 months ago by djay

Attachment: zoo-patch-test2.patch added

Fix remaining old ParameterType?

comment:17 Changed 9 months ago by djay

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.

Changed 9 months ago by djay

Attachment: zoo-patch-test3.patch added

Fix for detecting Python 3.8 library location

Changed 9 months ago by djay

Attachment: zoo-patch-test4.patch added

Changed 9 months ago by djay

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

Patch to get it building correctly with python 3.8

Changed 9 months ago by djay

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

Fixing conflict with other patches

comment:19 Changed 9 months ago by kalxas

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.