LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-21-2019, 09:24 AM   #1891
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.2 64-bit
Posts: 475

Rep: Reputation: 160Reputation: 160

Quote:
Originally Posted by willysr View Post
i believe you can solve this by adding "-DBoost_NO_BOOST_CMAKE=ON" in the SlackBuild as mentioned in the Slackware's current changelog
Same error occurs in ledger but setting this does not work:

Code:
make install -DBoost_NO_BOOST_CMAKE=ON DESTDIR=$PKG
 
Old 06-21-2019, 09:29 AM   #1892
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,840

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jostber View Post
spamassassin gives this error first:

The following packages cannot be found
in the currently active repository
(SBo-git/current) and have been skipped:

re2c
Net-SSLeay
perl-IO-Socket-SSL
regarding this maybe you missed it but I explained a few times that I don't fix dependencies added to Slackware current in the *.info files until we go live on SBo with the repository for the newer version to avoid nightmares when rebasing the repository weekly.
it's not really an error in sbopkg, it just says that it cannot find those in the repository but if you look in /var/log/packages/ they are already there (Net-SSLeay and perl-IO-Socket-SSL are included in the perl package).
other third party tools condider this an error but I cannot do much in this sense, sorry.

Quote:
and then:

RSA.xs: In function ‘_is_private’:
RSA.xs:52:22: error: dereferencing pointer to incomplete type ‘RSA’ {aka ‘struct rsa_st’}
52 | return(p_rsa->rsa->d != NULL);
| ^~
RSA.xs: In function ‘XS_Crypt__OpenSSL__RSA_generate_key’:
RSA.xs:301:5: warning: ‘RSA_generate_key’ is deprecated [-Wdeprecated-declarations]
301 | CHECK_OPEN_SSL(rsa = RSA_generate_key(SvIV(bitsSV), exponent, NULL, NULL));
| ^~~~~~~~~~~~~~
In file included from /usr/include/openssl/e_os2.h:13,
from /usr/include/openssl/bio.h:13,
from RSA.xs:5:
/usr/include/openssl/rsa.h:234:1: note: declared here
234 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void
| ^~~~~~~~~~~~~~~~~~
make: *** [Makefile:345: RSA.o] Error 1

perl-Crypt-OpenSSL-RSA:
it seems perl-Crypt-OpenSSL-RSA is not compatible with the newer openssl: looking on CPAN, it might be that the new 0.31 version could work, but it needs additional perl packages not on SBo as dependencies and I'm not really up to go that way (adding new perl SlackBuilds for stuff maintained by others).
I suggest you to ask the maintainer if he feels like updating the perl-Crypt-OpenSSL-RSA to the newer version so that it will work both on stable and current...
 
Old 06-21-2019, 09:55 AM   #1893
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,840

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jostber View Post
Same error occurs in ledger but setting this does not work:

