On Sun, 2023-07-23 at 14:03 +0200, Alexander Kanavin wrote:
> On Fri, 21 Jul 2023 at 19:11, Oleksandr Hnatiuk via
> lists.yoctoproject.org
> wrote:
> >
> > On Mon, Jun 19, 2023 at 08:27 PM, Alexander Kanavin wrote:
> >
> > On closer look, it should even say:
> > export MAGIC="\$OECORE_NATIVE_SYS
On Fri, 21 Jul 2023 at 19:11, Oleksandr Hnatiuk via
lists.yoctoproject.org
wrote:
>
> On Mon, Jun 19, 2023 at 08:27 PM, Alexander Kanavin wrote:
>
> On closer look, it should even say:
> export MAGIC="\$OECORE_NATIVE_SYSROOT/usr/share/misc/magic.mgc"
>
> Hi Alexander,
>
> We have submitted the pat
On Mon, Jun 19, 2023 at 08:27 PM, Alexander Kanavin wrote:
>
> On closer look, it should even say:
> export MAGIC="\$OECORE_NATIVE_SYSROOT/usr/share/misc/magic.mgc"
Hi Alexander,
We have submitted the patch[1] which fixes the build for our case but doesn't
change the contents of file.sh which
Sdk could be build on different host platforms with slightly different OS
versions.
Some binaries could be missing, some have different behavior from version to
version.
Hence we prefer to share our own tool set, i.e. buildtools tarball to keep
environment consistent.
Another moment that differe
It's fine to have both, you just need to write a good commit message
explaining the issue. Also you need to explain why you need file
binaries from oe-core in the sdk/tarball, instead of relying on file
the host system.
Alex
On Tue, 4 Jul 2023 at 13:41, Oleksiy Obitotskyy via
lists.yoctoproject.o
Hi Alexander.
We already use temporary fix, like:
>
>
> diff --git a/meta/recipes-devtools/file/file_5.44.bb
> b/meta/recipes-devtools/file/file_5.44.bb
> index 3090d346ed..3a23e7721d 100644
> --- a/meta/recipes-devtools/file/file_5.44.bb
> +++ b/meta/recipes-devtools/file/file_5.44.bb
> @@ -45,
.
>
> The same error is repeated for each invocation of `file` in
> do_populate_sysroot
>
> Regards,
> Oleksandr
>
>
> From: Alexander Kanavin
> Sent: Tuesday, June 27, 2023 7:46 PM
> To: Oleksandr Hnatiuk -X (ohnatiuk - GLOBALLOGIC INC at Cisco)
>
> Cc:
ilt']'
returned non-zero exit status 1.
The same error is repeated for each invocation of `file` in do_populate_sysroot
Regards,
Oleksandr
From: Alexander Kanavin
Sent: Tuesday, June 27, 2023 7:46 PM
To: Oleksandr Hnatiuk -X (ohnatiuk - GLOBALLOGIC INC at Cisco)
Cc: yocto@list
Before we think of a solution, can you provide steps or a test case where
the issue can be seen? It’s in one of the most important tasks, so I’d like
to know why it hasn’t been a problem and what is the scenario where it is.
Alex
On Tue 27. Jun 2023 at 18.09, Oleksandr Hnatiuk via lists.yoctoproj
Hi. After debugging this, I found there is another issue apart from the way
MAGIC is set in the recipe.
The do_populate_sysroot task doesn't use the value of MAGIC variable that is
available in tasks that build the code.
`file -b` is invoked from is_elf function in meta/lib/oe/package.py via
`s
1]=a7344295f5f77b886e3bef6cab8e21ea6e8ad08b, for GNU/Linux 4.18.0,
stripped
Regards,
Oleksiy
From: Alexander Kanavin
Sent: Monday, June 19, 2023 19:27
To: alex.kana...@gmail.com
Cc: Oleksiy Obitotskyi -X (oobitots - GLOBALLOGIC INC at Cisco)
; yocto@lists.yoctoproject.or
On closer look, it should even say:
export MAGIC="\$OECORE_NATIVE_SYSROOT/usr/share/misc/magic.mgc"
If you can test this and confirm that it works, a patch would be welcome.
Alex
On Mon, 19 Jun 2023 at 18:55, Alexander Kanavin via
lists.yoctoproject.org
wrote:
>
> I think there is a mistake in
I think there is a mistake in the file recipe (and rpm has the problem too):
cat <<- EOF > ${D}${SDKPATHNATIVE}/environment-setup.d/file.sh
export MAGIC="$OECORE_NATIVE_SYSROOT${datadir}/misc/magic.mgc"
EOF
$OECORE_NATIVE_SYSROOT should be prefixed with a \ to prev
Hi,
I'm working on master oe core master branch and run into problem with file for
nativesdk (buildtools tarball).
File started to use MAGIC variable initialized from
.../environment-setup.d/file.sh, like
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-xesdk-linux/usr/share/misc/magic.mgc
14 matches
Mail list logo