Package Details: python-npyosmium 3.7.0-2

Git Clone URL: https://aur.archlinux.org/python-npyosmium.git (read-only, click to copy)
Package Base: python-npyosmium
Description: Fork with numpy interface - Python bindings for libosmium, the data processing library for OSM data
Upstream URL: https://github.com/agrenott/npyosmium
Licenses: BSD
Submitter: quietvoid
Maintainer: quietvoid
Last Packager: quietvoid
Votes: 1
Popularity: 0.000631
First Submitted: 2023-07-31 17:47 (UTC)
Last Updated: 2024-08-17 21:08 (UTC)

Latest Comments

quietvoid commented on 2024-02-05 11:46 (UTC) (edited on 2024-02-05 11:49 (UTC) by quietvoid)

I just added protozero to makedepends, that should fix it.
It used to be a runtime dependency for libosmium but that changed a month ago to just a build-time dependency.

dreieck commented on 2024-02-05 08:36 (UTC)

CMake Build fails for me on protozero version determination:

==> Starting build()...
[...]
running build_ext
[...]
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
CMake Error at cmake/FindProtozero.cmake:47 (file):
  file STRINGS file
  "/tmp/makepkg/build/python-npyosmium/src/npyosmium-3.6.3/PROTOZERO_INCLUDE_DIR-NOTFOUND/protozero/version.hpp"
  cannot be read.
Call Stack (most recent call first):
  cmake/FindOsmium.cmake:118 (find_package)
  CMakeLists.txt:8 (find_package)


-- Could NOT find Protozero: Found unsuitable version "unknown", but required is at least "1.6.3" (found PROTOZERO_INCLUDE_DIR-NOTFOUND)
CMake Warning at cmake/FindOsmium.cmake:138 (message):
  Osmium: Can not find some libraries for PBF input/output, please install
  them or configure the paths.
Call Stack (most recent call first):
  CMakeLists.txt:8 (find_package)


-- Found EXPAT: /usr/lib/libexpat.so (found version "2.5.0") 
-- Found BZip2: /usr/lib/libbz2.so (found version "1.0.8") 
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Osmium (missing: PROTOZERO_INCLUDE_DIR) (found suitable
  version "2.20.0", minimum required is "2.16")
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindOsmium.cmake:289 (find_package_handle_standard_args)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
    main()
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main
    json_out['return_val'] = hook(**hook_input['kwargs'])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
    return _build_backend().build_wheel(wheel_directory, config_settings,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/build_meta.py", line 404, in build_wheel
    return self._build_with_temp_dir(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/build_meta.py", line 389, in _build_with_temp_dir
    self.run_setup()
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
  File "<string>", line 140, in <module>
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
    return distutils.core.setup(**attrs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
           ^^^^^^^^^^^^^^^^^^
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 368, in run
    self.run_command("build")
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/command/build.py", line 131, in run
    self.run_command(cmd_name)
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
  File "/tmp/build-env-fz8l0khb/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "<string>", line 83, in run
  File "<string>", line 129, in build_extension
  File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/makepkg/build/python-npyosmium/src/npyosmium-3.6.3', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/makepkg/build/python-npyosmium/src/npyosmium-3.6.3/build/lib.linux-x86_64-cpython-311', '-DPYTHON_EXECUTABLE=/tmp/build-env-fz8l0khb/bin/python', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.

ERROR Backend subprocess exited when trying to invoke build_wheel
==> ERROR: A failure occurred in build().

Regards!

quietvoid commented on 2023-12-16 23:45 (UTC)

Whoops, sorry. Fixed it.

Popolon commented on 2023-12-16 23:42 (UTC)

There is a wrong sha256sum currently. but the package compile well after correcting it.