You are not logged in.
Pages: 1
Topic closed
Hi,
In response to altalpo's comment on my moksha package in the AUR I removed the brackets around 'moksha.install' in my PKGBUILD, unfortunately I inadvertently removed one of the apostrophes too so my PKGBUILD ended up being:
# Maintainer: Brenton Horne <brentonhorne77 at gmail dot com>
pkgname=moksha
pkgver=0.2.0
pkgrel=1
pkgdesc="A fork of the E17 window manager"
arch=('i686' 'x86_64')
url="http://mokshadesktop.org"
license=('BSD')
depends=('desktop-file-utils' 'e_dbus' 'elementary')
optdepends=('acpid: power events on laptop lid close'
'bc: calculator in everything module'
'connman: network module'
'doxygen: build documentation'
'evas_generic_loaders: provide support for SVG icons'
'gdb: create backtraces on crash'
'geoclue2: geolocation module')
provides=('moksha')
conflicts=("enlightenment")
backup=('etc/enlightenment/sysactions.conf'
'etc/xdg/menus/e-applications.menu')
source=("https://github.com/JeffHoogland/moksha/archive/$pkgver.tar.gz")
sha256sums=('f03601558902b9f9b286d85aa5da418dfa74acf3e3947992dcb131cc0e44994e')
install=moksha.install'
build() {
cd $pkgname-$pkgver
export CFLAGS="$CFLAGS -fvisibility=hidden"
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
I had a cat on me at the time, so I pushed this new PKGBUILD to the AUR before I noticed this mistake. Then I realized this mistake and fixed the PKGBUILD and updated its SRCINFO file and pushed these changes to the AUR and this gave the output:
[master 96f9753] Fixing array issue
2 files changed, 4 insertions(+), 2 deletions(-)
Enter passphrase for key '/home/fusion809/.ssh/aur':
Counting objects: 18, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (18/18), done.
Writing objects: 100% (18/18), 1.75 KiB | 0 bytes/s, done.
Total 18 (delta 7), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote: File "hooks/update", line 253, in <module>
remote: srcinfo_pkgbase = srcinfo._pkgbase['pkgname']
remote: KeyError: 'pkgname'
remote: error: hook declined to update refs/heads/master
To ssh://aur@aur.archlinux.org/moksha.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur@aur.archlinux.org/moksha.git'
and I haven't the foggiest as to why, I have tried modifying the PKGBUILD, deleting the SRCINFO and recreating it with mksrcinfo but each time I attempt to push the changes to the AUR I get this error message.
Thanks for your time,
Brenton
Last edited by fusion809 (2016-02-07 00:58:34)
Offline
What does the .SRCINFO file look like now?
Offline
This:
# Generated by mksrcinfo v8
# Sun Feb 7 00:42:34 UTC 2016
pkgbase = moksha
pkgdesc = A fork of the E17 window manager
pkgver = 0.2.0
pkgrel = 1
url = http://mokshadesktop.org
install = moksha.install
arch = i686
arch = x86_64
license = BSD
depends = desktop-file-utils
depends = e_dbus
depends = elementary
optdepends = acpid: power events on laptop lid close
optdepends = bc: calculator in everything module
optdepends = connman: network module
optdepends = doxygen: build documentation
optdepends = evas_generic_loaders: provide support for SVG icons
optdepends = gdb: create backtraces on crash
optdepends = geoclue2: geolocation module
conflicts = enlightenment
backup = etc/enlightenment/sysactions.conf
backup = etc/xdg/menus/e-applications.menu
source = https://github.com/JeffHoogland/moksha/archive/0.2.0.tar.gz
sha256sums = f03601558902b9f9b286d85aa5da418dfa74acf3e3947992dcb131cc0e44994e
pkgname = moksha
Offline
The last commit you pushed to the AUR is "Fixing array issue" but your error message sounds like you are trying to push a different commit with the same commit message.
If you rebased, you cannot push that.
If you didn't rebase, what are the exact changes you are trying to push?
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline
I didn't rebase, here is the PKGBUILD I am trying to push upstream:
# Maintainer: Brenton Horne <brentonhorne77 at gmail dot com>
pkgname=moksha
pkgver=0.2.0
pkgrel=1
pkgdesc="A fork of the E17 window manager"
arch=('i686' 'x86_64')
url="http://mokshadesktop.org"
license=('BSD')
depends=('desktop-file-utils' 'e_dbus' 'elementary')
optdepends=('acpid: power events on laptop lid close'
'bc: calculator in everything module'
'connman: network module'
'doxygen: build documentation'
'evas_generic_loaders: provide support for SVG icons'
'gdb: create backtraces on crash'
'geoclue2: geolocation module')
provides=('moksha')
conflicts=("enlightenment")
backup=('etc/enlightenment/sysactions.conf'
'etc/xdg/menus/e-applications.menu')
source=("https://github.com/JeffHoogland/moksha/archive/$pkgver.tar.gz")
sha256sums=('f03601558902b9f9b286d85aa5da418dfa74acf3e3947992dcb131cc0e44994e')
install='moksha.install'
build() {
cd $pkgname-$pkgver
export CFLAGS="$CFLAGS -fvisibility=hidden"
./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
here is my moksha.install file:
post_install() {
update-mime-database usr/share/mime > /dev/null
update-desktop-database -q
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}
which has remained unchanged since 18 Jan 2016.
Offline
The .SRCINFO looks ok to me. The fact that it gives a traceback makes me wonder if it's a server-side problem.
Offline
Well it does not seem to be self-resolving, I just retried to push these changes to the AUR and got the same error message.
Offline
How did you solve this?
EDIT:
ok the answer by Narga did the trick
https://bbs.archlinux.org/viewtopic.php?id=200563
Last edited by arkades (2019-02-24 17:51:28)
The ships hung in the sky in much the same way that bricks don't. - Douglas Adams
Offline
Closing this old thread.
Offline
Pages: 1
Topic closed