[poky] Yocto 2.5 and problem with pseudo-native-1.9.0
Arno Steffens
star at gmx.li
Wed May 16 23:58:16 PDT 2018
> Gesendet: Mittwoch, 16. Mai 2018 um 16:41 Uhr
> Von: "Bas Mevissen" <abuse at basmevissen.nl>
> An: "Arno Steffens" <star at gmx.li>
> Cc: poky at yoctoproject.org, "Richard Purdie" <richard.purdie at linuxfoundation.org>
> Betreff: Re: Aw: Re: [poky] Yocto 2.5 and problem with pseudo-native-1.9.0
>
> On 2018-05-16 16:05, Arno Steffens wrote:
> > Checking the log file it seem that a file is missing in Yocto project:
> >
> > https://git.yoctoproject.org/pseudo/
> >
> > And the file that is downloaded ...
> > http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.pseudo.tar.gz
> > .. it has not .git folder and it has been compressed (date in file is
> > July 2016)
> >
> > That looks strange to me.
> > Can you try to force to use https instead of git?
> >
> > A snippet from the attached log.
> >
> > DEBUG: Fetching
> > http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.pseudo.tar.gz
> > using command '/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp
> > --no-check-certificate -P /home/user/y/yocto25/build/downloads
> > 'http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.pseudo.tar.gz''
> > DEBUG: Fetcher accessed the network with the command /usr/bin/env wget
> > -t 2 -T 30 -nv --passive-ftp --no-check-certificate -P
> > /home/user/y/yocto25/build/downloads
> > 'http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.pseudo.tar.gz'
> > DEBUG: Running export PSEUDO_DISABLED=1; export
> > DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-qfg19NLhKL,guid=a96bba72ead4ff8a436d20d65afbba71";
> > export SSH_AGENT_PID="1853"; export
> > SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export
> > PATH="/home/user/y/yocto25/poky/scripts/native-intercept:/home/user/y/yocto25/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/user/y/yocto25/poky/scripts:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/sbin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/sbin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/bin:/home/user/y/yocto25/poky/bitbake/bin:/home/user/y/yocto25/build/tmp/hosttools";
> > export HOME="/home/user"; /usr/bin/env wget -t 2 -T 30 -nv
> > --passive-ftp --no-check-certificate -P
> > /home/user/y/yocto25/build/downloads
> > 'http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.pseudo.tar.gz'
> > --progress=dot -v
> > --2018-05-16 13:45:12--
> > http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.pseudo.tar.gz
> > Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)...
> > 198.145.29.63
> > Connecting to downloads.yoctoproject.org
> > (downloads.yoctoproject.org)|198.145.29.63|:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 679041 (663K) [application/octet-stream]
> > Saving to:
> > ‘/home/user/y/yocto25/build/downloads/git2_git.yoctoproject.org.pseudo.tar.gz’
> >
> > ...
> >
> > DEBUG: Running export PSEUDO_DISABLED=1; export
> > DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-qfg19NLhKL,guid=a96bba72ead4ff8a436d20d65afbba71";
> > export SSH_AGENT_PID="1853"; export
> > SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export
> > PATH="/home/user/y/yocto25/poky/scripts/native-intercept:/home/user/y/yocto25/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/user/y/yocto25/poky/scripts:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/sbin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/sbin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/bin:/home/user/y/yocto25/poky/bitbake/bin:/home/user/y/yocto25/build/tmp/hosttools";
> > export HOME="/home/user"; LANG=C git -c core.fsyncobjectfiles=0 fetch
> > -f --prune --progress git://git.yoctoproject.org/pseudo refs/*:refs/*
> > fatal: repository 'https://git.yoctoproject.org/pseudo/' not found
> > DEBUG: Mirror fetch failure for url
> > http://downloads.yoctoproject.org/mirror/sources/git2_git.yoctoproject.org.pseudo.tar.gz
> > (original url: git://git.yoctoproject.org/pseudo)
> > DEBUG: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export
> > DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-qfg19NLhKL,guid=a96bba72ead4ff8a436d20d65afbba71";
> > export SSH_AGENT_PID="1853"; export
> > SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export
> > PATH="/home/user/y/yocto25/poky/scripts/native-intercept:/home/user/y/yocto25/build/tmp/sysroots-uninative/x86_64-linux/usr/bin:/home/user/y/yocto25/poky/scripts:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin/x86_64-linux:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/sbin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/usr/bin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/sbin:/home/user/y/yocto25/build/tmp/work/x86_64-linux/pseudo-native/1.9.0+gitAUTOINC+fddbe854c9-r0/recipe-sysroot-native/bin:/home/user/y/yocto25/poky/bitbake/bin:/home/user/y/yocto25/build/tmp/hosttools";
> > export HOME="/home/user"; LANG=C git -c core.fsyncobjectfiles=0 fetch
> > -f --prune --progress git://git.yoctoproject.org/pseudo refs/*:refs/*
> > failed with exit code 128, output:
> > fatal: repository 'https://git.yoctoproject.org/pseudo/' not found
> >
> > and this is repeated a few times ...
>
> I think I know what went wrong. See below.
>
> Changed the bb file to force https:
>
> diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb
> b/meta/recipes-devtools/pseudo/pseudo_git.bb
> index 9103d49..15c4d32 100644
> --- a/meta/recipes-devtools/pseudo/pseudo_git.bb
> +++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
> @@ -1,6 +1,6 @@
> require pseudo.inc
>
> -SRC_URI = "git://git.yoctoproject.org/pseudo \
> +SRC_URI = "git://git.yoctoproject.org/git/pseudo;protocol=https \
> file://0001-configure-Prune-PIE-flags.patch \
> file://fallback-passwd \
> file://fallback-group \
>
> *notice the extra "git/" in the URL for a git checkout over https*
>
> Removed the complete "build" dir and ran the oe-init-build-env again to
> make sure everything gets downloaded again.
> Then started bitbake pseudo-native.
>
> That worked for me and really does a git checkout of pseudo using https
> protocol instead of git:
>
> $ cat git2/git.yoctoproject.org.git.pseudo/config
> [core]
> repositoryformatversion = 0
> filemode = true
> bare = true
> [remote "origin"]
> url = https://git.yoctoproject.org/git/pseudo
> fetch = +refs/*:refs/*
> mirror = true
>
>
> Hope this solves your problem. At least for this package...
>
> Regards,
>
> Bas.
>
>
Thanks Bas,
indeed, that finally solves the issue - great! Thank you so much!
Look what will happen next.
Not sure I understand Richards explanation, but if there are more problems like that - can/shall I report it here again?
Best regards
Arno
More information about the poky
mailing list