LinuxQuestions.org
Review your favorite Linux distribution.
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 08-16-2022, 09:37 AM   #901
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191

Quote:
Originally Posted by nobodino View Post
I haven't the git repo for dhcpcd?
https://github.com/NetworkConfiguration/dhcpcd
and
https://roy.marples.name/git/dhcpcd

EDIT: Roy is on holiday, so we'll wait a bit, at least for a reply

Last edited by marav; 08-16-2022 at 09:52 AM.
 
1 members found this post helpful.
Old 08-16-2022, 01:48 PM   #902
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
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.
Old 08-18-2022, 02:54 AM   #903
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
Old 08-26-2022, 03:20 AM   #904
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by nobodino View Post
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.
Old 08-26-2022, 09:50 AM   #905
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
ok, included in the SFS build tree.
 
Old 08-27-2022, 01:34 AM   #906
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
apparently there's another patch concerning glibc-2.36 : https://github.com/NetworkConfigurat...733585d74c4ff5

with this patch : https://github.com/NetworkConfigurat...d74c4ff5.patch

updated SFS source build tree.

created a git version of dhcpcd which works: https://github.com/nobodino/slackwar...cd-git-version

Last edited by nobodino; 08-27-2022 at 02:07 AM.
 
Old 08-27-2022, 03:04 AM   #907
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by nobodino View Post
apparently there's another patch concerning glibc-2.36 : https://github.com/NetworkConfigurat...733585d74c4ff5

with this patch : https://github.com/NetworkConfigurat...d74c4ff5.patch

updated SFS source build tree.

created a git version of dhcpcd which works: https://github.com/nobodino/slackwar...cd-git-version
You need to re-read my post ;-)
 
Old 08-27-2022, 05:32 AM   #908
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
you're right.
Thanks.

Last edited by nobodino; 08-27-2022 at 05:33 AM.
 
Old 10-16-2022, 02:26 AM   #909
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
Old 10-29-2022, 07:44 AM   #910
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
 
Old 11-03-2022, 02:42 AM   #911
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
Old 12-12-2022, 10:06 AM   #912
lucabon
Member
 
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 106

Rep: Reputation: 76
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.
Old 12-12-2022, 06:58 PM   #913
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,441

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by lucabon View Post
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.
Old 12-14-2022, 07:07 PM   #914
xlfs-0.2
Member
 
Registered: Oct 2022
Posts: 207

Rep: Reputation: 44
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
 
Old 12-15-2022, 01:22 AM   #915
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
@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!
 
  


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] /usr/bin/X11/X11/....... 10 X11 subsets & counting walter74 Linux - General 2 06-07-2015 12:36 AM
How do I get the /etc/X11/X file rebuilt from scratch rickh Debian 4 05-07-2006 11:06 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

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

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