Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: clevis-20 #51359

Merged
merged 3 commits into from
Sep 22, 2024
Merged

New package: clevis-20 #51359

merged 3 commits into from
Sep 22, 2024

Conversation

jhe2
Copy link
Contributor

@jhe2 jhe2 commented Jul 21, 2024

Testing the changes

  • I tested the changes in this PR: YES

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)
  • I built this PR locally for these architectures (if supported. mark crossbuilds):
    • aarch64-glibc
    • aarch64-musl
    • i686-glibc
    • x86_64-musl

@jhe2 jhe2 force-pushed the clevis branch 3 times, most recently from 5721dd3 to 1e90001 Compare July 21, 2024 15:52
@jhe2 jhe2 mentioned this pull request Jul 21, 2024
Copy link
Member

@classabbyamp classabbyamp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be one commit per package

srcpkgs/jose/template Outdated Show resolved Hide resolved
srcpkgs/jose/template Outdated Show resolved Hide resolved
srcpkgs/luksmeta/template Show resolved Hide resolved
srcpkgs/luksmeta/template Outdated Show resolved Hide resolved
srcpkgs/luksmeta-devel Outdated Show resolved Hide resolved
srcpkgs/clevis/template Show resolved Hide resolved
srcpkgs/clevis/template Outdated Show resolved Hide resolved
@classabbyamp classabbyamp added the new-package This PR adds a new package label Jul 21, 2024
@jhe2 jhe2 force-pushed the clevis branch 6 times, most recently from 49dc7c3 to a55879b Compare July 22, 2024 08:16
@jhe2 jhe2 force-pushed the clevis branch 2 times, most recently from 89b59d7 to b02dcc5 Compare August 5, 2024 16:58
srcpkgs/jose/template Outdated Show resolved Hide resolved
@elivance
Copy link

jose builds fine on my machine with configure_args="-Db_ndebug=false"

jose template diff
diff --git a/srcpkgs/jose/template b/srcpkgs/jose/template
index ae96cfed72f..2513893fd38 100644
--- a/srcpkgs/jose/template
+++ b/srcpkgs/jose/template
@@ -3,7 +3,7 @@ pkgname=jose
 version=14
 revision=1
 build_style=meson
-configure_args="-Dwerror=false"
+configure_args="-Db_ndebug=false"
 hostmakedepends="asciidoc pkg-config"
 makedepends="jansson-devel openssl-devel zlib-devel"
 short_desc="C-language implementation of Javascript Object Signing and Encryption"
@@ -12,7 +12,6 @@ license="Apache-2.0"
 homepage="https://github.com/latchset/jose"
 distfiles="https://github.com/latchset/jose/releases/download/v$version/jose-$version.tar.xz"
 checksum=cee329ef9fce97c4c025604a8d237092f619aaa9f6d35fdf9d8c9052bc1ff95b
-make_check=no # tests need -Db_ndebug=true

 jose-devel_package() {
        depends="${sourcepkg}>=${version}_${revision} ${makedepends}"

@jhe2
Copy link
Contributor Author

jhe2 commented Aug 13, 2024

jose builds fine on my machine with configure_args="-Db_ndebug=false"
jose template diff

Building it is not the issue, but the tests fail. As I said earlier, configure_args="-Db_ndebug=false" wasn't working when I tried it that way. Do the tests really pass on your machine when trying to override the setting via configure_args?

@elivance
Copy link

The tests do indeed pass on my machine (logs below).

I have an x86_64-musl voidlinux machine, and that's also what I am using to build and test jose.

Build set up
  • git clone https://github.com/jhe2/void-packages, checked out the clevis branch
  • Applied the patch I posted above
  • ./xbps-src binary-bootstrap
Output from ./xbps-src clean && ./xbps-src pkg jose
=> xbps-src: removing autodeps, please wait...
=> xbps-src: cleaning up masterdir...
=> xbps-src: updating repositories for host (x86_64-musl)...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/bootstrap/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> jose-14_1: removing autodeps, please wait...
=> jose-14_1: building with [meson] [meson] for x86_64-musl...
   [host] asciidoc-10.2.0_2: found (https://repo-default.voidlinux.org/current/musl)
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/musl)
   [host] meson-1.4.0_2: found (https://repo-default.voidlinux.org/current/musl)
   [target] jansson-devel-2.14_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] openssl-devel-3.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] jose-14_1: not found (self, ignored)
   [runtime] jansson-devel-2.14_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] openssl-devel-3.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
=> jose-14_1: installing host dependencies: asciidoc-10.2.0_2 pkg-config-0.29.2_3 meson-1.4.0_2 ...
=> jose-14_1: installing target dependencies: jansson-devel-2.14_1 openssl-devel-3.3.1_1 zlib-devel-1.3.1_1 ...
=> jose-14_1: running do-fetch hook: 00-distfiles ...
=> jose-14_1: fetching distfile 'jose-14.tar.xz' from 'https://github.com/latchset/jose/releases/download/v14/jose-14.tar.xz'...
jose-14.tar.xz: [747KB 0%] 20MB/s ETA: 00m00s
jose-14.tar.xz: 747KB [avg rate: 3760MB/s]
=> jose-14_1: verifying checksum for distfile 'jose-14.tar.xz'... OK.
=> jose-14_1: running do-extract hook: 00-distfiles ...
=> jose-14_1: extracting distfile(s), please wait...
=> jose-14_1: running do-patch hook: 00-patches ...
=> jose-14_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> jose-14_1: running pre-configure hook: 01-override-config ...
=> jose-14_1: running pre-configure hook: 02-script-wrapper ...
=> jose-14_1: running do_configure ...
The Meson build system
Version: 1.4.0
Source dir: /builddir/jose-14
Build dir: /builddir/jose-14/build
Build type: native build
Project name: jose
Project version: 14
C compiler for the host machine: cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency zlib found: YES 1.3.1
Run-time dependency threads found: YES
Run-time dependency jansson found: YES 2.14
Run-time dependency libcrypto found: YES 3.3.1
Program a2x found: YES (/usr/bin/a2x)
Program jq found: NO
Configuring jose.h using configuration
Checking if "-Wl,--version-script=..." : links: YES
Program ./jose-alg found: YES (/builddir/jose-14/tests/./jose-alg)
Program ./jose-fmt found: YES (/builddir/jose-14/tests/./jose-fmt)
Program ./jose-b64-enc found: YES (/builddir/jose-14/tests/./jose-b64-enc)
Program ./jose-b64-dec found: YES (/builddir/jose-14/tests/./jose-b64-dec)
Program ./jose-jwk-eql found: YES (/builddir/jose-14/tests/./jose-jwk-eql)
Program ./jose-jwk-exc found: YES (/builddir/jose-14/tests/./jose-jwk-exc)
Program ./jose-jwk-gen found: YES (/builddir/jose-14/tests/./jose-jwk-gen)
Program ./jose-jwk-pub found: YES (/builddir/jose-14/tests/./jose-jwk-pub)
Program ./jose-jwk-use found: YES (/builddir/jose-14/tests/./jose-jwk-use)
Program ./jose-jwk-thp found: YES (/builddir/jose-14/tests/./jose-jwk-thp)
Program ./jose-jws-fmt found: YES (/builddir/jose-14/tests/./jose-jws-fmt)
Program ./jose-jws-ver found: YES (/builddir/jose-14/tests/./jose-jws-ver)
Program ./jose-jws-sig found: YES (/builddir/jose-14/tests/./jose-jws-sig)
Program ./jose-jwe-fmt found: YES (/builddir/jose-14/tests/./jose-jwe-fmt)
Program ./jose-jwe-dec found: YES (/builddir/jose-14/tests/./jose-jwe-dec)
Program ./jose-jwe-enc found: YES (/builddir/jose-14/tests/./jose-jwe-enc)
Run-time dependency openssl found: YES 3.3.1
Message: jq not found (unrequired but recommended)
Build targets in project: 28

jose 14

  User defined options
    auto_features : auto
    bindir        : /usr/bin
    buildtype     : plain
    datadir       : /usr/share
    includedir    : /usr/include
    infodir       : /usr/share/info
    libdir        : /usr/lib64
    libexecdir    : /usr/libexec
    localedir     : /usr/share/locale
    localstatedir : /var
    mandir        : /usr/share/man
    prefix        : /usr
    sbindir       : /usr/bin
    sharedstatedir: /var/lib
    sysconfdir    : /etc
    wrap_mode     : nodownload
    b_lto         : true
    b_ndebug      : false
    b_staticpic   : true

Found ninja-1.11.1 at /usr/bin/ninja
=> jose-14_1: running pre-build hook: 02-script-wrapper ...
=> jose-14_1: running do_build ...
ninja: Entering directory `build'
[1/86] Compiling C object lib/libjose.so.0.0.0.p/cfg.c.o
[2/86] Compiling C object lib/libjose.so.0.0.0.p/misc.c.o
[3/86] Compiling C object lib/libjose.so.0.0.0.p/io.c.o
[4/86] Compiling C object lib/libjose.so.0.0.0.p/b64.c.o
[5/86] Compiling C object lib/libjose.so.0.0.0.p/hsh.c.o
[6/86] Compiling C object lib/libjose.so.0.0.0.p/hooks.c.o
[7/86] Compiling C object lib/libjose.so.0.0.0.p/zlib_deflate.c.o
[8/86] Compiling C object lib/libjose.so.0.0.0.p/jws.c.o
[9/86] Compiling C object lib/libjose.so.0.0.0.p/jwk.c.o
[10/86] Compiling C object lib/libjose.so.0.0.0.p/jwe.c.o
[11/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aesgcmkw.c.o
[12/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aescbch.c.o
[13/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aesgcm.c.o
[14/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aeskw.c.o
[15/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_compat.c.o
[16/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_dir.c.o
[17/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ec.c.o
[18/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdh.c.o
[19/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecmr.c.o
[20/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdhes.c.o
[21/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_hash.c.o
[22/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdsa.c.o
[23/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_lock.c.o
[24/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_hmac.c.o
[25/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_misc.c.o
[26/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_jwk.c.o
[27/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_oct.c.o
[28/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsa.c.o
[29/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsaes.c.o
[30/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_pbes2.c.o
[31/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsassa.c.o
[32/86] Compiling C object cmd/jose.p/b64_dec.c.o
[33/86] Compiling C object cmd/jose.p/b64_enc.c.o
[34/86] Compiling C object cmd/jose.p/jwk_eql.c.o
[35/86] Compiling C object cmd/jose.p/jwk_exc.c.o
[36/86] Compiling C object cmd/jose.p/jose.c.o
[37/86] Compiling C object cmd/jose.p/jwk_pub.c.o
[38/86] Compiling C object cmd/jose.p/jwk_gen.c.o
[39/86] Compiling C object cmd/jose.p/jwk_thp.c.o
[40/86] Compiling C object cmd/jose.p/jwk_use.c.o
[41/86] Compiling C object cmd/jose.p/jws_fmt.c.o
[42/86] Compiling C object cmd/jose.p/jws_sig.c.o
[43/86] Compiling C object cmd/jose.p/jws_ver.c.o
[44/86] Compiling C object cmd/jose.p/jwe_dec.c.o
[45/86] Compiling C object cmd/jose.p/jwe_fmt.c.o
[46/86] Compiling C object cmd/jose.p/alg.c.o
[47/86] Compiling C object cmd/jose.p/jwe_enc.c.o
[48/86] Compiling C object cmd/jose.p/fmt.c.o
[49/86] Compiling C object tests/alg_hash.p/alg_hash.c.o
[50/86] Compiling C object tests/alg_sign.p/alg_sign.c.o
[51/86] Compiling C object tests/alg_wrap.p/alg_wrap.c.o
[52/86] Compiling C object tests/alg_encr.p/alg_encr.c.o
[53/86] Compiling C object tests/alg_comp.p/alg_comp.c.o
[54/86] Compiling C object tests/api_b64.p/api_b64.c.o
[55/86] Compiling C object tests/api_jws.p/api_jws.c.o
[56/86] Compiling C object tests/api_jwe.p/api_jwe.c.o
[57/86] Compiling C object tests/issue-75/issue75.p/issue-75.c.o
[58/86] Generating jose-alg.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[59/86] Generating jose.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[60/86] Generating jose-b64-dec.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[61/86] Generating jose-b64-enc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[62/86] Generating jose-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[63/86] Generating jose-jwe-dec.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[64/86] Generating jose-jwe-enc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[65/86] Linking target lib/libjose.so.0.0.0
[66/86] Generating jose-jwe-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[67/86] Generating jose-jwk-eql.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[68/86] Generating symbol file lib/libjose.so.0.0.0.p/libjose.so.0.0.0.symbols
[69/86] Generating jose-jwk-exc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[70/86] Generating jose-jwk-gen.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[71/86] Generating jose-jwk-pub.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[72/86] Linking target tests/alg_hash
[73/86] Linking target tests/alg_sign
[74/86] Linking target tests/alg_encr
[75/86] Linking target tests/alg_wrap
[76/86] Linking target tests/api_b64
[77/86] Linking target tests/api_jws
[78/86] Linking target tests/alg_comp
[79/86] Linking target tests/issue-75/issue75
[80/86] Linking target tests/api_jwe
[81/86] Linking target cmd/jose
[82/86] Generating jose-jwk-thp.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[83/86] Generating jose-jwk-use.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[84/86] Generating jose-jws-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[85/86] Generating jose-jws-sig.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[86/86] Generating jose-jws-ver.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
=> jose-14_1: skipping check (XBPS_CHECK_PKGS is disabled) ...
=> jose-14_1: running pre-install hook: 00-libdir ...
=> jose-14_1: running pre-install hook: 02-script-wrapper ...
=> jose-14_1: running pre-install hook: 98-fixup-gir-path ...
=> jose-14_1: running do_install ...
ninja: Entering directory `build'
[0/1] Installing files.
Installing lib/libjose.so.0.0.0 to /destdir/jose-14/usr/lib64
Installing cmd/jose to /destdir/jose-14/usr/bin
Installing jose.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-alg.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-b64-dec.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-b64-enc.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-fmt.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwe-dec.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwe-enc.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwe-fmt.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-eql.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-exc.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-gen.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-pub.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-thp.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jwk-use.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jws-fmt.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jws-sig.1 to /destdir/jose-14/usr/share/man/man1
Installing jose-jws-ver.1 to /destdir/jose-14/usr/share/man/man1
Installing /builddir/jose-14/build/include/jose/jose.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/cfg.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/io.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/b64.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/jwk.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/jws.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/jwe.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/include/jose/openssl.h to /destdir/jose-14/usr/include/jose
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_b64.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_jwk.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_jws.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_cfg.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_jwe.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_io_t.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/doc/doxygen/man/man3/jose_io.3 to /destdir/jose-14/usr/share/man/man3
Installing /builddir/jose-14/COPYING to /destdir/jose-14/usr/share/licenses/jose
Installing /builddir/jose-14/build/meson-private/jose.pc to /destdir/jose-14/usr/lib64/pkgconfig
Installing symlink pointing to libjose.so.0.0.0 to /destdir/jose-14/usr/lib64/libjose.so.0
Installing symlink pointing to libjose.so.0 to /destdir/jose-14/usr/lib64/libjose.so
=> jose-devel-14_1: running pre-install hook: 00-libdir ...
=> jose-devel-14_1: running pre-install hook: 02-script-wrapper ...
=> jose-devel-14_1: running pre-install hook: 98-fixup-gir-path ...
=> jose-devel-14_1: running pkg_install ...
=> jose-devel-14_1: running post-install hook: 00-compress-info-files ...
=> jose-devel-14_1: running post-install hook: 00-fixup-gir-path ...
=> jose-devel-14_1: running post-install hook: 00-libdir ...
=> jose-devel-14_1: running post-install hook: 00-uncompress-manpages ...
=> jose-devel-14_1: running post-install hook: 01-remove-misc ...
=> jose-devel-14_1: running post-install hook: 02-remove-libtool-archives ...
=> jose-devel-14_1: running post-install hook: 02-remove-perl-files ...
=> jose-devel-14_1: running post-install hook: 02-remove-python-bytecode-files ...
=> jose-devel-14_1: running post-install hook: 03-remove-empty-dirs ...
=> jose-devel-14_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> jose-devel-14_1: running post-install hook: 05-generate-gitrevs ...
=> jose-devel-14_1: running post-install hook: 06-strip-and-debug-pkgs ...
=> jose-devel-14_1: running post-install hook: 10-pkglint-devel-paths ...
=> jose-devel-14_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> jose-devel-14_1: running post-install hook: 12-rename-python3-c-bindings ...
=> jose-devel-14_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> jose-devel-14_1: running post-install hook: 14-fix-permissions ...
=> jose-devel-14_1: running post-install hook: 15-qt-private-api ...
=> jose-devel-14_1: running post-install hook: 80-prepare-32bit ...
=> jose-devel-14_1: running post-install hook: 98-shlib-provides ...
=> jose-devel-14_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> jose-14_1: running post-install hook: 00-compress-info-files ...
=> jose-14_1: running post-install hook: 00-fixup-gir-path ...
=> jose-14_1: running post-install hook: 00-libdir ...
=> jose-14_1: running post-install hook: 00-uncompress-manpages ...
=> jose-14_1: running post-install hook: 01-remove-misc ...
=> jose-14_1: running post-install hook: 02-remove-libtool-archives ...
=> jose-14_1: running post-install hook: 02-remove-perl-files ...
=> jose-14_1: running post-install hook: 02-remove-python-bytecode-files ...
=> jose-14_1: running post-install hook: 03-remove-empty-dirs ...
=> jose-14_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> jose-14_1: running post-install hook: 05-generate-gitrevs ...
=> jose-14_1: running post-install hook: 06-strip-and-debug-pkgs ...
   Stripped position-independent executable: /usr/bin/jose
   Stripped library: /usr/lib/libjose.so.0.0.0
