LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-18-2021, 12:03 AM   #3391
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174

Quote:
Originally Posted by drgibbon View Post
No go with arpack-ng:
Code:
patching file m4/ax_blas.m4
Hunk #1 succeeded at 119 (offset 3 lines).
patching file SRC/cgetv0.f
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.

[...]

patching file SRC/zngets.f
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file SRC/zngets.f.rej
Failures:
  arpack-ng: arpack-ng.SlackBuild return non-zero
etc.
yes, that happens because it has been updated on SBo and now the patch for gcc >= 10.x is most probably not necessary anymore...
thanks for the report!
 
Old 01-18-2021, 01:15 AM   #3392
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,220

Rep: Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942Reputation: 942
Ah yep, builds fine on -current without the two patch lines.
 
Old 01-19-2021, 08:03 PM   #3393
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Rep: Reputation: 7
GraphicsMagic-1.3.35 not building

GraphicsMagic does not build. It is a very strange compilation error:

Code:
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lGraphicsMagick
Generating a Unix-style Makefile
Writing Makefile for Graphics::Magick
Writing MYMETA.yml and MYMETA.json
cp Magick.pm blib/lib/Graphics/Magick.pm
AutoSplitting blib/lib/Graphics/Magick.pm (blib/lib/auto/Graphics/Magick)
Running Mkbootstrap for Magick ()
chmod 644 "Magick.bs"
"/usr/bin/perl5.32.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magick.bs blib/arch/auto/Graphics/Magick/Magick.bs 644
"/usr/bin/perl5.32.0" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/tmp/SBo/GraphicsMagick-1.3.35/PerlMagick/typemap'  Magick.xs > Magick.xsc
mv Magick.xsc Magick.c
gcc -c  -I../ -I.. -I/usr/include/freetype2 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fopenmp -O2 -fPIC -Wall -pthread -O2 -fPIC   -DVERSION=\"1.3.35\" -DXS_VERSION=\"1.3.35\" -fPIC "-I/usr/lib64/perl5/CORE"  -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
In file included from Magick.xs:57:
/usr/lib64/perl5/CORE/perl.h:1363:12: fatal error: netdb.h: No such file or directory
 1363 | #  include <netdb.h>
      |            ^~~~~~~~~
compilation terminated.
When I tried to follow this, netdb.h is a part of glibc and perl.h is coming from the perl 5.32.0 package. I'm not sure how to fix this! Any help would be appreciated.
 
Old 01-20-2021, 01:18 AM   #3394
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Dan Suson View Post
GraphicsMagic does not build. It is a very strange compilation error:

Code:
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lGraphicsMagick
Generating a Unix-style Makefile
Writing Makefile for Graphics::Magick
Writing MYMETA.yml and MYMETA.json
cp Magick.pm blib/lib/Graphics/Magick.pm
AutoSplitting blib/lib/Graphics/Magick.pm (blib/lib/auto/Graphics/Magick)
Running Mkbootstrap for Magick ()
chmod 644 "Magick.bs"
"/usr/bin/perl5.32.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magick.bs blib/arch/auto/Graphics/Magick/Magick.bs 644
"/usr/bin/perl5.32.0" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/tmp/SBo/GraphicsMagick-1.3.35/PerlMagick/typemap'  Magick.xs > Magick.xsc
mv Magick.xsc Magick.c
gcc -c  -I../ -I.. -I/usr/include/freetype2 -I/usr/include/libxml2 -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fopenmp -O2 -fPIC -Wall -pthread -O2 -fPIC   -DVERSION=\"1.3.35\" -DXS_VERSION=\"1.3.35\" -fPIC "-I/usr/lib64/perl5/CORE"  -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
In file included from Magick.xs:57:
/usr/lib64/perl5/CORE/perl.h:1363:12: fatal error: netdb.h: No such file or directory
 1363 | #  include <netdb.h>
      |            ^~~~~~~~~
compilation terminated.
When I tried to follow this, netdb.h is a part of glibc and perl.h is coming from the perl 5.32.0 package. I'm not sure how to fix this! Any help would be appreciated.
Hi Dan,

I just tested building GraphicsMagick on a clean and full installation of the latest Slackware current and everything went fine: if I were you I would try reinstalling glibc but if this won't solve please open a dedicated topic for this issue.
 
Old 01-20-2021, 04:44 PM   #3395
Dan Suson
Member
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 100

Rep: Reputation: 7
Quote:
Originally Posted by ponce View Post
Hi Dan,

I just tested building GraphicsMagick on a clean and full installation of the latest Slackware current and everything went fine: if I were you I would try reinstalling glibc but if this won't solve please open a dedicated topic for this issue.
I noticed that glibc has gone from version 2.30 in what I downloaded on 1-2-21 to 2.32 as of 1-18-21. Can I just upgrade this package or do I have to treat this as a complete upgrade (as outlined in UPGRADE.TXT). Just trying to figure out the level of work that I'll have to redo.
 
