When I try to build package from source in Ubuntu Jammy 22.04, i run into this error:
``` int main(void) { void *a = (void*) &memfd_create; long long b = (long long) a; return (int) b; } Compiler stdout:
Compiler stderr:
Checking for function "memfd_create" : YES Configuring config.h using configuration
../lib/meson.build:155:4: ERROR: Function does not take positional arguments. dh_auto_configure: error: cd build && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dtests=disabled returned exit code 1 make[1]: *** [debian/rules:19: override_dh_auto_configure] Error 255 make[1]: Leaving directory '/home/ubuntu/hector/intel-gpu-tools-1.26' make: *** [debian/rules:39: build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
```
The build command is : dpkg-buildpackage -us -uc -b Ubuntu release : Jammy 22.04 Meson version : 0.61.2
When I try to build package from source in Ubuntu Jammy 22.04, i run into this error:
```
int main(void) {
void *a = (void*) &memfd_create;
long long b = (long long) a;
return (int) b;
}
Compiler stdout:
Compiler stderr:
Checking for function "memfd_create" : YES
Configuring config.h using configuration
../lib/ meson.build: 155:4: ERROR: Function does not take positional arguments. mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir =/var --libdir= lib/x86_ 64-linux- gnu -Dtests=disabled returned exit code 1 dh_auto_ configure] Error 255 ubuntu/ hector/ intel-gpu- tools-1. 26'
dh_auto_configure: error: cd build && LC_ALL=C.UTF-8 meson .. --wrap-
make[1]: *** [debian/rules:19: override_
make[1]: Leaving directory '/home/
make: *** [debian/rules:39: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
```
The build command is : dpkg-buildpackage -us -uc -b
Ubuntu release : Jammy 22.04
Meson version : 0.61.2