Package Details: python-astroscrappy-doc 1.2.0-1

Git Clone URL: https://aur.archlinux.org/python-astroscrappy.git (read-only, click to copy)
Package Base: python-astroscrappy
Description: Documentation for Astro-SCRAPPY
Upstream URL: https://astroscrappy.readthedocs.io
Keywords: astronomy astropy science
Licenses: BSD-3-Clause
Submitter: Universebenzene
Maintainer: Universebenzene
Last Packager: Universebenzene
Votes: 0
Popularity: 0.000000
First Submitted: 2018-02-02 07:23 (UTC)
Last Updated: 2025-05-29 03:56 (UTC)

Latest Comments

micwoj92 commented on 2025-05-29 05:51 (UTC)

Thanks

micwoj92 commented on 2025-05-28 21:34 (UTC)

Please do not use gcc14 for this, more future proof solution is to set C17 standard:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,6 @@ makedepends=('python-setuptools-scm>=6.2'
              'cython'
              'python-build'
              'python-installer'
-             'gcc14'
              'python-extension-helpers>=1'
              'python-numpy'
              'python-sphinx-astropy')  # wheel required by new setuptools
@@ -36,7 +35,7 @@ prepare() {

 build() {
     cd ${srcdir}/${_pyname}-${pkgver}
-    CC=gcc-14 CXX=g++-14 python -m build --wheel --no-isolation --skip-dependency-check
+    CFLAGS="${CFLAGS} -std=gnu17"  python -m build --wheel --no-isolation --skip-dependency-check

     msg "Building Docs"
     PYTHONPATH="../build/lib.linux-${CARCH}-cpython-$(get_pyver)" make -C docs html

micwoj92 commented on 2025-05-27 17:39 (UTC)

Build fails:

In file included from astroscrappy/utils/median_utils.c:1174:
astroscrappy/utils/medutils.h:19:17: error: two or more data types in declaration specifiers
   19 | typedef uint8_t bool;
      |                 ^~~~
astroscrappy/utils/medutils.h:19:1: warning: useless type name in empty declaration
   19 | typedef uint8_t bool;
      | ^~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1

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