LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-03-2024, 01:17 PM   #16
ZlatkO
Member
 
Registered: Oct 2020
Location: Bad Vöslau, Austria
Distribution: Slackware. What else?
Posts: 38

Original Poster
Rep: Reputation: 26
Thumbs up


Quote:
Originally Posted by reddog83 View Post
If you want you can join our Discord channel we build Gnome on Current.
Thanks for the invitation, maybe I'll stop by later on!
 
1 members found this post helpful.
Old 05-03-2024, 02:51 PM   #17
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 685
Blog Entries: 1

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
Quote:
Originally Posted by ZlatkO View Post
I'm on 15.0, as shown on the screenshot. What I meant by "constantly updating" is that I compile & install GNOME, freedesktop.org & assorted packages as they are being released, but I'm using 15.0 as a base for that.
follow @reddog83`s discord link please!!!
 
Old 05-05-2024, 07:15 AM   #18
ZlatkO
Member
 
Registered: Oct 2020
Location: Bad Vöslau, Austria
Distribution: Slackware. What else?
Posts: 38

Original Poster
Rep: Reputation: 26
Lightbulb

Petri, you were right, the following trivial patch allows tracker-miners-3.7.3 to configure and build just fine:

Code:
diff -pru tracker-miners-3.7.3-orig/meson.build tracker-miners-3.7.3/meson.build
--- tracker-miners-3.7.3-orig/meson.build	2024-05-02 15:22:07.000000000 +0200
+++ tracker-miners-3.7.3/meson.build	2024-05-04 13:44:23.597116892 +0200
@@ -185,7 +185,7 @@ if have_landlock and get_option('landloc
 
       int main (int argc, char *argv[]) {
         /* Get supported landlock ABI */
-        int abi = syscall (SYS_landlock_create_ruleset, NULL, 0, LANDLOCK_CREATE_RULESET_VERSION);
+        int abi = syscall (__NR_landlock_create_ruleset, NULL, 0, LANDLOCK_CREATE_RULESET_VERSION);
         return abi < 0 ? 1 : 0;
       }
   ''',
diff -pru tracker-miners-3.7.3-orig/src/libtracker-miners-common/tracker-landlock.c tracker-miners-3.7.3/src/libtracker-miners-common/tracker-landlock.c
--- tracker-miners-3.7.3-orig/src/libtracker-miners-common/tracker-landlock.c	2024-05-02 15:22:07.000000000 +0200
+++ tracker-miners-3.7.3/src/libtracker-miners-common/tracker-landlock.c	2024-05-04 13:46:31.172293985 +0200
@@ -34,15 +34,15 @@
 
 /* Compensate for these syscalls not being wrapped in libc */
 #define CREATE_RULESET(attr, flags) \
-	syscall (SYS_landlock_create_ruleset, (attr), \
+	syscall (__NR_landlock_create_ruleset, (attr), \
 	         (attr) != NULL ? sizeof *(attr) : 0, \
 	         flags)
 
 #define ADD_RULE(fd, type, attr, flags) \
-	syscall (SYS_landlock_add_rule, fd, type, (attr), flags)
+	syscall (__NR_landlock_add_rule, fd, type, (attr), flags)
 
 #define RESTRICT_SELF(fd, flags) \
-	syscall (SYS_landlock_restrict_self, fd, flags)
+	syscall (__NR_landlock_restrict_self, fd, flags)
 
 /* Cautious defines of flags in newer ABI versions */
 #ifndef LANDLOCK_ACCESS_FS_REFER
Thanks again for pointing me in the right direction!
 
  


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
No rule to make target `missing-syscalls' jimmy123 Programming 1 02-16-2012 02:38 AM
[SOLVED] auditd missing syscalls? ichrispa Linux - Security 5 06-13-2010 10:31 AM
[SOLVED] No rule to make target `missing-syscalls'. Stop. rubadub Programming 5 06-08-2010 05:31 PM
rAPI with syscalls blietaer Programming 0 02-02-2004 02:49 AM

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

All times are GMT -5. The time now is 06:17 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