meta-spdxscanner


Martin Leduc <martin.leduc@...>
 

Hi Community,

 

I’m facing to an issue with meta-spdxscanner.bbclass.  A Python Warning fail the build.  This is the error:

 

ERROR: python3-patch-native-1.16-r0 do_compile: 'python3 setup.py bdist_wheel ' execution failed.

ERROR: python3-patch-native-1.16-r0 do_compile: ExecutionError('/home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985', 1, None, None)

ERROR: Logfile of failure stored in: /home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/log.do_compile.3058985

Log data follows:

| DEBUG: Executing shell function do_compile

| /home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/patch-1.16/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives

|   from distutils.core import setup

| usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

|    or: setup.py --help [cmd1 cmd2 ...]

|    or: setup.py --help-commands

|    or: setup.py cmd --help

|

| error: invalid command 'bdist_wheel'

| ERROR: 'python3 setup.py bdist_wheel ' execution failed.

| WARNING: /home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985:177 exit 1 from 'exit 1'

| WARNING: Backtrace (BB generated script):

|             #1: bbfatal_log, /home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985, line 177

|             #2: setuptools3_do_compile, /home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985, line 167

|             #3: do_compile, /home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985, line 156

|             #4: main, /home/mleduc/1087/1087-NIM/build-sdk/tmp/work/x86_64-linux/python3-patch-native/1.16-r0/temp/run.do_compile.3058985, line 181

ERROR: Task (virtual:native:/home/mleduc/1087/1087-NIM/sources/meta-spdxscanner/recipes-devtools/python/python3-patch_1.16.bb:do_compile) failed with exit code '1'

 

Any patch or approach to fix this?

 

I’m using Yocto Kirkstone

 

Any help will be appreciated

 

Martin Leduc

Superviseur logiciel platforme, Rail

Luminator Technology Group

T : 1 418 856-6896

martin.leduc@...

www.luminator.com

 

Join {yocto@lists.yoctoproject.org to automatically receive all group messages.