You are not logged in.

#1 2015-08-26 16:43:40

Megameneer
Member
Registered: 2013-11-05
Posts: 34

[SOLVED] - AUR remote error

Hello everybody,

I want to submit a package to the AUR, but I got this error:

% git push origin master
Counting objects: 9, done.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 2.80 KiB | 0 bytes/s, done.
Total 9 (delta 2), reused 0 (delta 0)
remote: error: The following errors occurred when parsing .SRCINFO in commit
remote: error: 1fffd3ee1a2e5c36331f23d3e3d9098e7b7e1417:
remote: error: line 1: package attribute found outside of a package section
remote: error: line 2: package attribute found outside of a package section
remote: error: line 3: package attribute found outside of a package section
remote: error: line 4: package attribute found outside of a package section
remote: error: line 5: package attribute found outside of a package section
remote: error: line 6: package attribute found outside of a package section
remote: error: line 7: package attribute found outside of a package section
remote: error: line 8: package attribute found outside of a package section
remote: error: line 9: package attribute found outside of a package section
remote: error: line 10: package attribute found outside of a package section
remote: error: line 11: package attribute found outside of a package section
remote: error: line 12: package attribute found outside of a package section
remote: error: line 13: package attribute found outside of a package section
remote: error: line 14: package attribute found outside of a package section
remote: error: line 15: package attribute found outside of a package section
remote: error: line 16: package attribute found outside of a package section
remote: error: line 17: package attribute found outside of a package section
remote: error: line 18: package attribute found outside of a package section
remote: error: line 19: package attribute found outside of a package section
remote: error: line 20: package attribute found outside of a package section
remote: error: line 21: package attribute found outside of a package section
remote: error: line 22: package attribute found outside of a package section
remote: error: line 23: package attribute found outside of a package section
remote: error: line 24: package attribute found outside of a package section
remote: error: line 25: package attribute found outside of a package section
remote: error: line 26: package attribute found outside of a package section
remote: error: line 27: package attribute found outside of a package section
remote: error: line 28: package attribute found outside of a package section
remote: error: line 29: package attribute found outside of a package section
remote: error: line 30: package attribute found outside of a package section
remote: error: line 31: package attribute found outside of a package section
remote: error: line 32: package attribute found outside of a package section
remote: error: line 33: package attribute found outside of a package section
remote: error: line 34: package attribute found outside of a package section
remote: error: line 35: package attribute found outside of a package section
remote: error: line 36: package attribute found outside of a package section
remote: error: line 37: package attribute found outside of a package section
remote: error: line 38: package attribute found outside of a package section
remote: error: line 39: package attribute found outside of a package section
remote: error: line 40: package attribute found outside of a package section
remote: error: line 41: package attribute found outside of a package section
remote: error: line 42: package attribute found outside of a package section
remote: error: line 43: package attribute found outside of a package section
remote: error: line 44: package attribute found outside of a package section
remote: error: line 45: package attribute found outside of a package section
remote: error: line 46: package attribute found outside of a package section
remote: error: line 47: package attribute found outside of a package section
remote: error: line 48: package attribute found outside of a package section
remote: error: line 49: package attribute found outside of a package section
remote: error: line 50: package attribute found outside of a package section
remote: error: line 51: package attribute found outside of a package section
remote: error: line 52: package attribute found outside of a package section
remote: error: line 53: package attribute found outside of a package section
remote: error: line 54: package attribute found outside of a package section
remote: error: line 55: package attribute found outside of a package section
remote: error: line 56: package attribute found outside of a package section
remote: error: line 57: package attribute found outside of a package section
remote: error: line 58: package attribute found outside of a package section
remote: error: line 59: package attribute found outside of a package section
remote: error: line 60: package attribute found outside of a package section
remote: error: line 61: package attribute found outside of a package section
remote: error: line 62: package attribute found outside of a package section
remote: error: line 63: package attribute found outside of a package section
remote: error: line 64: package attribute found outside of a package section
remote: error: line 65: package attribute found outside of a package section
remote: error: line 66: package attribute found outside of a package section
remote: error: line 67: package attribute found outside of a package section
remote: error: hook declined to update refs/heads/master
To ssh://aur@aur.archlinux.org/ted-motif.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur@aur.archlinux.org/ted-motif.git'