Code:
make install -DBoost_NO_BOOST_CMAKE=ON DESTDIR=$PKG
that is a cmake option, you cannot pass it directly to make: try modifying the SlackBuild like below (there's also a version-bump to the latest 3.1.3)
Code:
diff --git a/business/ledger/ledger.SlackBuild b/business/ledger/ledger.SlackBuild
index 18c0690efc..714f541cec 100644
--- a/business/ledger/ledger.SlackBuild
+++ b/business/ledger/ledger.SlackBuild
@@ -3,7 +3,7 @@
 # Written by Lionel Young (redtricycle at gmail dot com)
 
 PRGNAM=ledger
-VERSION=${VERSION:-3.1.1}
+VERSION=${VERSION:-3.1.3}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -35,7 +35,10 @@ find -L . \
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
-./acprep --prefix=/usr update
+cmake \
+  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+  -DBoost_NO_BOOST_CMAKE=1 \
+  .
 make install DESTDIR=$PKG
 
 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -47,7 +50,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cp -a README.md doc/NEWS $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a README.md doc/NEWS.md $PKG/usr/doc/$PRGNAM-$VERSION/
 
 cp -ra contrib      $PKG/usr/doc/$PRGNAM-$VERSION
 cp -ra test/input/* $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/business/ledger/ledger.info b/business/ledger/ledger.info
index c89a7d4873..cf83d5a190 100644
--- a/business/ledger/ledger.info
+++ b/business/ledger/ledger.info
@@ -1,8 +1,8 @@
 PRGNAM="ledger"
-VERSION="3.1.1"
+VERSION="3.1.3"
 HOMEPAGE="https://ledger-cli.org"
-DOWNLOAD="https://github.com/ledger/ledger/archive/v3.1.1/ledger-3.1.1.tar.gz"
-MD5SUM="eae070cbbc1a40a277f1394d72ef0fe6"
+DOWNLOAD="https://github.com/ledger/ledger/archive/v3.1.3/ledger-3.1.3.tar.gz"
+MD5SUM="6d9b8293f5f909aab4b95cffa2b3c120"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="utfcpp"
 
1 members found this post helpful.
Old 06-24-2019, 01:16 PM   #1894
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware 14.2 64-bit
Posts: 475

Rep: Reputation: 160Reputation: 160
Quote:
Originally Posted by ponce View Post
that is a cmake option, you cannot pass it directly to make: try modifying the SlackBuild like below (there's also a version-bump to the latest 3.1.3)
Code:
diff --git a/business/ledger/ledger.SlackBuild b/business/ledger/ledger.SlackBuild
index 18c0690efc..714f541cec 100644
--- a/business/ledger/ledger.SlackBuild
+++ b/business/ledger/ledger.SlackBuild
@@ -3,7 +3,7 @@
 # Written by Lionel Young (redtricycle at gmail dot com)
 
 PRGNAM=ledger
-VERSION=${VERSION:-3.1.1}
+VERSION=${VERSION:-3.1.3}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -35,7 +35,10 @@ find -L . \
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
   -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
-./acprep --prefix=/usr update
+cmake \
+  -DCMAKE_INSTALL_PREFIX:PATH=/usr \
+  -DBoost_NO_BOOST_CMAKE=1 \
+  .
 make install DESTDIR=$PKG
 
 find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
@@ -47,7 +50,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-cp -a README.md doc/NEWS $PKG/usr/doc/$PRGNAM-$VERSION/
+cp -a README.md doc/NEWS.md $PKG/usr/doc/$PRGNAM-$VERSION/
 
 cp -ra contrib      $PKG/usr/doc/$PRGNAM-$VERSION
 cp -ra test/input/* $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/business/ledger/ledger.info b/business/ledger/ledger.info
index c89a7d4873..cf83d5a190 100644
--- a/business/ledger/ledger.info
+++ b/business/ledger/ledger.info
@@ -1,8 +1,8 @@
 PRGNAM="ledger"
-VERSION="3.1.1"
+VERSION="3.1.3"
 HOMEPAGE="https://ledger-cli.org"
-DOWNLOAD="https://github.com/ledger/ledger/archive/v3.1.1/ledger-3.1.1.tar.gz"
-MD5SUM="eae070cbbc1a40a277f1394d72ef0fe6"
+DOWNLOAD="https://github.com/ledger/ledger/archive/v3.1.3/ledger-3.1.3.tar.gz"
+MD5SUM="6d9b8293f5f909aab4b95cffa2b3c120"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="utfcpp"
I will check this out, thanks.
 
Old 06-26-2019, 10:43 PM   #1895
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 337

Rep: Reputation: 122Reputation: 122
obs-studio builds fine, but says it requires jansson, which is now included in Slackware-current. (As is ffmpeg.)
 
Old 06-28-2019, 10:58 AM   #1896
linuxtinker
Member
 
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 212

Rep: Reputation: 93
php-apcu version needs to be bumped up to at least version 5.1.11 to compile on current as of 6/28.

latest version 5.1.17 will not work with current script.
 
Old 06-28-2019, 12:12 PM   #1897
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,840

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by linuxtinker View Post
php-apcu version needs to be bumped up to at least version 5.1.11 to compile on current as of 6/28.

latest version 5.1.17 will not work with current script.
thanks for reporting, pushed!
 
Old 06-28-2019, 12:12 PM   #1898
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,840

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by garpu View Post
obs-studio builds fine, but says it requires jansson, which is now included in Slackware-current. (As is ffmpeg.)
sorry, where does it says that?
 
Old 06-28-2019, 01:41 PM   #1899
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 337

Rep: Reputation: 122Reputation: 122
Quote:
Originally Posted by ponce View Post
sorry, where does it says that?
https://github.com/Ponce/slackbuilds...bs-studio.info Under required. Looks like it was copied directly from the 14.2 slackbuild. (I was under the impression that the required entries were for things that aren't installed by default?)
 
Old 06-28-2019, 01:52 PM   #1900
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,840

Original Poster
Rep: Reputation: Disabled
maybe you missed it, but I explained multiple times that I don't remove from the *.info files the dependencies added to Slackware current, it will be done when the official SBo repository will go live for the next Slackware version.
Only the interested SlackBuilds are removed from the repository: you won't find, for example, jannson in this unofficial repository.
I have decided to do like this because it's nearly impossibile to rebase the needed changes to the *.info files every week (also the git branches are already =~ 500).
I hope you will understand.
 
3 members found this post helpful.
Old 07-06-2019, 03:06 PM   #1901
brodo
Member
 
Registered: Jan 2004
Location: Poland, Poznan
Distribution: Slackware current 32
Posts: 324

Rep: Reputation: 24
Hello,

I have a problem compiling QT5 in the Slack-current environment dated 05 may 2019:

Code:
make[4]: Entering directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core'
ninja  -C /tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core/Release QtWebEngineCore
ninja: Entering directory `/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core/Release'
[211/18461] CXX obj/mojo/public/c/system/system/thunks.o
FAILED: obj/mojo/public/c/system/system/thunks.o 
/usr/bin/g++ -MMD -MF obj/mojo/public/c/system/system/thunks.o.d -DMOJO_SYSTEM_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DENABLE_PLUGINS=1 -DENABLE_PDF=1 -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DENABLE_WEBRTC=1 -DDISABLE_NACL -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -Igen -I../../3rdparty/chromium -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-delete-null-pointer-checks -Wno-narrowing -fno-rtti -fno-exceptions -c ../../3rdparty/chromium/mojo/public/c/system/thunks.cc -o obj/mojo/public/c/system/system/thunks.o
In file included from ../../3rdparty/chromium/mojo/public/c/system/buffer.h:17,
                 from ../../3rdparty/chromium/mojo/public/c/system/core.h:12,
                 from ../../3rdparty/chromium/mojo/public/c/system/thunks.h:13,
                 from ../../3rdparty/chromium/mojo/public/c/system/thunks.cc:5:
../../3rdparty/chromium/mojo/public/c/system/buffer.h:43:42: error: static assertion failed: int64_t has weird alignment
   43 | MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
../../3rdparty/chromium/mojo/public/c/system/macros.h:15:53: note: in definition of macro ‘MOJO_STATIC_ASSERT’
   15 | #define MOJO_STATIC_ASSERT(expr, msg) static_assert(expr, msg)
      |                                                     ^~~~
../../3rdparty/chromium/mojo/public/c/system/data_pipe.h:44:42: error: static assertion failed: int64_t has weird alignment
   44 | MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
../../3rdparty/chromium/mojo/public/c/system/macros.h:15:53: note: in definition of macro ‘MOJO_STATIC_ASSERT’
   15 | #define MOJO_STATIC_ASSERT(expr, msg) static_assert(expr, msg)
      |                                                     ^~~~
../../3rdparty/chromium/mojo/public/c/system/message_pipe.h:49:42: error: static assertion failed: int64_t has weird alignment
   49 | MOJO_STATIC_ASSERT(MOJO_ALIGNOF(int64_t) == 8, "int64_t has weird alignment");
../../3rdparty/chromium/mojo/public/c/system/macros.h:15:53: note: in definition of macro ‘MOJO_STATIC_ASSERT’
   15 | #define MOJO_STATIC_ASSERT(expr, msg) static_assert(expr, msg)
      |                                                     ^~~~
[216/18461] ACTION //mojo/common:commo....9.8/qtwebengine/src/toolchain:target)
ninja: build stopped: subcommand failed.
make[4]: *** [Makefile.gn_run:1039: run_ninja] Error 1
make[4]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core'
make[3]: *** [Makefile:80: sub-gn_run-pro-make_first] Error 2
make[3]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src/core'
make[2]: *** [Makefile:79: sub-core-make_first] Error 2
make[2]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine/src'
make[1]: *** [Makefile:47: sub-src-make_first] Error 2
make[1]: Leaving directory '/tmp/SBo/qt-everywhere-opensource-src-5.9.8/qtwebengine'
make: *** [Makefile:974: module-qtwebengine-make_first] Error 2
bash-5.0#
I also compiled deps from you, Ponce, only these not coming straight from PV's Slackware-current.

Last edited by brodo; 07-08-2019 at 03:00 AM.
 
Old 07-10-2019, 04:07 PM   #1902
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current, custom kernel, amd64, Beyond LinuxFromScratch
Posts: 132
Blog Entries: 1

Rep: Reputation: Disabled
amd-app-sdk

amd-app-sdk needs to be deleted from SBo. Suffers from linkrot. I suspect the amd sdk used to work in 14.1. That was before AMD absorbed ATI and dropped support for Slackware. As far as my limited knowledge serves me, the amdgpu kernel module provides all the OpenGL functions that used to be in the sdk. Boinc works for CPU-only jobs, but without the ability to compile an OpenCL kernel, such as for Seti's AstroPulse.

[Mesa 19.1.2, Clover, AMD Raven. According to clinfo, not yet able to run native kernels. opencl-testsuite sez "Running kernel not implemented yet."]

Last edited by hpfeil; 07-19-2019 at 10:53 AM. Reason: explain mesa opencl inability to run native kernels
 
1 members found this post helpful.
Old 07-15-2019, 05:23 AM   #1903
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,002

Rep: Reputation: 247Reputation: 247Reputation: 247
I see that Ponce's SlackBuild for supertuxcart has added in a Mesa patch so the game will compile under -current. Interestingly enough the new release of 1.0 incorporates the patch as well as cleanly compiling and running on -current. Does the Ponce repository version bump or should that rest with the script's original owner?

Certainly it would all look nicer without a patch...
 
Old 07-15-2019, 10:06 AM   #1904
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 6,082

Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
Quote:
Originally Posted by andrew.46 View Post
I see that Ponce's SlackBuild for supertuxcart has added in a Mesa patch so the game will compile under -current. Interestingly enough the new release of 1.0 incorporates the patch as well as cleanly compiling and running on -current. Does the Ponce repository version bump or should that rest with the script's original owner?

Certainly it would all look nicer without a patch...
I'm the current maintainer for supertuxkart and an update is on my list of things to do. Life has just been busy. I'll try and get an update pushed before this weekend's public update for SBo.
 
3 members found this post helpful.
Old 07-15-2019, 06:02 PM   #1905
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,002

Rep: Reputation: 247Reputation: 247Reputation: 247
Quote:
Originally Posted by bassmadrigal View Post
I'm the current maintainer for supertuxkart and an update is on my list of things to do. Life has just been busy. I'll try and get an update pushed before this weekend's public update for SBo.
Thanks!!
 
1 members found this post helpful.
  


Reply

Tags
current, sbo, sbopkg, slackrepo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 12:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration