Opened 3 years ago

Closed 3 years ago

#29424 closed defect (fixed)

Slackware: system packages fix

Reported by: mkoeppe Owned by:
Priority: major Milestone: sage-9.1
Component: porting Keywords:
Cc: dimpase, gh-kliem, mjo Merged in:
Authors: Matthias Koeppe Reviewers: Dima Pasechnik
Report Upstream: N/A Work issues:
Branch: f7493d9 (Commits, GitHub, GitLab) Commit: f7493d93a7c881fc0d40d3413e0054fb7d7f7297
Dependencies: Stopgaps:

Status badges

Description (last modified by mkoeppe)

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

Change History (21)

comment:1 Changed 3 years ago by mkoeppe

Branch: u/mkoeppe/slackware__system_packages_fix

comment:2 Changed 3 years ago by mkoeppe

Commit: ab0120eeed4b9190e0ee3559bc460e15d934cdba
Description: modified (diff)

New commits:

ab0120ebuild/pkgs/slackware*.txt: Move pkg-config, gettext-tools from bootstrap to prereq, add gettext dependency libcroco

comment:3 Changed 3 years ago by git

Commit: ab0120eeed4b9190e0ee3559bc460e15d934cdbafafd55403f35d13a5758abf44d31eea2ad64e6b6

Branch pushed to git repo; I updated commit sha1. New commits:

fafd554build/pkgs/libpng/distros/slackware.txt: New

comment:4 Changed 3 years ago by mkoeppe

Authors: Matthias Koeppe
Status: newneeds_review

comment:5 Changed 3 years ago by mkoeppe

Cc: gh-kliem added

comment:6 Changed 3 years ago by mjo

Cc: mjo added

I guess you re-ran your tests on this branch and it worked?

(Is Slackware still requiring manual installation of all dependencies?)

comment:7 in reply to:  6 Changed 3 years ago by mkoeppe

Status: needs_reviewneeds_work

Replying to mjo:

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

Last edited 3 years ago by mkoeppe (previous) (diff)

comment:8 Changed 3 years ago by git

Commit: fafd55403f35d13a5758abf44d31eea2ad64e6b6eb9f1c1d7f20aaf5646c580c251136c0859a74c7

Branch pushed to git repo; I updated commit sha1. New commits:

eb9f1c1build/pkgs/slackware.txt: Add libxml2

comment:9 Changed 3 years ago by mkoeppe

(deleted)

Last edited 3 years ago by mkoeppe (previous) (diff)

comment:10 Changed 3 years ago by mkoeppe

Status: needs_workneeds_review

comment:11 Changed 3 years ago by mkoeppe

(deleted)

Last edited 3 years ago by mkoeppe (previous) (diff)

comment:12 Changed 3 years ago by mkoeppe

Successful tests ran at https://github.com/mkoeppe/sage/runs/579412320

Ready for review

comment:13 Changed 3 years ago by dimpase

Status: needs_reviewneeds_work

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

comment:14 Changed 3 years ago by dimpase

I guess fontconfig package has to be added to pre-reqs?

comment:15 Changed 3 years ago by dimpase

but it's worrying that the error was not detected, probably because no "package" was reported to have failed.

comment:16 in reply to:  15 Changed 3 years ago by mkoeppe

Replying to dimpase:

but it's worrying that the error was not detected, probably because no "package" was reported to have failed.

Yes, this due to work in progress in #29417

comment:17 Changed 3 years ago by git

Commit: eb9f1c1d7f20aaf5646c580c251136c0859a74c7f7493d93a7c881fc0d40d3413e0054fb7d7f7297

Branch pushed to git repo; I updated commit sha1. New commits:

f7493d9build/pkgs/libgd/distros/slackware.txt: Add dependencies

comment:18 Changed 3 years ago by mkoeppe

Status: needs_workneeds_review

comment:19 Changed 3 years ago by dimpase

Reviewers: Dima Pasechnik
Status: needs_reviewpositive_review

looks good to me - apart from slackware-minimal builds running out of time, but this is for another ticket.

comment:20 Changed 3 years ago by mkoeppe

Thanks!

comment:21 Changed 3 years ago by vbraun

Branch: u/mkoeppe/slackware__system_packages_fixf7493d93a7c881fc0d40d3413e0054fb7d7f7297
Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.