Bug#1091856: libjson-validator-perl: Requires cache symlink for v3.0 schema
Wouter Verhelst
wouter at debian.org
Wed Jan 1 15:23:13 GMT 2025
Package: libjson-validator-perl
Version: 5.14+dfsg-2
Severity: important
Dear Maintainer,
An application that uses JSON::Validator currently dies with:
Can't load application from file "/home/wouter/code/perl/sreview/web/sreview-web": GET https://spec.openapis.org/oas/3.0/schema/2019-04-02: Not Found at /usr/share/perl5/JSON/Validator/Store.pm line 190.
Running 'strace -ff -o foo <application>; grep Validator.cache foo*' outputs:
foo.146500:newfstatat(AT_FDCWD, "/usr/share/perl5/JSON/Validator/cache/a516498b60c53096b2ce2cd83ebe0abc", 0x56545a8b14b8, 0) = -1 ENOENT (No such file or directory)
Creating a symlink with that name to
'../../../../openapi-specificaction/schemas/v3.0/schema.yaml' resolves the
issue.
Presumably a symlink for v1.2 and v3.1 should be created too, but I
didn't immediately find out how the hash is computed, so I don't know
which ones to use.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (999, 'testing'), (500, 'testing-debug'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64
Kernel: Linux 6.12.6-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8), LANGUAGE=nl_BE:nl
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libjson-validator-perl depends on:
ii libmojolicious-perl 9.39+dfsg-1
ii libyaml-libyaml-perl 0.902.0+ds-2+b1
ii openapi-specification 3.1.1-1
ii perl 5.40.0-8
Versions of packages libjson-validator-perl recommends:
ii libcpanel-json-xs-perl 4.38-1+b1
ii libdata-validate-domain-perl 0.15-1
ii libdata-validate-ip-perl 0.31-1
ii libnet-idn-encode-perl 2.500-5+b1
ii libscalar-list-utils-perl 1:1.63-1+b4
ii libsereal-encoder-perl 5.004+ds-1+b3
ii perl-base [libscalar-list-utils-perl] 5.40.0-8
libjson-validator-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list