[MacPorts] #65446: py27-spatialite @3.0.1-alpha-0: error: implicit declaration of function 'pj_init_plus' is invalid in C99
MacPorts
noreply at macports.org
Tue Jul 5 23:07:17 UTC 2022
#65446: py27-spatialite @3.0.1-alpha-0: error: implicit declaration of function
'pj_init_plus' is invalid in C99
------------------------+---------------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Keywords: | Port: py-spatialite
------------------------+---------------------------
https://build.macports.org/builders/ports-
11_arm64-builder/builds/60135/steps/install-port/logs/stdio
{{{
/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_python_py-
spatialite/py27-spatialite/work/.tmp/pj_init_plusAEmFOn.c:2:5: error:
implicit declaration of function 'pj_init_plus' is invalid in C99 [-Werror
,-Wimplicit-function-declaration]
pj_init_plus();
^
1 error generated.
Traceback (most recent call last):
File "setup.py", line 315, in <module>
main()
File "setup.py", line 312, in main
setup(**get_setup_args())
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/setuptools/__init__.py", line 162, in setup
return distutils.core.setup(**attrs)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
line 151, in setup
dist.run_commands()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 953, in run_commands
self.run_command(cmd)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command
cmd_obj.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build.py",
line 127, in run
self.run_command(cmd_name)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py",
line 326, in run_command
self.distribution.run_command(command)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
line 972, in run_command
cmd_obj.run()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/setuptools/command/build_ext.py", line 84, in run
_build_ext.run(self)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py",
line 340, in run
self.build_extensions()
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py",
line 449, in build_extensions
self.build_extension(ext)
File "setup.py", line 179, in build_extension
self.check_lib(ext,"pj_init_plus", "proj", "'libproj' is required but
it doesn't seem to be installed on this system.",["m"])
File "setup.py", line 161, in check_lib
raise LibraryNotFoundException("cannot find function '%s' in '%s': %s"
% (func,lib,msg))
__main__.LibraryNotFoundException: cannot find function 'pj_init_plus' in
'proj': 'libproj' is required but it doesn't seem to be installed on this
system.
Command failed: cd "/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_python_py-
spatialite/py27-spatialite/work/pyspatialite-3.0.1-alpha-0" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
Exit code: 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65446>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list