Bug 1748923 - perl-Geo-Proj4-1.09-4.fc32 FTBFS with proj-6.2.0: Proj4.xs:7:10: fatal error: projects.h: No such file or directory
Summary: perl-Geo-Proj4-1.09-4.fc32 FTBFS with proj-6.2.0: Proj4.xs:7:10: fatal error:...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Geo-Proj4
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-04 13:13 UTC by Petr Pisar
Modified: 2019-09-20 08:09 UTC (History)
1 user (show)

Fixed In Version: perl-GIS-Distance-0.18-5.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-20 08:09:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 129389 0 None None None 2019-09-04 13:16:49 UTC
Github markov2 perl5-Geo-Proj4 issues 3 0 None None None 2019-09-04 13:13:37 UTC

Description Petr Pisar 2019-09-04 13:13:37 UTC
perl-Geo-Proj4-1.09-4.fc32 fails to build in F32:

gcc -c  -I./include -I. -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection   -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -fPIC "-I/usr/lib64/perl5/CORE"   Proj4.c
Proj4.xs:7:10: fatal error: projects.h: No such file or directory
    7 | #include "projects.h"
      |          ^~~~~~~~~~~~
compilation terminated.

This is triggered with upgrading proj-devel from 5.2.0 to 6.2.0.

Comment 1 Petr Pisar 2019-09-04 13:14:54 UTC
Upstream struggles with the porting since May 2019.

Comment 2 Petr Pisar 2019-09-20 07:54:12 UTC
I managed to port the code so that it compiles, but tests fail. The reason is that the new Proj API changes semantics. That requires a complete rewrite of perl-Geo-Proj4 because perl-Geo-Proj4 is only a thin wrapper around Proj. The complete rewrite would naturally change perl-Geo-Proj4 API and semantics. That means perl-Geo-Proj4 is dead. Upstream confirmed he cannot work on that.

We need to retire perl-Geo-Proj4.

Affected packages:

perl-Geo-Proj4
perl-Geo-Point -- hard-require perl-Geo-Proj4, will be retired.
perl-GIS-Distance -- uses perl-Geo-Point for optional tests. Optional tests will be disabled.
perl-GIS-Distance-Fast -- hard-require perl-GIS-Distance

Therefore I'm going to retire perl-Geo-Proj4 and perl-Geo-Point. perl-GIS-Distance spec file will be adjusted. perl-GIS-Distance-Fast does not need any changes.

Comment 3 Petr Pisar 2019-09-20 08:09:42 UTC
This package was removed from Fedora 32.


Note You need to log in before you can comment on or make changes to this bug.