[MacPorts] #55647: postgis2 upgrade/install fails in HS
MacPorts
noreply at macports.org
Fri Jan 5 19:22:59 UTC 2018
#55647: postgis2 upgrade/install fails in HS
----------------------+----------------------
Reporter: basmac | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Keywords: postgis2 | Port: postgis2
----------------------+----------------------
{{{
after install to Xcode 9.2 is that makes any difference, tried clean,
uninstall/install.
end of debug follows
DEBUG: Found Dependency: receipt exists for gdal
DEBUG: Executing org.macports.main (postgis2)
DEBUG: dropping privileges: euid changed to 504, egid changed to 503.
DEBUG: Skipping completed org.macports.archivefetch (postgis2)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.fetch (postgis2)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.checksum (postgis2)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.extract (postgis2)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.patch (postgis2)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: Skipping completed org.macports.configure (postgis2)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Fri Jan 5 12:17:46 MST 2018
---> Building postgis2
DEBUG: Executing org.macports.build (postgis2)
DEBUG: port disallows a parallel build
DEBUG: Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.13'
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.4.2"
&& /usr/bin/make -w all ICONV_LDFLAGS='-L/opt/local/lib -liconv'
PGSQL_DOCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/destroot/opt/local/share/doc/postgresql10
PGSQL_MANDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/destroot/opt/local/share/man
DEBUG: system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.4.2"
&& /usr/bin/make -w all ICONV_LDFLAGS='-L/opt/local/lib -liconv'
PGSQL_DOCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/destroot/opt/local/share/doc/postgresql10
PGSQL_MANDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/destroot/opt/local/share/man
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.4.2'
/opt/local/bin/perl utils/svn_repo_revision.pl
Can't fetch local revision (neither .svn nor .git found)
Not updating existing rev file at 16113
for s in liblwgeom libpgcommon postgis regress raster topology loader
utils doc extensions; do \
echo "---- Making all in ${s}"; \
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C
${s} all || exit 1; \
done;
---- Making all in liblwgeom
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.4.2/liblwgeom'
/bin/sh ../libtool --mode=compile /usr/bin/clang -I/opt/local/include
-I/opt/local/include/libxml2 -I/opt/local/include -pipe -Os
-Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close
-arch x86_64 -fno-common -DPIC -Wall -Wmissing-prototypes
-I/opt/local/include -c -o lwin_geojson.lo lwin_geojson.c
libtool: compile: /usr/bin/clang -I/opt/local/include
-I/opt/local/include/libxml2 -I/opt/local/include -pipe -Os
-Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close
-arch x86_64 -fno-common -DPIC -Wall -Wmissing-prototypes
-I/opt/local/include -c lwin_geojson.c -fno-common -DPIC -o
.libs/lwin_geojson.o
lwin_geojson.c:36:10: fatal error: 'json-c/json_object_private.h' file not
found
#include <json-c/json_object_private.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[1]: *** [lwin_geojson.lo] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.4.2/liblwgeom'
make: *** [all] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.4.2'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/postgis-2.4.2"
&& /usr/bin/make -w all ICONV_LDFLAGS='-L/opt/local/lib -liconv'
PGSQL_DOCDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/destroot/opt/local/share/doc/postgresql10
PGSQL_MANDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/work/destroot/opt/local/share/man
Exit code: 2
Error: Failed to build postgis2: command execution failed
DEBUG: Error code: CHILDSTATUS 61021 2
DEBUG: Backtrace: command execution failed
while executing
"system {*}$notty {*}$nice $fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_postgis2/postgis2/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port postgis2 failed
bash-3.2# whoami
root
bash-3.2#
}}}
--
Ticket URL: <https://trac.macports.org/ticket/55647>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list