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

Slackware: system packages fix #29424

Closed
mkoeppe opened this issue Mar 29, 2020 · 24 comments
Closed

Slackware: system packages fix #29424

mkoeppe opened this issue Mar 29, 2020 · 24 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Mar 29, 2020

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

CC: @dimpase @kliem @orlitzky

Component: porting

Author: Matthias Koeppe

Branch/Commit: f7493d9

Reviewer: Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/29424

@mkoeppe mkoeppe added this to the sage-9.1 milestone Mar 29, 2020
@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 29, 2020

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 29, 2020

New commits:

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

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 29, 2020

Commit: ab0120e

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 29, 2020

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

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

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Mar 29, 2020

Changed commit from ab0120e to fafd554

@mkoeppe
Copy link
Member Author

mkoeppe commented Mar 29, 2020

Author: Matthias Koeppe

@orlitzky
Copy link
Contributor

orlitzky commented Apr 2, 2020

comment:6

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

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

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 2, 2020

comment:7

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

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 7, 2020

Changed commit from fafd554 to eb9f1c1

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 7, 2020

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

eb9f1c1build/pkgs/slackware.txt: Add libxml2

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 8, 2020

comment:9

(deleted)

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 8, 2020

comment:11

(deleted)

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 12, 2020

comment:12

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

Ready for review

@dimpase
Copy link
Member

dimpase commented Apr 12, 2020

comment:13

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

@dimpase
Copy link
Member

dimpase commented Apr 12, 2020

comment:14

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

@dimpase
Copy link
Member

dimpase commented Apr 12, 2020

comment:15

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

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 12, 2020

comment:16

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

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 17, 2020

Changed commit from eb9f1c1 to f7493d9

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Apr 17, 2020

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

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

@dimpase
Copy link
Member

dimpase commented Apr 19, 2020

comment:19

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

@dimpase
Copy link
Member

dimpase commented Apr 19, 2020

Reviewer: Dima Pasechnik

@mkoeppe
Copy link
Member Author

mkoeppe commented Apr 19, 2020

comment:20

Thanks!

@vbraun
Copy link
Member

vbraun commented Apr 22, 2020

Changed branch from u/mkoeppe/slackware__system_packages_fix to f7493d9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants