You are not logged in.

#1 2015-09-12 16:57:37

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

[Solved] Having trouble pushing a new package to the AUR

Hello all. I'm trying to carry over an abandoned package to AUR4 but unfortunately I'm having some issues when trying to push the first commit.

The PKGBUILD and .SRCINFO are as follows:

# Maintainer: Charles Bos <charlesbos1 AT gmail>
# Contributor: kozec <kozec at kozec dot com>
# Contributor: Pantelis Panayiotou <p.panayiotou@gmail.com>

pkgname=fusion-icon0.9
pkgver=0.2
pkgrel=2
pkgdesc="Simple tray icon for Compiz 0.9 and GTK3"
arch=('any')
url="https://github.com/kozec/fusion-icon-gtk3"
license=('GPL')
provides=('fusion-icon=0.2')
conflicts=('fusion-icon')
depends=('python2' 'compiz>=0.9' 'python2-gobject' 'gtk3' 'hicolor-icon-theme' 'xorg-utils' 'mesa-demos')
install=fusion-icon.install
source=("https://github.com/kozec/fusion-icon-gtk3/archive/v${pkgver}.tar.gz")
sha256sums=('709065e18d0bfa992c9c6124a64cd24e7ec2113d867c0eb4d44adfae2b7c40b8')

package() {
  cd $srcdir/fusion-icon-gtk3-${pkgver}
  python2 setup.py install --prefix=/usr --root=${pkgdir}
}
pkgbase = fusion-icon0.9
	pkgdesc = Simple tray icon for Compiz 0.9 and GTK3
	pkgver = 0.2
	pkgrel = 2
	url = https://github.com/kozec/fusion-icon-gtk3
	install = fusion-icon.install
	arch = any
	license = GPL
	depends = python2
	depends = compiz>=0.9
	depends = python2-gobject
	depends = gtk3
	depends = hicolor-icon-theme
	depends = xorg-utils
	depends = mesa-demos
	provides = fusion-icon=0.2
	conflicts = fusion-icon
	source = https://github.com/kozec/fusion-icon-gtk3/archive/v0.2.tar.gz
	sha256sums = 709065e18d0bfa992c9c6124a64cd24e7ec2113d867c0eb4d44adfae2b7c40b8

pkgname = fusion-icon0.9

I cloned the new repo with the following:

git clone ssh+git://aur@aur.archlinux.org/fusion-icon0.9.git

I then added the files and created the commit but when pushing with git push origin master I get the following output:

git-receive-pack: permission denied: Chazza
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I'm a bit stumped by this. My SSH key has correctly added to the AUR and I'm able to push changes to my other packages. I even rescued another package in this very same fashion. Does anybody else know what's going on?

Last edited by Chazza (2015-09-12 20:18:27)

Offline

#2 2015-09-12 18:46:58

Webbeh
Member
Registered: 2012-07-08
Posts: 49

Re: [Solved] Having trouble pushing a new package to the AUR

Did you enter your SSH public key in your account preferences ?

Last edited by Webbeh (2015-09-12 18:47:26)

Offline

#3 2015-09-12 18:50:18

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [Solved] Having trouble pushing a new package to the AUR

Yes. And as I mentioned, pushing changes for my other packages works fine. But for this particular package, I cannot push the initial commit even though it's not in the AUR.

Offline

#4 2015-09-12 19:06:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: [Solved] Having trouble pushing a new package to the AUR

It is in the AUR - the web interface indicates that you (or someone with the same user name) initially submitted it 3 days ago.  Are you trying to update that existing package?

EDIT: oops, sorry, that is fusion-icon, not fusion-icon0.9.  Nevermind my noise.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2015-09-12 19:10:04

Webbeh
Member
Registered: 2012-07-08
Posts: 49

Re: [Solved] Having trouble pushing a new package to the AUR

Actually, I don't see it in the AUR, I see version 1.0, not 0.9.

Could it be a naming issue, because of the dot in the "fusion-icon0.9" ? Could you try uploading it with another name ?

