[DRE-maint] Bug#1067066: ruby-fusefs: fusefs_fuse.c:31:10: error: implicit declaration of function ‘fuse_chan_fd’ [-Werror=implicit-function-declaration]

Zixing Liu zixing.liu at canonical.com
Thu Apr 11 23:42:28 BST 2024


Package: ruby-fusefs
Followup-For: Bug #1067066
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
Control: tags -1 patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * debian/patches/fix-missing-includes.patch: Add missing includes.
    Closes LP: #2061037.


Thanks for considering the patch.


-- System Information:
Debian Release: bookworm/sid
  APT prefers jammy-updates
  APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), (100, 'jammy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-26-generic (SMP w/10 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru ruby-fusefs-0.7.0/debian/patches/fix-missing-includes.patch ruby-fusefs-0.7.0/debian/patches/fix-missing-includes.patch
--- ruby-fusefs-0.7.0/debian/patches/fix-missing-includes.patch	1969-12-31 17:00:00.000000000 -0700
+++ ruby-fusefs-0.7.0/debian/patches/fix-missing-includes.patch	2024-04-11 16:38:56.000000000 -0600
@@ -0,0 +1,19 @@
+Description: Add missing includes
+Author: Zixing Liu <zixing.liu at canonical.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067066
+Bug-Ubuntu: https://bugs.launchpad.net/debian/+source/ruby-fusefs/+bug/2061037
+Forwarded: no
+Last-Update: 2024-04-11
+---
+Index: ruby-fusefs/ext/fusefs_fuse.c
+===================================================================
+--- ruby-fusefs.orig/ext/fusefs_fuse.c
++++ ruby-fusefs/ext/fusefs_fuse.c
+@@ -7,6 +7,7 @@
+ #define _FILE_OFFSET_BITS 64
+ 
+ #include <fuse.h>
++#include <fuse/fuse_lowlevel.h>
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
diff -Nru ruby-fusefs-0.7.0/debian/patches/series ruby-fusefs-0.7.0/debian/patches/series
--- ruby-fusefs-0.7.0/debian/patches/series	2022-06-30 17:15:19.000000000 -0600
+++ ruby-fusefs-0.7.0/debian/patches/series	2024-04-11 16:35:51.000000000 -0600
@@ -1,2 +1,3 @@
 port-to-newer-ruby.patch
 fix-dynamic-library-load-path.patch
+fix-missing-includes.patch


More information about the Pkg-ruby-extras-maintainers mailing list