The test case below relies on /etc/groups and similar info that is not available in chroot builds, so skip it. --- scheme48-1.9/scheme/posix/check.scm 2013-05-11 21:55:36.000000000 +0200 +++ scheme48-1.9/scheme/posix/check.scm 2013-05-11 21:55:40.000000000 +0200 @@ -229,29 +229,7 @@ ; This assumes that we are not running as root and that / is owned by root. -(define-test-case users&groups posix-core-tests - (let ((my-info (get-file-info directory-name)) - (root-info (get-file-info "/"))) - (let ((my-user (user-id->user-info (file-info-owner my-info))) - (root-user (user-id->user-info (file-info-owner root-info))) - (my-group (group-id->group-info (file-info-group my-info))) - (root-group (group-id->group-info (file-info-group root-info)))) - (let ((my-other-user (name->user-info (user-info-name my-user))) - (my-other-group (name->group-info (group-info-name my-group)))) - (check-that (file-info-owner my-info) - (is user-id=? (user-info-id my-user))) - (check-that (file-info-owner root-info) - (opposite (is user-id=? (user-info-id my-user)))) - (check-that (file-info-group my-info) - (is group-id=? (group-info-id my-group))) - ;; doesn't work reliably - ;; (specifically, if the user is member of wheel) - ;; (check (not (group-id=? (file-info-group root-info) - ;; (group-info-id my-group)))) - (check-that (os-string->string (user-info-name root-user)) - (member-of '("root" - "bin" ; AIX - ))))))) + (define-test-case environment posix-core-tests (let ((env (reverse (environment-alist)))) thod='get' action='/guix/log/gnu/packages/aidc.scm'>
path: root/gnu/packages/aidc.scm
AgeCommit message (Expand)Author
2024-09-07gnu: qrcodegen-cpp: Update to 1.8.0....* gnu/packages/aidc.scm (qrcodegen-cpp): Update to 1.8.0. [source]: Use qrcodegen-cpp-cmake.patch. [build-system]: Switch to cmake-build-system. [arguments]: Enable tests and build shared libraries. * gnu/packages/patches/qrcodegen-cpp-make-install.patch: Remove file. * gnu/packages/patches/qrcodegen-cpp-cmake.patch: New file. * gnu/local.mk (dist_patch_DATA): Register patch. Change-Id: I0272a28ab2cda89700b5523e96f3014eff7ebf65 Signed-off-by: Andrew Tropin <andrew@trop.in> 宋文武