Package Details: python-rapidyaml 0.11.1-2

Git Clone URL: https://aur.archlinux.org/rapidyaml.git (read-only, click to copy)
Package Base: rapidyaml
Description: Python bindings for rapidyaml (via SWIG)
Upstream URL: https://github.com/biojppm/rapidyaml
Licenses: MIT
Provides: python-rapidyaml
Submitter: abouvier
Maintainer: SecByShresth
Last Packager: SecByShresth
Votes: 3
Popularity: 0.47
First Submitted: 2025-01-07 06:27 (UTC)
Last Updated: 2026-04-20 21:22 (UTC)

Latest Comments

1 2 Next › Last »

SecByShresth commented on 2026-04-20 21:23 (UTC)

@xiota, Changes have been made, updated it from exit 1 to return 1. Let me know if you still face any issues.

Thanks SecByShresth

HurricanePootis commented on 2026-04-06 15:00 (UTC)

@SecByShresth

No problem. I'm always down to lend a helping hand to my fellow AUR PKGBUILD writers!

SecByShresth commented on 2026-04-06 03:14 (UTC)

@HurricanePootis

This has been done, thank you for sharing the below requirement in detailed comment. Really helped me out with the PKGBUILD.

Let me know if anything else is required from my end.

Thanks SecByShresth

HurricanePootis commented on 2026-04-05 20:35 (UTC)

@SecByShresth

Here is a diff to update the package to 0.11.1 and to do the following:

  1. Change from gcc-libs to libgcc and libstdc++
  2. Use actual checksums. Despite using a git source, since you are referencing a tag, you need to have an actual checksum. You can create it with updpkgsums
  3. Add two missing git submodules
  4. Properly handle git submodules. Either the names of the git submodules changed, or you were never properly handling the c4core git submodule
  5. Change cmake build type to None as listed in the CMake packaging guidelines (also add DNDEBUG flags, as mentioned there too)
diff --git a/PKGBUILD b/PKGBUILD
index a4a0eaf..2fcb143 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@

 pkgbase=rapidyaml
 pkgname=('rapidyaml' 'python-rapidyaml')
-pkgver=0.10.0
+pkgver=0.11.1
 pkgrel=1
 arch=('x86_64')
 url="https://github.com/biojppm/rapidyaml"
@@ -22,7 +22,7 @@ makedepends=(
 )
 # Base runtime dependencies apply to ALL packages unless overridden
 # in the package_* function. We only include essential shared libraries here.
-depends=('gcc-libs' 'glibc')
+depends=('libgcc' 'libstdc++' 'glibc')
 # The provides array is empty here because the two virtual packages are defined 
 # within their respective package_* functions.
 provides=() 
@@ -34,12 +34,16 @@ source=(
   "rapidyaml::git+https://github.com/biojppm/rapidyaml.git#tag=v${pkgver}"
   "c4core::git+https://github.com/biojppm/c4core.git"
   "c4core-cmake::git+https://github.com/biojppm/cmake.git"
+  "git+https://github.com/biojppm/debugbreak.git"
+  "git+https://github.com/fastfloat/fast_float.git"
 # "rapidyaml-python-bindings.patch" # Commented out due to "not found" error.
 )
 # Use SKIP for git sources; remember to run 'makepkg -g' if you switch to tarballs.
-b2sums=('SKIP' 'SKIP' 'SKIP' # 'SKIP' for the patch file removed
-# 'SKIP'
-)
+b2sums=('bb64f292e31c94dadb13b9168dfa77eb4519c218a9a4c0f9c61a1e3fccfa78e0c31494214f8023564a3af3bd80d9ef7b6a966c0285230752fd65b96af583f388'
+        'SKIP'
+        'SKIP'
+        'SKIP'
+        'SKIP')

 prepare() {
   # The git source clones are named after their definition in the source array
@@ -48,7 +52,7 @@ prepare() {
   # Configure and update the main submodule (c4core)
   git submodule init
   # FIX: Changed 'extern/c4core' to 'ext/c4core' to match the actual submodule path in v0.10.0
-  git config submodule.ext/c4core.url "${srcdir}/c4core" 
+  git config submodule.extern/c4core.url "${srcdir}/c4core"
   # protocol.file.allow=always is needed for makepkg to access the local clone
   git -c protocol.file.allow=always submodule update

@@ -57,6 +61,8 @@ prepare() {
   cd ext/c4core
   git submodule init
   git config submodule.cmake.url "${srcdir}/c4core-cmake"
+  git config submodule.extern/debugbreak.url "$srcdir/debugbreak"
+  git config submodule.src/c4/ext/fast_float.url "$srcdir/fast_float"
   git -c protocol.file.allow=always submodule update

   cd ../..
@@ -71,7 +77,9 @@ prepare() {
 build() {
   # Standard CMake build setup for a release build
   cmake -B build -S rapidyaml -G Ninja \
-    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_C_FLAGS="$CFLAGS -DNDEBUG" \
+    -DCMAKE_CXX_FLAGS="$CXXFLAGS -DNDEBUG" \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DBUILD_SHARED_LIBS=ON \
     -DRYML_DEV=OFF \

SecByShresth commented on 2025-10-03 09:56 (UTC)

Hello @patlefort,

This has been done, I have updated C++ package.

Thanks Shresth Paul

patlefort commented on 2025-10-02 20:23 (UTC)

Can you add libryml.so in provides for c++ package? Thanks.

SecByShresth commented on 2025-10-02 19:55 (UTC)

Hello Guys,

Changes have been made, please test it out and let me know if it's working fine or not.

Thanks Shresth Paul

SecByShresth commented on 2025-10-02 19:07 (UTC)

Please allow me to check it further. Let me fix this issue.

abouvier commented on 2025-10-02 19:05 (UTC)

It can't work if it doesn't even build:

==> Starting build()...
-- The CXX compiler identification is GNU 15.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- ryml: using C++ standard: C++11
-- ryml: setting C++ standard: 11
-- ryml: setting C++ standard required: ON
-- ryml: importing subproject c4core (SUBDIRECTORY)... /build/rapidyaml/src/rapidyaml/ext/c4core
-- c4core: using C++ standard: C++11
-- ryml: -----> target ryml PUBLIC incorporating lib c4core
-- ryml: packing the project: 
-- ryml: cpack tag: v0.10.0
-- ryml: enabling API
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
  Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindSWIG.cmake:184 (find_package_handle_standard_args)
  api/CMakeLists.txt:18 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().