LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-20-2020, 10:45 AM   #2491
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,239

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by USUARIONUEVO View Post
I cant build libgnomeprintui
change
Code:
  --enable-gtk-doc=yes
to
Code:
  --enable-gtk-doc=no
 
Old 02-20-2020, 11:26 AM   #2492
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,352

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
Quote:
Originally Posted by ponce View Post
change
Code:
  --enable-gtk-doc=yes
to
Code:
  --enable-gtk-doc=no
Thanks!
 
Old 02-21-2020, 07:25 AM   #2493
bifferos
Member
 
Registered: Jul 2009
Posts: 275

Rep: Reputation: 109Reputation: 109
Hi everyone, the mongodb build is now broken for me.

Tested today with:
Slackware-current: 21/02/2020: https://bear.alienbase.nl/mirrors/sl...nstall-dvd.iso, full install missing only kdei
Ponce slackbuild-current: Cloned, on: 21/02/2020 (commit bbdcdba2321162d14491c95a60280c1c44e80f2)
sbopkg version: 38.1

Code:
g++ -o build/opt/third_party/asio-asio-1-11-0/asio/src/asio_ssl.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++11 -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DPCRE_STATIC -DNDEBUG -D_FORTIFY_SOURCE=2 -DBOOST_THREAD_VERSION=4 -DBOOST_THREAD_DONT_PROVIDE_VARIADIC_THREAD -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS -DBOOST_THREAD_HAS_NO_EINTR_BUG -Isrc/third_party/asio-asio-1-11-0/asio/include src/third_party/asio-asio-1-11-0/asio/src/asio_ssl.cpp
In file included from src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/src.hpp:22,
                 from src/third_party/asio-asio-1-11-0/asio/src/asio_ssl.cpp:11:
src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp: In constructor 'asio::ssl::context::context(asio::ssl::context_base::method)':
src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:78:31: error: '::SSLv2_method' has not been declared; did you mean 'SSLv3_method'?
   78 |     handle_ = ::SSL_CTX_new(::SSLv2_method());
      |                               ^~~~~~~~~~~~
      |                               SSLv3_method
EDIT: Fixed with a version bump to 3.4.24.

Code:
PRGNAM="mongodb"
VERSION="3.4.24"
HOMEPAGE="https://www.mongodb.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
DOWNLOAD_x86_64="https://fastdl.mongodb.org/src/mongodb-src-r3.4.24.tar.gz"
MD5SUM_x86_64="2033a6857e9e71bb2faede3a262c4524"
REQUIRES=""
MAINTAINER="Miguel De Anda"
EMAIL="miguel@thedeanda.com"
ponce: Can you add the above to your amazing little repo and update the mongodb.SlackBuild with the new version number as well?

Last edited by bifferos; 02-21-2020 at 09:01 AM.
 
Old 02-21-2020, 01:31 PM   #2494
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,352

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
Hi , libuv added today , you can remove it.

something to gst-plugins-bad and gst0-plugins-bad ? .. i can build

I see you fix qt5styleplugins, thanks for this.
 
Old 02-21-2020, 03:18 PM   #2495
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,239

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bifferos View Post
Fixed with a version bump to 3.4.24.

[...]

ponce: Can you add the above to your amazing little repo and update the mongodb.SlackBuild with the new version number as well?
done, thanks!

Quote:
Originally Posted by USUARIONUEVO View Post
Hi , libuv added today , you can remove it.
already did some hours ago!

Quote:
Originally Posted by USUARIONUEVO View Post
something to gst-plugins-bad and gst0-plugins-bad ? .. i can build
they built fine for me... if they don't there try to put the logs on pastebin.com and put the links here.
 
Old 02-21-2020, 09:57 PM   #2496
ttk
Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 911
Blog Entries: 27

Rep: Reputation: 1278Reputation: 1278Reputation: 1278Reputation: 1278Reputation: 1278Reputation: 1278Reputation: 1278Reputation: 1278Reputation: 1278
The hosting for tgif-QPL has changed. Host bourbon.usc.edu no longer provides an ftp service.

