public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Westermann (DWE) <[email protected]>
To: Tom Lane <[email protected]>
Cc: Tomas Vondra <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Meson and Numa: C header not found
Date: Thu, 10 Apr 2025 17:18:31 +0000
Message-ID: <GV0P278MB0419BD909F5018FBBE67C98DD2B72@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM> (raw)

>That's just weird then.  The only other theory that comes to mind
>is that there's something wrong with the SELinux attributes on these
>fles.  restorecon might help if so.

If that would be the case, then it is a packaging issue on Fedora, I guess.

Even after restorecon I get this:

Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0
Run-time dependency numa found: YES 2.0.19

../postgresql/meson.build:957:12: ERROR: C header 'numa.h' not found

... which gives this in the log:

Run-time dependency numa found: YES 2.0.19
Using cached compile:
Cached command line:  cc /home/postgres/build/meson-private/tmpjon5_bg2/testfile.c -E -P -D_FILE_OFFSET_BITS=64 -P -O0 

Code:
 
        #ifdef __has_include
         #if !__has_include("numa.h")
          #error "Header 'numa.h' could not be found"
         #endif
        #else
         #include <numa.h>
        #endif
Cached compiler stdout:
 
Cached compiler stderr:
 /home/postgres/build/meson-private/tmpjon5_bg2/testfile.c:4:12: error: #error "Header 'numa.h' could not be found"
    4 |           #error "Header 'numa.h' could not be found"
      |            ^~~~~


../postgresql/meson.build:957:12: ERROR: C header 'numa.h' not found


Regards
Daniel





view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Meson and Numa: C header not found
  In-Reply-To: <GV0P278MB0419BD909F5018FBBE67C98DD2B72@GV0P278MB0419.CHEP278.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox