Thanks, then all three recipes should add libxcrypt to DEPENDS (not
libxcrypt-native). For native variants it will be adjusted
automatically.

Alex

On Sun, 28 May 2023 at 16:53, Markus Volk <f_...@t-online.de> wrote:
>
> Am So, 28. Mai 2023 um 16:23:36 +0200 schrieb Alexander Kanavin 
> <alex.kana...@gmail.com>:
>
> But can you show the actual error please?
>
>
> python3-native for example fails like this:
> ERROR: python3-native-3.11.2-r0 do_install: 
> ExecutionError('/home/flk/poky/build/tmp/work/x86_64-linux/python3-native/3.11.2-r0/temp/run.do_install.4082972',
>  1, None, None)
> ERROR: Logfile of failure stored in: 
> /home/flk/poky/build/tmp/work/x86_64-linux/python3-native/3.11.2-r0/temp/log.do_install.4082972
> Log data follows:
> | DEBUG: Executing python function autotools_aclocals
> | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 
> 'bit-64', 'x86_64-linux', 'common']
> | DEBUG: Python function autotools_aclocals finished
> | DEBUG: Executing shell function do_install
> | The necessary bits to build these optional modules were not found:
> | _crypt
> |
> | WARNING: exit code 1 from a shell command.
> ERROR: Task 
> (virtual:native:/home/flk/poky/meta/recipes-devtools/python/python3_3.11.2.bb:do_install)
>  failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1089 tasks of which 1078 didn't need to be 
> rerun and 1 failed.
>
> Summary: 1 task failed:
>   
> virtual:native:/home/flk/poky/meta/recipes-devtools/python/python3_3.11.2.bb:do_install
> Summary: There was 1 ERROR message, returning a non-zero exit code.
>
>
> ruby-native fails like this:
>
> compiling ../ruby-3.2.2/vm_trace.c
> | In file included from ../ruby-3.2.2/include/ruby/ruby.h:42,
> |                  from ../ruby-3.2.2/debug_counter.h:362,
> |                  from ../ruby-3.2.2/string.c:24:
> | ../ruby-3.2.2/string.c: In function ‘rb_str_crypt’:
> | ../ruby-3.2.2/string.c:10169:35: error: invalid application of ‘sizeof’ to 
> incomplete type ‘struct crypt_data’
> | 10169 |     data = ALLOCV(databuf, sizeof(struct crypt_data));
> |       |                                   ^~~~~~
> | ../ruby-3.2.2/include/ruby/internal/memory.h:299:7: note: in definition of 
> macro ‘RB_ALLOCV’
> |   299 |     ((n) < RUBY_ALLOCV_LIMIT ? \
> |       |       ^
> | ../ruby-3.2.2/string.c:10169:12: note: in expansion of macro ‘ALLOCV’
> | 10169 |     data = ALLOCV(databuf, sizeof(struct crypt_data));
> |       |            ^~~~~~
> | compiling ../ruby-3.2.2/missing/setproctitle.c
> | compiling ../ruby-3.2.2/missing/strlcpy.c
> | compiling ../ruby-3.2.2/missing/strlcat.c
> | In file included from /usr/include/stdlib.h:574,
> |                  from ../ruby-3.2.2/include/ruby/defines.h:27,
> |                  from ../ruby-3.2.2/include/ruby/ruby.h:25,
> |                  from ../ruby-3.2.2/debug_counter.h:362,
> |                  from ../ruby-3.2.2/string.c:24:
> | ../ruby-3.2.2/string.c:10169:35: error: invalid application of ‘sizeof’ to 
> incomplete type ‘struct crypt_data’
> | 10169 |     data = ALLOCV(databuf, sizeof(struct crypt_data));
> |       |                                   ^~~~~~
> | ../ruby-3.2.2/include/ruby/internal/memory.h:398:20: note: in expansion of 
> macro ‘RB_ALLOCV’
> |   398 | #define ALLOCV     RB_ALLOCV     /**< @old{RB_ALLOCV} */
> |       |                    ^~~~~~~~~
> | ../ruby-3.2.2/string.c:10169:12: note: in expansion of macro ‘ALLOCV’
> | 10169 |     data = ALLOCV(databuf, sizeof(struct crypt_data));
> |       |            ^~~~~~
> | In file included from ../ruby-3.2.2/include/ruby/ruby.h:42,
> |                  from ../ruby-3.2.2/debug_counter.h:362,
> |                  from ../ruby-3.2.2/string.c:24:
> | ../ruby-3.2.2/string.c:10169:35: error: invalid application of ‘sizeof’ to 
> incomplete type ‘struct crypt_data’
> | 10169 |     data = ALLOCV(databuf, sizeof(struct crypt_data));
> |       |                                   ^~~~~~
> | ../ruby-3.2.2/include/ruby/internal/memory.h:301:33: note: in definition of 
> macro ‘RB_ALLOCV’
> |   301 |      rb_alloc_tmp_buffer(&(v), (n)))
> |       |                                 ^
> | ../ruby-3.2.2/string.c:10169:12: note: in expansion of macro ‘ALLOCV’
> | 10169 |     data = ALLOCV(databuf, sizeof(struct crypt_data));
> |       |            ^~~~~~
> | ../ruby-3.2.2/string.c:10173:11: warning: implicit declaration of function 
> ‘crypt_r’; did you mean ‘crypt’? [-Wimplicit-function-declaration]
> | 10173 |     res = crypt_r(s, saltp, data);
> |       |           ^~~~~~~
> |       |           crypt
> | ../ruby-3.2.2/string.c:10173:9: warning: assignment to ‘char *’ from ‘int’ 
> makes pointer from integer without a cast [-Wint-conversion]
> | 10173 |     res = crypt_r(s, saltp, data);
> |       |         ^
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#181832): 
https://lists.openembedded.org/g/openembedded-core/message/181832
Mute This Topic: https://lists.openembedded.org/mt/99167320/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to