LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-26-2010, 11:51 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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
 
Old 10-26-2010, 12:20 PM   #2
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
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.
 
1 members found this post helpful.
Old 10-26-2010, 12:30 PM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by brixtoncalling View Post
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".
 
Old 10-26-2010, 12:41 PM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,102

Rep: Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178Reputation: 4178
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.

Last edited by ponce; 10-26-2010 at 12:44 PM.
 
1 members found this post helpful.
Old 10-26-2010, 12:44 PM   #5
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
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!

Last edited by brixtoncalling; 10-26-2010 at 12:48 PM.
 
1 members found this post helpful.
Old 10-26-2010, 07:46 PM   #6
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 305

Rep: Reputation: 80
Quote:
Originally Posted by catkin View Post
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
 
Old 10-27-2010, 03:09 AM   #7
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by larryhaja View Post
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.
 
Old 10-27-2010, 03:16 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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.
 
Old 10-27-2010, 10:52 AM   #9
brixtoncalling
Member
 
Registered: Jul 2008
Location: British Columbia
Distribution: Slackware current
Posts: 403

Rep: Reputation: 67
Quote:
Originally Posted by catkin View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SlackBuild submission problem w1k0 Slackware 8 04-15-2009 07:40 PM
Error: Ambiguous interfaces Fortran tak.rliu Programming 4 01-29-2009 08:27 AM
Postfix Submission Error brokenmaize Linux - Server 1 08-21-2008 09:05 AM
Ambiguous Redirect Error AMMullan Linux - General 1 10-01-2003 08:39 PM
Ambiguous error messages from fsck, but not from e2fsck jiffydude Linux - Software 2 09-12-2003 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration