Probleme beim bauen der OpenEmbedded Umgebung

9 views
Skip to first unread message

Ingmar Eveslage

unread,
Jan 23, 2012, 4:38:11 AM1/23/12
to hidav-de...@dresearch-fe.de
Hallo,

leider bin ich wieder auf ein Problem gestoßen: Irgendwie lässt sich systemd nicht aus dem git laden. Anbei noch das log file. Ich komme über diese Stelle einfach nicht hinaus.

Danke für alle Hinweise zur Behebung des Problems.

Gruß Ingmar

log.do_fetch.7905

Thilo Fromm

unread,
Jan 23, 2012, 5:03:12 AM1/23/12
to hidav-de...@dresearch-fe.de
Hello Ingmar,

leider bin ich wieder auf ein Problem gestoßen: Irgendwie lässt sich systemd nicht aus dem git laden. Anbei noch das log file. Ich komme über diese Stelle einfach nicht hinaus.

Thanks for your error report and your help with improving HidaV. Let's do this in English since we're on the official HidaV FOSS project mailing list ;) 

Okay, so your OpenEmbedded build fails with systemd. Let's take a look at the output.

[...] 
WARNING: Failed to fetch URL git://anongit.freedesktop.org/systemd/systemd;protocol=git
ERROR: Fetcher failure: Fetch command export HOME="/vol/home-vol1/simulant/eveslage"; export GIT_CONFIG="/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/etc/gitconfig"; export PATH="/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/perl-native:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/hidav/usr/bin/crossscripts:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/sbin:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/sbin:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux//bin:/export_old/sosewin/HidaV/openembedded-core/scripts:/export_old/sosewin/HidaV/bitbake/bin/:/bin:/usr/bin:/usr/local/bin:/opt/kde2/bin:/opt/kde3/bin:/opt/gnome/bin:/opt/gnome2/bin:/usr/local/X11/bin:/usr/X11/bin:/vol/home-vol1/simulant/eveslage/bin:/usr/local/java/bin:/opt/pragmadev/rtds/bin:/export_old/sosewin/HidaV/openembedded-core/scripts"; git fetch -f --prune git://anongit.freedesktop.org/systemd/systemd refs/*:refs/* failed with exit code 128, output:
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
[...]

The last line seems to be the root cause; git reports that it tried to fetch the branch which it already uses, i.e. the working branch. Stack overflow has a  general discussion (i.e. not OE specific) of the problem: <http://stackoverflow.com/questions/2236743/git-refusing-to-fetch-into-current-branch>. 

This is most probably because OpenEmbedded / bitbake is confused about the checkout status of systemd, leading to erroneous handling of the GIT back-end.

Please try cleaning up everything related to the systemd package by issuing

bitbake -c cleanall systemd

and then rebuild. This should solve the GIT issue.
 
Regards,
Thilo

--
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Architect
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228   mailto:fr...@dresearch-fe.de
Fax: +49 (30) 515 932 77    http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB 130120 B
Ust.-IDNr. DE273952058
Geschäftsführer: Dr. M. Weber, W. Mögle

Ingmar

unread,
Jan 23, 2012, 7:44:09 AM1/23/12
to hidav-devel-list
Thanks,

this helped. NOw i can go on until the next problem.

Ingmar

On 23 Jan., 11:03, Thilo Fromm <fr...@dresearch-fe.de> wrote:
> Hello Ingmar,
>
> leider bin ich wieder auf ein Problem gestoßen: Irgendwie lässt sich
>
> > systemd nicht aus dem git laden. Anbei noch das log file. Ich komme über
> > diese Stelle einfach nicht hinaus.
>
> Thanks for your error report and your help with improving HidaV. Let's do
> this in English since we're on the official HidaV FOSS project mailing list
> ;)
>
> Okay, so your OpenEmbedded build fails with systemd. Let's take a look at
> the output.
>
> [...]
>
> > WARNING: Failed to fetch URL git://
> >anongit.freedesktop.org/systemd/systemd;protocol=git
> > ERROR: Fetcher failure: Fetch command export
> > HOME="/vol/home-vol1/simulant/eveslage"; export
> > GIT_CONFIG="/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linu x/usr/etc/gitconfig";
> > export
> > PATH="/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/ bin/perl-native:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/hidav/usr/bin/crossscripts:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/sbin:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/usr/bin:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux/sbin:/export_old/sosewin/HidaV/build/tmp-eglibc/sysroots/x86_64-linux//bin:/export_old/sosewin/HidaV/openembedded-core/scripts:/export_old/sosewin/HidaV/bitbake/bin/:/bin:/usr/bin:/usr/local/bin:/opt/kde2/bin:/opt/kde3/bin:/opt/gnome/bin:/opt/gnome2/bin:/usr/local/X11/bin:/usr/X11/bin:/vol/home-vol1/simulant/eveslage/bin:/usr/local/java/bin:/opt/pragmadev/rtds/bin:/export_old/sosewin/HidaV/openembedded-core/scripts";
> > git fetch -f --prunegit://anongit.freedesktop.org/systemd/systemdrefs/*:refs/*failed with exit code 128, output:
> > fatal: Refusing to fetch into current branch refs/heads/master of non-bare
> > repository
>
> [...]
>
> The last line seems to be the root cause; git reports that it tried to
> fetch the branch which it already uses, i.e. the working branch. Stack
> overflow has a  general discussion (i.e. not OE specific) of the problem: <http://stackoverflow.com/questions/2236743/git-refusing-to-fetch-into...
Reply all
Reply to author
Forward
0 new messages