Slackware: system packages fix
mkoeppe opened this issue · 24 comments
Building git for slackware-14.2-minimal (https://github.com/mkoeppe/sage/runs/542501916):
mkdir -p po/build/locale/vi/LC_MESSAGES/ && msgfmt --check --statistics -o po/build/locale/vi/LC_MESSAGES/git.mo po/vi.po
msgfmt: error while loading shared libraries: libcroco-0.6.so.3: cannot open shared object file: No such file or directory
Makefile:2150: recipe for target 'po/build/locale/vi/LC_MESSAGES/git.mo' failed
make[4]: *** [po/build/locale/vi/LC_MESSAGES/git.mo] Error 127
libpng not found:
configure:12817: checking for libpng >= 1.2
configure:12824: $PKG_CONFIG --exists --print-errors "libpng >= 1.2"
Package libpng was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libpng' found
Component: porting
Author: Matthias Koeppe
Branch/Commit: f7493d9
Reviewer: Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/29424
New commits:
ab0120e | build/pkgs/slackware*.txt: Move pkg-config, gettext-tools from bootstrap to prereq, add gettext dependency libcroco |
Description changed:
---
+++
@@ -7,3 +7,14 @@
make[4]: *** [po/build/locale/vi/LC_MESSAGES/git.mo] Error 127
```
+libpng not found:
+
+```
+configure:12817: checking for libpng >= 1.2
+configure:12824: $PKG_CONFIG --exists --print-errors "libpng >= 1.2"
+Package libpng was not found in the pkg-config search path.
+Perhaps you should add the directory containing `libpng.pc'
+to the PKG_CONFIG_PATH environment variable
+No package 'libpng' found
+```
+Branch pushed to git repo; I updated commit sha1. New commits:
fafd554 | build/pkgs/libpng/distros/slackware.txt: New |
Author: Matthias Koeppe
I guess you re-ran your tests on this branch and it worked?
(Is Slackware still requiring manual installation of all dependencies?)
Replying to @orlitzky:
I guess you re-ran your tests on this branch and it worked?
Actually there are still errors (https://github.com/mkoeppe/sage/runs/552216361)
msgfmt: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
Makefile:2150: recipe for target 'po/build/locale/ru/LC_MESSAGES/git.mo' failed
(Is Slackware still requiring manual installation of all dependencies?)
Yes, which is kind of amusing
Branch pushed to git repo; I updated commit sha1. New commits:
eb9f1c1 | build/pkgs/slackware.txt: Add libxml2 |
(deleted)
(deleted)
Tests marked as successful (slackware-standard), https://github.com/mkoeppe/sage/runs/579412322
show an error
2020-04-12T02:08:51.7746771Z [sagelib-9.1.beta9] installing. Log file: /sage/logs/pkgs/sagelib-9.1.beta9.log
2020-04-12T02:08:51.7747324Z [sagelib-9.1.beta9] successfully installed. real 0m4.387s user 0m3.213s sys 0m0.984s
2020-04-12T02:08:51.7747865Z cd ../.. && sage-logger -p './sage --docbuild --no-pdf-links all html ' logs/dochtml.log
2020-04-12T02:08:51.7748324Z make[3]: Nothing to be done for 'all-sage'.
2020-04-12T02:08:51.7748518Z [dochtml] installing. Log file: logs/dochtml.log
2020-04-12T02:08:51.7748693Z [dochtml] error installing, exit status 1. End of log file:
2020-04-12T02:08:51.7748880Z [dochtml] Traceback (most recent call last):
2020-04-12T02:08:51.7749083Z [dochtml] File "/sage/local/lib/python3.7/runpy.py", line 183, in _run_module_as_main
2020-04-12T02:08:51.7749423Z [dochtml] mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
2020-04-12T02:08:51.7749634Z [dochtml] File "/sage/local/lib/python3.7/runpy.py", line 142, in _get_module_details
2020-04-12T02:08:51.7749844Z [dochtml] return _get_module_details(pkg_main_name, error)
2020-04-12T02:08:51.7750051Z [dochtml] File "/sage/local/lib/python3.7/runpy.py", line 109, in _get_module_details
2020-04-12T02:08:51.7750253Z [dochtml] __import__(pkg_name)
2020-04-12T02:08:51.7750852Z [dochtml] File "/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py", line 59, in <module>
2020-04-12T02:08:58.1462272Z [dochtml] import sage.all
2020-04-12T02:08:58.1463451Z [dochtml] File "/sage/local/lib/python3.7/site-packages/sage/all.py", line 132, in <module>
2020-04-12T02:08:58.1463748Z [dochtml] from sage.matrix.all import *
2020-04-12T02:08:58.1464217Z [dochtml] File "/sage/local/lib/python3.7/site-packages/sage/matrix/__init__.py", line 2, in <module>
2020-04-12T02:08:58.1464509Z [dochtml] import sage.matrix.args
2020-04-12T02:08:58.1464772Z [dochtml] File "sage/matrix/args.pyx", line 23, in init sage.matrix.args (build/cythonized/sage/matrix/args.c:21218)
2020-04-12T02:08:58.1465941Z [dochtml] File "/sage/local/lib/python3.7/site-packages/sage/matrix/matrix_space.py", line 46, in <module>
2020-04-12T02:08:58.1466144Z [dochtml] from . import matrix_modn_sparse
2020-04-12T02:08:58.1466332Z [dochtml] File "sage/matrix/matrix_integer_sparse.pxd", line 5, in init sage.matrix.matrix_modn_sparse (build/cythonized/sage/matrix/matrix_modn_sparse.cpp:16354)
2020-04-12T02:08:58.1466622Z [dochtml] File "sage/matrix/matrix_integer_dense.pxd", line 10, in init sage.matrix.matrix_integer_sparse (build/cythonized/sage/matrix/matrix_integer_sparse.cpp:15984)
2020-04-12T02:08:58.1466816Z [dochtml] File "sage/matrix/matrix_mod2_dense.pxd", line 4, in init sage.matrix.matrix_integer_dense (build/cythonized/sage/matrix/matrix_integer_dense.c:56567)
2020-04-12T02:08:58.1467021Z [dochtml] ImportError: libfontconfig.so.1: cannot open shared object file: No such file or directory
2020-04-12T02:08:58.1467177Z [dochtml] Full log file: logs/dochtml.log
2020-04-12T02:08:58.1467530Z Makefile:1992: recipe for target 'doc-html' failed
I guess fontconfig package has to be added to pre-reqs?
but it's worrying that the error was not detected, probably because no "package" was reported to have failed.
Branch pushed to git repo; I updated commit sha1. New commits:
f7493d9 | build/pkgs/libgd/distros/slackware.txt: Add dependencies |
looks good to me - apart from slackware-minimal builds running out of time, but this is for another ticket.
Reviewer: Dima Pasechnik
Thanks!
Changed branch from u/mkoeppe/slackware__system_packages_fix to f7493d9