Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug when invoking build from cross #5994

Closed
1 task done
th0ma7 opened this issue Jan 28, 2024 · 1 comment · Fixed by #5995
Closed
1 task done

Bug when invoking build from cross #5994

th0ma7 opened this issue Jan 28, 2024 · 1 comment · Fixed by #5995
Assignees
Labels

Comments

@th0ma7
Copy link
Contributor

th0ma7 commented Jan 28, 2024

Is this a new Bug?

  • I checked that the bug hasn't been reported before

Package Name

any

Package Version

any

Device Model

any

Device Architecture

x86_64

Firmware Version

any

What happened?

I noticed this during my work on qoriq rust toolchain but just confirmed, a recent change generates the following error when invoking build from cross:

spksrc@spksrc:~/qoriq-debug-update/spksrc/cross/openssl3$ make all-supported
===>  Pre-build native dependencies for parallel build
make[1]: Entering directory '/home/spksrc/qoriq-debug-update/spksrc/cross/openssl3'
===>  Downloading files for openssl3
===>    File openssl-3.1.4.tar.gz already downloaded
===>  Verifying files for openssl3
===>    Checking sha1sum of file openssl-3.1.4.tar.gz
===>    Checking sha256sum of file openssl-3.1.4.tar.gz
===>    Checking md5sum of file openssl-3.1.4.tar.gz
/home/spksrc/qoriq-debug-update/spksrc/cross/openssl3/../../distrib/openssl-3.1.4.tar.gz
===>  Processing dependencies of openssl3
make[2]: Entering directory '/home/spksrc/qoriq-debug-update/spksrc/cross/zlib'
===>  Downloading files for zlib
===>    File zlib-1.2.13.tar.gz already downloaded
===>  Verifying files for zlib
===>    Checking sha1sum of file zlib-1.2.13.tar.gz
===>    Checking sha256sum of file zlib-1.2.13.tar.gz
===>    Checking md5sum of file zlib-1.2.13.tar.gz
/home/spksrc/qoriq-debug-update/spksrc/cross/zlib/../../distrib/zlib-1.2.13.tar.gz
===>  Processing dependencies of zlib
===>  Extracting for zlib
tar -xzpf /home/spksrc/qoriq-debug-update/spksrc/cross/zlib/../../distrib/zlib-1.2.13.tar.gz -C /home/spksrc/qoriq-debug-update/spksrc/cross/openssl3/work 
===>  Patching for zlib
===>  Generating /home/spksrc/qoriq-debug-update/spksrc/cross/openssl3/work/zlib-1.2.13/-toolchain.cmake
env make --no-print-directory cmake_pkg_toolchain > /home/spksrc/qoriq-debug-update/spksrc/cross/openssl3/work/zlib-1.2.13/-toolchain.cmake 2>/dev/null;
make[2]: *** [../../mk/spksrc.cross-cmake.mk:41: /home/spksrc/qoriq-debug-update/spksrc/cross/openssl3/work/zlib-1.2.13/-toolchain.cmake] Error 2
make[2]: Leaving directory '/home/spksrc/qoriq-debug-update/spksrc/cross/zlib'
make[1]: *** [../../mk/spksrc.depend.mk:54: depend_target] Error 2
make[1]: Leaving directory '/home/spksrc/qoriq-debug-update/spksrc/cross/openssl3'
make: *** [../../mk/spksrc.cross-cc.mk:84: all-supported] Error 2

Reproduction steps

see above

Install Log

see above

Service Log

No response

Other Logs

No response

@th0ma7
Copy link
Contributor Author

th0ma7 commented Jan 28, 2024

Found what the issue is, it's only a matter of invoking make setup from root directory... so all its missing is a warning similar to when invoked through spk/*.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants