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-03-2022, 01:27 PM
#886
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Trying to build SFS with new glibc-2.36, but no luck. I'm unable to build gcc-12.1.0 in sfs-tools:
Code:
make[4]: Leaving directory '/mnt/sfs/source/d/gcc/gcc-12.1.0/build/x86_64-pc-linux-gnu/libsanitizer/sanitizer_common'
make[3]: *** [Makefile:533: all-recursive] Error 1
make[3]: Leaving directory '/mnt/sfs/source/d/gcc/gcc-12.1.0/build/x86_64-pc-linux-gnu/libsanitizer'
make[2]: *** [Makefile:420: all] Error 2
make[2]: Leaving directory '/mnt/sfs/source/d/gcc/gcc-12.1.0/build/x86_64-pc-linux-gnu/libsanitizer'
make[1]: *** [Makefile:14132: all-target-libsanitizer] Error 2
make[1]: *** Waiting for unfinished jobs....
08-13-2022, 05:53 AM
#887
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 "Tue Aug 9 19:25:22 UTC 2022" (x86_64 version), with the new glibc-2.36.
It took some time to find working solutions to progress till the end.
Here are the non building packages in SFS:
Code:
--- list-slackware 2022-08-12 16:54:29.087282234 +0200
+++ list-sfs 2022-08-12 16:54:29.197280531 +0200
@@ -129,7 +129,6 @@
ap/lm_sensors-3.6.0-x86_64-3.txz
ap/lsof-4.95.0-x86_64-1.txz
ap/lsscsi-0.32-x86_64-1.txz
-ap/lxc-4.0.12-x86_64-1.txz
a/plzip-1.10-x86_64-1.txz
ap/madplay-0.15.2b-x86_64-7.txz
ap/man-db-2.10.2-x86_64-1.txz
@@ -184,7 +183,6 @@
a/splitvt-1.6.6-x86_64-5.txz
a/sysfsutils-2.1.1-x86_64-1.txz
a/sysklogd-2.4.2-x86_64-1.txz
-a/syslinux-4.07-x86_64-4.txz
a/sysvinit-3.04-x86_64-1.txz
a/sysvinit-functions-8.53-x86_64-5.txz
a/sysvinit-scripts-15.1-noarch-1.txz
@@ -283,13 +281,10 @@
kde/akonadi-22.04.3-x86_64-1.txz
kde/akonadi-calendar-22.04.3-x86_64-1.txz
kde/akonadi-calendar-tools-22.04.3-x86_64-1.txz
-kde/akonadiconsole-22.04.3-x86_64-1.txz
kde/akonadi-contacts-22.04.3-x86_64-1.txz
-kde/akonadi-import-wizard-22.04.3-x86_64-1.txz
kde/akonadi-mime-22.04.3-x86_64-1.txz
kde/akonadi-notes-22.04.3-x86_64-1.txz
kde/akonadi-search-22.04.3-x86_64-1.txz
-kde/akregator-22.04.3-x86_64-1.txz
kde/alkimia-8.1.1-x86_64-1.txz
kde/analitza-22.04.3-x86_64-1.txz
kde/ark-22.04.3-x86_64-1.txz
@@ -325,7 +320,6 @@
kde/filelight-22.04.3-x86_64-1.txz
kde/frameworkintegration-5.96.0-x86_64-1.txz
kde/granatier-22.04.3-x86_64-1.txz
-kde/grantlee-editor-22.04.3-x86_64-1.txz
kde/grantleetheme-22.04.3-x86_64-1.txz
kde/gwenview-22.04.3-x86_64-1.txz
kde/incidenceeditor-22.04.3-x86_64-1.txz
@@ -390,7 +384,6 @@
kde/kdelibs4support-5.96.0-x86_64-1.txz
kde/kdenetwork-filesharing-22.04.3-x86_64-1.txz
kde/kdenlive-22.04.3-x86_64-1.txz
-kde/kdepim-addons-22.04.3-x86_64-1.txz
kde/kdepim-runtime-22.04.3-x86_64-1.txz
kde/kdeplasma-addons-5.25.4-x86_64-1.txz
kde/kdesdk-kioslaves-22.04.3-x86_64-1.txz
@@ -462,7 +455,6 @@
kde/klines-22.04.3-x86_64-1.txz
kde/kmag-22.04.3-x86_64-1.txz
kde/kmahjongg-22.04.3-x86_64-1.txz
-kde/kmail-22.04.3-x86_64-1.txz
kde/kmail-account-wizard-22.04.3-x86_64-1.txz
kde/kmailtransport-22.04.3-x86_64-1.txz
kde/kmbox-22.04.3-x86_64-1.txz
@@ -580,11 +572,9 @@
kde/libktorrent-22.04.3-x86_64-1.txz
kde/lokalize-22.04.3-x86_64-1.txz
kde/lskat-22.04.3-x86_64-1.txz
-kde/mailcommon-22.04.3-x86_64-1.txz
kde/mailimporter-22.04.3-x86_64-1.txz
kde/marble-22.04.3-x86_64-1.txz
kde/markdownpart-22.04.3-x86_64-1.txz
-kde/mbox-importer-22.04.3-x86_64-1.txz
kde/messagelib-22.04.3-x86_64-1.txz
kde/milou-5.25.4-x86_64-1.txz
kde/minuet-22.04.3-x86_64-1.txz
@@ -596,13 +586,12 @@
kde/partitionmanager-22.04.3-x86_64-1.txz
kde/picmi-22.04.3-x86_64-1.txz
kde/pimcommon-22.04.3-x86_64-1.txz
-kde/pim-data-exporter-22.04.3-x86_64-1.txz
kde/pim-sieve-editor-22.04.3-x86_64-1.txz
kde/plasma-browser-integration-5.25.4-x86_64-1.txz
kde/plasma-desktop-5.25.4-x86_64-1.txz
@@ -920,7 +908,7 @@
l/opusfile-0.12-x86_64-3.txz
l/orc-0.4.32-x86_64-3.txz
l/pango-1.50.8-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-1.txz
@@ -1492,7 +1479,6 @@
x/xdg-user-dirs-0.18-x86_64-1.txz
x/xdg-utils-1.1.3-noarch-4.txz
x/xditview-1.0.5-x86_64-3.txz
-x/xdm-1.1.11-x86_64-14.txz
x/xdpyinfo-1.3.3-x86_64-1.txz
x/xdriinfo-1.0.6-x86_64-4.txz
x/xedit-1.2.3-x86_64-1.txz
@@ -1545,7 +1529,6 @@
x/xorg-server-xephyr-21.1.4-x86_64-1.txz
x/xorg-server-xnest-21.1.4-x86_64-1.txz
x/xorg-server-xvfb-21.1.4-x86_64-1.txz
-x/xorg-server-xwayland-22.1.3-x86_64-1.txz
x/xorg-sgml-doctools-1.12-x86_64-1.txz
x/xpr-1.1.0-x86_64-1.txz
x/xprop-1.2.5-x86_64-3.txz
Some others (8) don't build but a solution is provided here:
https://github.com/nobodino/slackwar...ent-glibc-2.36
Last edited by nobodino; 08-14-2022 at 08:01 AM .
1 members found this post helpful.
08-14-2022, 07:42 AM
#888
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
I found that page explaining that cmake-3.24.0 is the root cause of the failure of the kde "mailcommon" package:
https://www.mail-archive.com/kdepim-...msg135049.html
I get the error message:
Code:
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
CMake Error at /usr/local/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47
(find_package):
Found package configuration file:
/usr/local/lib/cmake/KF5MessageCore/KF5MessageCoreConfig.cmake
but it set KF5MessageCore_FOUND to FALSE so package "KF5MessageCore" is
considered to be NOT FOUND. Reason given by package:
The following imported targets are referenced, but are missing:
KF5::MimeTreeParser
Call Stack (most recent call first):
/usr/local/lib/cmake/KF5MessageComposer/KF5MessageComposerConfig.cmake:28
(find_dependency)
CMakeLists.txt:75 (find_package)
-- Configuring incomplete, errors occurred!
If I downgrade cmake to the previous version (3.23.3), by rebuilding kdepim "messagelib", then "mailcommon" builds fine, and all other kde missing packages.
In Slackware -current kde 'messagelib' has been built with cmake-3.23.3, so "mailcommon" builds fine.
But if you rebuild kde "messagelib" with cmake-3.24.0 (the -current version), then "mailcommon" won't build with the previous error.
Last edited by nobodino; 08-14-2022 at 08:00 AM .
2 members found this post helpful.
08-14-2022, 08:10 AM
#889
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
At least now, just remain 2 non building packages with glibc-2.36 on SFS:
-lxc: which doesn't build on slackware and SFS
-xorg-server-xwaylang: which doesn't build only on SFS .
1 members found this post helpful.
08-14-2022, 09:36 AM
#890
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366
Quote:
Originally Posted by
nobodino
At least now, just remain 2 non building packages with glibc-2.36 on SFS:
-lxc: which doesn't build on slackware and SFS
-xorg-server-xwaylang: which doesn't build only on SFS .
For LXC
You probably already seen it, but the commits related to the errors we have (and glibc 2.36) are all for building with meson
(e.g.
https://github.com/lxc/lxc/pull/4179/commits )
Maybe we should report it upstream ?
Last edited by marav; 08-14-2022 at 09:45 AM .
08-14-2022, 10:03 AM
#891
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366
Quote:
Originally Posted by
marav
For LXC
Maybe we should report it upstream ?
Done
We will see
1 members found this post helpful.
08-14-2022, 02:49 PM
#892
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366
Quote:
Originally Posted by
marav
Done
We will see
Here we are
The answer from the maintainer:
Code:
The 4.0 branch is only updated for security issues. We already have merged fixes for the new glibc
in the 5.0 branch though it looks like more will be coming soon to handle some more issues caused
by the new C library.
https://github.com/lxc/lxc/issues/4183
Last edited by marav; 08-14-2022 at 02:54 PM .
1 members found this post helpful.
08-15-2022, 01:26 AM
#893
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
I had already 'git clone lxc', and seen it.
I implemented a patch from the #4179 bug report:
Code:
diff -aurN lxc-4.0.12/src/lxc/conf.c lxc-4.0.12-mod/src/lxc/conf.c
--- lxc-4.0.12/src/lxc/conf.c 2022-02-02 05:26:37.000000000 +0100
+++ lxc-4.0.12-mod/src/lxc/conf.c 2022-08-14 12:01:51.994507375 +0200
@@ -19,7 +19,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
-#include <sys/mount.h>
#include <sys/param.h>
#include <sys/prctl.h>
#include <sys/sendfile.h>
@@ -2881,7 +2880,7 @@
struct lxc_mount_options opts = {};
int dfd_from;
const char *source_relative, *target_relative;
- struct lxc_mount_attr attr = {};
+ struct mount_attr attr = {};
ret = parse_lxc_mount_attrs(&opts, mntent.mnt_opts);
if (ret < 0)
@@ -3001,7 +3000,7 @@
/* Set propagation mount options. */
if (opts.attr.propagation) {
- attr = (struct lxc_mount_attr) {
+ attr = (struct mount_attr ) {
.propagation = opts.attr.propagation,
};
@@ -4105,7 +4104,7 @@
for (;;) {
__do_close int fd_from = -EBADF, fd_userns = -EBADF;
- struct lxc_mount_attr attr = {};
+ struct mount_attr attr = {};
struct lxc_mount_options opts = {};
ssize_t ret;
diff -aurN lxc-4.0.12/src/lxc/conf.h lxc-4.0.12-mod/src/lxc/conf.h
--- lxc-4.0.12/src/lxc/conf.h 2022-02-02 05:26:37.000000000 +0100
+++ lxc-4.0.12-mod/src/lxc/conf.h 2022-08-14 17:38:45.245439082 +0200
@@ -216,7 +216,7 @@
unsigned long mnt_flags;
unsigned long prop_flags;
char *data;
- struct lxc_mount_attr attr;
+ struct mount_attr attr;
char *raw_options;
};
diff -aurN lxc-4.0.12/src/lxc/mount_utils.c lxc-4.0.12-mod/src/lxc/mount_utils.c
--- lxc-4.0.12/src/lxc/mount_utils.c 2022-02-02 05:26:37.000000000 +0100
+++ lxc-4.0.12-mod/src/lxc/mount_utils.c 2022-08-14 11:53:07.604326654 +0200
@@ -6,7 +6,6 @@
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/mount.h>
#include <sys/stat.h>
#include <sys/types.h>
@@ -31,7 +30,7 @@
* setting in @attr_set, but must also specify MOUNT_ATTR__ATIME in the
* @attr_clr field.
*/
-static inline void set_atime(struct lxc_mount_attr *attr)
+static inline void set_atime(struct mount_attr *attr)
{
switch (attr->attr_set & MOUNT_ATTR__ATIME) {
case MOUNT_ATTR_RELATIME:
@@ -272,7 +271,7 @@
{
__do_close int fd_tree_from = -EBADF;
unsigned int open_tree_flags = OPEN_TREE_CLONE | OPEN_TREE_CLOEXEC;
- struct lxc_mount_attr attr = {
+ struct mount_attr attr = {
.attr_set = MOUNT_ATTR_IDMAP | attr_set,
.attr_clr = attr_clr,
.userns_fd = userns_fd,
@@ -335,7 +334,7 @@
__u64 attr_clr, __u64 propagation, int userns_fd,
bool recursive)
{
- struct lxc_mount_attr attr = {
+ struct mount_attr attr = {
.attr_set = attr_set,
.attr_clr = attr_clr,
.propagation = propagation,
diff -aurN lxc-4.0.12/src/lxc/mount_utils.h lxc-4.0.12-mod/src/lxc/mount_utils.h
--- lxc-4.0.12/src/lxc/mount_utils.h 2022-02-02 05:26:37.000000000 +0100
+++ lxc-4.0.12-mod/src/lxc/mount_utils.h 2022-08-14 17:41:21.388854831 +0200
@@ -8,7 +8,6 @@
#include <linux/types.h>
#include <stdio.h>
#include <stdlib.h>
-#include <sys/mount.h>
#include "compiler.h"
#include "memory_utils.h"
diff -aurN lxc-4.0.12/src/lxc/syscall_wrappers.h lxc-4.0.12-mod/src/lxc/syscall_wrappers.h
--- lxc-4.0.12/src/lxc/syscall_wrappers.h 2022-02-02 05:26:37.000000000 +0100
+++ lxc-4.0.12-mod/src/lxc/syscall_wrappers.h 2022-08-14 17:21:28.743596632 +0200
@@ -18,6 +18,13 @@
#include "macro.h"
#include "syscall_numbers.h"
+#if HAVE_STRUCT_MOUNT_ATTR
+
+#include <sys/mount.h>
+#elif HAVE_UAPI_STRUCT_MOUNT_ATTR
+#include <linux/mount.h>
+#endif
+
#ifdef HAVE_LINUX_MEMFD_H
#include <linux/memfd.h>
#endif
@@ -210,16 +217,18 @@
/*
* mount_setattr()
*/
-struct lxc_mount_attr {
+#if !HAVE_STRUCT_MOUNT_ATTR && !HAVE_UAPI_STRUCT_MOUNT_ATTR
+struct mount_attr {
__u64 attr_set;
__u64 attr_clr;
__u64 propagation;
__u64 userns_fd;
};
+#endif
#if !HAVE_MOUNT_SETATTR
static inline int mount_setattr(int dfd, const char *path, unsigned int flags,
- struct lxc_mount_attr *attr, size_t size)
+ struct mount_attr *attr, size_t size)
{
return syscall(__NR_mount_setattr, dfd, path, flags, attr, size);
}
diff -aurN lxc-4.0.12/src/lxc/utils.c lxc-4.0.12-mod/src/lxc/utils.c
--- lxc-4.0.12/src/lxc/utils.c 2022-02-02 05:26:37.000000000 +0100
+++ lxc-4.0.12-mod/src/lxc/utils.c 2022-08-14 17:26:30.054608356 +0200
@@ -18,7 +18,6 @@
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
-#include <sys/mount.h>
/* Needs to be after sys/mount.h header */
#include <linux/fs.h>
#include <sys/param.h>
@@ -139,11 +138,11 @@
if (fd >= 0) {
/* The file might be marked immutable. */
int attr = 0;
- ret = ioctl(fd, FS_IOC_GETFLAGS, &attr);
+ ret = ioctl(fd, SIOCGIFFLAGS, &attr);
if (ret < 0)
SYSERROR("Failed to retrieve file flags");
attr &= ~FS_IMMUTABLE_FL;
- ret = ioctl(fd, FS_IOC_SETFLAGS, &attr);
+ ret = ioctl(fd, SIOCGIFFLAGS, &attr);
if (ret < 0)
SYSERROR("Failed to set file flags");
}
But there's still an error:
Code:
ror=incompatible-pointer-types -Wvla -std=gnu11 -fms-extensions -MT conf.o -MD -MP -MF $depbase.Tpo -c -o conf.o conf.c &&\
mv -f $depbase.Tpo $depbase.Po
conf.c: In function ‘__lxc_idmapped_mounts_child’:
conf.c:2989:37: error: passing argument 4 of ‘mount_setattr’ from incompatible pointer type [-Werror=incompatible-pointer-types]
2989 | &attr,
| ^~~~~
| |
| struct lxc_mount_attr *
In file included from conf.c:22:
/usr/include/sys/mount.h:262:46: note: expected ‘struct mount_attr *’ but argument is of type ‘struct lxc_mount_attr *’
262 | struct mount_attr *__uattr, size_t __usize)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~
conf.c:3012:41: error: passing argument 4 of ‘mount_setattr’ from incompatible pointer type [-Werror=incompatible-pointer-types]
3012 | &attr,
| ^~~~~
| |
| struct lxc_mount_attr *
/usr/include/sys/mount.h:262:46: note: expected ‘struct mount_attr *’ but argument is of type ‘struct lxc_mount_attr *’
262 | struct mount_attr *__uattr, size_t __usize)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~
conf.c: In function ‘lxc_idmapped_mounts_parent’:
conf.c:4126:37: error: passing argument 4 of ‘mount_setattr’ from incompatible pointer type [-Werror=incompatible-pointer-types]
4126 | &attr, sizeof(attr));
| ^~~~~
| |
| struct lxc_mount_attr *
/usr/include/sys/mount.h:262:46: note: expected ‘struct mount_attr *’ but argument is of type ‘struct lxc_mount_attr *’
262 | struct mount_attr *__uattr, size_t __usize)
| ~~~~~~~~~~~~~~~~~~~^~~~~~~
cc1: some warnings being treated as errors
make[3]: *** [Makefile:4866: conf.o] Error 1
make[3]: Leaving directory '/tmp/lxc-4.0.12/src/lxc'
make[2]: *** [Makefile:440: all-recursive] Error 1
make[2]: Leaving directory '/tmp/lxc-4.0.12/src'
make[1]: *** [Makefile:379: all] Error 2
make[1]: Leaving directory '/tmp/lxc-4.0.12/src'
make: *** [Makefile:538: all-recursive] Error 1
I'll look at the #4182 and #4181 bugs report and see if that helps solve the problem?
Thanks for your help.
Last edited by nobodino; 08-15-2022 at 01:52 AM .
08-15-2022, 05:46 AM
#894
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366
My thought:
Don’t waste your time
Since 5.0 is already patched, I doubt Pat will do the backport
08-16-2022, 03:06 AM
#895
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 "Sun Aug 14 18:32:51 UTC 2022" (x86_64 version), with slackware64 -current (
glibc-2.36 and binutils-2.39 ).
It's in better shape than the previous build.
I used cmake-3.23.3 instead of cmake-3.24.
Code:
--- list-slackware 2022-08-16 09:56:47.496231595 +0200
+++ list-sfs 2022-08-16 09:56:47.515231780 +0200
@@ -129,7 +129,6 @@
ap/lm_sensors-3.6.0-x86_64-3.txz
ap/lsof-4.95.0-x86_64-1.txz
ap/lsscsi-0.32-x86_64-1.txz
-ap/lxc-4.0.12-x86_64-1.txz
a/plzip-1.10-x86_64-1.txz
ap/madplay-0.15.2b-x86_64-7.txz
ap/man-db-2.10.2-x86_64-1.txz
@@ -214,7 +213,7 @@
d/ccache-4.6.1-x86_64-1.txz
d/check-0.15.2-x86_64-3.txz
d/clisp-2.50_20191103_c26de7873-x86_64-5.txz
-d/cmake-3.24.0-x86_64-1.txz
+d/cmake-3.23.3-x86_64-1.txz
d/cscope-15.9-x86_64-3.txz
d/cvs-1.11.23-x86_64-7.txz
d/Cython-0.29.28-x86_64-1.txz
@@ -920,7 +919,7 @@
l/opusfile-0.12-x86_64-3.txz
l/orc-0.4.32-x86_64-3.txz
l/pango-1.50.9-x86_64-1.txz
-l/pangomm-2.42.2-x86_64-3.txz
+l/pangomm-2.46.2-x86_64-1.txz
l/parted-3.5-x86_64-1.txz
l/pcaudiolib-1.2-x86_64-1.txz
l/pcre2-10.40-x86_64-1.txz
@@ -1245,7 +1244,6 @@
xap/x3270-4.0ga14-x86_64-2.txz
xap/xaos-4.2.1-x86_64-2.txz
xap/xgames-0.3-x86_64-8.txz
-xap/xine-lib-1.2.12-x86_64-1.txz
xap/xine-ui-0.99.13-x86_64-1.txz
xap/xlockmore-5.70-x86_64-1.txz
xap/xmms-1.2.11-x86_64-8.txz
@@ -1492,7 +1490,7 @@
x/xdg-user-dirs-0.18-x86_64-1.txz
x/xdg-utils-1.1.3-noarch-4.txz
x/xditview-1.0.5-x86_64-3.txz
-x/xdm-1.1.11-x86_64-14.txz
+x/xdm-20220430_0f46b67-x86_64-14.txz
x/xdpyinfo-1.3.3-x86_64-1.txz
x/xdriinfo-1.0.6-x86_64-4.txz
x/xedit-1.2.3-x86_64-1.txz
@@ -1507,8 +1505,8 @@
x/xf86-video-ati-20220730_7a6a34af-x86_64-1.txz
x/xf86-video-dummy-0.4.0-x86_64-2.txz
x/xf86-video-intel-20210115_31486f40-x86_64-1.txz
-x/xf86-video-mach64-6.9.7-x86_64-1.txz
-x/xf86-video-mga-2.0.1-x86_64-1.txz
+x/xf86-video-mach64-20220710_74cc25c-x86_64-1.txz
+x/xf86-video-mga-20220710_37bf1be-x86_64-1.txz
x/xf86-video-nouveau-20220125_29cc528-x86_64-1.txz
x/xf86-video-openchrome-0.6.0-x86_64-6.txz
x/xf86-video-r128-20220127_7b0941d-x86_64-1.txz
@@ -1548,7 +1546,6 @@
x/xorg-server-xephyr-21.1.4-x86_64-1.txz
x/xorg-server-xnest-21.1.4-x86_64-1.txz
x/xorg-server-xvfb-21.1.4-x86_64-1.txz
-x/xorg-server-xwayland-22.1.3-x86_64-1.txz
x/xorg-sgml-doctools-1.12-x86_64-1.txz
x/xpr-1.1.0-x86_64-1.txz
x/xprop-1.2.5-x86_64-3.txz
3 packages can be built with git version:
- xdm
- xf86-video-mach
- xf86-driver-mga
1 new problem:
- xine-lib: due to binutils-2.39
3 remaining problems:
- lxc: doesn't build on slackware
- pangomm: doesn't build on SFS
- xorg-server-xwayland: doesn't build on SFS
However, there's a problem with dhcpcd built with glibc-2.36:
Code:
dhcpcd from slackware64 -current
root@darkstar:/scripts# dhcpcd -t 15 -L eth0
dhcpcd-9.4.1 starting
DUID 00:04:ed:fb:a1:b7:c6:ae:eb:15:ae:f7:2c:f0:5d:93:b8:1b
eth0: waiting for carrier
eth0: carrier acquired
eth0: IAID 5d:93:b8:1b
eth0: adding address fe80::35a6:d1bc:24c1:bb91
eth0: carrier lost
eth0: deleting address fe80::35a6:d1bc:24c1:bb91
eth0: carrier acquired
eth0: IAID 5d:93:b8:1b
eth0: adding address fe80::35a6:d1bc:24c1:bb91
eth0: soliciting an IPv6 router
eth0: rebinding lease of 192.168.1.34
eth0: probing address 192.168.1.34/24
timed out
dhcpcd from SFS -current
root@darkstar:/scripts# dhcpcd -t 15 -L eth0
dhcpcd-9.4.1 starting
DUID 00:04:ed:fb:a1:b7:c6:ae:eb:15:ae:f7:2c:f0:5d:93:b8:1b
eth0: IAID 5d:93:b8:1b
ps_ctl_listen: read: Success
ps_ctl_recv: read: Success
dhcpcd built with glibc-2.35 works, which is not the case when built with glibc-2.36 (tested also on slackware64 -current).
Last edited by nobodino; 08-17-2022 at 12:27 PM .
1 members found this post helpful.
08-16-2022, 06:11 AM
#896
Member
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 104
Rep:
Quote:
Originally Posted by
nobodino
I'm still unable to build gdc-12.1.0.
How did you fix the problem? I have very strange problem in building gdc for mips64el architecture, maybe similar your one.
It is while configuring libphobos, d21 refuses to find a file that exists when checking for D compiler version:
Code:
d21: error: cannot find input file 'conftest.d '
import path[0] = /root/tmp/gcc-12.1.0/libphobos/libdruntime
Any suggestion will be appreciated...
08-16-2022, 06:15 AM
#897
Member
Registered: Oct 2021
Location: Italy
Distribution: Slackware
Posts: 104
Rep:
Quote:
Originally Posted by
nobodino
Code:
--- list-slackware 2022-08-16 09:56:47.496231595 +0200
+++ list-sfs 2022-08-16 09:56:47.515231780 +0200
@@ -1548,7 +1546,6 @@
x/xorg-server-xephyr-21.1.4-x86_64-1.txz
x/xorg-server-xnest-21.1.4-x86_64-1.txz
x/xorg-server-xvfb-21.1.4-x86_64-1.txz
-x/xorg-server-xwayland-22.1.3-x86_64-1.txz
x/xorg-sgml-doctools-1.12-x86_64-1.txz
x/xpr-1.1.0-x86_64-1.txz
x/xprop-1.2.5-x86_64-3.txz
I found that
libxcvt is missing from source/x/x11/modularize, so not build with SLS.
Including/building it solves the xorg-server-xwayland building issue.
08-16-2022, 06:28 AM
#898
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
@lucasbon:
- gdc: from version 12.1.0 you can't bootstrap gdc, as it's the case for gnat. What I did is not completely satisfactory but it works, I do this
Code:
upgradepkg --reinstall --install-new /source/others/gcc-*-11.3.0-x86_64-*.txz
And then I build normally gcc-12.1.0, there's no other way, see below:
https://gcc.gnu.org/install/prerequisites.html
Code:
GDC
In order to build GDC, the D compiler, you need a working GDC compiler (GCC version 9.1 or later) and D runtime library, ‘libphobos’, as the D front end is written in D.
Versions of GDC prior to 12 can be built with an ISO C++11 compiler, which can then be installed and used to bootstrap newer versions of the D front end.
It is strongly recommended to use an older version of GDC to build GDC. More recent versions of GDC than the version built are not guaranteed to work and will often fail during the build with compilation errors relating to deprecations or removed features.
Note that configure does not test whether the GDC installation works and has a sufficiently recent version. Though the implementation of the D front end does not make use of any GDC-specific extensions, or novel features of the D language, if too old a GDC version is installed and --enable-languages=d is used, the build will fail.
On some targets, ‘libphobos’ isn’t enabled by default, but compiles and works if --enable-libphobos is used. Specifics are documented for affected targets.
- xorg-server-xwayland: libxcvt is built with the following command
Code:
./x11.SlackBuild lib libxcvt
Last edited by nobodino; 08-16-2022 at 06:36 AM .
1 members found this post helpful.
08-16-2022, 07:31 AM
#899
LQ Sage
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,366
Quote:
Originally Posted by
nobodino
However, there's a problem with dhcpcd built with glibc-2.36:
I confirm that
Even with the master branch (9.99.0, the one I use)
dhcpcd for ipv4 doesn't work anymore when compiled with glibc 2.36
Code:
Aug 16 14:29:12 blackstar NetworkManager[3723]: <info> [1660652952.1721] dhcp4 (wlan0): client pid 3739 killed by signal 31
EDIT: Reported to Roy Marples
Last edited by marav; 08-16-2022 at 07:39 AM .
08-16-2022, 08:48 AM
#900
Senior Member
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
I haven't the git repo for dhcpcd?
All times are GMT -5. The time now is 09:41 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