LinuxQuestions.org
Review your favorite Linux distribution.
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 08-22-2022, 10:32 AM   #5116
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200

Quote:
Originally Posted by chrisretusn View Post
I don't use SBO but this may be useful to those building podofo. I upgraded podofo to 0.9.8, my last build was with 0.9.7 on April 18, 2022, it was successful.

My build attempts all failed with 0.9.8 and also 0.9.7.

I found this patch that allows podofo to build.

https://github.com/podofo/podofo/com...d625b678.patch
well, on an up2date current I just hit the same snag!

thanks a lot for the patch (it worked here too), I'll push it on the unofficial repository!
 
2 members found this post helpful.
Old 08-22-2022, 10:50 AM   #5117
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Quote:
Originally Posted by chrisretusn View Post
I don't use SBO but this may be useful to those building podofo. I upgraded podofo to 0.9.8, my last build was with 0.9.7 on April 18, 2022, it was successful.

My build attempts all failed with 0.9.8 and also 0.9.7.

I found this patch that allows podofo to build.

https://github.com/podofo/podofo/com...d625b678.patch
Nice one chrisretusn

I especially liked Pino's explanation for his patch.

I know I've seen similar errors before.

The namespace approach may help me in the future

Thanks !

-- kjh
 
1 members found this post helpful.
Old 08-23-2022, 02:41 AM   #5118
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,981

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Glad it was useful!
 
Old 08-23-2022, 06:43 AM   #5119
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by gian_d View Post
Hi, this is a recurrent issue in ITK when GCC is updated to a new major/minor release. The current slackbuild does not support versions more recent than 11.x, so in current we have to edit the internal patch.
This is the updated patch that adds the support to GCC 12.0 and 12.1 (tested just now):

Code:
patch -p1 <<'endpatch'
--- InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h.cp
+++ InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
@@ -96,6 +96,46 @@
 #   define VCL_GCC_81
 #  else
 #   define VCL_GCC_80
+#  endif
+# elif (__GNUC__==9)
+#  define VCL_GCC_9
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_93
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_92
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_91
+#  else
+#   define VCL_GCC_90
+#  endif
+# elif (__GNUC__==10)
+#  define VCL_GCC_10
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_103
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_102
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_101
+#  else
+#   define VCL_GCC_100
+#  endif
+# elif (__GNUC__==11)
+#  define VCL_GCC_11
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_113
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_112
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_111
+#  else
+#   define VCL_GCC_110
+#  endif
+# elif (__GNUC__==12)
+#  define VCL_GCC_12
+#  if (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_121
+#  else
+#   define VCL_GCC_120
 #  endif
 # else
 #  error "Dunno about this gcc"
endpatch
Warning: this patch is included in the slackbuild script
Thanks Giancarlo, pushed!
 
Old 08-24-2022, 05:43 AM   #5120
gian_d
Member
 
Registered: Nov 2019
Location: Cagliari, Sardinia (Italy)
Distribution: Slackware
Posts: 76

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
Thanks Giancarlo, pushed!
sorry, but I saw that Pat has updated GCC to 12.2.0 just last Sunday! The patch must be edited further cause to include the check of GCC 12.2.0 :-\

Like this:

Code:
patch -p1 <<'endpatch'
--- InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h.cp
+++ InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
@@ -96,6 +96,48 @@
 #   define VCL_GCC_81
 #  else
 #   define VCL_GCC_80
+#  endif
+# elif (__GNUC__==9)
+#  define VCL_GCC_9
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_93
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_92
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_91
+#  else
+#   define VCL_GCC_90
+#  endif
+# elif (__GNUC__==10)
+#  define VCL_GCC_10
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_103
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_102
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_101
+#  else
+#   define VCL_GCC_100
+#  endif
+# elif (__GNUC__==11)
+#  define VCL_GCC_11
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_113
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_112
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_111
+#  else
+#   define VCL_GCC_110
+#  endif
+# elif (__GNUC__==12)
+#  define VCL_GCC_12
+#  if (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_122
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_121
+#  else
+#   define VCL_GCC_120
 #  endif
 # else
 #  error "Dunno about this gcc"
endpatch
 
Old 08-24-2022, 07:23 AM   #5121
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by gian_d View Post
sorry, but I saw that Pat has updated GCC to 12.2.0 just last Sunday! The patch must be edited further cause to include the check of GCC 12.2.0 :-\

Like this:

Code:
patch -p1 <<'endpatch'
--- InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h.cp
+++ InsightToolkit-4.13.2/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
@@ -96,6 +96,48 @@
 #   define VCL_GCC_81
 #  else
 #   define VCL_GCC_80
+#  endif
+# elif (__GNUC__==9)
+#  define VCL_GCC_9
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_93
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_92
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_91
+#  else
+#   define VCL_GCC_90
+#  endif
+# elif (__GNUC__==10)
+#  define VCL_GCC_10
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_103
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_102
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_101
+#  else
+#   define VCL_GCC_100
+#  endif
+# elif (__GNUC__==11)
+#  define VCL_GCC_11
+#  if (__GNUC_MINOR__ > 2 )
+#   define VCL_GCC_113
+#  elif (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_112
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_111
+#  else
+#   define VCL_GCC_110
+#  endif
+# elif (__GNUC__==12)
+#  define VCL_GCC_12
+#  if (__GNUC_MINOR__ > 1 )
+#   define VCL_GCC_122
+#  elif (__GNUC_MINOR__ > 0 )
+#   define VCL_GCC_121
+#  else
+#   define VCL_GCC_120
 #  endif
 # else
 #  error "Dunno about this gcc"
endpatch
Thanks but I already pushed it with the needed changes ;-)
 
Old 08-28-2022, 03:27 AM   #5122
dchmelik
Senior Member
 
Registered: Nov 2008
Location: USA
Distribution: Slackware, FreeBSD, Illumos, NetBSD, DragonflyBSD, Plan9, Inferno, OpenBSD, FreeDOS, HURD
Posts: 1,075

Rep: Reputation: 149Reputation: 149
Question nix?

David Chmelik wrote on 2022-7-24:
Quote:
Slackware64 15.1-current doesn't build nix.
Code:
configure: error: Package requirements (lowdown >= 0.9.0) were not met:
No package 'lowdown' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables LOWDOWN_CFLAGS
and LOWDOWN_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Failures:
  nix: nix.SlackBuild return non-zero
rootcosmos:~# ls -l /var/log/packages/lowdown-0.11.2-x86_64-1_SBo
-rw-r--r-- 1 root root 1072 Jul 24 18:25 /var/log/packages/lowdown-0.11.2-x86_64-1_SBo
Pouria Rezaei wrote on 2022-7-28:
Quote:
Oh, huh
Thanks for letting me know
I'll check it soon
Lately same result in Slackware64 15.1-current chroot with nothing but build tools and SlackBuilds/dependencies I try (built in chroot if available).
 
Old 08-28-2022, 04:16 AM   #5123
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by dchmelik View Post
David Chmelik wrote on 2022-7-24:


Pouria Rezaei wrote on 2022-7-28:


Lately same result in Slackware64 15.1-current chroot with nothing but build tools and SlackBuilds/dependencies I try (built in chroot if available).
Hi David,

the issue you are reporting applies also to Slackware 15.0 so you shouldn't report it in this topic but just to the maintainer (like you have already done): I'll quote from the first post (please follow what's written there)

Quote:
Originally Posted by ponce View Post
so, what is this thread for?
risking to be repetitive, report issues here only if you have already tried the scripts from our repository and they won't build on a clean and full installation of Slackware current.

also, if you want to report a problem that applies also to Slackware stable this is not the right place, this topic is current-specific.
if you think a script on SBo shows issues (broken download, not building, etc.) on such platform write to the maintainer and wait some days for an answer (a week should be fine): if the maintainer isn't responsive after this time please post the same thing by mail to the slackbuilds-users mailing list putting the maintainer in cc
to be clear this means that before reporting issues in this topic you should test whatever you are about to report on Slackware stable too: if you are not sure that what you are reporting applies to Slackware stable or not (because, for example, you have no way to test it for one reason or another) please don't report in this topic and open a new one instead, thanks.

the reasoning behind this is simple: there's nothing to fix in this repository if something is already broken on SBo (of which this repository is just a fork), so the issue should be handled there.

Last edited by ponce; 08-28-2022 at 04:32 AM.
 
2 members found this post helpful.
Old 08-29-2022, 07:40 PM   #5124
frtorres
Member
 
Registered: Jul 2012
Distribution: Debian kanotix, Slackware
Posts: 87

Rep: Reputation: Disabled
pdftk not building ater a long compilation.

Hi Ponce.

Today I tried to build pdftk on -current.

Code:
sbopkg -s pdftk

NOTE: Starting with Slackware 15.0, pdftk compilation requires SBo
gcc-5 because gcc-java was dropped from the GNU Compiler Collection
as of gcc-7. Don't forget to source /etc/profile.d/gcc5.sh before
starting to build this, like:

  . /etc/profile.d/gcc5.sh
I got this notice, but /etc/profile.d/gcc5.sh does not exist. I assumed (maybe a "wrong assumption") this could be done somewhere during compilation process, so I continue with:

Code:
sqg -p pdftk
sbopkg -i pdftk
and after a very long compilation process, I got:

Code:
In file included from /usr/include/linux/fs.h:19:0,
                 from ../../../../gcc-5.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:63:
/usr/include/linux/mount.h:95:6: error: multiple definition of ‘enum fsconfig_command’
 enum fsconfig_command {
      ^
In file included from ../../../../gcc-5.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:51:0:
/usr/include/sys/mount.h:189:6: note: previous definition here
 enum fsconfig_command
      ^
In file included from /usr/include/linux/fs.h:19:0,
                 from ../../../../gcc-5.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:63:
/usr/include/linux/mount.h:129:8: error: redefinition of ‘struct mount_attr’
 struct mount_attr {
        ^
In file included from ../../../../gcc-5.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc:51:0:
/usr/include/sys/mount.h:161:8: error: previous definition of ‘struct mount_attr’
 struct mount_attr
        ^
make[4]: *** [Makefile:449: sanitizer_platform_limits_posix.lo] Error 1
make[4]: Leaving directory '/tmp/SBo/gcc.build.lnx/x86_64-slackware-linux/libsanitizer/sanitizer_common'
make[3]: *** [Makefile:437: all-recursive] Error 1
make[3]: Leaving directory '/tmp/SBo/gcc.build.lnx/x86_64-slackware-linux/libsanitizer'
make[2]: *** [Makefile:307: all] Error 2
make[2]: Leaving directory '/tmp/SBo/gcc.build.lnx/x86_64-slackware-linux/libsanitizer'
make[1]: *** [Makefile:13534: all-target-libsanitizer] Error 2
make[1]: Leaving directory '/tmp/SBo/gcc.build.lnx'
make: *** [Makefile:21415: bootstrap] Error 2
ln: failed to create symbolic link '/tmp/SBo/package-gcc5/usr/lib64/': No such file or directory

gcc5:
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.
I discovered qpdf on my -current install, so I can live without pdftk.

Anyway I reported this in order to know your comments and advice.

Thanks in advance for your traditional and kind help.

Francisco.

Last edited by frtorres; 08-29-2022 at 09:02 PM.
 
Old 08-30-2022, 02:20 AM   #5125
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Hi Francisco,

the file to source (/etc/profile.d/gcc5.sh) will be there only once you have installed the dependency gcc5 on your system, not before: this means that, if you are using sbopkg, you have to build and install gcc5, source the interested file and then build pdftk, in two different sbopkg invocations.

but, as you have discovered yourself, there's a problem building gcc5 because of the new glibc-2.36 in current: I just patched in git, it will go in at the next update

https://cgit.ponce.cc/slackbuilds/pa...18f27ccc1fe735

thanks for the report!

Last edited by ponce; 08-30-2022 at 04:24 AM.
 
2 members found this post helpful.
Old 09-02-2022, 04:28 AM   #5126
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by ponce View Post
Hi Francisco,

the file to source (/etc/profile.d/gcc5.sh) will be there only once you have installed the dependency gcc5 on your system, not before: this means that, if you are using sbopkg, you have to build and install gcc5, source the interested file and then build pdftk, in two different sbopkg invocations.

but, as you have discovered yourself, there's a problem building gcc5 because of the new glibc-2.36 in current: I just patched in git, it will go in at the next update

https://cgit.ponce.cc/slackbuilds/pa...18f27ccc1fe735

thanks for the report!
well, actually, with the latest updates to glibc in current, the patch isn't needed anymore so I'll just remove it!
 
Old 09-03-2022, 08:31 AM   #5127
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,423

Rep: Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163Reputation: 4163
Public www update : 2022-09-03

https://git.slackbuilds.org/slackbuilds/commit/
 
Old 09-03-2022, 03:50 PM   #5128
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 977

Rep: Reputation: 239Reputation: 239Reputation: 239
After latest poppler, had to revisit this post https://www.linuxquestions.org/quest...l#post6351618:

Quote:
Originally Posted by ponce View Post
just build the latest revision of the Version15x svn branch, it already contains all the needed patches for the latest poppler: you can clone it yourself from their svn
Code:
svn co svn://scribus.net/branches/Version15x/Scribus svn-scribus15x
...
Compiling with new poppler works with latest svn version (r25140) of scribus:
Quote:
Package scribus-r25087-x86_64-1ponce upgraded with new package /tmp/scribus-r25140-x86_64-1_SBo.tgz
For inkscape this is available:
Code:
# patchfile is saved-as https://gitlab.com/inkscape/inkscape/-/merge_requests/4719.diff
# see https://gitlab.com/inkscape/inkscape/-/merge_requests/4719
patch -p1 < $CWD/poppler-2209_4719.diff.txt
Attached Files
File Type: txt poppler-2209_4719.diff.txt (1.6 KB, 6 views)
 
Old 09-10-2022, 01:27 PM   #5129
OldHolborn
Member
 
Registered: Jul 2012
Posts: 229

Rep: Reputation: 190Reputation: 190
wsjtx (2.5.4)
http://slackbuilds.org/repository/15.0/ham/wsjtx/

Slackbuild for 15.0 (possibly current also...)

needs
/usr/share/qt5/translations/qtbase_it.qm
and
/usr/share/qt5/translations/qt_it.qm

moved out of the way prior to building, can be returned afterwards

https://wsjtx.groups.io/g/main/message/32940

Ta
 
Old 09-10-2022, 01:38 PM   #5130
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,125

Original Poster
Rep: Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200Reputation: 4200
Quote:
Originally Posted by OldHolborn View Post
wsjtx (2.5.4)
http://slackbuilds.org/repository/15.0/ham/wsjtx/

Slackbuild for 15.0 (possibly current also...)

needs
/usr/share/qt5/translations/qtbase_it.qm
and
/usr/share/qt5/translations/qt_it.qm

moved out of the way prior to building, can be returned afterwards

https://wsjtx.groups.io/g/main/message/32940

Ta
Hi OldHolborn,
please have a look at the sixth post above yours...
 
  


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 04:50 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