Skip to content

Instantly share code, notes, and snippets.

@koush
Last active August 8, 2023 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koush/ec6d76beefcd872b70a6d0c86a17c5ff to your computer and use it in GitHub Desktop.
Save koush/ec6d76beefcd872b70a6d0c86a17c5ff to your computer and use it in GitHub Desktop.
root@dc4a7e30c4fa:/publicsuffix-list# make test
cd linter; \
./pslint_selftest.sh; \
./pslint.py ../public_suffix_list.dat;
test_NFKC: OK
test_allowedchars: OK
test_dots: OK
test_duplicate: OK
test_exception: OK
test_punycode: OK
test_section1: OK
test_section2: OK
test_section3: OK
test_section4: OK
test_spaces: OK
test_wildcard: OK
test -d libpsl || git clone --depth=1 https://github.com/rockdaboot/libpsl; \
cd libpsl; \
git pull; \
echo "EXTRA_DIST =" > gtk-doc.make; \
echo "CLEANFILES =" >> gtk-doc.make; \
autoreconf --install --force --symlink;
Already up to date.
autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: linking file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:1: warning: file `version.txt' included several times
configure.ac:4: warning: file `version.txt' included several times
aclocal.m4:765: AM_INIT_AUTOMAKE is expanded from...
configure.ac:4: the top level
configure.ac:383: warning: file `version.txt' included several times
configure.ac:10: installing 'build-aux/compile'
configure.ac:4: installing 'build-aux/missing'
fuzz/Makefile.am: installing 'build-aux/depcomp'
cd libpsl && ./configure -q -C --enable-runtime=libicu --enable-builtin=libicu --with-psl-file=/publicsuffix-list/public_suffix_list.dat --with-psl-testfile=/publicsuffix-list/tests/tests.txt && make -s clean && make -s check -j4
configure: WARNING: --enable-builtin=libicu is deprecated, use --enable-builtin (enabled by default)
configure: error: You requested libicu but it is not installed.
make: *** [Makefile:27: libpsl-libicu] Error 1
root@dc4a7e30c4fa:/publicsuffix-list# apt install libicu-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
icu-devtools
Suggested packages:
icu-doc
The following NEW packages will be installed:
icu-devtools libicu-dev
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 11.7 MB of archives.
After this operation, 47.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 icu-devtools arm64 70.1-2 [193 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 libicu-dev arm64 70.1-2 [11.6 MB]
Fetched 11.7 MB in 2s (5730 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package icu-devtools.
(Reading database ... 29156 files and directories currently installed.)
Preparing to unpack .../icu-devtools_70.1-2_arm64.deb ...
Unpacking icu-devtools (70.1-2) ...
Selecting previously unselected package libicu-dev:arm64.
Preparing to unpack .../libicu-dev_70.1-2_arm64.deb ...
Unpacking libicu-dev:arm64 (70.1-2) ...
Setting up icu-devtools (70.1-2) ...
Setting up libicu-dev:arm64 (70.1-2) ...
root@dc4a7e30c4fa:/publicsuffix-list# make test
cd linter; \
./pslint_selftest.sh; \
./pslint.py ../public_suffix_list.dat;
test_NFKC: OK
test_allowedchars: OK
test_dots: OK
test_duplicate: OK
test_exception: OK
test_punycode: OK
test_section1: OK
test_section2: OK
test_section3: OK
test_section4: OK
test_spaces: OK
test_wildcard: OK
test -d libpsl || git clone --depth=1 https://github.com/rockdaboot/libpsl; \
cd libpsl; \
git pull; \
echo "EXTRA_DIST =" > gtk-doc.make; \
echo "CLEANFILES =" >> gtk-doc.make; \
autoreconf --install --force --symlink;
Already up to date.
autopoint: using AM_GNU_GETTEXT_REQUIRE_VERSION instead of AM_GNU_GETTEXT_VERSION
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: linking file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:1: warning: file `version.txt' included several times
configure.ac:4: warning: file `version.txt' included several times
aclocal.m4:765: AM_INIT_AUTOMAKE is expanded from...
configure.ac:4: the top level
configure.ac:383: warning: file `version.txt' included several times
configure.ac:10: installing 'build-aux/compile'
configure.ac:4: installing 'build-aux/missing'
fuzz/Makefile.am: installing 'build-aux/depcomp'
cd libpsl && ./configure -q -C --enable-runtime=libicu --enable-builtin=libicu --with-psl-file=/publicsuffix-list/public_suffix_list.dat --with-psl-testfile=/publicsuffix-list/tests/tests.txt && make -s clean && make -s check -j4
configure: WARNING: --enable-builtin=libicu is deprecated, use --enable-builtin (enabled by default)
config.status: creating po/POTFILES
config.status: creating po/Makefile
Making clean in po
Making clean in include
Making clean in src
rm -f ./so_locations
Making clean in tools
rm -f psl
Making clean in fuzz
rm -f libpsl_icu_fuzzer libpsl_icu_load_fuzzer libpsl_icu_load_dafsa_fuzzer
Making clean in tests
rm -f test-is-public test-is-public-all test-is-cookie-domain-acceptable test-is-public-builtin test-registrable-domain
Making clean in msvc
Making check in po
Making check in include
Making check in src
CC libpsl_la-psl.lo
CC libpsl_la-lookup_string_in_fixed_set.lo
CCLD libpsl.la
Making check in tools
CC psl.o
CCLD psl
Making check in fuzz
CC libpsl_fuzzer.o
CC main.o
CC libpsl_load_fuzzer.o
CC libpsl_load_dafsa_fuzzer.o
CCLD libpsl_icu_fuzzer
CCLD libpsl_icu_load_fuzzer
CCLD libpsl_icu_load_dafsa_fuzzer
PASS: libpsl_icu_load_dafsa_fuzzer
PASS: libpsl_icu_fuzzer
PASS: libpsl_icu_load_fuzzer
============================================================================
Testsuite summary for libpsl 0.21.2
============================================================================
# TOTAL: 3
# PASS: 3
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
Making check in tests
CC test-is-public.o
CC test-is-public-all.o
CC test-is-cookie-domain-acceptable.o
CC test-is-public-builtin.o
CC test-registrable-domain.o
CCLD test-is-cookie-domain-acceptable
CCLD test-is-public-builtin
CCLD test-is-public
CCLD test-is-public-all
CCLD test-registrable-domain
PASS: test-is-public-builtin
PASS: test-is-cookie-domain-acceptable
PASS: test-is-public
PASS: test-registrable-domain
PASS: test-is-public-all
============================================================================
Testsuite summary for libpsl 0.21.2
============================================================================
# TOTAL: 5
# PASS: 5
# SKIP: 0
# XFAIL: 0
# FAIL: 0
# XPASS: 0
# ERROR: 0
============================================================================
Making check in msvc
root@dc4a7e30c4fa:/publicsuffix-list#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment