SBo scripts not building on current (read 1st post, pls)
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.
system/cve-check-tool build fails with following error:
Code:
make[3]: Entering directory '/tmp/SBo/cve-check-tool-5.6.4/src'
CC libcve_la-core.lo
CC cve_check_tool-main.o
CC cve_check_tool-update.o
CC cve_check_tool-plugin-manager.o
CC cve_check_update-update.o
CC cve_check_update-update-main.o
CC library/libcve_la-cve-string.lo
CC library/libcve_la-hashmap.lo
CC library/libcve_la-cve-db-lock.lo
CC library/libcve_la-fetch.lo
CC library/libcve_la-template.lo
CC library/libcve_la-util.lo
library/util.c: In function 'parse_xml_date':
library/util.c:142:9: error: 'g_time_zone_new' is deprecated: Use 'g_time_zone_new_identifier' instead [-Werror=deprecated-declarations]
142 | tz = g_time_zone_new(c);
| ^~
In file included from /usr/include/glib-2.0/glib/gdatetime.h:31,
from /usr/include/glib-2.0/glib/gbookmarkfile.h:26,
from /usr/include/glib-2.0/glib.h:37,
from library/util.c:13:
/usr/include/glib-2.0/glib/gtimezone.h:57:25: note: declared here
57 | GTimeZone * g_time_zone_new (const gchar *identifier);
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:663: library/libcve_la-util.lo] Error 1
make[3]: Leaving directory '/tmp/SBo/cve-check-tool-5.6.4/src'
make[2]: *** [Makefile:760: all-recursive] Error 1
make[2]: Leaving directory '/tmp/SBo/cve-check-tool-5.6.4/src'
make[1]: *** [Makefile:966: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/cve-check-tool-5.6.4'
make: *** [Makefile:743: all] Error 2
but when I try to add it to the Slackbuild it says unrecognized. This build is setting the flags differently than the others th9ugh so maybe I don't quite understand how he's doing it.
but when I try to add it to the Slackbuild it says unrecognized. This build is setting the flags differently than the others th9ugh so maybe I don't quite understand how he's doing it.
I grep'd the source of both xa and dxa as downloaded by the xa.info and neither showed allow-multiple-definition anywhere in the source. They don't contain a normal way to set options like a ./configure, so if this option was recognized (which I don't see how it could since it doesn't exist anywhere in the source), there doesn't seem to be a way to add it.
but when I try to add it to the Slackbuild it says unrecognized. This build is setting the flags differently than the others th9ugh so maybe I don't quite understand how he's doing it.
FWIW xa seems to build fine here...
can you please paste the error you got?
I grep'd the source of both xa and dxa as downloaded by the xa.info and neither showed allow-multiple-definition anywhere in the source. They don't contain a normal way to set options like a ./configure, so if this option was recognized (which I don't see how it could since it doesn't exist anywhere in the source), there doesn't seem to be a way to add it.
FWIW xa seems to build fine here...
can you please paste the error you got?
Sorry, I'm confusing myself. The version 3.4 of Vice (which requires xa) doesn't build claiming it needs C++11. SO I thought I'd try 3.3 since I had built it on -current before and when I copied 3.3 down from my server I overwrote xa 2.3.11 with 2.3.10 and 2.3.10 threw the error which I then started to report and realized my mistake and went back and got 2.3.11 from your git site.
neway, long story short
vice fails with:
Code:
if [ "`file --mime-encoding vice.texi`" != "vice.texi: iso-8859-1" ]; then \
echo "ERROR: vice.texi contains content that is not valid iso-8859-1" >&2; \
false; \
fi
touch .vice-texi-charset-ok
touch vicetmp.txt
LC_ALL=C makeinfo -Dplatformall -o vicetmp.txt --no-validate --no-headers ./vice.texi
./fixdox.sh txt <vicetmp.txt | LC_ALL=C sed 's/ \+$//' >./vice.txt
rm -f vicetmp.txt
LC_ALL=C sed 's/@heading NO WARRANTY/@center NO WARRANTY/g' <./vice.texi >vicepdf.texi
LC_ALL=C texi2dvi -I . -q --clean --pdf "--texinfo=@set platformall " -o ./vice.pdf vicepdf.texi
/usr/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in its log file
make[2]: *** [Makefile:1124: vice.pdf] Error 1
make[2]: Leaving directory '/tmp/SBo/vice-3.4/doc'
make[1]: *** [Makefile:734: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/vice-3.4/doc'
make: *** [Makefile:508: all-recursive] Error 1
system/virtualbox-kernel-addons fails with the following error.
Code:
make -f ./scripts/Makefile.build obj=lib/fonts \
\
need-builtin=1 \
need-modorder=1
make -f ./scripts/Makefile.build obj=lib/pldmfw \
\
need-builtin=1 \
need-modorder=1
make -f ./scripts/Makefile.build obj=lib/reed_solomon \
\
need-builtin= \
need-modorder=1
make -f ./scripts/Makefile.build obj=arch/x86/lib \
single-build= \
need-builtin=1 need-modorder=1
sh ./scripts/modules-check.sh modules.order
make -f ./scripts/Makefile.build obj=scripts scripts/module.lds
make -f ./scripts/Makefile.modpost
WARNING: Symbol version dump "vmlinux.symvers" is missing.
Modules may not have dependencies or modversions.
make -f ./scripts/Makefile.modfinal
make[1]: Leaving directory '/usr/src/linux-5.10.28'
install: cannot stat 'vboxvideo.ko': No such file or directory
Sorry, I'm confusing myself. The version 3.4 of Vice (which requires xa) doesn't build claiming it needs C++11. SO I thought I'd try 3.3 since I had built it on -current before and when I copied 3.3 down from my server I overwrote xa 2.3.11 with 2.3.10 and 2.3.10 threw the error which I then started to report and realized my mistake and went back and got 2.3.11 from your git site.
neway, long story short
vice fails with:
Code:
if [ "`file --mime-encoding vice.texi`" != "vice.texi: iso-8859-1" ]; then \
echo "ERROR: vice.texi contains content that is not valid iso-8859-1" >&2; \
false; \
fi
touch .vice-texi-charset-ok
touch vicetmp.txt
LC_ALL=C makeinfo -Dplatformall -o vicetmp.txt --no-validate --no-headers ./vice.texi
./fixdox.sh txt <vicetmp.txt | LC_ALL=C sed 's/ \+$//' >./vice.txt
rm -f vicetmp.txt
LC_ALL=C sed 's/@heading NO WARRANTY/@center NO WARRANTY/g' <./vice.texi >vicepdf.texi
LC_ALL=C texi2dvi -I . -q --clean --pdf "--texinfo=@set platformall " -o ./vice.pdf vicepdf.texi
/usr/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in its log file
make[2]: *** [Makefile:1124: vice.pdf] Error 1
make[2]: Leaving directory '/tmp/SBo/vice-3.4/doc'
make[1]: *** [Makefile:734: all-recursive] Error 1
make[1]: Leaving directory '/tmp/SBo/vice-3.4/doc'
make: *** [Makefile:508: all-recursive] Error 1
I gave this a try, at the same time I also tried with vice-3.5 (I failed at that)
Vice 3.4 is however building just fine without xa
If you check the vice.SlackBuild file:
# 20200801 bkw:
# - Get rid of xa dep
As I read it, xa is no longer needed/required
Note: I used the vice SlackBuild from Ponce repo, but also the vice.SlackBuild from SBo contain the same info re xa
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.