Quantcast
Channel: Mellanox Interconnect Community: Message List
Viewing all articles
Browse latest Browse all 6226

mlnx_add_kernel_support.sh ofa-kernel build failure on sles12

$
0
0

I have been trying to use mlnx_add_kernel_support.sh to make a tgz with support for a custom kernel based on sles12 and it fails with an error when trying to build ofa-kernel:

 

...

objcopy: '/tmp/mlnx_iso.8082/OFED_topdir/BUILDROOT/mlnx-ofa_kernel-3.0-OFED.3.0.2.0.0.1.gea32cb7.x86_64/home/ronnie/kernel/initrd_files_compiled/lib/modules/3.12.44-52.10.1.NK_SLES12/updates/compat/mlx_compat.ko': No such file

*** ERROR: same build ID in nonidentical files!

        /usr/src/ofa_kernel/default/compat/mlx_compat.ko

   and  /home/ronnie/kernel/initrd_files_compiled/lib/modules/3.12.4452.10.1.NK/updates/compat/mlx_compat.ko

error: Bad exit status from /var/tmp/rpm-tmp.MHzqCE (%install)

...

 

The error message seems to come from the error handling of function make_id_link() in find-debuginfo.sh which is used in RPM packaging.

 

This occurs with both MLNX_OFED_LINUX-3.0-2.0.1-sles12sp0-x86_64 and MLNX_OFED_LINUX-3.1-1.0.3-sles12sp0-x86_64.

 

The build machine is running:

Linux sles12-ronnie-dev-01 3.12.39-47-default #1 SMP Thu Mar 26 13:21:16 UTC 2015 (a901594) x86_64 x86_64 x86_64 GNU/Linux

 

The same procedure used to work with MLNX_OFED_LINUX-3.0-2.0.1-sles11sp3-x86_64 and our sles11sp3 kernel.

 

Is there a workaround I can use to get the build to complete?

 

-Ronnie

 

P.S. I saw an older thread with a similar problem which I replied to but it wasn't exactly the same and it was marked as answered but without a solution so I thought I should also ask separately - apologies if this wasn't the right thing to do.  The older thread is: Mellanox OFED 3.0 mlnx-ofa_kernel failed to build in sles12


Viewing all articles
Browse latest Browse all 6226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>