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 11-10-2018, 03:19 PM   #2446
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 2,471
Blog Entries: 2

Rep: Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980Reputation: 980
Talking


Quote:
Originally Posted by ZhaoLin1457 View Post
We debated in 14 pages that off-topic posts must be righteously punished with life-long sentences of banning.

And what are you doing here?
we seem to be checking HR(*) dependencies are meet for the most next Slackware yet


(*)- human resources

 
1 members found this post helpful.
Old 11-11-2018, 02:53 AM   #2447
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
It seems that a joke I made contributed to derail this thread. I apologize for that, now let's put it back on tracks.
 
Old 11-12-2018, 03:22 AM   #2448
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
libtiff-4.0.10:

https://gitlab.com/libtiff/libtiff/b...ster/ChangeLog
https://download.osgeo.org/libtiff/tiff-4.0.10.tar.gz
 
Old 11-12-2018, 04:03 AM   #2449
th_r
LQ Newbie
 
Registered: May 2009
Posts: 21

Rep: Reputation: 24
Hi.

In package net-snmp-5.8-i586-1 library /usr/lib/perl5/vendor_perl/auto/NetSNMP/agent/agent.so is broken.

ldd /usr/lib/perl5/vendor_perl/auto/NetSNMP/agent/agent.so
linux-gate.so.1 (0xb7f7b000)
libnetsnmpmibs.so.30 => not found
libnetsnmpagent.so.30 => not found
libnetsnmp.so.30 => not found
libc.so.6 => /lib/libc.so.6 (0xb7d56000)
/lib/ld-linux.so.2 (0xb7f7d000)

Please rebuild it.

Thanks
 
1 members found this post helpful.
Old 11-12-2018, 12:20 PM   #2450
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
I wanted to remove all my haskell packages.
Code:
# removepkg haskell-*
/sbin/removepkg: line 317: [: too many arguments
/sbin/removepkg: line 331: [: too many arguments
basename: extra operand '/var/lib/pkgtools/packages/haskell-aeson-1.4.1.0-x86_64-1_SBo'
Try 'basename --help' for more information.
No such package: . Can't remove.
With adding some quotes to lines 317 and 331 it will now remove a single haskell package.
Code:
--- removepkg.orig	2018-11-12 10:09:30.810016947 -0800
+++ removepkg	2018-11-12 10:17:51.059847322 -0800
@@ -314,7 +314,7 @@
   # we don't enforce this policy.  If there's more than one, only one will
   # be removed.  If you want to remove them all, you'll need to run
   # removepkg again until it removes all the same-named packages.
-  if [ ! -e $ADM_DIR/packages/$PKGNAME ]; then
+  if [ ! -e "$ADM_DIR/packages/$PKGNAME" ]; then
     # Short name not found - finally try looking for full name - e.g. foo-1.0-arm-1
     pushd $ADM_DIR/packages > /dev/null
     # Don't set PKGNAME if there are no matches:
@@ -328,7 +328,7 @@
     popd > /dev/null
   fi
 
-  if [ -r $ADM_DIR/packages/$PKGNAME ]; then
+  if [ -r "$ADM_DIR/packages/$PKGNAME" ]; then
    if [ ! "$WARN" = true ]; then
     echo "Removing package: $(basename $ADM_DIR/packages/$PKGNAME)"
    fi
Given this comment from removepkg I suppose this is the correct behavior?
Code:
# If we don't have a package match here, then we will attempt to find
# a package using the long name format (name-version-arch-build) for 
# which the base package name was given.  On a properly-managed machine,
# there should only be one package installed with a given basename, but 
# we don't enforce this policy.  If there's more than one, only one will
# be removed.  If you want to remove them all, you'll need to run       
# removepkg again until it removes all the same-named packages.
 
Old 11-12-2018, 01:16 PM   #2451
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,504

Rep: Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461Reputation: 8461
Quote:
Originally Posted by orbea View Post
I wanted to remove all my haskell packages.
Code:
# removepkg haskell-*
/sbin/removepkg: line 317: [: too many arguments
/sbin/removepkg: line 331: [: too many arguments
basename: extra operand '/var/lib/pkgtools/packages/haskell-aeson-1.4.1.0-x86_64-1_SBo'
Try 'basename --help' for more information.
No such package: . Can't remove.
Try changing to the /var/lib/pkgtools/packages directory first.
 
1 members found this post helpful.
Old 11-12-2018, 01:48 PM   #2452
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
Try changing to the /var/lib/pkgtools/packages directory first.
Sorry, I didn't make it clear that I did that next where it of course worked. Regardless it was an unexpected failure and I thought it was worth mentioning.
 
1 members found this post helpful.
Old 11-12-2018, 03:57 PM   #2453
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
If , go to rebuild perl , remember update the outdated extra modules. Thanks!


And for informational only , finally review for linux 4.19.2 , have 361 patches.... this is BIG ONE.

https://lkml.org/lkml/2018/11/12/566
 
Old 11-12-2018, 04:31 PM   #2454
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by orbea View Post
I wanted to remove all my haskell packages.
Code:
# removepkg haskell-*
/sbin/removepkg: line 317: [: too many arguments
removepkg only takes a _single_ packagename as its argument, so you'll have to use a loop, like
Code:
for pkg in haskell-*
do removepkg $pkg
done

Last edited by ehartman; 11-12-2018 at 04:32 PM. Reason: typing errors
 
Old 11-12-2018, 04:36 PM   #2455
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by ehartman View Post
removepkg only takes a _single_ packagename as its argument, ...
No.
Code:
root[/home/didier]# removepkg
Usage: removepkg [-copy] [-keep] [-preserve] [-warn] packagename ...
root[/home/didier]
... represents a blank separated list of packages to remove.

Last edited by Didier Spaier; 11-12-2018 at 04:40 PM.
 
Old 11-12-2018, 04:39 PM   #2456
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
(duplicate)
 
Old 11-12-2018, 04:42 PM   #2457
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
The problem was that I was feeding it a literal "haskell-*" instead of all the haskell-* packages since I was in the wrong directory and the glob didn't match any files. My suggestion was just so that it would not fail in an unexpected manner, my usage was wrong regardless.
 
Old 11-12-2018, 06:51 PM   #2458
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
SDL2-2.0.9 broke ArxLibertatis and maybe other C/C++ programs, but this is already fixed in the SDL2 mercurial master.

I resolved this by applying the following patch to SDL2.
Code:
From cc035dcc4faaec9c2122c241f83ad6b5296e42b1 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <sezeroz@gmail.com>
Date: Tue, 6 Nov 2018 20:50:24 +0300
Subject: [PATCH] fix bug #4362 - SDL_syswm.h with SDL_PROTOTYPES_ONLY broken
 in C++ mode

---
 include/SDL_syswm.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/include/SDL_syswm.h b/include/SDL_syswm.h
index 0748b92270..e7d9baa9bf 100644
--- a/include/SDL_syswm.h
+++ b/include/SDL_syswm.h
@@ -41,9 +41,9 @@
  *  an unhandled window event occurs.  This event is ignored by default, but
  *  you can enable it with SDL_EventState().
  */
-#ifdef SDL_PROTOTYPES_ONLY
 struct SDL_SysWMinfo;
-#else
+
+#if !defined(SDL_PROTOTYPES_ONLY)
 
 #if defined(SDL_VIDEO_DRIVER_WINDOWS)
 #ifndef WIN32_LEAN_AND_MEAN
@@ -103,6 +103,8 @@ typedef void *EGLSurface;
 #if defined(SDL_VIDEO_DRIVER_VIVANTE)
 #include "SDL_egl.h"
 #endif
+#endif /* SDL_PROTOTYPES_ONLY */
+
 
 #include "begin_code.h"
 /* Set up for C function definitions, even when using C++ */
@@ -110,6 +112,7 @@ typedef void *EGLSurface;
 extern "C" {
 #endif
 
+#if !defined(SDL_PROTOTYPES_ONLY)
 /**
  *  These are the various supported windowing subsystems
  */
https://github.com/spurious/SDL-mirr...3ad6b5296e42b1

For reference here is the corresponding SDL2 issue report.
https://bugzilla.libsdl.org/show_bug.cgi?id=4362

And I am building ArxLibertatis from the git master, here is my build script.
https://notabug.org/orbea/SlackBuild.../ArxLibertatis

Edit:

And the ArxLibertatis build error.
Code:
[ 93%] Built target arx-libertatis-icon
[ 93%] Built target arxsavetool
In file included from /tmp/SBo/ArxLibertatis/src/window/SDL2Window.cpp:46,
                 from /tmp/SBo/ArxLibertatis/build/ub_arx.cpp:2149:
/usr/include/SDL2/SDL_syswm.h:318:1: error: expected declaration before ‘}’ token
 }
 ^
make[2]: *** [CMakeFiles/arx.dir/build.make:87: CMakeFiles/arx.dir/ub_arx.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:179: CMakeFiles/arx.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 96%] Linking CXX executable arxcrashreporter
[ 96%] Built target arxcrashreporter
make: *** [Makefile:130: all] Error 2

Last edited by orbea; 11-12-2018 at 07:02 PM.
 
Old 11-12-2018, 09:15 PM   #2459
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
M2Crypto-0.31.0
https://files.pythonhosted.org/packa...-0.31.0.tar.gz

python-setuptools-40.6.0
https://files.pythonhosted.org/packa...ols-40.6.0.zip
 
Old 11-12-2018, 11:36 PM   #2460
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by Didier Spaier View Post
No.
Code:
root[/home/didier]# removepkg
Usage: removepkg [-copy] [-keep] [-preserve] [-warn] packagename ...
root[/home/didier]
... represents a blank separated list of packages to remove.
OK, the man page didn't give those ... (note: I'm not using -current, so this is from the pkgtools-14.2-noarch-13 package) and it explicitly has in the description:
Code:
removepkg removes a previously installed Slackware package, while writing a progress
report to the standard output.  A package may be specified either by the full package name
(as you'd see listed in /var/log/packages/), or by the base package name.
All about a single package name. I didn't check the code itself, but relied on that man page.
 
  


Reply



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] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 02:31 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
Open Source Consulting | Domain Registration