Slackware This Forum is for the discussion of Slackware Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
08-16-2022, 01:48 PM
#902
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441
From Roy:
Code:
Looks like we need to add a define for __NR_getrandom in privsep-linux.c
I can prepare a patch when I get back from holiday next week unless
someone else can beat me to it.
1 members found this post helpful.
08-18-2022, 02:54 AM
#903
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
The problem with the kdepim mailcommon package and cmake is solved with the new version of cmake-3.24.1
1 members found this post helpful.
08-26-2022, 03:20 AM
#904
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441
Quote:
Originally Posted by
nobodino
However, there's a problem with dhcpcd built with glibc-2.36:
Thanks to Roy for his reactivity
Code:
[PATCH] privsep: Allow getrandom sysctl for newer glibc
https://github.com/NetworkConfigurat...704d5f52.patch
EDIT: just tested and, of course, it works
+
Code:
privsep: Allow newfstatat syscall as well
Allows newer glibc variants to work apparently.
https://github.com/NetworkConfigurat...d74c4ff5.patch
Last edited by marav; 08-26-2022 at 03:30 AM .
1 members found this post helpful.
08-26-2022, 09:50 AM
#905
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
ok, included in the SFS build tree.
08-27-2022, 01:34 AM
#906
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Last edited by nobodino; 08-27-2022 at 02:07 AM .
08-27-2022, 03:04 AM
#907
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441
Quote:
Originally Posted by
nobodino
You need to re-read my post ;-)
08-27-2022, 05:32 AM
#908
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
you're right.
Thanks.
Last edited by nobodino; 08-27-2022 at 05:33 AM .
10-16-2022, 02:26 AM
#909
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Regression test up to "Fri Oct 14 01:39:37 UTC 2022" (x86_64 version).
Just 2 remaining packages don't build correctly:
- f2fs need a patch to build with lz4-1.9.4 (see:
https://www.linuxquestions.org/quest...ls-4175715792/ )
Code:
diff -aurN f2fs-tools-1.15.0/fsck/compress.c f2fs-tools-1.15.0-mod/fsck/compress.c
--- f2fs-tools-1.15.0/fsck/compress.c 2022-05-13 19:50:41.000000000 +0200
+++ f2fs-tools-1.15.0-mod/fsck/compress.c 2022-08-19 12:15:48.037589094 +0200
@@ -32,10 +32,10 @@
#ifdef HAVE_LIBLZ4
#define LZ4_MEMORY_USAGE 14
#define LZ4_MAX_INPUT_SIZE 0x7E000000 /* 2 113 929 216 bytes */
-#ifndef LZ4_STREAMSIZE
-#define LZ4_STREAMSIZE (LZ4_STREAMSIZE_U64 * sizeof(long long))
+#ifndef LZ4_STREAM_MINSIZE
+#define LZ4_STREAM_MINSIZE ((1UL << LZ4_MEMORY_USAGE) + 32) /* static size, for inter-version compatibility */
#endif
-#define LZ4_MEM_COMPRESS LZ4_STREAMSIZE
+#define LZ4_MEM_COMPRESS LZ4_STREAM_MINSIZE
#define LZ4_ACCELERATION_DEFAULT 1
#define LZ4_WORK_SIZE ALIGN_UP(LZ4_MEM_COMPRESS, 8)
#endif
- pangomm refuse to build because of pango changes in headers files (see :
https://www.linuxquestions.org/quest...mm-4175716509/ )
here' what's left:
Code:
--- list-slackware 2022-10-16 09:17:41.244788733 +0200
+++ list-sfs 2022-10-16 09:17:41.256788878 +0200
@@ -29,7 +29,7 @@
a/etc-15.1-x86_64-2.txz
a/eudev-3.2.11-x86_64-2.txz
a/exfatprogs-1.1.3-x86_64-1.txz
-a/f2fs-tools-1.15.0-x86_64-1.txz
+a/f2fs-tools-1.15.0-x86_64-1_sfs.txz
a/file-5.43-x86_64-1.txz
a/findutils-4.9.0-x86_64-1.txz
a/floppy-5.5-x86_64-4.txz
@@ -927,7 +927,7 @@
l/opusfile-0.12-x86_64-3.txz
l/orc-0.4.32-x86_64-3.txz
l/pango-1.50.11-x86_64-1.txz
-l/pangomm-2.42.2-x86_64-3.txz
+l/pangomm-2.46.2-x86_64-3.txz
l/parted-3.5-x86_64-1.txz
l/pcaudiolib-1.2-x86_64-1.txz
l/pcre2-10.40-x86_64-2.txz
Last edited by nobodino; 10-16-2022 at 02:38 AM .
4 members found this post helpful.
10-29-2022, 07:44 AM
#910
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Regression test up to "Thu Oct 27 02:30:15 UTC 2022" (x86_64 version).
Not too bad, only one remaining package refusing to build.
Code:
--- list-slackware 2022-10-29 14:42:21.062632918 +0200
+++ list-sfs 2022-10-29 14:42:21.076633083 +0200
@@ -927,7 +927,7 @@
l/opusfile-0.12-x86_64-3.txz
l/orc-0.4.32-x86_64-3.txz
l/pango-1.50.11-x86_64-1.txz
-l/pangomm-2.42.2-x86_64-3.txz
+l/pangomm-2.46.2-x86_64-3.txz
l/parted-3.5-x86_64-1.txz
l/pcaudiolib-1.2-x86_64-1.txz
l/pcre2-10.40-x86_64-2.txz
Last edited by nobodino; 10-31-2022 at 09:36 AM .
11-03-2022, 02:42 AM
#911
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Regression test up to "Mon Oct 31 23:31:36 UTC 2022" (x86_64 version).
Except glibc and s-nail packages which had problems with new make package, nothing new under the sun.
1 members found this post helpful.
12-12-2022, 10:06 AM
#912
Member
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 106
Rep:
Nethack no more build from gcc 12 (not detected because the package was build also with errors).
Fixing config.h:
--- nethack.SlackBuild.orig 2022-09-15 20:23:58.052165083 +0200
+++ nethack.SlackBuild 2022-12-12 17:04:44.146540910 +0100
@@ -107,6 +107,9 @@
sed -e "/^MANDIR\s*=/s|/usr/man/man6|$PKG/usr/man/man6|" -i sys/unix/Makefile.doc
+# Fixing gcc 12 compatibility:
+sed -i 's/#define UNIX/#include <stdlib.h>\n#include <stdio.h>\n&/' include/config.h
+
# Create a few directories:
mkdir -p $PKG/usr/man/man6
mkdir -p $PKG/usr/doc/nethack-$VERSION
@@ -116,7 +119,7 @@
( cd sys/unix ; sh setup.sh hints/linux )
# Build and install:
-make -j1 install manpages PREFIX=$PKG
+make -j1 install manpages PREFIX=$PKG || exit 1
# Fix some paths:
sed -e "s|HACKDIR=$PKG/|HACKDIR=/|" \
3 members found this post helpful.
12-12-2022, 06:58 PM
#913
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441
Quote:
Originally Posted by
lucabon
Nethack no more build from gcc 12 (not detected because the package was build also with errors).
Fixing config.h:
--- nethack.SlackBuild.orig 2022-09-15 20:23:58.052165083 +0200
+++ nethack.SlackBuild 2022-12-12 17:04:44.146540910 +0100
@@ -107,6 +107,9 @@
sed -e "/^MANDIR\s*=/s|/usr/man/man6|$PKG/usr/man/man6|" -i sys/unix/Makefile.doc
+# Fixing gcc 12 compatibility:
+sed -i 's/#define UNIX/#include <stdlib.h>\n#include <stdio.h>\n&/' include/config.h
+
# Create a few directories:
mkdir -p $PKG/usr/man/man6
mkdir -p $PKG/usr/doc/nethack-$VERSION
@@ -116,7 +119,7 @@
( cd sys/unix ; sh setup.sh hints/linux )
# Build and install:
-make -j1 install manpages PREFIX=$PKG
+make -j1 install manpages PREFIX=$PKG || exit 1
# Fix some paths:
sed -e "s|HACKDIR=$PKG/|HACKDIR=/|" \
They made a patch, long time ago ... (Jan. 4)
https://github.com/NetHack/NetHack/c...7442ed7ff2fe4e
2 members found this post helpful.
12-14-2022, 07:07 PM
#914
Member
Registered: Oct 2022
Posts: 207
Rep:
I do think libepoxy should be done, and it shouldn' be difficult.
gelf.h is not required for <=Xorg-22 nor <=mesa-22, it must be an option of something optional (GL and firefox work without it, as for the rest IDK)
> 6) Also had to recompile glib2 before gtk-pixbuf2 would compile.
perhaps that is because you inadvertently changed the order?
or maybe slack-build is not an "error free build" ?
========================
if you recompile Xorg after the build (or rather proceed forward then recompile it)
YOU WILL need to recompile xf86-input-* xf86-video-*, since they are coded to not load unless built after Xorg
12-15-2022, 01:22 AM
#915
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
@xlfs-0.2: I don't understand a single word of what you're talking about, sorry.
I looked at your profile, you're trying to build XLFS, that's fine.
I'll look at your project during christmas holydays, but clearly I don't understand your message!
All times are GMT -5. The time now is 09:16 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News