What must I do now?

Last edited by Megameneer (2015-08-27 14:44:49)

Offline

#2 2015-08-26 16:51:21

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] - AUR remote error

Pasting your .SRCINFO and PKGBUILD would be a start.


1000

Offline

#3 2015-08-26 20:00:45

Megameneer
Member
Registered: 2013-11-05
Posts: 34

Re: [SOLVED] - AUR remote error

byte wrote:

Pasting your .SRCINFO and PKGBUILD would be a start.

.SRCINFO:

pkgbase = ted-motif
	pkgdesc = Lightweight RTF text processor - Motif version
	pkgver = 2.23
	pkgrel = 2
	url = http://nllgg.nl/Ted
	arch = any
	license = GPL
	depends = zlib
	depends = pcre
	depends = libxpm
	depends = libjpeg
	depends = libtiff
	depends = libpng
	depends = lesstif
	depends = libpaper
	depends = desktop-file-utils
	depends = libxft
	source = http://ftp.nluug.nl/pub/editors/ted/ted-2.23.src.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_nl_NL.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_en_GB.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_de_DE.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_es_ES.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_es_AR.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_pt_PT.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_pt_BR.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_fr_FR.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_it_IT.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_cs_CZ.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_da_DK.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_sv_SE.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_nb_NO.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_pl_PL.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_sk_SK.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_hu_HU.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_mg_MG.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_bg_BG.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_ru_RU.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_hr_HR.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/ted_fi_FI.tar.gz
	source = http://ftp.nluug.nl/pub/editors/ted/TedDocument-de_DE.rtf
	source = http://ftp.nluug.nl/pub/editors/ted/TedDocument-fr_FR.rtf
	source = http://ftp.nluug.nl/pub/editors/ted/TedDocument-mg_MG.rtf
	md5sums = 4199df0deb82a90450135ec3f2b7d915
	md5sums = e68939d2d8533491c8c14bd380d6650c
	md5sums = 3f43d0fe3ac66f21943f547f2080e478
	md5sums = 365d845cd318c426354c1743d7104341
	md5sums = 18c278f719f6df68200a15e198c8a88e
	md5sums = 5592f169ce8da6693f0b5ec37be9146a
	md5sums = 4ee2915dd3d3ee6f402ab60212ee235c
	md5sums = 0bef013ea7ae99897b0ae4779257207b
	md5sums = 9ab767df1d476cbe93af9ba07d0b2992
	md5sums = 412034b993f37f0c7bb8dbd4c0200618
	md5sums = 28230070a46ea5a341cfe1600c66704b
	md5sums = b72a7444ff831c443152c4eb489263a1
	md5sums = e27b02e5196c59c038f4510a608c76df
	md5sums = c24cda500db0c8a9a6f9674d4e1e30d1
	md5sums = d6e33a8001561bc89becebd006283360
	md5sums = 125791b19f33ed94727008d8563e652f
	md5sums = 7c2db94442f9d1c5b2eb42157a9e01f3
	md5sums = 674ccafc2121288f8d344976308bea4b
	md5sums = 4e488f8025a793e5d171770dfa2f85d7
	md5sums = 4a32b49850244be6ed973e810ca7467e
	md5sums = 888f70f17c5f16c4bd1fc9fb8b954fb2
	md5sums = dd1bf4cf1142732a3152899e548101b0
	md5sums = fc92fda9a49aa309fefdf6a682028b2d
	md5sums = 4efb63d391b1196983fdcc1bcf751bc7
	md5sums = 63b39a2bd36790f2164cf80dfab603aa

pkgname = ted-motif

PKGBUILD:

