Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#60425 - [libnotify] cannot download source

Attached to Project: Arch Linux
Opened by Erich Eckner (deepthought) - Tuesday, 16 October 2018, 09:37 GMT
Last edited by Jan de Groot (JGC) - Thursday, 30 May 2019, 20:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

==> Making package: libnotify 0.7.7-1 (Di 16 Okt 2018 11:36:13 CEST)
==> Retrieving sources...
-> Cloning libnotify git repo...
Cloning into bare repository '/usr/src/archlinux/packages/libnotify/repos/extra-x86_64/libnotify'...
fatal: unable to connect to git.gnome.org:
git.gnome.org[0: 209.132.180.180]: errno=No route to host
git.gnome.org[1: 209.132.180.168]: errno=No route to host

==> ERROR: Failure while downloading libnotify git repo
Aborting...

Additional info:
* package version(s)
libnotify 0.7.7-1 (git revision 78fee8c3534e7512e5f13c77225330523ae9b444)

Steps to reproduce:
> git checkout 78fee8c3534e7512e5f13c77225330523ae9b444
> cd libnotify/repos/extra-x86_64
> makepkg --verifysource
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 30 May 2019, 20:52 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.7.8-1
Comment by loqs (loqs) - Tuesday, 16 October 2018, 11:07 GMT
git diff
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 2f72b99..0018f66 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -10,7 +10,7 @@ license=(LGPL)
depends=(gdk-pixbuf2)
makedepends=(gtk3 gobject-introspection git gnome-common)
_commit=c954cabaad9e224c0c6129032d824012d332c11b # tags/0.7.7^0
-source=("git://git.gnome.org/libnotify#commit=$_commit")
+source=("git+https://gitlab.gnome.org/GNOME/libnotify#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
Comment by Erich Eckner (deepthought) - Wednesday, 17 October 2018, 07:09 GMT
I just noticed, there are a lot of packages pointing to git.gnome.org with their source=()
Comment by loqs (loqs) - Wednesday, 17 October 2018, 23:34 GMT
_commit=c0947f61051866efd256c6e4573c01fb944406b2 # master
source=("git+https://git.gnome.org/browse/gcab#commit=$_commit")
Cloning into bare repository '/tmp/packages/trunk/gcab'...
warning: redirecting to https://gitlab.gnome.org/GNOME/gcab.git/

The redirection seems to only fail for the git protocol but succeeds for git+https

Loading...