package/cifs-utils: add missing python dependencies
PATCH 1/1 package/cifs-utils: add missing python dependencies
Add missing python dependencies which have been forgotten when bumping to version 6.12 in commit b5dede7d1a03ab2b8caa0a8e79b09c8df6c62fe4
Fixes:
- http://autobuild.buildroot.org/results/acdbf7c58ec8ae648f8048bc75650dcdcdca6285
--- package/cifs-utils/Config.in | 7 +++++++ 1 file changed, 7 insertions(+)
package/cifs-utils/Config.in +7 -0
@@ -18,9 +18,16 @@ if BR2_PACKAGE_CIFS_UTILS config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS bool "smbtools" + depends on BR2_USE_WCHAR # python + depends on BR2_TOOLCHAIN_HAS_THREADS # python + depends on !BR2_STATIC_LIBS # python select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime help Install the smb tools smbinfo and smb2-quota (python implementations). +comment "smbtools needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + endif
Signature · 1 line
2.30.2
PATCH 1/1 package/cifs-utils: add missing python dependencies
Fabrice, All,
On 2021-04-03 15:23 +0200, Fabrice Fontaine spake thusly:
Quoted 16 lines
Add missing python dependencies which have been forgotten when bumping to version 6.12 in commit
b5dede7d1a03ab2b8caa0a8e79b09c8df6c62fe4Fixes:
- http://autobuild.buildroot.org/results/acdbf7c58ec8ae648f8048bc75650dcdcdca6285Signed-off-by Fabrice Fontaine <[email protected]>--- package/cifs-utils/Config.in | 7 +++++++ 1 file changed, 7 insertions(+)package/cifs-utils/Config.in +0
-0
package/cifs-utils/Config.in if BR2_PACKAGE_CIFS_UTILS · line 23
Quoted 6 lines
package/cifs-utils/Config.in +3
-0@@ -18,9 +18,16 @@ if BR2_PACKAGE_CIFS_UTILS config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS bool "smbtools" + depends on BR2_USE_WCHAR # python + depends on BR2_TOOLCHAIN_HAS_THREADS # python + depends on !BR2_STATIC_LIBS # python
We select python3, not python, so the added dependencies are because of python3, not python.
Comments fixed accordingly, and patch applied to master, thanks.
Regards,
Yann E. MORIN.
Quoted 17 lines
package/cifs-utils/Config.in +4
-0select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime help Install the smb tools smbinfo and smb2-quota (python implementations). +comment "smbtools needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + endifSignature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/1 package/cifs-utils: add missing python dependencies
Hello Fabrice, Yann,
Quoted 8 lines · Yann E. MORIN
Fabrice, All,
On 2021-04-03 15:23 +0200, Fabrice Fontaine spake thusly:
Quoted 5 lines
Add missing python dependencies which have been forgotten when bumping to version 6.12 in commit
b5dede7d1a03ab2b8caa0a8e79b09c8df6c62fe4Fixes:
- http://autobuild.buildroot.org/results/acdbf7c58ec8ae648f8048bc75650dcdcdca6285
This autobuild failure points to an libffi error...., quick search of the last autobuild mails did not show an an cifs-utils error (or I did not find it), which failure is this commit fixing?
Quoted 21 lines
Quoted 11 lines
Signed-off-by Fabrice Fontaine <[email protected]>--- package/cifs-utils/Config.in | 7 +++++++ 1 file changed, 7 insertions(+)package/cifs-utils/Config.in +0
-0package/cifs-utils/Config.in if BR2_PACKAGE_CIFS_UTILS · line 23
Quoted 6 lines
package/cifs-utils/Config.in +3
-0@@ -18,9 +18,16 @@ if BR2_PACKAGE_CIFS_UTILS config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS bool "smbtools" + depends on BR2_USE_WCHAR # python + depends on BR2_TOOLCHAIN_HAS_THREADS # python + depends on !BR2_STATIC_LIBS # pythonWe select python3, not python, so the added dependencies are because of python3, not python.
Quoted 6 lines
Comments fixed accordingly, and patch applied to master, thanks.
Regards,
Yann E. MORIN.Quoted 1 line
package/cifs-utils/Config.in +0
-0select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime
If this commit is fixing an error (and there is a build time dependency on python) than, this comment 'runtime' is no longer valid...
Regards,
Peter
Quoted 17 lines
Quoted 16 lines
package/cifs-utils/Config.in +4
-1help Install the smb tools smbinfo and smb2-quota (python implementations). +comment "smbtools needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + endif --2.30.2
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 1/1 package/cifs-utils: add missing python dependencies
Hello Peter,
Le lun. 5 avr. 2021 ? 23:08, Peter Seiderer <[email protected]> a ?crit :
Quoted 11 lines
Hello Fabrice, Yann,
Quoted 6 lines · Yann E. MORIN
Fabrice, All,
On 2021-04-03 15:23 +0200, Fabrice Fontaine spake thusly:
Quoted 3 lines
Add missing python dependencies which have been forgotten when bumping to version 6.12 in commit
b5dede7d1a03ab2b8caa0a8e79b09c8df6c62fe4
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Fixes:
- http://autobuild.buildroot.org/results/acdbf7c58ec8ae648f8048bc75650dcdcdca6285This autobuild failure points to an libffi error...., quick search of the last autobuild mails did not show an an cifs-utils error (or I did not find it), which failure is this commit fixing?
The build failure was indeed raised on libffi because we tried to build libffi without threads.
This build failure is raised because cifs-utils selected python3 if python was not selected even if threads were not available. However, as python depends on threads, all python modules (such as python-cffi) assume that threads are available resulting in the above failure on libffi.
Quoted 24 lines
Quoted 24 lines
Quoted 12 lines
Signed-off-by Fabrice Fontaine <[email protected]>--- package/cifs-utils/Config.in | 7 +++++++ 1 file changed, 7 insertions(+)package/cifs-utils/Config.in +0
-0package/cifs-utils/Config.in if BR2_PACKAGE_CIFS_UTILS · line 23
Quoted 6 lines
package/cifs-utils/Config.in +3
-0@@ -18,9 +18,16 @@ if BR2_PACKAGE_CIFS_UTILS config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS bool "smbtools" + depends on BR2_USE_WCHAR # python + depends on BR2_TOOLCHAIN_HAS_THREADS # python + depends on !BR2_STATIC_LIBS # pythonWe select python3, not python, so the added dependencies are because of python3, not python.
Comments fixed accordingly, and patch applied to master, thanks.
Quoted 7 lines
Quoted 4 lines
Regards,
Yann E. MORIN.Quoted 1 line
package/cifs-utils/Config.in +0
-0select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtimeIf this commit is fixing an error (and there is a build time dependency on python) than, this comment 'runtime' is no longer valid...
The comment is still valid, python is a runtime dependency. You could drop this select (and the python dependencies) and cifs-utils will build perfectly fine.
However, you can't select python (or any other options) without checking that their needed dependencies are fulfilled.
Quoted 23 lines
Regards,
PeterQuoted 17 lines
Quoted 16 lines
package/cifs-utils/Config.in +4
-1help Install the smb tools smbinfo and smb2-quota (python implementations). +comment "smbtools needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + endif --2.30.2
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Best Regards,
Fabrice
PATCH 1/1 package/cifs-utils: add missing python dependencies
Hello Fabrice,
Quoted 20 lines · Fabrice Fontaine
Hello Peter,
Le lun. 5 avr. 2021 ? 23:08, Peter Seiderer <[email protected]> a ?crit :
Quoted 11 lines
Hello Fabrice, Yann,
Quoted 6 lines · Yann E. MORIN
Fabrice, All,
On 2021-04-03 15:23 +0200, Fabrice Fontaine spake thusly:
Quoted 3 lines
Add missing python dependencies which have been forgotten when bumping to version 6.12 in commit
b5dede7d1a03ab2b8caa0a8e79b09c8df6c62fe4Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Fixes:
- http://autobuild.buildroot.org/results/acdbf7c58ec8ae648f8048bc75650dcdcdca6285This autobuild failure points to an libffi error...., quick search of the last autobuild mails did not show an an cifs-utils error (or I did not find it), which failure is this commit fixing?
Quoted 7 lines
The build failure was indeed raised on libffi because we tried to build libffi without threads.
This build failure is raised because cifs-utils selected python3 if python was not selected even if threads were not available. However, as python depends on threads, all python modules (such as python-cffi) assume that threads are available resulting in the above failure on libffi.
....o.k. makes sense...
Quoted 29 lines
Quoted 29 lines
Quoted 28 lines
Quoted 12 lines
Signed-off-by Fabrice Fontaine <[email protected]>--- package/cifs-utils/Config.in | 7 +++++++ 1 file changed, 7 insertions(+)package/cifs-utils/Config.in +0
-0package/cifs-utils/Config.in if BR2_PACKAGE_CIFS_UTILS · line 23
Quoted 6 lines
package/cifs-utils/Config.in +3
-0@@ -18,9 +18,16 @@ if BR2_PACKAGE_CIFS_UTILS config BR2_PACKAGE_CIFS_UTILS_SMBTOOLS bool "smbtools" + depends on BR2_USE_WCHAR # python + depends on BR2_TOOLCHAIN_HAS_THREADS # python + depends on !BR2_STATIC_LIBS # pythonWe select python3, not python, so the added dependencies are because of python3, not python.
Comments fixed accordingly, and patch applied to master, thanks.
Regards,
Yann E. MORIN.Quoted 1 line
package/cifs-utils/Config.in +0
-0select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON # runtime
Quoted 7 lines
Quoted 2 lines
If this commit is fixing an error (and there is a build time dependency on python) than, this comment 'runtime' is no longer valid...
The comment is still valid, python is a runtime dependency. You could drop this select (and the python dependencies) and cifs-utils will build perfectly fine.
However, you can't select python (or any other options) without checking that their needed dependencies are fulfilled.
Yup, got it ;-), thanks for insight (and for fixing it)!
Regards,
Peter
Quoted 30 lines
Quoted 23 lines
Regards,
PeterQuoted 17 lines
Quoted 16 lines
package/cifs-utils/Config.in +4
-1help Install the smb tools smbinfo and smb2-quota (python implementations). +comment "smbtools needs a toolchain w/ wchar, threads, dynamic library" + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS + endif --2.30.2
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildrootBest Regards,
Fabrice
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot