You are not logged in.

#1 2013-06-02 16:14:14

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

AUR says pkgname missing, makepkg says everything is ok

Like the title  says, if it try to upload my PKGBUILD the aur complains about  missing pkgname.
But makepkg works just fine and if I add pkgname it complains about missing package().
Who is right?

My PKGBUILD:
https://github.com/Thaodan/thaopkgs/blo … g/PKGBUILD


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#2 2013-06-02 16:18:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: AUR says pkgname missing, makepkg says everything is ok

IIRC AUR doesn't permit split packages.

Offline

#3 2013-06-02 16:30:31

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: AUR says pkgname missing, makepkg says everything is ok

karol wrote:

IIRC AUR doesn't permit split packages.

My linux-pf package works just fine.


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#4 2013-06-03 00:33:56

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: AUR says pkgname missing, makepkg says everything is ok

And just like the linux-pf PKGBUILD, you have to declare the pkgname twice.

Offline

#5 2013-06-03 12:22:04

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: AUR says pkgname missing, makepkg says everything is ok

falconindy wrote:

And just like the linux-pf PKGBUILD, you have to declare the pkgname twice.

If I do this the split package won't work.


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#6 2013-06-03 12:25:19

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: AUR says pkgname missing, makepkg says everything is ok

Right. The split package doesn't work on the AUR.

Offline

#7 2013-06-03 13:43:26

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: AUR says pkgname missing, makepkg says everything is ok

Done this as workaround[1], the AUR says nothing but it doesn't updates the PKGBUILD.
[1] https://github.com/Thaodan/thaopkgs/com … e78da9b3c0


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#8 2013-06-03 13:43:35

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: AUR says pkgname missing, makepkg says everything is ok

Thaodan, you have this in the linux-pf PKGBUILD:

pkgname=('linux-pf')
true && pkgname=('linux-pf' 'linux-pf-headers')

So just use something similar in this PKGBUILD.

Offline

#9 2013-06-03 13:55:40

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: AUR says pkgname missing, makepkg says everything is ok

why don't create a dummy package with name ryzom-hg?

ryzom-hg -> Zero size package (and whit this package, help to AUR helpers to track next updates)
ryzom-client-hg -> client package
ryzom-server-hg -> server package

greetings

Offline

#10 2013-06-03 14:05:45

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: AUR says pkgname missing, makepkg says everything is ok

Scimmia wrote:

Thaodan, you have this in the linux-pf PKGBUILD:

pkgname=('linux-pf')
true && pkgname=('linux-pf' 'linux-pf-headers')

So just use something similar in this PKGBUILD.

I done his but then  makepkg complains that pkgbuilds shouldn't shipped without package().


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#11 2013-06-03 14:09:09

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: AUR says pkgname missing, makepkg says everything is ok

ah, I see, because you don't have a package named the same as the package functions.

Offline

#12 2013-06-03 14:32:35

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: AUR says pkgname missing, makepkg says everything is ok

try this: http://sl1pkn07.no-ip.com/paste/view/1e5016fa

for me get error in build (lua related)

Offline

#13 2013-06-03 14:45:32

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: AUR says pkgname missing, makepkg says everything is ok

sl1pkn07 wrote:

try this: http://sl1pkn07.no-ip.com/paste/view/1e5016fa

for me get error in build (lua related)

Do you have 'lua' installed?
The problem is that the AUR doesn't updates the PKGBUILD, except that  everything works fine.

Last edited by Thaodan (2013-06-03 14:55:52)


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

#14 2013-06-03 14:57:14

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: AUR says pkgname missing, makepkg says everything is ok

yes. have lua(+lua51) installed and detecting by cmake (http://wstaw.org/m/2013/06/03/plasma-desktopd11550.png http://sl1pkn07.no-ip.com/paste/view/8b7d55db)

i have own two split pkgbuilds upload on aur (using aurupload). don't have problem  (maybe new silent update?, my last commit is on 2013-06-01)

greetings

ninjaedit y32b4.gif

Last edited by sl1pkn07 (2013-06-03 15:06:25)

Offline

#15 2013-06-03 16:00:54

Thaodan
Member
From: Dortmund, Nordrein-Westfalen
Registered: 2012-04-28
Posts: 448

Re: AUR says pkgname missing, makepkg says everything is ok

try to remove lua


Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux

Offline

Board footer

Powered by FluxBB