=> jose-14_1: running post-install hook: 10-pkglint-devel-paths ...
=> WARNING: usr/share/man/man3 should be in -devel package
=> jose-14_1: running post-install hook: 11-pkglint-elf-in-usrshare ...
=> jose-14_1: running post-install hook: 12-rename-python3-c-bindings ...
=> jose-14_1: running post-install hook: 13-pkg-config-clean-xbps-cross-base-ref ...
=> jose-14_1: running post-install hook: 14-fix-permissions ...
=> jose-14_1: running post-install hook: 15-qt-private-api ...
=> jose-14_1: running post-install hook: 80-prepare-32bit ...
=> jose-14_1: running post-install hook: 98-shlib-provides ...
   SONAME libjose.so.0 from /usr/lib/libjose.so.0.0.0
=> jose-14_1: running post-install hook: 99-pkglint-warn-cross-cruft ...
=> jose-devel-14_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> jose-devel-14_1: running pre-pkg hook: 04-generate-runtime-deps ...
=> jose-devel-14_1: running pre-pkg hook: 05-generate-32bit-runtime-deps ...
=> jose-devel-14_1: running pre-pkg hook: 90-set-timestamps ...
=> jose-devel-14_1: setting mtimes to Wed Aug  7 06:40:52 UTC 2024
=> jose-devel-14_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> jose-devel-14_1: running pre-pkg hook: 99-pkglint ...
=> jose-devel-14_1: running pre-pkg hook: 999-collected-rdeps ...
   jose>=14_1 jansson-devel>=0 openssl-devel>=0 zlib-devel>=0
