Giter VIP home page Giter VIP logo

Comments (8)

adam900710 avatar adam900710 commented on July 3, 2024 1

It looks inode.h is not including the correct types.

Mind to try the following diff?

diff --git a/inode.h b/inode.h
index 07575d08ba9d..4515efddbb96 100644
--- a/inode.h
+++ b/inode.h
@@ -3,7 +3,7 @@
 #ifndef BTRFS_FUSE_INODE_H
 #define BTRFS_FUSE_INODE_H

-#include <asm-generic/types.h>
+#include <linux/types.h>
 #include <sys/stat.h>
 #include "compat.h"
 #include "ondisk_format.h"

from btrfs-fuse.

adam900710 avatar adam900710 commented on July 3, 2024 1

Great! Now the warning are gone, just need to address the remaining warnings which only shows up in ppc64le.

from btrfs-fuse.

sharkcz avatar sharkcz commented on July 3, 2024

I believe it needs just a little hack, see https://src.fedoraproject.org/rpms/smc-tools/blob/rawhide/f/smc-tools.spec#_33

from btrfs-fuse.

adam900710 avatar adam900710 commented on July 3, 2024

Sorry, I'm not familiar with RPMbuild nor having a ppc64 environment, thus not much help can be provided from me.

But does the same problem reproduce when building without RPMbuild?

The type conflicts seems a little strange, as if <asm/types.h> is not handling u64/s64 properly, tons of project would fail to compile.

from btrfs-fuse.

davide125 avatar davide125 commented on July 3, 2024

That worked, thanks! https://koji.fedoraproject.org/koji/taskinfo?taskID=78669160

from btrfs-fuse.

davide125 avatar davide125 commented on July 3, 2024

Fixed in 626d9c9

from btrfs-fuse.

adam900710 avatar adam900710 commented on July 3, 2024

Sorry, I only fixed the compile error, but still left the format warning.

I have updated meson.build, mind to update the spec file for F36 and check the build log?

from btrfs-fuse.

davide125 avatar davide125 commented on July 3, 2024

Here you go: https://koji.fedoraproject.org/koji/buildinfo?buildID=1911276

from btrfs-fuse.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.