Offline

#6 2015-09-12 19:10:05

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [Solved] Having trouble pushing a new package to the AUR

I didn't submit it three days ago, I didn't submit it at all. I was under the impression that it was not in the AUR. Does https://aur.archlinux.org/packages/fusion-icon0.9/ not give you a 404 error?

Edit: Sorry folks. I should have explained - there are different (incompatible) versions of fusion-icon. I'm trying to submit the one for Compiz 0.9.
Edit2: I don't think it's a naming issue. I didn't have problems with emerald0.9.

Last edited by Chazza (2015-09-12 19:13:34)

Offline

#7 2015-09-12 19:17:43

Webbeh
Member
Registered: 2012-07-08
Posts: 49

Re: [Solved] Having trouble pushing a new package to the AUR

Is it possible that the .git folder was overridden by another content ?

You could try re-cloning the AUR repo in a separate folder, and then move its .git folder inside your package's one.

Last edited by Webbeh (2015-09-12 19:18:12)

Offline

#8 2015-09-12 19:22:07

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [Solved] Having trouble pushing a new package to the AUR

I gave this a try but unfortunately I got the same error as stated in the original post.

Last edited by Chazza (2015-09-12 19:22:19)

Offline

#9 2015-09-12 19:26:09

Webbeh
Member
Registered: 2012-07-08
Posts: 49

Re: [Solved] Having trouble pushing a new package to the AUR

What's the output of "git remote -v" inside that package ?

Offline

#10 2015-09-12 19:28:50

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [Solved] Having trouble pushing a new package to the AUR

origin	ssh+git://aur@aur.archlinux.org/fusion-icon0.9.git (fetch)
origin	ssh+git://aur@aur.archlinux.org/fusion-icon0.9.git (push)

Offline

#11 2015-09-12 19:32:05

Webbeh
Member
Registered: 2012-07-08
Posts: 49

Re: [Solved] Having trouble pushing a new package to the AUR

Double check that your SSH key has not been altered (by trying to push contents to another package, for example). Also check that your account isn't set to "inactive", and that your username, email, and git's username+email are unchanged.

If it's still not working, then I have no clue what's happening.

Last edited by Webbeh (2015-09-12 19:33:40)

Offline

#12 2015-09-12 19:38:05

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [Solved] Having trouble pushing a new package to the AUR

I just bumped the pkgrel successfully on one of my packages, I'm not inactive and my username and email are unchanged. It looks like something weird is happening here. Thanks a lot for your help anyhow.

Last edited by Chazza (2015-09-12 19:39:31)

Offline

#13 2015-09-12 20:15:04

progandy
Member
Registered: 2012-05-17
Posts: 5,266

Re: [Solved] Having trouble pushing a new package to the AUR

Somehow a pkgbase without a package exists. It belongs to SanskritFritz, so ask him or a TU to orphan it.
https://aur.archlinux.org/pkgbase/fusion-icon0.9/


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#14 2015-09-12 20:18:08

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [Solved] Having trouble pushing a new package to the AUR

Thanks a lot progandy. Will do. Marking as solved.

Offline

#15 2015-09-12 20:37:06

progandy
Member
Registered: 2012-05-17
Posts: 5,266

Re: [Solved] Having trouble pushing a new package to the AUR

Chazza wrote:

Thanks a lot progandy. Will do. Marking as solved.

I added a bug report, it should be easier to detect this problem without knowing the exact URL for a pkgbase.

https://bugs.archlinux.org/task/46279


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#16 2015-09-12 20:56:16

Webbeh
Member
Registered: 2012-07-08
Posts: 49

Re: [Solved] Having trouble pushing a new package to the AUR

Nice catch, didn't know about pkgbases.

EDIT: package is now orphaned, you are free to push.

Last edited by Webbeh (2015-09-12 20:59:55)

Offline

#17 2015-09-12 21:05:03

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: [Solved] Having trouble pushing a new package to the AUR

Thanks Webbeh. All done.

Offline

Board footer

Powered by FluxBB