# Maintainer: Megameneer (Dennis Holierhoek) <dennis.hh@hotmail.com>
pkgname=ted-motif
pkgver=2.23
pkgrel=2
pkgdesc="Lightweight RTF text processor - Motif version"
arch=('any')
url=http://nllgg.nl/Ted
license=('GPL')
depends=('zlib' 'pcre' 'libxpm' 'libjpeg' 'libtiff' 'libpng' 'lesstif' 'libpaper' 'desktop-file-utils' 'libxft')
source=(
	http://ftp.nluug.nl/pub/editors/ted/ted-$pkgver.src.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_nl_NL.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_en_GB.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_de_DE.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_es_ES.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_es_AR.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_pt_PT.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_pt_BR.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_fr_FR.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_it_IT.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_cs_CZ.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_da_DK.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_sv_SE.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_nb_NO.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_pl_PL.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_sk_SK.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_hu_HU.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_mg_MG.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_bg_BG.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_ru_RU.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_hr_HR.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/ted_fi_FI.tar.gz
	http://ftp.nluug.nl/pub/editors/ted/TedDocument-de_DE.rtf
	http://ftp.nluug.nl/pub/editors/ted/TedDocument-fr_FR.rtf
	http://ftp.nluug.nl/pub/editors/ted/TedDocument-mg_MG.rtf
	)
md5sums=(
	'4199df0deb82a90450135ec3f2b7d915'
	'e68939d2d8533491c8c14bd380d6650c'
	'3f43d0fe3ac66f21943f547f2080e478'
	'365d845cd318c426354c1743d7104341'
	'18c278f719f6df68200a15e198c8a88e'
	'5592f169ce8da6693f0b5ec37be9146a'
	'4ee2915dd3d3ee6f402ab60212ee235c'
	'0bef013ea7ae99897b0ae4779257207b'
	'9ab767df1d476cbe93af9ba07d0b2992'
	'412034b993f37f0c7bb8dbd4c0200618'
	'28230070a46ea5a341cfe1600c66704b'
	'b72a7444ff831c443152c4eb489263a1'
	'e27b02e5196c59c038f4510a608c76df'
	'c24cda500db0c8a9a6f9674d4e1e30d1'
	'd6e33a8001561bc89becebd006283360'
	'125791b19f33ed94727008d8563e652f'
	'7c2db94442f9d1c5b2eb42157a9e01f3'
	'674ccafc2121288f8d344976308bea4b'
	'4e488f8025a793e5d171770dfa2f85d7'
	'4a32b49850244be6ed973e810ca7467e'
	'888f70f17c5f16c4bd1fc9fb8b954fb2'
	'dd1bf4cf1142732a3152899e548101b0'
	'fc92fda9a49aa309fefdf6a682028b2d'
	'4efb63d391b1196983fdcc1bcf751bc7'
	'63b39a2bd36790f2164cf80dfab603aa'
	)

prepare() {
	cd Ted-2.23
	patch < ../../Makefile.diff
	cd appFrame
	patch < ../../../appFontConfig.c.diff
}

build() {
	cd Ted-$pkgver
	make
	make package
}

package() {
	install -dm755 "$pkgdir/usr/share/Ted"
	install -m644 TedDocument-*_*.rtf "$pkgdir/usr/share/Ted"

	cd Ted-$pkgver/tedPackage
	DESTDIR="$pkgdir" make install

	cd "$pkgdir"
	for i in "$srcdir/"ted_*_*.tar.gz; do
		tar xzf "$i"
	done
}

Offline

#4 2015-08-26 20:10:29

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] - AUR remote error

Are these from the commit mentioned in the error? (Don't see anything strange at first glance.)

Offline

#5 2015-08-26 20:18:37

Megameneer
Member
Registered: 2013-11-05
Posts: 34

Re: [SOLVED] - AUR remote error

Raynman wrote:

Are these from the commit mentioned in the error? (Don't see anything strange at first glance.)

I didn't see it, too. I just generated the .SRCINFO with

mksrcinfo

. Could there be any problems with my SSH or Git setup, if yes, where should I look?

Offline

#6 2015-08-27 14:47:20

Megameneer
Member
Registered: 2013-11-05
Posts: 34

Re: [SOLVED] - AUR remote error

I began again today with removing the git directory and re-cloning it. I guess I forgot the .SRCINFO somewhere and added it later on, on a wrong moment, the first time. But thanks for your efforts anyway

Offline

#7 2015-08-27 14:57:55

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: [SOLVED] - AUR remote error

That's why I asked about that specific commit in the error message...

Offline

Board footer

Powered by FluxBB