Opened 3 years ago
Closed 3 years ago
#29424 closed defect (fixed)
Slackware: system packages fix
Reported by:  mkoeppe  Owned by:  

Priority:  major  Milestone:  sage9.1 
Component:  porting  Keywords:  
Cc:  dimpase, ghkliem, mjo  Merged in:  
Authors:  Matthias Koeppe  Reviewers:  Dima Pasechnik 
Report Upstream:  N/A  Work issues:  
Branch:  f7493d9 (Commits, GitHub, GitLab)  Commit:  f7493d93a7c881fc0d40d3413e0054fb7d7f7297 
Dependencies:  Stopgaps: 
Description (last modified by )
Building git for slackware14.2minimal
(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: libcroco0.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 printerrors "libpng >= 1.2" Package libpng was not found in the pkgconfig 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
Branch:  → u/mkoeppe/slackware__system_packages_fix 

comment:2 Changed 3 years ago by
Commit:  → ab0120eeed4b9190e0ee3559bc460e15d934cdba 

Description:  modified (diff) 
comment:3 Changed 3 years ago by
Commit:  ab0120eeed4b9190e0ee3559bc460e15d934cdba → fafd55403f35d13a5758abf44d31eea2ad64e6b6 

Branch pushed to git repo; I updated commit sha1. New commits:
fafd554  build/pkgs/libpng/distros/slackware.txt: New

comment:4 Changed 3 years ago by
Authors:  → Matthias Koeppe 

Status:  new → needs_review 
comment:5 Changed 3 years ago by
Cc:  ghkliem added 

comment:6 followup: 7 Changed 3 years ago by
Cc:  mjo added 

I guess you reran your tests on this branch and it worked?
(Is Slackware still requiring manual installation of all dependencies?)
comment:7 Changed 3 years ago by
Status:  needs_review → needs_work 

Replying to mjo:
I guess you reran 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
comment:8 Changed 3 years ago by
Commit:  fafd55403f35d13a5758abf44d31eea2ad64e6b6 → eb9f1c1d7f20aaf5646c580c251136c0859a74c7 

Branch pushed to git repo; I updated commit sha1. New commits:
eb9f1c1  build/pkgs/slackware.txt: Add libxml2

comment:10 Changed 3 years ago by
Status:  needs_work → needs_review 

comment:12 Changed 3 years ago by
Successful tests ran at https://github.com/mkoeppe/sage/runs/579412320
Ready for review
comment:13 Changed 3 years ago by
Status:  needs_review → needs_work 

Tests marked as successful (slackwarestandard), https://github.com/mkoeppe/sage/runs/579412322 show an error
20200412T02:08:51.7746771Z [sagelib9.1.beta9] installing. Log file: /sage/logs/pkgs/sagelib9.1.beta9.log 20200412T02:08:51.7747324Z [sagelib9.1.beta9] successfully installed. real 0m4.387s user 0m3.213s sys 0m0.984s 20200412T02:08:51.7747865Z cd ../.. && sagelogger p './sage docbuild nopdflinks all html ' logs/dochtml.log 20200412T02:08:51.7748324Z make[3]: Nothing to be done for 'allsage'. 20200412T02:08:51.7748518Z [dochtml] installing. Log file: logs/dochtml.log 20200412T02:08:51.7748693Z [dochtml] error installing, exit status 1. End of log file: 20200412T02:08:51.7748880Z [dochtml] Traceback (most recent call last): 20200412T02:08:51.7749083Z [dochtml] File "/sage/local/lib/python3.7/runpy.py", line 183, in _run_module_as_main 20200412T02:08:51.7749423Z [dochtml] mod_name, mod_spec, code = _get_module_details(mod_name, _Error) 20200412T02:08:51.7749634Z [dochtml] File "/sage/local/lib/python3.7/runpy.py", line 142, in _get_module_details 20200412T02:08:51.7749844Z [dochtml] return _get_module_details(pkg_main_name, error) 20200412T02:08:51.7750051Z [dochtml] File "/sage/local/lib/python3.7/runpy.py", line 109, in _get_module_details 20200412T02:08:51.7750253Z [dochtml] __import__(pkg_name) 20200412T02:08:51.7750852Z [dochtml] File "/sage/local/lib/python3.7/sitepackages/sage_setup/docbuild/__init__.py", line 59, in <module> 20200412T02:08:58.1462272Z [dochtml] import sage.all 20200412T02:08:58.1463451Z [dochtml] File "/sage/local/lib/python3.7/sitepackages/sage/all.py", line 132, in <module> 20200412T02:08:58.1463748Z [dochtml] from sage.matrix.all import * 20200412T02:08:58.1464217Z [dochtml] File "/sage/local/lib/python3.7/sitepackages/sage/matrix/__init__.py", line 2, in <module> 20200412T02:08:58.1464509Z [dochtml] import sage.matrix.args 20200412T02:08:58.1464772Z [dochtml] File "sage/matrix/args.pyx", line 23, in init sage.matrix.args (build/cythonized/sage/matrix/args.c:21218) 20200412T02:08:58.1465941Z [dochtml] File "/sage/local/lib/python3.7/sitepackages/sage/matrix/matrix_space.py", line 46, in <module> 20200412T02:08:58.1466144Z [dochtml] from . import matrix_modn_sparse 20200412T02: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) 20200412T02: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) 20200412T02: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) 20200412T02:08:58.1467021Z [dochtml] ImportError: libfontconfig.so.1: cannot open shared object file: No such file or directory 20200412T02:08:58.1467177Z [dochtml] Full log file: logs/dochtml.log 20200412T02:08:58.1467530Z Makefile:1992: recipe for target 'dochtml' failed
comment:15 followup: 16 Changed 3 years ago by
but it's worrying that the error was not detected, probably because no "package" was reported to have failed.
comment:16 Changed 3 years ago by
comment:17 Changed 3 years ago by
Commit:  eb9f1c1d7f20aaf5646c580c251136c0859a74c7 → f7493d93a7c881fc0d40d3413e0054fb7d7f7297 

Branch pushed to git repo; I updated commit sha1. New commits:
f7493d9  build/pkgs/libgd/distros/slackware.txt: Add dependencies

comment:18 Changed 3 years ago by
Status:  needs_work → needs_review 

comment:19 Changed 3 years ago by
Reviewers:  → Dima Pasechnik 

Status:  needs_review → positive_review 
looks good to me  apart from slackwareminimal builds running out of time, but this is for another ticket.
comment:21 Changed 3 years ago by
Branch:  u/mkoeppe/slackware__system_packages_fix → f7493d93a7c881fc0d40d3413e0054fb7d7f7297 

Resolution:  → fixed 
Status:  positive_review → closed 
New commits:
build/pkgs/slackware*.txt: Move pkgconfig, gettexttools from bootstrap to prereq, add gettext dependency libcroco