Opened 4 years ago

Closed 16 months ago

Last modified 16 months ago

#4752 closed defect (fixed)

PostGIS 3.0.2 build error on ppc64le

Reported by: devrimgunduz Owned by: pramsey
Priority: medium Milestone: PostGIS 3.0.10
Component: postgis Version: 3.0.x
Keywords: Cc:

Description

Hi,

I'm getting the errors in the attached file while building 3.0.2 on RHEL 7 / ppc64le. Can you please take a look?

Thanks!

Attachments (1)

postgis-4752.txt (63.4 KB ) - added by devrimgunduz 4 years ago.

Download all attachments as: .zip

Change History (11)

by devrimgunduz, 4 years ago

Attachment: postgis-4752.txt added

comment:1 by Algunenano, 4 years ago

There is 2 things I see from those logs:

  • Lots of warnings coming from the stdlib (/opt/at10.0/include/). The path doesn't look standard to me, but every distribution and installation is different so there isn't much I can say about it.
  • cpp having issues generating the .sql files (postgis.sql) for example. The full command executed to generate postgis.sql from postgis/postgis is:
/usr/bin/cpp -traditional-cpp -w -P -I../libpgcommon postgis.sql.in | grep -v '^#' | \
/usr/bin/perl -lpe "s'MODULE_PATHNAME'\$libdir/postgis-3'g;s'@extschema@\.''g" > postgis.sql

Can you check manually (make postgis.sql in the postgis/ directory) to see what command is being executed in that machine?

I think there isn't anything in that cpp call that depends on the architecture. Is there a chance that the issue is in the machine setup and not in the project code itself?

comment:2 by Algunenano, 4 years ago

Devrim, any comments to my previous message?

comment:3 by devrimgunduz, 4 years ago

Hi,

Sorry, will look at this tomorrow.

comment:4 by Algunenano, 4 years ago

Milestone: PostGIS 3.0.3PostGIS Fund Me

comment:5 by strk, 16 months ago

Resolution: duplicate
Status: newclosed

Refer to #5450 for more info

comment:6 by Sandro Santilli <strk@…>, 16 months ago

In 95d9298/git:

Fix macro expansion recursion on powerpc architectures.

References #5450
References #4751
References #4752

Backport in 3.3 branch (3.3.4dev)

comment:7 by Sandro Santilli <strk@…>, 16 months ago

In d612282/git:

Fix macro expansion recursion on powerpc architectures.

References #5450
References #4751
References #4752

Backport in 3.2 branch (3.2.6dev)

comment:8 by Sandro Santilli <strk@…>, 16 months ago

In 72438b4/git:

Fix macro expansion recursion on powerpc architectures.

References #5450
References #4751
References #4752

Backport in 3.1 branch (3.1.10dev)

comment:9 by Sandro Santilli <strk@…>, 16 months ago

Resolution: duplicatefixed

In 3b71790/git:

Fix macro expansion recursion on powerpc architectures.

Closes #5450
Closes #4751
Closes #4752

Backport in 3.0 branch (3.0.10dev)

comment:10 by robe, 16 months ago

Milestone: PostGIS Fund MePostGIS 3.0.10
Note: See TracTickets for help on using tickets.