Opinions Wanted: Which Slackware Package Manager for an SBo SlackBuild Developer ( and why )?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sbopkg sticks the downloads in /var/cache/sbopkg and creates links in the slackbuild directory. Works fine until you get downloads that share the same filename but are different. Retry will redownload the proper file. It's a bug but doesn't happen too often.
chmod +x inplace/bin/runghc
/usr/bin/sphinx-build -b html -d docs/users_guide/.doctrees-html -w docs/users_guide/.log -n -D latex_paper_size=letter docs/users_guide docs/users_guide/build-html/users_guide
Running Sphinx v4.2.0
Configuration error:
There is a syntax error in your configuration file: (unicode error) 'unicodeescape' codec can't decode bytes in position 1-2: truncated \uXXXX escape (conf.py, line 110)
make[1]: *** [docs/users_guide/ghc.mk:16: docs/users_guide/build-html/users_guide/index.html] Error 2
make: *** [Makefile:128: all] Error 2
ghc:
Would you like to continue processing the rest of the
queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
(Y)es to continue, (N)o to abort, (R)etry the build?: N
Last edited by kjhambrick; 10-04-2022 at 08:07 AM.
Reason: found the same issue on Gentoo Site with Patches
I hand-edited the three applicable Files mentioned at ghc version 8.10.5 Documentation Patches and then generated Unified Diffs ( attached as ghc-8.10.4-docs-patches.tgz.txt ).
Then I modified the ghc.SlackBuild to apply the three patches and reinstalled the Sphinx.SlackBuild and then reran the patched SBo ghc.SlackBuild.
Everything, including the Docs, builds successfully now.
So, having done all that, ghc version 8.10.4 was released 5 Feb 2021 and may be too old to bootstrap a newer version of ghc ( latest versions are 9.4.2 or 9.2.4 ).
Anyhow, all I was really after was to test sbopkg with large queues -- sbopkg passes with flying colors !
Thanks to everyone for all the help !
-- kjh
I attached ghc-8.10.4-docs-patches.tgz as ghc-8.10.4-docs-patches.tgz.txt ...
Save the attached tar file as ghc-8.10.4-docs-patches.tgz and extract the contents into your ghc.SlackBuild Directory, then apply the patch below to the ghc.SlackBuild:
[code]
# cd /path/to/development/ghc
# tar -zxvf /path/to/ghc-8.10.4-docs-patches.tgz.txt
This is the Patch for the Version 8.10.4 ghc.SlackBuild to apply documentation patches so ghc.SlackBuild works when Sphinx is installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.