=> jose-14_1: running pre-pkg hook: 03-rewrite-python-shebang ...
=> jose-14_1: running pre-pkg hook: 04-generate-runtime-deps ...
   SONAME: libjose.so.0 <-> jose (ignored)
   SONAME: libjansson.so.4 <-> jansson>=2.4_1
   SONAME: libc.so <-> musl>=1.1.24_7
   SONAME: libz.so.1 <-> zlib>=1.2.3_1
   SONAME: libcrypto.so.3 <-> libcrypto3>=3.1.2_1
=> jose-14_1: running pre-pkg hook: 05-generate-32bit-runtime-deps ...
=> jose-14_1: running pre-pkg hook: 90-set-timestamps ...
=> jose-14_1: setting mtimes to Wed Aug  7 06:40:52 UTC 2024
=> jose-14_1: running pre-pkg hook: 99-pkglint-subpkgs ...
=> jose-14_1: running pre-pkg hook: 99-pkglint ...
=> jose-14_1: running pre-pkg hook: 999-collected-rdeps ...
   jansson>=2.4_1 musl>=1.1.24_7 zlib>=1.2.3_1 libcrypto3>=3.1.2_1
=> jose-devel-14_1: running do-pkg hook: 00-gen-pkg ...
=> Creating jose-devel-14_1.x86_64-musl.xbps for repository /host/binpkgs/clevis ...
=> jose-devel-14_1: running post-pkg hook: 00-register-pkg ...
=> jose-14_1: running do-pkg hook: 00-gen-pkg ...
=> Creating jose-14_1.x86_64-musl.xbps for repository /host/binpkgs/clevis ...
=> jose-14_1: running post-pkg hook: 00-register-pkg ...
=> Registering new packages to /host/binpkgs/clevis
index: added `jose-14_1' (x86_64-musl).
index: added `jose-devel-14_1' (x86_64-musl).
index: 2 packages registered.
=> jose-14_1: removing autodeps, please wait...
=> jose-14_1: cleaning build directory...
=> jose: removing files from destdir...
=> jose-devel: removing files from destdir...
Output from ./xbps-src clean && ./xbps-src check jose
=> xbps-src: removing autodeps, please wait...
=> xbps-src: cleaning up masterdir...
=> xbps-src: updating repositories for host (x86_64-musl)...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/bootstrap/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/nonfree/x86_64-musl-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/musl/debug/x86_64-musl-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> jose-14_1: removing autodeps, please wait...
=> jose-14_1: building with [meson] [meson] for x86_64-musl...
   [host] asciidoc-10.2.0_2: found (https://repo-default.voidlinux.org/current/musl)
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/musl)
   [host] meson-1.4.0_2: found (https://repo-default.voidlinux.org/current/musl)
   [target] jansson-devel-2.14_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] openssl-devel-3.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
   [target] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] jose-14_1: found (/host/binpkgs/clevis)
   [runtime] jansson-devel-2.14_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] openssl-devel-3.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
   [runtime] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
=> jose-14_1: installing host dependencies: asciidoc-10.2.0_2 pkg-config-0.29.2_3 meson-1.4.0_2 ...
=> jose-14_1: installing target dependencies: jansson-devel-2.14_1 openssl-devel-3.3.1_1 zlib-devel-1.3.1_1 ...
=> jose-14_1: running do-fetch hook: 00-distfiles ...
=> jose-14_1: running do-extract hook: 00-distfiles ...
=> jose-14_1: extracting distfile(s), please wait...
=> jose-14_1: running do-patch hook: 00-patches ...
=> jose-14_1: running pre-configure hook: 00-gnu-configure-asneeded ...
=> jose-14_1: running pre-configure hook: 01-override-config ...
=> jose-14_1: running pre-configure hook: 02-script-wrapper ...
=> jose-14_1: running do_configure ...
The Meson build system
Version: 1.4.0
Source dir: /builddir/jose-14
Build dir: /builddir/jose-14/build
Build type: native build
Project name: jose
Project version: 14
C compiler for the host machine: cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency zlib found: YES 1.3.1
Run-time dependency threads found: YES
Run-time dependency jansson found: YES 2.14
Run-time dependency libcrypto found: YES 3.3.1
Program a2x found: YES (/usr/bin/a2x)
Program jq found: NO
Configuring jose.h using configuration
Checking if "-Wl,--version-script=..." : links: YES
Program ./jose-alg found: YES (/builddir/jose-14/tests/./jose-alg)
Program ./jose-fmt found: YES (/builddir/jose-14/tests/./jose-fmt)
Program ./jose-b64-enc found: YES (/builddir/jose-14/tests/./jose-b64-enc)
Program ./jose-b64-dec found: YES (/builddir/jose-14/tests/./jose-b64-dec)
Program ./jose-jwk-eql found: YES (/builddir/jose-14/tests/./jose-jwk-eql)
Program ./jose-jwk-exc found: YES (/builddir/jose-14/tests/./jose-jwk-exc)
Program ./jose-jwk-gen found: YES (/builddir/jose-14/tests/./jose-jwk-gen)
Program ./jose-jwk-pub found: YES (/builddir/jose-14/tests/./jose-jwk-pub)
Program ./jose-jwk-use found: YES (/builddir/jose-14/tests/./jose-jwk-use)
Program ./jose-jwk-thp found: YES (/builddir/jose-14/tests/./jose-jwk-thp)
Program ./jose-jws-fmt found: YES (/builddir/jose-14/tests/./jose-jws-fmt)
Program ./jose-jws-ver found: YES (/builddir/jose-14/tests/./jose-jws-ver)
Program ./jose-jws-sig found: YES (/builddir/jose-14/tests/./jose-jws-sig)
Program ./jose-jwe-fmt found: YES (/builddir/jose-14/tests/./jose-jwe-fmt)
Program ./jose-jwe-dec found: YES (/builddir/jose-14/tests/./jose-jwe-dec)
Program ./jose-jwe-enc found: YES (/builddir/jose-14/tests/./jose-jwe-enc)
Run-time dependency openssl found: YES 3.3.1
Message: jq not found (unrequired but recommended)
Build targets in project: 28

jose 14

  User defined options
    auto_features : auto
    bindir        : /usr/bin
    buildtype     : plain
    datadir       : /usr/share
    includedir    : /usr/include
    infodir       : /usr/share/info
    libdir        : /usr/lib64
    libexecdir    : /usr/libexec
    localedir     : /usr/share/locale
    localstatedir : /var
    mandir        : /usr/share/man
    prefix        : /usr
    sbindir       : /usr/bin
    sharedstatedir: /var/lib
    sysconfdir    : /etc
    wrap_mode     : nodownload
    b_lto         : true
    b_ndebug      : false
    b_staticpic   : true

Found ninja-1.11.1 at /usr/bin/ninja
=> jose-14_1: running pre-build hook: 02-script-wrapper ...
=> jose-14_1: running do_build ...
ninja: Entering directory `build'
[1/86] Compiling C object lib/libjose.so.0.0.0.p/cfg.c.o
[2/86] Compiling C object lib/libjose.so.0.0.0.p/misc.c.o
[3/86] Compiling C object lib/libjose.so.0.0.0.p/io.c.o
[4/86] Compiling C object lib/libjose.so.0.0.0.p/b64.c.o
[5/86] Compiling C object lib/libjose.so.0.0.0.p/hooks.c.o
[6/86] Compiling C object lib/libjose.so.0.0.0.p/hsh.c.o
[7/86] Compiling C object lib/libjose.so.0.0.0.p/zlib_deflate.c.o
[8/86] Compiling C object lib/libjose.so.0.0.0.p/jwk.c.o
[9/86] Compiling C object lib/libjose.so.0.0.0.p/jws.c.o
[10/86] Compiling C object lib/libjose.so.0.0.0.p/jwe.c.o
[11/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aesgcmkw.c.o
[12/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aescbch.c.o
[13/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aesgcm.c.o
[14/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_aeskw.c.o
[15/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_compat.c.o
[16/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_dir.c.o
[17/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ec.c.o
[18/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdh.c.o
[19/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecmr.c.o
[20/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdhes.c.o
[21/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_ecdsa.c.o
[22/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_hash.c.o
[23/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_lock.c.o
[24/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_hmac.c.o
[25/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_jwk.c.o
[26/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_misc.c.o
[27/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_oct.c.o
[28/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsa.c.o
[29/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_pbes2.c.o
[30/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsaes.c.o
[31/86] Compiling C object lib/libjose.so.0.0.0.p/openssl_rsassa.c.o
[32/86] Compiling C object cmd/jose.p/b64_dec.c.o
[33/86] Compiling C object cmd/jose.p/b64_enc.c.o
[34/86] Compiling C object cmd/jose.p/jwk_eql.c.o
[35/86] Compiling C object cmd/jose.p/jose.c.o
[36/86] Compiling C object cmd/jose.p/jwk_exc.c.o
[37/86] Compiling C object cmd/jose.p/jwk_gen.c.o
[38/86] Compiling C object cmd/jose.p/jwk_pub.c.o
[39/86] Compiling C object cmd/jose.p/jwk_thp.c.o
[40/86] Compiling C object cmd/jose.p/jwk_use.c.o
[41/86] Compiling C object cmd/jose.p/jws_fmt.c.o
[42/86] Compiling C object cmd/jose.p/jws_sig.c.o
[43/86] Compiling C object cmd/jose.p/jws_ver.c.o
[44/86] Compiling C object cmd/jose.p/jwe_fmt.c.o
[45/86] Compiling C object cmd/jose.p/jwe_dec.c.o
[46/86] Compiling C object cmd/jose.p/alg.c.o
[47/86] Compiling C object tests/alg_hash.p/alg_hash.c.o
[48/86] Compiling C object cmd/jose.p/fmt.c.o
[49/86] Compiling C object cmd/jose.p/jwe_enc.c.o
[50/86] Compiling C object tests/alg_sign.p/alg_sign.c.o
[51/86] Compiling C object tests/alg_encr.p/alg_encr.c.o
[52/86] Compiling C object tests/alg_wrap.p/alg_wrap.c.o
[53/86] Compiling C object tests/api_b64.p/api_b64.c.o
[54/86] Compiling C object tests/alg_comp.p/alg_comp.c.o
[55/86] Compiling C object tests/api_jws.p/api_jws.c.o
[56/86] Compiling C object tests/api_jwe.p/api_jwe.c.o
[57/86] Compiling C object tests/issue-75/issue75.p/issue-75.c.o
[58/86] Generating jose-alg.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[59/86] Generating jose.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[60/86] Generating jose-b64-dec.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[61/86] Generating jose-b64-enc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[62/86] Generating jose-jwe-dec.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[63/86] Generating jose-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[64/86] Generating jose-jwe-enc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[65/86] Generating jose-jwe-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[66/86] Generating jose-jwk-eql.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[67/86] Linking target lib/libjose.so.0.0.0
[68/86] Generating symbol file lib/libjose.so.0.0.0.p/libjose.so.0.0.0.symbols
[69/86] Generating jose-jwk-exc.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[70/86] Generating jose-jwk-gen.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[71/86] Generating jose-jwk-pub.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[72/86] Linking target tests/alg_hash
[73/86] Linking target tests/alg_sign
[74/86] Linking target tests/alg_encr
[75/86] Linking target tests/alg_wrap
[76/86] Linking target tests/api_b64
[77/86] Linking target tests/alg_comp
[78/86] Linking target tests/api_jws
[79/86] Linking target tests/issue-75/issue75
[80/86] Linking target tests/api_jwe
[81/86] Linking target cmd/jose
[82/86] Generating jose-jwk-thp.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[83/86] Generating jose-jwk-use.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[84/86] Generating jose-jws-fmt.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[85/86] Generating jose-jws-ver.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
[86/86] Generating jose-jws-sig.1 with a custom command
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
<unknown>:1: SyntaxWarning: invalid escape sequence '\S'
=> jose-14_1: running do_check ...
ninja: Entering directory `build'
[0/1] Running all tests.
 1/25 alg_hash     OK                0.01s
 2/25 alg_encr     OK                0.01s
 3/25 alg_comp     OK                0.73s
 4/25 alg_sign     OK                0.86s
 5/25 api_jws      OK                0.25s
 6/25 jose-alg     OK                0.09s
 7/25 api_b64      OK                1.25s
 8/25 jose-b64-enc OK                0.04s
 9/25 jose-b64-dec OK                0.04s
