Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

references to pull from anongit.freedesktop.org fail intermittently #40

Closed
bvacaliuc opened this issue Nov 11, 2020 · 3 comments
Closed

Comments

@bvacaliuc
Copy link
Contributor

Observed this error when building on a private cloud instance:
log.do_configure.18768.txt

This issue had a workaround, but when applied, produced this:
log.do_configure.2035.txt

Which this issue had a more complete and modern solution that I implemented in https://github.com/uvdl/yocto-ornl/tree/hotfix/cades-build

During the build, I scanned the .bb* files in ../sources for any remaining anongit.freedesktop.org references as follows:

cades@linuxsystembuilder:~/ornl-dart-yocto$ find sources -name "*.bb*" -exec grep anongit {} /dev/null \;
sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:SRC_URI = "git://anongit.freedesktop.org/pkg-config \
sources/poky/meta/recipes-multimedia/gstreamer/gst-examples_git.bb:SRC_URI = "git://anongit.freedesktop.org/gstreamer/gst-examples \
sources/poky/meta/recipes-graphics/xorg-proto/presentproto_git.bb:SRC_URI = "git://anongit.freedesktop.org/git/xorg/proto/presentproto"
sources/poky/meta/recipes-graphics/xorg-proto/calibrateproto_git.bb:SRC_URI = "git://anongit.freedesktop.org/git/xorg/proto/calibrateproto \
sources/poky/meta/recipes-graphics/xorg-lib/libxcalibrate_git.bb:SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libXCalibrate \
sources/poky/meta/recipes-graphics/kmscube/kmscube_git.bb:SRC_URI = "git://anongit.freedesktop.org/mesa/kmscube;branch=master;protocol=git \
sources/poky/meta/recipes-graphics/piglit/piglit_git.bb:SRC_URI = "git://anongit.freedesktop.org/piglit \
sources/poky/meta/recipes-graphics/xorg-driver/xf86-video-intel_git.bb:SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-intel \
sources/meta-openembedded/meta-oe/recipes-test/evtest/evtest_git.bb:SRC_URI = "git://anongit.freedesktop.org/evtest;protocol=git"
sources/meta-openembedded/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb:SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"

Anyway, the gst-interpipe recipe fails the same way. The reason is that gst-interpipe has a git submodule reference to the anongit.freedesktop.org that should be changed to gitlab.freedesktop.org as this commit describes.

@bvacaliuc
Copy link
Contributor Author

not so fast... I just tried it as a test, and gitlab.freedesktop.org requires authentication. So.... maybe not?

@bvacaliuc
Copy link
Contributor Author

However, the github mirror described in this page seems to work ok, even on an AWS instance:

$ git clone git://anongit.freedesktop.org/gstreamer/gst-examples.git
Cloning into 'gst-examples'...
^C
$ git clone git://gitlab.freedesktop.org/gstreamer/gst-examples.git
Cloning into 'gst-examples'...
^C
$ git clone git://github.com/freedesktop/gstreamer-gst-examples.git
Cloning into 'gstreamer-gst-examples'...
remote: Enumerating objects: 1291, done.
remote: Counting objects: 100% (1291/1291), done.
remote: Compressing objects: 100% (501/501), done.
remote: Total 2972 (delta 626), reused 1237 (delta 584), pack-reused 1681
Receiving objects: 100% (2972/2972), 1.07 MiB | 0 bytes/s, done.
Resolving deltas: 100% (1218/1218), done.
Checking connectivity... done.

Observe that the URLs are different. It would seem as if we need to patch these anongit.freedesktop.org references if we are going to get reliable builds, right?

@waddle77
Copy link
Contributor

Closing due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants