LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-15-2021, 09:19 AM   #3721
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175

Quote:
Originally Posted by kukibl View Post
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
just modify one line like this
Code:
diff -Naur cve-check-tool.orig/cve-check-tool.SlackBuild cve-check-tool/cve-check-tool.SlackBuild
--- cve-check-tool.orig/cve-check-tool.SlackBuild       2021-04-10 19:02:44.024476000 +0200
+++ cve-check-tool/cve-check-tool.SlackBuild    2021-04-15 16:18:35.409100000 +0200
@@ -73,7 +73,7 @@
 # Patch for new database format
 patch -p1 --verbose < $CWD/update-fmt.diff
 
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error=deprecated-declarations" \
 ./configure \
   --prefix=/usr \
   --libdir=/usr/lib${LIBDIRSUFFIX} \
thanks for reporting!

Last edited by ponce; 04-15-2021 at 09:21 AM.
 
Old 04-15-2021, 01:52 PM   #3722
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 375
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
network/tightvnc fails to build for two reasons.

1. It has duplicate symbols with -fno-common

https://sourceforge.net/p/vnc-tight/bugs/1523/

2. The imake configuration is incompatible with binutils 2.36

https://www.mail-archive.com/debian-...sg1789948.html

https://www.linuxquestions.org/quest...ml#post6241485

It looks as though the Linux port of tightvnc has been abandoned, so i am not sure whether it is worth patching.
 
Old 04-15-2021, 02:07 PM   #3723
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by BenCollver View Post
network/tightvnc fails to build for two reasons.

1. It has duplicate symbols with -fno-common

https://sourceforge.net/p/vnc-tight/bugs/1523/

2. The imake configuration is incompatible with binutils 2.36

https://www.mail-archive.com/debian-...sg1789948.html

https://www.linuxquestions.org/quest...ml#post6241485

It looks as though the Linux port of tightvnc has been abandoned, so i am not sure whether it is worth patching.
I too don't think it is: IMHO it's ok to just use tigervnc in /extra and forget about it.
 
Old 04-15-2021, 05:07 PM   #3724
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
xa needs the
Code:
--allow-multiple-definition
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.
 
Old 04-15-2021, 05:26 PM   #3725
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by enine View Post
xa needs the
Code:
--allow-multiple-definition
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.

Where did you find that you needed that option?
 
Old 04-16-2021, 12:39 AM   #3726
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by enine View Post
xa needs the
Code:
--allow-multiple-definition
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?
 
Old 04-17-2021, 08:17 AM   #3727
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Having problems building gnucash 4.4. Got an up to date current as of Fri Apr 16 23:29:36 UTC 2021

Last compiled successfully against current based on 20210323 with the 5.10.25 kernel.

Seeing these errors

Quote:
/home/packages/tmp/SBo/gnucash-4.4/libgnucash/core-utils/gnc-locale-utils.cpp:22:1: note: 'extern "C"' linkage started here
22 | extern "C"
| ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gatomic.h:31,
from /usr/include/glib-2.0/glib/gthread.h:32,
from /usr/include/glib-2.0/glib/gasyncqueue.h:32,
from /usr/include/glib-2.0/glib.h:32,
from /home/packages/tmp/SBo/gnucash-4.4/libgnucash/core-utils/gnc-locale-utils.cpp:24:
/usr/include/c++/10.3.0/type_traits:3219:3: error: template with C linkage
3219 | template<typename _Tp>
| ^~~~~~~~
/home/packages/tmp/SBo/gnucash-4.4/libgnucash/core-utils/gnc-locale-utils.cpp:22:1: note: 'extern "C"' linkage started here
22 | extern "C"
| ^~~~~~~~~~
make[2]: *** [libgnucash/core-utils/CMakeFiles/gnc-core-utils.dir/build.make:197: libgnucash/core-utils/CMakeFiles/gnc-core-utils.dir/gnc-locale-utils.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4774: libgnucash/core-utils/CMakeFiles/gnc-core-utils.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
Any ideas what might be wrong?
 
Old 04-17-2021, 08:34 AM   #3728
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by aikempshall View Post
Having problems building gnucash 4.4. Got an up to date current as of Fri Apr 16 23:29:36 UTC 2021
Downloaded gnucash 4.5 and built successfully
 
Old 04-17-2021, 08:37 AM   #3729
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by aikempshall View Post
Having problems building gnucash 4.4. Got an up to date current as of Fri Apr 16 23:29:36 UTC 2021

Last compiled successfully against current based on 20210323 with the 5.10.25 kernel.

Seeing these errors



Any ideas what might be wrong?
it's because of the newer glib2: just version-bump it to 4.5 and you should be fine, thanks for the report!

EDIT:
Quote:
Originally Posted by aikempshall View Post
Downloaded gnucash 4.5 and built successfully
oops, too slow!
 
Old 04-17-2021, 12:26 PM   #3730
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by bassmadrigal View Post
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.

Where did you find that you needed that option?
you won't find it in the source, its a compiler flag for when the source defines the same variable in more than one place. Ponce supplied it here :
https://www.linuxquestions.org/quest...ml#post6237759

Quote:
thanks also for this report: here I actually workaround that passing additional flags to the compiler

http://cgit.ponce.cc/slackbuilds/commit/?h=arc
Though I realized I was compiling the wrong version of XA
 
1 members found this post helpful.
Old 04-17-2021, 12:57 PM   #3731
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by ponce View Post
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
 
Old 04-17-2021, 01:15 PM   #3732
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
vice builds fine here...
 
Old 04-17-2021, 05:53 PM   #3733
BenCollver
Rogue Class
 
Registered: Sep 2006
Location: OR, USA
Distribution: Slackware64-15.0
Posts: 375
Blog Entries: 2

Rep: Reputation: 172Reputation: 172
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
 
Old 04-18-2021, 06:00 PM   #3734
enine
Senior Member
 
Registered: Nov 2003
Distribution: Slackʍɐɹǝ
Posts: 1,486
Blog Entries: 4

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by ponce View Post
vice builds fine here...
Of course I always get the strange issues. I found an old thread with the same error around post #12 https://www.linuxquestions.org/quest...om-4175574254/ but I don't really see what fixed it
 
Old 04-19-2021, 01:40 PM   #3735
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by enine View Post
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
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration