Thanks to
Tonus, solarfields, Regnad Kcin, USUARIONUEVO, fourtysixandtwo and drumz for the feedback.
I have been making progress but I've hit a road-block.
Is it me and my Build System, or has anyone else been able to build
office > pandoc ( not
office > pandoc-bin, but pandoc.SlackBuild from source ).
Either manually or via a high-level package manager like sbopkg ?
I am stuck on haskell-lpeg.SlackBuild which fails as shown below my sig.
Thanks
-- kjh
tl;dr
I built a clean Slackware64 15.0 VMWare Guest with 2GB RAM and 128 GB HDD to learn
sbopkg.
I chose sbopkg because I see how to add a local repo to develop and test new SlackBuilds for SBo which is what I am ultimately after.
I built several 'smallish' packages and I love the auto-build ; installpkg feature of sbopkg.
For example I built and installed gis/postgis which constructed the following queue file:
Code:
# cat /var/lib/sbopkg/queues/postgis.sqf
protobuf3
protobuf-c
postgresql
proj
geos
gdal
postgis
And everything worked (
woo hoo
)
One Q I have is how does one manage requirements in the README for adding new users and groups and for say, adding an rc.postgresql file ?
I've got more studying to do
I've been using SBo
office > pandoc-bin instead of
office > pandoc for a while, mostly because there are 197 REQUIRES for the pandoc.SlackBuild when all is said an done and that's too hard to build manually
I tried pandoc.SlackBuild in sbopkg.
The build failed on ghc ( the first REQUIRE in the sqg queue ) -- it was killed due to out of memory on my VMWare box.
The following log was execution ghc.SlackBuild 'the old way' with a simple script wrapper:
Code:
ghc.SlackBuild startup at Sun Sep 25 17:34:19 CDT 2022
ghc-8.10.4/INSTALL
<<snip>>
"inplace/bin/ghc-stage1" -hisuf p_hi -osuf p_o -hcsuf p_hc -static -prof -eventlog -H32m -O -Wall -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -this-unit-id ghc-8.10.4 -hide-all-packages -i -icompiler/. -icompiler/backpack -icompiler/basicTypes -icompiler/cmm -icompiler/coreSyn -icompiler/deSugar -icompiler/ghci -icompiler/iface -icompiler/llvmGen -icompiler/main -icompiler/nativeGen -icompiler/parser -icompiler/prelude -icompiler/profiling -icompiler/rename -icompiler/simplCore -icompiler/simplStg -icompiler/specialise -icompiler/stgSyn -icompiler/stranal -icompiler/typecheck -icompiler/types -icompiler/utils -icompiler/hieFile -icompiler/stage2/build -Icompiler/stage2/build -icompiler/stage2/build/./autogen -Icompiler/stage2/build/./autogen -Icompiler/. -Icompiler/parser -Icompiler/utils -Icompiler/../rts/dist/build -Icompiler/stage2 -Icompiler/stage2/build/. -Icompiler/stage2/build/parser -Icompiler/stage2/build/utils -Icompiler/stage2/build/../rts/dist/build -Icompiler/stage2/build/stage2 -optP-DHAVE_INTERNAL_INTERPRETER -optP-DINTEGER_GMP -optP-DCAN_LOAD_DLL -optP-Iincludes/dist-install/build -optP-include -optPcompiler/stage2/build/./autogen/cabal_macros.h -package-id array-0.5.4.0 -package-id base-4.14.1.0 -package-id binary-0.8.8.0 -package-id bytestring-0.10.12.0 -package-id containers-0.6.2.1 -package-id deepseq-1.4.4.0 -package-id directory-1.3.6.0 -package-id filepath-1.4.2.1 -package-id ghc-boot-8.10.4 -package-id ghc-boot-th-8.10.4 -package-id ghc-heap-8.10.4 -package-id ghci-8.10.4 -package-id hpc-0.6.1.0 -package-id integer-gmp-1.0.3.0 -package-id process-1.6.9.0 -package-id template-haskell-2.16.0.0 -package-id terminfo-0.4.1.4 -package-id time-1.9.3 -package-id transformers-0.5.6.2 -package-id unix-2.7.2.2 -Wall -Wno-name-shadowing -Wnoncanonical-monad-instances -Wnoncanonical-monoid-instances -this-unit-id ghc -XHaskell2010 -XNoImplicitPrelude -optc-DTHREADED_RTS -DGHCI_TABLES_NEXT_TO_CODE -Iincludes/dist-install/build -Rghc-timing -O2 -haddock -Wcpp-undef -no-user-package-db -rtsopts -Wnoncanonical-monad-instances -outputdir compiler/stage2/build -c compiler/main/DynFlags.hs -o compiler/stage2/build/DynFlags.p_o -dyno compiler/stage2/build/DynFlags.dyn_o
make[1]: *** [compiler/ghc.mk:308: compiler/stage2/build/DynFlags.p_o] Killed
make: *** [Makefile:128: all] Error 2
ghc.SlackBuild FAILED at Sun Sep 25 18:29:48 CDT 2022 ... RetCode = 2
So I bumped the RAM on my VMWare Machine to 8GB and I could see that I was going to run out of Disk Space too so I `resize2fs` my / partition to 256 GB and tried compiling ghc again and it worked via my simple script wrapper.
So I `removepkg ghc` and I tried the pandoc.sqg queue file again via sbopkg and it failed to build the haskell-lpeg.SlackBuild.
This is the error when I tried building haskell-lpeg via my old wrapper script:
Code:
haskell-lpeg.SlackBuild startup at Mon Sep 26 09:18:39 CDT 2022
lpeg-1.0.2/
<<snip>>
Building library for lpeg-1.0.2..
[1 of 1] Compiling Lua.LPeg
[1 of 1] Compiling Lua.LPeg
Preprocessing library for lpeg-1.0.2..
Running Haddock on library for lpeg-1.0.2..
haddock: internal error: dist/doc/html/lpeg/haddock-response79014-1.txt: hGetContents: invalid argument (invalid byte sequence)
haskell-lpeg.SlackBuild FAILED at Mon Sep 26 09:18:42 CDT 2022 ... RetCode = 1
I stopped there last Sunday ...
Does haskell-lpeg.SlackBuild work for anyone else ?
Better yet, does the sbopkg pandoc.sqg queue file work ?
If so, I'll look at my system.
If not, I'll see what I can find out about the latest requirements for compiling pandoc.
Any Ideas ?
Thanks again.
-- kjh