10/25 jose-jwk-eql OK                0.11s
11/25 jose-fmt     OK                0.55s
12/25 jose-jwk-exc OK                0.30s
13/25 jose-jwk-pub OK                0.03s
14/25 jose-jwk-use OK                0.14s
15/25 jose-jwk-thp OK                0.05s
16/25 alg_wrap     OK                2.14s
17/25 jose-jws-fmt OK                0.28s
18/25 api_jwe      OK                1.52s
19/25 jose-jws-ver OK                0.27s
20/25 jose-jwe-fmt OK                0.36s
21/25 jose-jwe-dec OK                0.40s
22/25 issue75      OK                0.01s
23/25 jose-jwk-gen OK                2.60s
24/25 jose-jws-sig OK                4.49s
25/25 jose-jwe-enc OK                7.14s

Ok:                 25
Expected Fail:      0
Fail:               0
Unexpected Pass:    0
Skipped:            0
Timeout:            0

Full log written to /builddir/jose-14/build/meson-logs/testlog.txt

@jhe2
Copy link
Contributor Author

jhe2 commented Aug 14, 2024

Thanks for testing this! I'll test it again on x86_64-glibc a little later. Maybe I made some stupid mistake while testing? I'm pretty sure I did clean the package build before running the tests.

@jhe2
Copy link
Contributor Author

jhe2 commented Aug 14, 2024

You were correct, elivance. I didn't forget to clean the build, instead I passed -Db_ndebug=true via the configure_args when I tried to test overriding the flag. Unsurprisingly, this didn't help.

-Db_ndebug=false enables assertions. Seems somewhat inverted, but this is of course what we need here.

@classabbyamp
Copy link
Member

please rebase and resolve conflicts

@classabbyamp
Copy link
Member

classabbyamp commented Sep 22, 2024

split libraries of jose and luksmeta into libjose and libluksmeta, you may want to rebuild/reinstall them

@classabbyamp classabbyamp merged commit b8488cc into void-linux:master Sep 22, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants