LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-21-2021, 10:03 AM   #4276
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749

Not a build problem so much as a packaging/documentation problem with cups-pdf-3.0.1.

The package builds without issue, but with the Ghostscript 9.54.0 now in -current, there is a default that uses a deprecated operator that is now removed.
In /etc/cups/cups-pdf.conf I now have:
Code:
#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s
GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -f %s
 
Old 09-21-2021, 10:26 AM   #4277
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 allend View Post
Not a build problem so much as a packaging/documentation problem with cups-pdf-3.0.1.

The package builds without issue, but with the Ghostscript 9.54.0 now in -current, there is a default that uses a deprecated operator that is now removed.
In /etc/cups/cups-pdf.conf I now have:
Code:
#GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s
GSCall %s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -f %s
found a patch in the archlinux repo: thanks for the report!

https://git.slackbuilds.org/slackbui...it/?id=5ec21ab
 
Old 09-21-2021, 03:51 PM   #4278
regdub
Member
 
Registered: Apr 2008
Location: France
Distribution: Slackware
Posts: 101

Rep: Reputation: 33
ufraw / encfs

Hi Ponce.

About encfs, the VERSION line of the info file hasn't been updated with the 1.9.5 update.

About ufraw:

1. The dcraw package dependency is an error.

2. Compatibility with lensfun from Slackware 15.0 seems to be broken.
If someone want to test, open a raw file, try to make a correction like modify k1 in the 1st attachment.
I've added a command to modify configure.ac so the lensfun detection fails.

3. Some icons have a larger version in the source.
I've added a command to generate bigger pixmaps (48px instead of 24).
It's looks better with bigger button sizes required by HiDPI screens and it doesn't seem to hurt default button sizes (see attachment 2), so I think it can be the default.

4.Updates to the README
I propose a tip to configure icon sizes but this makes a long line.

Thanks

Edit: the incompatibility with lensfun is not new and not related to the new source.


Code:
--- ufraw.repo/README   2021-09-19 21:09:23.698641821 +0200
+++ ufraw/README        2021-09-21 03:03:25.075905355 +0200
@@ -6,3 +6,20 @@
 UFRaw requires gtkimageview to include the image preview window. You can
 build it without gtkimageview (run with GTK=no) but you'll only have
 command line interface to UFRaw.
+
+UFRaw developpement has stopped in 2015 with version 0.22. Original source
+requires several patches to be build with Slackware 15.0.
+This script uses a repository created by someone who has collected this patches,
+thanks to him.
+However, compatibility with lensfun from Slackware 15.0 seems to be broken and
+has been deactivated.
+The original project homepage is http://ufraw.sourceforge.net/.
+
+Apart from font size, UFRaw UI doesn't scale automatically with dpi settings.
+Size of buttons can be configured via Gtk2 settings (/etc/gtk-2.0/gtkrc) like:
+gtk-icon-sizes = "gtk-menu=32,32:gtk-large-toolbar=48,48:gtk-small-toolbar=48,48:gtk-button=48,48"
+
+You can also adjust pixmap size of some icons at build time with
+UFRAW_ICON_RESIZE=<n>
+Default is 48. This affects the quality, not the display size.
+
diff -u ufraw.repo/ufraw.info ufraw/ufraw.info
--- ufraw.repo/ufraw.info       2021-09-19 21:09:23.698641821 +0200
+++ ufraw/ufraw.info    2021-09-19 22:33:17.326723232 +0200
@@ -5,6 +5,6 @@
 MD5SUM="29b30593cd9e466a09e3bd926abaa271"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
-REQUIRES="dcraw gtkimageview"
+REQUIRES="gtkimageview"
 MAINTAINER="Nishant Limbachia"
 EMAIL="nishant@mnspace.net"
