Hi all

I'm trying to build lustre client DKMS .deb packages for Debian 13

The ./configure is:
./configure --with-o2ib=no --disable-server --disable-doc --disable-manpages 
--disable-tests --disable-lutf --disable-ldiskfs --disable-quilt 
--disable-maintainer-mode

* lustre-release source is an up-to-date master
* kernel version is 6.12.27-amd64
* swig version is 4.3.0-1

But "make dkms-debs" dies with the error below.

I don't know SWIG, but can be the problem is the change listed on 
https://www.swig.org/Release/CHANGES @ "2024-06-15: vadz" ?
And also, is it normal that it tries to build LUTF despite the "--disable-lutf" 
in configure? Is there a setting I can use to avoid the problem?

many thanks!
cheers
Francesco

------------------------------------
echo "building lutf_global_wrap.c"
building lutf_global_wrap.c
gcc -g -Wall -fPIC -c -I/usr/include/python3.13 -I/usr/include 
-I/usr/include/libnl3  -I../../../../lnet/utils/lnetconfig 
-I../../../../lnet/utils -I../../../../lnet/include 
-I../../../../libcfs/include -I../../../../lnet/include/uapi/ lutf_global_wrap.c
echo "building lutf_agent_wrap.c"
building lutf_agent_wrap.c
gcc -g -Wall -fPIC -c -I/usr/include/python3.13 lutf_agent_wrap.c
lutf_agent_wrap.c: In function '_wrap_lutf_send_rpc':
lutf_agent_wrap.c:5005:15: error: too few arguments to function 
'SWIG_Python_AppendOutput'
 5005 |   resultobj = SWIG_Python_AppendOutput(resultobj,obj4);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
lutf_agent_wrap.c:1259:1: note: declared here
 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~
make[7]: *** [Makefile:852: lutf_agent_wrap.c] Error 1
make[7]: *** Waiting for unfinished jobs....
echo "building liblnetconfig_wrap.c"
building liblnetconfig_wrap.c
gcc -g -Wall -fPIC -c -I/usr/include/python3.13 -I/usr/include 
-I/usr/include/libnl3  -I../../../../lnet/utils/lnetconfig 
-I../../../../lnet/utils -I../../../../lnet/include 
-I../../../../libcfs/include -I../../../../lnet/include/uapi/ 
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c 
../../../../lnet/utils/lnetconfig/cyaml.c
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c: In function 
'_wrap_cYAML_dump':
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c:5677:15: error: too few 
arguments to function 'SWIG_Python_AppendOutput'
 5677 |   resultobj = SWIG_Python_AppendOutput(resultobj,obj2);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c:1259:1: note: declared 
here
 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c: In function 
'_wrap_lustre_lnet_parse_nid_range':
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c:12215:15: error: too few 
arguments to function 'SWIG_Python_AppendOutput'
12215 |   resultobj = SWIG_Python_AppendOutput(resultobj,obj3);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c:1259:1: note: declared 
here
 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c: In function 
'_wrap_yaml_lnet_configure':
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c:12285:15: error: too few 
arguments to function 'SWIG_Python_AppendOutput'
12285 |   resultobj = SWIG_Python_AppendOutput(resultobj,obj2);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c:1259:1: note: declared 
here
 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c: In function 
'_wrap_cfs_abs_path':
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c:27446:15: error: too few 
arguments to function 'SWIG_Python_AppendOutput'
27446 |   resultobj = SWIG_Python_AppendOutput(resultobj,obj2);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~
../../../../lustre/tests/lutf/src/liblnetconfig_wrap.c:1259:1: note: declared 
here
 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) {
      | ^~~~~~~~~~~~~~~~~~~~~~~~
make[7]: *** [Makefile:896: dlc_glue] Error 1
make[7]: Leaving directory 
'/dev/shm/lustre-e47e6132-4c65-4ca2-9c7c-b50a110b5030/lustre-release/lustre/tests/lutf/src'
make[6]: *** [Makefile:608: all-recursive] Error 1
make[6]: Leaving directory 
'/dev/shm/lustre-e47e6132-4c65-4ca2-9c7c-b50a110b5030/lustre-release/lustre/tests/lutf'
make[5]: *** [Makefile:1642: all-recursive] Error 1
make[5]: Leaving directory 
'/dev/shm/lustre-e47e6132-4c65-4ca2-9c7c-b50a110b5030/lustre-release/lustre/tests'
make[4]: *** [autoMakefile:540: all-recursive] Error 1
make[4]: Leaving directory 
'/dev/shm/lustre-e47e6132-4c65-4ca2-9c7c-b50a110b5030/lustre-release/lustre'
make[3]: *** [autoMakefile:745: all-recursive] Error 1
make[3]: Leaving directory 
'/dev/shm/lustre-e47e6132-4c65-4ca2-9c7c-b50a110b5030/lustre-release'
make[2]: *** [autoMakefile:597: all] Error 2
make[2]: Leaving directory 
'/dev/shm/lustre-e47e6132-4c65-4ca2-9c7c-b50a110b5030/lustre-release'
make[1]: *** [debian/rules:297: build-stamp] Error 2
make[1]: Leaving directory 
'/dev/shm/lustre-e47e6132-4c65-4ca2-9c7c-b50a110b5030/lustre-release'
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make: *** [autoMakefile:1649: dkms-debs] Error 2
------------------------------------
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to