The DOWNLOAD field for graphics/tgif-QPL/tgif-QPL.info should be updated to "http://bourbon.usc.edu/tgif/ftp/tgif/tgif-QPL-4.2.5.tar.gz" (which is also the location prescribed on the tgif home site's Download page).
 
Old 02-22-2020, 08:07 AM   #2497
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,352

Rep: Reputation: 419Reputation: 419Reputation: 419Reputation: 419Reputation: 419
@ponce

sorry for time lost arround plugins-bad ..i found culprit , for some reason im under make-4.3 , was downgraded to 4.2.1 cause some problems building using 4.3 ..i install make-4.2.1 and now builds fine ..sorry.
 
Old 02-23-2020, 07:31 AM   #2498
bifferos
Member
 
Registered: Jul 2009
Posts: 275

Rep: Reputation: 109Reputation: 109
It's not a build problem exactly, however many packages depend on six, and six does not appear to be in this repo.

https://slackbuilds.org/repository/14.2/python/six/

Can this be added? Was there some reason it was removed? Otherwise any dependency management has to treat it as a special case.

Thanks!
 
Old 02-23-2020, 07:43 AM   #2499
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,239

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bifferos View Post
It's not a build problem exactly, however many packages depend on six, and six does not appear to be in this repo.

https://slackbuilds.org/repository/14.2/python/six/

Can this be added? Was there some reason it was removed? Otherwise any dependency management has to treat it as a special case.

Thanks!
it has been removed because it's already shipped in Slackware current

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

Last edited by ponce; 02-23-2020 at 07:44 AM.
 
Old 02-23-2020, 08:34 AM   #2500
bifferos
Member
 
Registered: Jul 2009
Posts: 275

Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by ponce View Post
it has been removed because it's already shipped in Slackware current
Yes, it's there. But it's under the wrong name. So either there needs to be a six package, to satisfy REQUIRES="six", or every REQUIRES="six" needs to be removed.

This would be solved (crudely) by introducing a dummy SBo six package, and installs nothing. That at least avoids changing loads of SBo files to fix the dependency tree.

EDIT: Actually I can see 24 immediately, maybe I'm overestimating the problem:

Quote:
$ find ./ -name \*.info -exec grep 'REQUIRES="six"' {} \; | wc
24 24 360

Last edited by bifferos; 02-23-2020 at 08:42 AM.
 
1 members found this post helpful.
Old 02-23-2020, 08:37 AM   #2501
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 5,239

Original Poster
Rep: Reputation: Disabled
actually no, because everything that is already provided in a Slackware full installation should not be present in the REQUIRES variable at all.

"six" is still there because the REQUIRES variables of the *.info files will be edited when the repository will be migrated to the next version of Slackware: you probably missed it but I explained this quite a few times, and it's also in the wiki

https://github.com/Ponce/slackbuilds/wiki

Last edited by ponce; 02-23-2020 at 08:39 AM.
 
2 members found this post helpful.
Old 02-23-2020, 08:59 AM   #2502
bifferos
Member
 
Registered: Jul 2009
Posts: 275

Rep: Reputation: 109Reputation: 109
Got it
 
Old 02-23-2020, 09:45 PM   #2503
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.2 Slackware 14.2, Slackware{32,64}-current
Posts: 936
Blog Entries: 9

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
Quote:
Originally Posted by Skaendo View Post
meld3 just got updated to 3.20.2, no more need for python patch.
https://ftp.gnome.org/pub/gnome/sources/meld/3.20/
Nice. I missed this whole discussion and came up with a solution but didn't get a chance to chime in. For meld3-30.20.2, you'll still need a new dependency (python-distro, available on SB0). My patch was similar to upstream and a bit less of a hack 'n slash to the one by ponce et al.
Code:
iff -ur meld-3.20.1-original/meld/build_helpers.py meld-3.20.1/meld/build_helpers.py
--- meld-3.20.1-original/meld/build_helpers.py	2019-03-30 14:54:28.000000000 -0700
+++ meld-3.20.1/meld/build_helpers.py	2020-02-07 19:13:16.977722733 -0800
@@ -29,6 +29,7 @@
 import os.path
 import platform
 import sys
+import distro
 from distutils.log import info
 
 
@@ -379,7 +380,7 @@
     def finalize_options(self):
         special_cases = ('debian', 'ubuntu', 'linuxmint')
         if (platform.system() == 'Linux' and
-                platform.linux_distribution()[0].lower() in special_cases):
+                distro.linux_distribution()[0].lower() in special_cases):
             # Maintain an explicit install-layout, but use deb by default
             specified_layout = getattr(self, 'install_layout', None)
             self.install_layout = specified_layout or 'deb'
I just didn't bother with pre Python-3.8 capatibility.

Also, the more I end up looking at Python and how the project is run, the more I hate it.
 
Old 02-23-2020, 10:02 PM   #2504
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,229

Rep: Reputation: Disabled
Quote:
Originally Posted by kingbeowulf View Post
Nice. I missed this whole discussion and came up with a solution but didn't get a chance to chime in. For meld3-30.20.2, you'll still need a new dependency (python-distro, available on SB0).
python-distro has been added to -current some time ago.

Quote:
Sat Jan 4 22:21:30 UTC 2020

l/python-distro-1.4.0-x86_64-1.txz: Added.
 
Old Yesterday, 07:26 AM   #2505
bifferos
Member
 
Registered: Jul 2009
Posts: 275

Rep: Reputation: 109Reputation: 109
Quote:
Originally Posted by kingbeowulf View Post
Also, the more I end up looking at Python and how the project is run, the more I hate it.
It isn't perfect, the whole Python2-3 thing was silly. But this problem is Slackware:

Code:
# installpkg PyYAML-3.13-x86_64-1_SBo.tgz
And then
Code:
# pip install azure-cli
Gives you:
Code:
  Attempting uninstall: pyyaml
    Found existing installation: PyYAML 3.13
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
My solution would be to remove all existing Python packages from SBo, and replace them with an automated generator which puts the pip install command in doinst.sh and contains the wheel and installs it with --no-deps. The removepkg won't uninstall it, but that's OK and suits the Slackware philosophy nicely IMHO. Remove never cleans anything up. At least you end up with a maintainable system, and all these packages can be automatically generated from nothing more than the tested wheel version in a .info file. Things may break in the short-term, but after some fixes, that's the end of Python SlackBuild maintenance and Slackware devs can move on to more interesting things.

I've started to write my own package installer that works around my problems with using Python in Slackware, but it's not fully working yet, even with the relatively small number of packages I need to regularly build. Rather than the above drastic change it introduces the concept of virtual packages where it will check what pip has installed before attempting to install a dependency. At least it gets over the Azure-cli problem by figuring out that PyYAML can be removed from the dependency chain for other stuff that needs it.

Code:
usage: afterpkg [-h] [-s SLACKBUILDS] [-d] [-n NUMTHREADS] [-c] [-o] [-v] [-2]
                [-3] [-p] [-b] [-a] [-r] [-g] [-q]
                packages [packages ...]

Download, build and install packages from SBo-current. Afterpkg expects a full
install of -current and the SBo repo to be found at ~/.afterpkg/slackbuilds/,
if missing the ponce repo will be cloned there. By default most functionality
is enabled, the options described below mostly DISABLE things.

positional arguments:
  packages              Package(s) to build

optional arguments:
  -h, --help            show this help message and exit
  -s SLACKBUILDS, --slackbuilds SLACKBUILDS
                        Specify the slackbuild directory. The default is
                        ~/.afterpkg/slackbuilds. This directory will be cloned
                        from https://github.com/Ponce/slackbuilds.git if not
                        present. This will happen regardless of the -d flag
                        (it's not counted as doing anything). If you want a
                        different repository make sure this exists before
                        running.
  -d, --donothing       Don't actually do anything, just list the steps that
                        would be run. Note that this doesn't disable
                        threading: The steps will be output on different
                        threads, just as any real task would, which means they
                        can be executed in random order. If you don't like
                        this don't use -d with -n
  -n NUMTHREADS, --numthreads NUMTHREADS
                        How many parallel operations to allow (default 1). See
                        also the -g option.
  -c, --nocolour        Parallel builds are normally coloured. If you don't
                        like vt100 escape codes in your output, use this
                        option. You can still distinguish threads by the
                        output line prefix
  -o, --onlydownload    This will only download the package sources and not
                        build, so you can run the build offline
  -v, --novirtual       Don't include any pip-installed Python packages in
                        dependency computations (same as -2 and -3)
  -2, --nopip2          Don't include pip2-installed Python packages in
                        dependency computations
  -3, --nopip3          Don't include pip3-installed Python packages in
                        dependency computations
  -p, --pipinstall      By default Python SBo packages will be built and
                        installed as required. This option will pip install
                        them instead. Note that this makes -o somewhat
                        pointless, as it requires you to be online. You can
                        always pip install everything first, however.
  -b, --before          Don't execute any 'before' scripts. These scripts will
                        get sourced before building the package.
  -a, --after           Don't execute any 'after' scripts. These scripts will
                        get sourced after building the package.
  -r, --requires        Don't execute any 'requires' scripts. These scripts
                        will get sourced before executing the builds of
                        dependent packages.
  -g, --getinparallel   Normally downloads will be one-by-one. This will run
                        them in parallel (up to --numthreads)
  -q, --queue           Just print the queue of builds, similar to what sqg
                        would generate. You can use afterpkg to only compute
                        dependencies, generate an sbopkg queue and then run
                        the builds with sbopkg if you prefer.
 
3 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 06:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 02:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 02:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 08:49 AM

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

All times are GMT -5. The time now is 03:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration