LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   SlackBuild submission error: PRGNAM is ambiguous (http://www.linuxquestions.org/questions/slackware-14/slackbuild-submission-error-prgnam-is-ambiguous-840559/)

catkin 10-26-2010 11:51 AM

SlackBuild submission error: PRGNAM is ambiguous
 
Hello :)

On trying to submit my first SlackBuild:
Code:

PRGNAM is ambiguous.
There was something wrong with your .info file. It needs to be in the correct format.
Please check the file and try again.

Here's the contents of yad-0.5.2.info:
Code:

PRGNAM="yad"
VERSION="0.5.2"
HOMEPAGE="http://code.google.com/p/yad/"
DOWNLOAD="http://code.google.com/p/yad/downloads/detail?name=yad-0.5.2.tar.xz&can=2&q="
MD5SUM="184c6476a79c6f456ca1f7f18127aa83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Charles"
EMAIL="<hidden>"
APPROVED=""

Any ideas?

Best

Charles

brixtoncalling 10-26-2010 12:20 PM

Try renaming it yad.info. That is the correct format, but I'm not sure that this is the error that an incorrect name would produce.

catkin 10-26-2010 12:30 PM

Quote:

Originally Posted by brixtoncalling (Post 4139957)
Try renaming it yad.info. That is the correct format, but I'm not sure that this is the error that an incorrect name would produce.

Thanks but I originally had it as yad.info and got error "Could not find /tmp/www/yad-0.5.2/yad-0.5.2.info".

ponce 10-26-2010 12:41 PM

I think
- the file you submit should be yad.tar.gz
- the folder that you tar czf should be named yad
- the name of the slackbuild should be yad.SlackBuild
- the name of the info file should be yad.info

without the $VERSION: that should be a variable defined in the yad.SlackBuild and in the yad.info file, but should be possible also to override it at build time passing VERSION=1.2.3 to the SlackBuild when launching it.

brixtoncalling 10-26-2010 12:44 PM

When you submit the Slackbuild, the .tar.gz file shouldn't contain the version number. You will submit yad.tar.gz with the following files in it:
Code:

README
yad.SlackBuild
yad.info
slack-desc

I'm guessing if you submitted yad-0.5.2.tar.gz, the Slackbuild website understood the version number to be part of the program name.

Ponce beat me to it! I hate that! :)

larryhaja 10-26-2010 07:46 PM

Quote:

Originally Posted by catkin (Post 4139907)
Code:

PRGNAM="yad"
VERSION="0.5.2"
HOMEPAGE="http://code.google.com/p/yad/"
DOWNLOAD="http://code.google.com/p/yad/downloads/detail?name=yad-0.5.2.tar.xz&can=2&q="
MD5SUM="184c6476a79c6f456ca1f7f18127aa83"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Charles"
EMAIL="<hidden>"
APPROVED=""


You should also change the download link to
http://yad.googlecode.com/files/yad-0.5.2.tar.xz

catkin 10-27-2010 03:09 AM

Quote:

Originally Posted by larryhaja (Post 4140358)
You should also change the download link to
http://yad.googlecode.com/files/yad-0.5.2.tar.xz

That's tidier; unfortunately I overlooked this suggestion when changing the build and submitting. A corrected re-submission is not allowed. Have mailed the mailing list.

catkin 10-27-2010 03:16 AM

Thanks to all for suggestions and for being patient with my failure to understand simple instructions or inspect samples. It's very nice -- a warm feeling -- to have such excellent support from our worldwide community :)

Success:
Code:

Thank you, your SlackBuild archive was successfully uploaded and is pending approval.
Slightly in my own defence I was basing the yad-0.5.2.tar.gz name on SlackBuilds thunar-archive-plugin-0.2.4.tar.bz2 and xarchiver-0.5.2.tar.bz2, erroneously thinking they were more helpful names, especially as there is a bugfix in this build so it cannot be re-used simply by running with a different $VERSION.

brixtoncalling 10-27-2010 10:52 AM

Quote:

Originally Posted by catkin (Post 4140642)
Thanks to all for suggestions and for being patient with my failure to understand simple instructions or inspect samples. It's very nice -- a warm feeling -- to have such excellent support from our worldwide community.

Cheers. Keep those SlackBuilds coming :)


All times are GMT -5. The time now is 10:16 AM.