Old 01-20-2021, 08:18 PM   #3396
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Originally Posted by newHeiko View Post
virtualbox-kernel does not build on 5.10.x - anyone working on that yet?

Here's upstream information: https://www.virtualbox.org/ticket/20055

Cheers,
Heiko
New (2020-01-19) VirtualBox fixes 5.10 support.
 
Old 01-21-2021, 01:24 AM   #3397
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Dan Suson View Post
I noticed that glibc has gone from version 2.30 in what I downloaded on 1-2-21 to 2.32 as of 1-18-21. Can I just upgrade this package or do I have to treat this as a complete upgrade (as outlined in UPGRADE.TXT). Just trying to figure out the level of work that I'll have to redo.
if you are tracking current you have to upgrade everything, you cannot upgrade just single packages and this is even more recommended in case of glibc that is part of the system's toolchain.
another consequence of tracking current is that, occasionally, you have to rebuild some packages from the third party repositories (like this one) when their dependencies are upgraded in current.

you can also decide to not upgrade anything installing current at a specific moment and forget any upgrade but, besides security problems and bugs that a system installed at a specific moment and not upgraded may have, also third party repositories that instead keep tracking current may become soon incompatible with your system.
 
2 members found this post helpful.
Old 01-21-2021, 01:26 AM   #3398
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by newHeiko View Post
virtualbox-kernel does not build on 5.10.x - anyone working on that yet?

Here's upstream information: https://www.virtualbox.org/ticket/20055
Quote:
Originally Posted by Lockywolf View Post
New (2020-01-19) VirtualBox fixes 5.10 support.
I pushed it yesterday, it will go in the main branch at the next global update.

http://cgit.ponce.cc/slackbuilds/refs/heads
 
Old 01-21-2021, 01:45 AM   #3399
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
transmission-remote-gtk needs:

Code:
sed -i '163i-fcommon \\' configure.ac
autoreconf -i
btw, it seems to ignore CFLAGS, if I am not mistaken.

Last edited by Lockywolf; 01-21-2021 at 01:46 AM.
 
Old 01-21-2021, 01:57 AM   #3400
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Lockywolf View Post
transmission-remote-gtk needs:

Code:
sed -i '163i-fcommon \\' configure.ac
autoreconf -i
it seems there's actually an upstream commit for that...
thanks for the report!
 
Old 01-21-2021, 02:02 AM   #3401
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
I thought that this repo is about making existing slackbuilds compile. Who knows when and if upstream gets into SBo?
 
Old 01-21-2021, 02:06 AM   #3402
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Lockywolf View Post
I thought that this repo is about making existing slackbuilds compile. Who knows when and if upstream gets into SBo?
...but you can patch the code with the upstream commit so that it compiles, like this

http://cgit.ponce.cc/slackbuilds/com...ion-remote-gtk

a patch is usually prefered to -fcommon because it actually fixes the code instead of workaround what is considered bad practice from gcc >= 10.x on.
 
Old 01-21-2021, 02:29 AM   #3403
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Indeed, but isn't Slackware's principle "keep it as close to the origin as possible"? At least, if things go wrong, chances are they are going to go wrong identically on 14.2 and on current.

One can argue for the opposite point though.
 
Old 01-21-2021, 02:36 AM   #3404
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Installing the nagios SlackBuild errors out with this:

Code:
/usr/bin/ld: xstatusdata-cgi.o:(.bss+0xd0): multiple definition of `daemon_mode'; ../common/shared.o:(.bss+0x38): first defined here
/usr/bin/ld: xstatusdata-cgi.o:(.bss+0x94): multiple definition of `nagios_pid'; ../common/shared.o:(.bss+0x3c): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:177: archivejson.cgi] Error 1
make[1]: Leaving directory '/tmp/SBo/nagios-4.3.4/cgi'
make: *** [Makefile:74: all] Error 2
 
Old 01-21-2021, 02:54 AM   #3405
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by jostber View Post
Installing the nagios SlackBuild errors out with this:

Code:
/usr/bin/ld: xstatusdata-cgi.o:(.bss+0xd0): multiple definition of `daemon_mode'; ../common/shared.o:(.bss+0x38): first defined here
/usr/bin/ld: xstatusdata-cgi.o:(.bss+0x94): multiple definition of `nagios_pid'; ../common/shared.o:(.bss+0x3c): first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:177: archivejson.cgi] Error 1
make[1]: Leaving directory '/tmp/SBo/nagios-4.3.4/cgi'
make: *** [Makefile:74: all] Error 2
modify the CFLAGS line line this
Code:
--- ./nagios.SlackBuild.orig    2021-01-21 09:53:49.863404725 +0100
+++ ./nagios.SlackBuild 2021-01-21 09:53:06.057404725 +0100
@@ -105,7 +105,7 @@
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
   ./configure \
   --prefix=/usr \
   --sbindir=/usr/sbin/$PRGNAM \
thanks for reporting!
 
  


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:32 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