diff -u ufraw.repo/ufraw.SlackBuild ufraw/ufraw.SlackBuild
--- ufraw.repo/ufraw.SlackBuild 2021-09-19 21:09:23.698641821 +0200
+++ ufraw/ufraw.SlackBuild      2021-09-20 12:29:07.001534324 +0200
@@ -87,6 +87,17 @@
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;
 
+# PNG icons included in the source are 24x24 px. Since some SVG are provided, we can generate bigger icons.
+# This doesn't seem to hurt default button sizes and is better with bigger sizes.
+# To disable, run the script with UFRAW_ICON_RESIZE=0
+UFRAW_ICON_RESIZE=${UFRAW_ICON_RESIZE:-48}
+[ $UFRAW_ICON_RESIZE -gt 0 ] && for f in icons/*.svg; do
+  convert -background none -resize ${UFRAW_ICON_RESIZE}x$UFRAW_ICON_RESIZE $f ${f%.svg}-24.png
+done
+
+# lensfun 0.3.95 doesn't seem to be compatible
+sed -i 's/lensfun >.*/lensfun >= 0.2.5 lensfun < 0.3.95,/' configure.ac
+
 autoreconf -fi
 
 CFLAGS="$SLKCFLAGS" \
Attached Thumbnails
Click image for larger version

Name:	00SC_20210919_222226.jpg
Views:	18
Size:	31.7 KB
ID:	37245   Click image for larger version

Name:	00SC_20210920_074306.jpg
Views:	15
Size:	10.6 KB
ID:	37246  

Last edited by regdub; 09-21-2021 at 03:53 PM.
 
Old 09-21-2021, 06:13 PM   #4279
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
Slim is not building.

Code:
[ 38%] Building CXX object CMakeFiles/libslim.dir/log.cpp.o
[ 38%] Building CXX object CMakeFiles/libslim.dir/util.cpp.o
/usr/bin/c++ -DHAVE_SHADOW -DPACKAGE=\"slim\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.3.6\" -Dlibslim_EXPORTS -I/tmp/SBo/slim-1.3.6/build -I/tmp/SBo/slim-1.3.6 -I/usr/include/freetype2 -O2 -fPIC -Wall -g -O2 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libslim.dir/log.cpp.o -MF CMakeFiles/libslim.dir/log.cpp.o.d -o CMakeFiles/libslim.dir/log.cpp.o -c /tmp/SBo/slim-1.3.6/log.cpp
/usr/bin/c++ -DHAVE_SHADOW -DPACKAGE=\"slim\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.3.6\" -Dlibslim_EXPORTS -I/tmp/SBo/slim-1.3.6/build -I/tmp/SBo/slim-1.3.6 -I/usr/include/freetype2 -O2 -fPIC -Wall -g -O2 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libslim.dir/util.cpp.o -MF CMakeFiles/libslim.dir/util.cpp.o.d -o CMakeFiles/libslim.dir/util.cpp.o -c /tmp/SBo/slim-1.3.6/util.cpp
/tmp/SBo/slim-1.3.6/panel.cpp: In constructor ‘Panel::Panel(Display*, int, Window, Cfg*, const string&, Panel::PanelType)’:
/tmp/SBo/slim-1.3.6/panel.cpp:51:27: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’)
   51 |                 if (WinGC < 0) {
      |                     ~~~~~~^~~
make[2]: *** [CMakeFiles/libslim.dir/build.make:121: CMakeFiles/libslim.dir/panel.cpp.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
make[2]: uscita dalla directory «/tmp/SBo/slim-1.3.6/build»
make[1]: *** [CMakeFiles/Makefile2:146: CMakeFiles/libslim.dir/all] Errore 2
make[1]: uscita dalla directory «/tmp/SBo/slim-1.3.6/build»
make: *** [Makefile:139: all] Errore 2

slim:
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.

(Y)es to continue, (N)o to abort, (R)etry the build?: No (as specified with '-e')
 
Old 09-22-2021, 03:33 AM   #4280
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
Quote:
Originally Posted by camerabambai View Post
Slim is not building.
Trivial fix:
Code:
diff -ruN a/comparision.diff b/comparision.diff
--- a/comparision.diff	1970-01-01 03:00:00.000000000 +0300
+++ b/comparision.diff	2021-09-22 11:25:26.559174359 +0300
@@ -0,0 +1,11 @@
+--- a/panel.cpp	2021-09-22 11:16:40.025159823 +0300
++++ b/panel.cpp	2021-09-22 11:17:34.039161314 +0300
+@@ -48,7 +48,7 @@
+ 		gcm = GCGraphicsExposures;
+ 		gcv.graphics_exposures = False;
+ 		WinGC = XCreateGC(Dpy, Win, gcm, &gcv);
+-		if (WinGC < 0) {
++		if (!WinGC) {
+ 			cerr << APPNAME
+ 				<< ": failed to create pixmap\n.";
+ 			exit(ERR_EXIT);
diff -ruN a/slim.SlackBuild b/slim.SlackBuild
--- a/slim.SlackBuild	2021-09-22 11:28:30.124179426 +0300
+++ b/slim.SlackBuild	2021-09-22 11:28:55.574180129 +0300
@@ -29,7 +29,7 @@
 
 PRGNAM=slim
 VERSION=${VERSION:-1.3.6}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
 TAG=${TAG:-_SBo}
 
 if [ -z "$ARCH" ]; then
@@ -80,6 +80,8 @@
 patch -p0 < $CWD/CMakeLists.txt.patch
 # Fix for freetype-2.5.5 headers
 patch -p1 < $CWD/slim-1.3.6_freetype-2.5.1.diff
+# Fix for gcc-11
+patch -p1 < $CWD/comparision.diff
 
 # Fix location of man-pages
 sed "s/share\/man/man/" -i CMakeLists.txt
 
Old 09-22-2021, 06:19 AM   #4281
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
yaz
If building ver. 5.31.0
yaz.SlackBuild line 101:
cp -a LICENSE NEWS README ChangeLog
to
cp -a LICENSE NEWS README.md ChangeLog
And of course, change of version #

Else from that it builds fine
Installed as recommended optional for tellico 3.4.1 in my case,
together with yaz
 
Old 09-22-2021, 12:05 PM   #4282
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 regdub View Post
3. Some icons have a larger version in the source.
I've added a command to generate bigger pixmaps (48px instead of 24).
It's looks better with bigger button sizes required by HiDPI screens and it doesn't seem to hurt default button sizes (see attachment 2), so I think it can be the default.

4.Updates to the README
I propose a tip to configure icon sizes but this makes a long line.

Thanks

Edit: the incompatibility with lensfun is not new and not related to the new source.


Code:
--- ufraw.repo/README   2021-09-19 21:09:23.698641821 +0200
+++ ufraw/README        2021-09-21 03:03:25.075905355 +0200
@@ -6,3 +6,20 @@
 UFRaw requires gtkimageview to include the image preview window. You can
 build it without gtkimageview (run with GTK=no) but you'll only have
 command line interface to UFRaw.
+
+UFRaw developpement has stopped in 2015 with version 0.22. Original source
+requires several patches to be build with Slackware 15.0.
+This script uses a repository created by someone who has collected this patches,
+thanks to him.
+However, compatibility with lensfun from Slackware 15.0 seems to be broken and
+has been deactivated.
+The original project homepage is http://ufraw.sourceforge.net/.
+
+Apart from font size, UFRaw UI doesn't scale automatically with dpi settings.
+Size of buttons can be configured via Gtk2 settings (/etc/gtk-2.0/gtkrc) like:
+gtk-icon-sizes = "gtk-menu=32,32:gtk-large-toolbar=48,48:gtk-small-toolbar=48,48:gtk-button=48,48"
+
+You can also adjust pixmap size of some icons at build time with
+UFRAW_ICON_RESIZE=<n>
+Default is 48. This affects the quality, not the display size.
+
diff -u ufraw.repo/ufraw.info ufraw/ufraw.info
--- ufraw.repo/ufraw.info       2021-09-19 21:09:23.698641821 +0200
+++ ufraw/ufraw.info    2021-09-19 22:33:17.326723232 +0200
@@ -5,6 +5,6 @@
 MD5SUM="29b30593cd9e466a09e3bd926abaa271"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
-REQUIRES="dcraw gtkimageview"
+REQUIRES="gtkimageview"
 MAINTAINER="Nishant Limbachia"
 EMAIL="nishant@mnspace.net"
diff -u ufraw.repo/ufraw.SlackBuild ufraw/ufraw.SlackBuild
--- ufraw.repo/ufraw.SlackBuild 2021-09-19 21:09:23.698641821 +0200
+++ ufraw/ufraw.SlackBuild      2021-09-20 12:29:07.001534324 +0200
@@ -87,6 +87,17 @@
  \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
  -exec chmod 644 {} \;
 
+# PNG icons included in the source are 24x24 px. Since some SVG are provided, we can generate bigger icons.
+# This doesn't seem to hurt default button sizes and is better with bigger sizes.
+# To disable, run the script with UFRAW_ICON_RESIZE=0
+UFRAW_ICON_RESIZE=${UFRAW_ICON_RESIZE:-48}
+[ $UFRAW_ICON_RESIZE -gt 0 ] && for f in icons/*.svg; do
+  convert -background none -resize ${UFRAW_ICON_RESIZE}x$UFRAW_ICON_RESIZE $f ${f%.svg}-24.png
+done
+
+# lensfun 0.3.95 doesn't seem to be compatible
+sed -i 's/lensfun >.*/lensfun >= 0.2.5 lensfun < 0.3.95,/' configure.ac
+
 autoreconf -fi
 
 CFLAGS="$SLKCFLAGS" \
here it seems to segfault lots of times so I'm not able to really test it...
please get in touch with the maintainer on SBo and propose him the changes.
 
Old 09-22-2021, 12:49 PM   #4283
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 camerabambai View Post
Slim is not building.

Code:
[ 38%] Building CXX object CMakeFiles/libslim.dir/log.cpp.o
[ 38%] Building CXX object CMakeFiles/libslim.dir/util.cpp.o
/usr/bin/c++ -DHAVE_SHADOW -DPACKAGE=\"slim\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.3.6\" -Dlibslim_EXPORTS -I/tmp/SBo/slim-1.3.6/build -I/tmp/SBo/slim-1.3.6 -I/usr/include/freetype2 -O2 -fPIC -Wall -g -O2 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libslim.dir/log.cpp.o -MF CMakeFiles/libslim.dir/log.cpp.o.d -o CMakeFiles/libslim.dir/log.cpp.o -c /tmp/SBo/slim-1.3.6/log.cpp
/usr/bin/c++ -DHAVE_SHADOW -DPACKAGE=\"slim\" -DPKGDATADIR=\"/usr/share/slim\" -DSYSCONFDIR=\"/etc\" -DVERSION=\"1.3.6\" -Dlibslim_EXPORTS -I/tmp/SBo/slim-1.3.6/build -I/tmp/SBo/slim-1.3.6 -I/usr/include/freetype2 -O2 -fPIC -Wall -g -O2 -O3 -DNDEBUG -fPIC -MD -MT CMakeFiles/libslim.dir/util.cpp.o -MF CMakeFiles/libslim.dir/util.cpp.o.d -o CMakeFiles/libslim.dir/util.cpp.o -c /tmp/SBo/slim-1.3.6/util.cpp
/tmp/SBo/slim-1.3.6/panel.cpp: In constructor ‘Panel::Panel(Display*, int, Window, Cfg*, const string&, Panel::PanelType)’:
/tmp/SBo/slim-1.3.6/panel.cpp:51:27: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’)
   51 |                 if (WinGC < 0) {
      |                     ~~~~~~^~~
make[2]: *** [CMakeFiles/libslim.dir/build.make:121: CMakeFiles/libslim.dir/panel.cpp.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
make[2]: uscita dalla directory «/tmp/SBo/slim-1.3.6/build»
make[1]: *** [CMakeFiles/Makefile2:146: CMakeFiles/libslim.dir/all] Errore 2
make[1]: uscita dalla directory «/tmp/SBo/slim-1.3.6/build»
make: *** [Makefile:139: all] Errore 2

slim:
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.

(Y)es to continue, (N)o to abort, (R)etry the build?: No (as specified with '-e')
I actually modified the SlackBuild a lot: check here for a patch

https://git.slackbuilds.org/slackbui...it/?id=b66d124
 
Old 09-22-2021, 07:33 PM   #4284
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 354
Blog Entries: 1

Rep: Reputation: Disabled
hplip PyQt4 dependencies

hplip.SlackBuild
CFLAGS="$SLKCFLAGS -I/usr/include/python3.8" \
Current is python3.9

hp-check fails
ImportError: cannot import name 'QtCore' from 'PyQt4'
PyQt4 is embedded in /usr/share/hplip/installer/dcheck.py, /usr/share/hplip/installer/core_install.py and distros.dat.

hplip-3.21.8 has the same /usr/share/hplip/installer files. This breaks sane and other scanner packages.
 
1 members found this post helpful.
Old 09-22-2021, 11:16 PM   #4285
Roman Dyaba
Member
 
Registered: Sep 2020
Location: Russia, 690016 Vladivostok city, street Osipenko home 66, tel: +79247350007
Distribution: Slackware, UbuntuStudio, FreeBSD, GhostBSD
Posts: 317

Rep: Reputation: 40
Lightbulb

from source:
./configure
make
make install


example: oolite, chromium-bsu,warzone2100, eclipse-cpp, eclipse-java
Click image for larger version

Name:	Screenshot_2021-09-24_01-22-02.jpg
Views:	23
Size:	119.6 KB
ID:	37257Click image for larger version

Name:	Screenshot_2021-09-24_01-47-42.jpg
Views:	21
Size:	123.4 KB
ID:	37258Click image for larger version

Name:	Screenshot_2021-09-24_02-14-30.png
Views:	17
Size:	128.5 KB
ID:	37259Click image for larger version

Name:	Screenshot_2021-09-24_02-26-25.png
Views:	18
Size:	212.1 KB
ID:	37260

hplip when # make CC=cpp -j 10:
Code:
   if [ ! \( "$cmd" = "toolbox" -a "yes" = "no" \) ]; then \
	  ln -sf ../share/hplip/$i /usr/local/bin/hp-$cmd; \
   fi \
done
if [ "yes" = "yes" ]; then \
   mv /usr/lib/cups/backend/hpfax.py /usr/lib/cups/backend/hpfax; \
   chmod 700 /usr/lib/cups/backend/hpfax; \
fi
if [ "no" = "yes" ];then \
  chmod 644 /usr.share.hplip;\
  chmod 644 /abstractions/hplip;\
fi
chmod 700 /usr/lib/cups/backend/hp
make[2]: Leaving directory '/home/roman/Distributions/hplip-3.21.8'
make[1]: Leaving directory '/home/roman/Distributions/hplip-3.21.8'
bash-5.1$ hplip
bash: hplip: command not found
bash-5.1$ hplip-plugin
bash: hplip-plugin: command not found
bash-5.1$ ls /usr/local
bin  etc  games  include  info	lib  lib64  man  sbin  share  src
bash-5.1$ ls /usr/
X11    adm  dict  games    info  lib	libexec  man	 sbin	spool  tmp
X11R6  bin  doc   include  java  lib64	local	 plasma  share	src    x86_64-slackware-linux
bash-5.1$ ls /usr/local/bin
hp-align	       hp-devicesettings   hp-faxsetup	   hp-logcapture  hp-pqdiag	    hp-scan	 hp-timedate   hp-upgrade
hp-check	       hp-diagnose_plugin  hp-firmware	   hp-makecopies  hp-print	    hp-sendfax	 hp-toolbox    hp-wificonfig
hp-clean	       hp-diagnose_queues  hp-info	   hp-makeuri	  hp-printsettings  hp-setup	 hp-uiscan     oolite
hp-colorcal	       hp-doctor	   hp-levels	   hp-pkservice   hp-probe	    hp-systray	 hp-uninstall  oolite-update
hp-config_usb_printer  hp-fab		   hp-linefeedcal  hp-plugin	  hp-query	    hp-testpage  hp-unload
bash-5.1$ ls /usr/local/bin/hp-systray
/usr/local/bin/hp-systray
bash-5.1$ ls /usr/local/bin/hp-probe
/usr/local/bin/hp-probe
bash-5.1$ /usr/local/bin/hp-systray
Traceback (most recent call last):
  File "/usr/local/bin/hp-systray", line 35, in <module>
    from base import utils, module
  File "/usr/local/share/hplip/base/module.py", line 30, in <module>
    from . import tui, utils, device
  File "/usr/local/share/hplip/base/device.py", line 42, in <module>
    from . import status
  File "/usr/local/share/hplip/base/status.py", line 33, in <module>
    import cupsext
ImportError: No module named cupsext
bash-5.1$ /usr/local/bin/hp-info
Traceback (most recent call last):
  File "/usr/local/bin/hp-info", line 38, in <module>
    from base import device, status, utils, tui, module
  File "/usr/local/share/hplip/base/device.py", line 42, in <module>
    from . import status
  File "/usr/local/share/hplip/base/status.py", line 33, in <module>
    import cupsext
ImportError: No module named cupsext
bash-5.1$
google-earth (it TXZ was build from RPM - external compilation):
Code:
bash-5.1$ /opt/google/earth/pro/google-earth-pro
/opt/google/earth/pro/google-earth-pro: line 43:  4816 Segmentation fault      LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ./googleearth-bin "$@"
reason: i was recompile kernel for best my cpu support

and today after:
Code:
Thu Sep 23 19:15:14 UTC 2021
a/kernel-firmware-20210923_0268c1b-noarch-1.txz: Upgraded.
d/parallel-20210922-noarch-1.txz: Upgraded.
l/pipewire-0.3.37-x86_64-1.txz: Upgraded.
l/python-urllib3-1.26.7-x86_64-1.txz: Upgraded.
xap/freerdp-2.4.0-x86_64-1.txz: Added.
       This is needed for krdc to use RDP. Thanks to max242.
xfce/mousepad-0.5.7-x86_64-1.txz: Upgraded.
hplip-3.21.8 make has report:
Code:
mv -f .deps/dat2drv-Normalize.Tpo .deps/dat2drv-Normalize.Po
/bin/sh ./libtool --tag=CXX   --mode=link g++  -g -O2 -DCONFDIR=\"/etc/hp\"   -o dat2drv dat2drv-Dat2drv.o dat2drv-Normalize.o  
libtool: link: g++ -g -O2 -DCONFDIR=\"/etc/hp\" -o dat2drv dat2drv-Dat2drv.o dat2drv-Normalize.o 
gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.21.8\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.21.8\" -DPACKAGE_BUGREPORT=\"3.21.8\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.21.8\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_LIBHPIP=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -Icommon/   -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -MT hp-hp.o -MD -MP -MF .deps/hp-hp.Tpo -c -o hp-hp.o `test -f 'prnt/backend/hp.c' || echo './'`prnt/backend/hp.c
prnt/backend/hp.c:79: warning: "BUG" redefined
   79 | #define BUG(args...) bug(__FILE__ " " STRINGIZE(__LINE__) ": " args)
      | 
In file included from prnt/backend/hp.c:49:
common/utils.h:12: note: this is the location of the previous definition
   12 | #define BUG(args...) syslog(LOG_ERR, __FILE__ " " STRINGIZE(__LINE__) ": " args)
      | 
prnt/backend/hp.c:86: warning: "DBG" redefined
   86 |    #define DBG(args...)
      | 
In file included from prnt/backend/hp.c:49:
common/utils.h:13: note: this is the location of the previous definition
   13 | #define DBG(args...) syslog(LOG_INFO, __FILE__ " " STRINGIZE(__LINE__) ": " args)
      | 
mv -f .deps/hp-hp.Tpo .deps/hp-hp.Po
/bin/sh ./libtool --tag=CC   --mode=link gcc -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -version-info 0:6:0 -lpthread -ldl  -lusb-1.0   -o hp hp-hp.o libhpmud.la libhpdiscovery.la -ldbus-1 
libtool: link: warning: `-version-info' is ignored for programs
libtool: link: gcc -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DCONFDIR=\"/etc/hp\" -o .libs/hp hp-hp.o  -lpthread -ldl -lusb-1.0 ./.libs/libhpmud.so ./.libs/libhpdiscovery.a -ldbus-1 -Wl,-rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find ./.libs/libhpdiscovery.a: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile:5621: hp] Error 1
That's all today. Thank's to all !

Last edited by Roman Dyaba; 09-23-2021 at 05:31 PM. Reason: add text, add screenshots
 
Old 09-25-2021, 02:59 PM   #4286
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi , feedparser , fail to build here.


Quote:
error in feedparser setup command: use_2to3 is invalid.
 
Old 09-25-2021, 03:43 PM   #4287
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 USUARIONUEVO View Post
Hi , feedparser , fail to build here.

I think it should be better be bumped to version 6.0.8, but unfortunately that need sgmllib not yet in SBo: please notify the build error to the maintainer...
 
Old 09-25-2021, 03:52 PM   #4288
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by ponce View Post
I think it should be better be bumped to version 6.0.8, but unfortunately that need sgmllib not yet in SBo: please notify the build error to the maintainer...
Its strange , but archlinux have this freezed under same version 5.2.1 , thats for a good reason , arch only freeze when upgrade break things.

But i go write mantainer , to see where we go whit this.


EDIT: I write the mantainer , we wait for see what direction goes this.

Thanks!

Last edited by USUARIONUEVO; 09-25-2021 at 03:57 PM.
 
Old 09-25-2021, 05:53 PM   #4289
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by ponce View Post
I think it should be better be bumped to version 6.0.8, but unfortunately that need sgmllib not yet in SBo: please notify the build error to the maintainer...
I've had an update to 6.0.8 ready for some time but held it back because some other SlackBuilds were broken by the update. However since the existing 5.2.1 version not no longer builds on -current, then those other SlackBuilds are also broken anyway. Therefore I just now submitted the update for feedparser-6.0.8.

When building feedparser-6.0.8, I did not notice any problem with sgmlib. Could you elaborate on the problem?

chris
 
Old 09-25-2021, 07:24 PM   #4290
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Quote:
Originally Posted by chris.willing View Post
I've had an update to 6.0.8 ready for some time but held it back because some other SlackBuilds were broken by the update. However since the existing 5.2.1 version not no longer builds on -current, then those other SlackBuilds are also broken anyway. Therefore I just now submitted the update for feedparser-6.0.8.

When building feedparser-6.0.8, I did not notice any problem with sgmlib. Could you elaborate on the problem?

chris
Hi , i install the new one, pip3 says missing dependency.
pip2 says all is okey.

Quote:
pip3 check
feedparser 6.0.8 requires sgmllib3k, which is not installed.


we need this one in REQUIRES

https://pypi.org/project/sgmllib3k/

After install this one, all is ok and fine , no more extras needed.

Last edited by USUARIONUEVO; 09-25-2021 at 07:26 PM.
 
  


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 03:42 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