Opened 19 months ago
Closed 14 months ago
#67339 closed defect (fixed)
postgis3 @3.2.0_4+postgresql13+proj8+raster+topology fails to install without coreutils
Reported by: | halostatue (Austin Ziegler) | Owned by: | Veence (Vincent) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | jyrkiwahlstedt | |
Port: | postgis3 postgresql13 |
Description
$ sudo port install postgis3 +postgresql13+proj8+raster+topology ---> Computing dependencies for postgis3 ---> Fetching archive for postgis3 ---> Attempting to fetch postgis3-3.2.0_4+postgresql13+proj8+raster+topology.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/postgis3 ---> Attempting to fetch postgis3-3.2.0_4+postgresql13+proj8+raster+topology.darwin_22.arm64.tbz2 from https://packages.macports.org/postgis3 ---> Attempting to fetch postgis3-3.2.0_4+postgresql13+proj8+raster+topology.darwin_22.arm64.tbz2 from http://mirror.fcix.net/macports/packages/postgis3 ---> Fetching distfiles for postgis3 ---> Verifying checksums for postgis3 ---> Extracting postgis3 ---> Configuring postgis3 ---> Building postgis3 ---> Staging postgis3 into destroot Error: Failed to destroot postgis3: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis3/postgis3/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port postgis3 failed
I’ve attached the log, but it boils down to this:
:info:destroot /opt/local/bin/gmkdir -p '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis3/postgis3/work/destroot/opt/local/share/postgresql13/contrib/postgis-3.2' :info:destroot make[2]: /opt/local/bin/gmkdir: No such file or directory
Installing coreutils fixes the build. I first noticed it with a rev-upgrade
warning.
Attachments (1)
Change History (6)
Changed 19 months ago by halostatue (Austin Ziegler)
comment:1 Changed 19 months ago by jmroot (Joshua Root)
Owner: | set to Veence |
---|---|
Status: | new → assigned |
Summary: | postgis3 fails to install without coreutils → postgis3 @3.2.0_4+postgresql13+proj8+raster+topology fails to install without coreutils |
comment:2 Changed 19 months ago by halostatue (Austin Ziegler)
That appears to be the case:
$ ag gmkdir /opt/local/lib /opt/local/lib/postgresql13/pgxs/src/Makefile.global 499:MKDIR_P = /opt/local/bin/gmkdir -p
If I uninstall/reinstall postgresql13
the reference to gmkdir
goes away and does not return if I reinstall it with coreutils
. My suspicion at this point is that this was originally installed before the binaries were available for macOS 13 arm64 and at that point I had the coreutils
port installed.
This can probably be closed.
comment:3 Changed 19 months ago by jmroot (Joshua Root)
Cc: | jyrkiwahlstedt added |
---|---|
Port: | postgresql13 added |
It would still be good to make sure postgres won't bake in a reference to something it doesn't depend on.
comment:4 Changed 19 months ago by halostatue (Austin Ziegler)
I did a quick set of tests and can confirm that gmkdir
gets baked in if coreutils
is installed and you do sudo port install -s postgresql13
.
comment:5 Changed 14 months ago by dgilman (David Gilman)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The string
gmkdir
doesn't occur in the postgis3 sources outside of the configure script check that decides to useinstall-sh
. My guess is it might be coming frompg_config --pgxs
.