All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Arno Steffens" <star@gmx.li>
To: "Bas Mevissen" <abuse@basmevissen.nl>
Cc: poky@yoctoproject.org
Subject: Re: Yocto 2.5 and problem with pseudo-native-1.9.0
Date: Thu, 17 May 2018 08:58:16 +0200	[thread overview]
Message-ID: <trinity-16addffd-a4be-4adb-8d17-45c6ef608732-1526540296031@3c-app-gmx-bs28> (raw)
In-Reply-To: <bc174232c043d0844f2a95fc32ca2f9f@basmevissen.nl>



> Gesendet: Mittwoch, 16. Mai 2018 um 16:41 Uhr
> Von: "Bas Mevissen" <abuse@basmevissen.nl>
> An: "Arno Steffens" <star@gmx.li>
> Cc: poky@yoctoproject.org, "Richard Purdie" <richard.purdie@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


  reply	other threads:[~2018-05-17  6:58 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15  9:05 Yocto 2.5 and problem with pseudo-native-1.9.0 Arno Steffens
2018-05-15 10:11 ` Peter Kjellerstedt
2018-05-15 10:43   ` Arno Steffens
2018-05-15 10:50     ` Bas Mevissen
2018-05-15 11:17       ` Arno Steffens
2018-05-15 11:24         ` Richard Purdie
2018-05-15 12:30           ` Arno Steffens
2018-05-15 14:14             ` Bas Mevissen
2018-05-16  9:02               ` Arno Steffens
2018-05-16  9:12                 ` Bas Mevissen
2018-05-16 10:22                   ` Arno Steffens
2018-05-16 14:05                     ` Arno Steffens
2018-05-16 14:41                       ` Bas Mevissen
2018-05-17  6:58                         ` Arno Steffens [this message]
2018-05-17  7:33                           ` Bas Mevissen
2018-05-17 10:35                             ` Arno Steffens
2018-05-17 10:32                               ` Alexander Kanavin
2018-05-17 10:49                               ` Bas Mevissen
     [not found]                       ` <ba4fc516-f02d-683e-2fb7-0a8441cae5cf@linuxfoundation.org>
2018-05-16 21:43                         ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-16addffd-a4be-4adb-8d17-45c6ef608732-1526540296031@3c-app-gmx-bs28 \
    --to=star@gmx.li \
    --cc=abuse@basmevissen.nl \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.