LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-01-2018, 03:41 AM   #1
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,364

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Question slack-desc does not show...


I am building a package for eventual SBo inclusion: the nv-codec-headers that are required to build nvenc support under FFmpeg. Exaperatingly enough I am having a head-bangingly frustrating time having the slack-desc file show up on installation and in pkgtool.

I have read a few threads on this forums with similar issues but found no resolution so I attach the slack-desc and slackbuild files to this post in the hope that wiser heads than mine can see the issue...
Attached Files
File Type: txt slack-desc.txt (910 Bytes, 45 views)
File Type: txt nv-codec-headers.SlackBuild.txt (2.4 KB, 28 views)
 
Old 06-01-2018, 04:25 AM   #2
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
I don't really see anything wrong in your slack-desc. Just some trailing white space and you should change.
Code:
nv-codec-headers: nv-codec-headers for FFMpeg
To something like:
Code:
nv-codec-headers: nv-codec-headers (Headers for FFMpeg)
But I'm not sure either of those are your issue?
 
2 members found this post helpful.
Old 06-01-2018, 07:34 AM   #3
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

That's because your package name is malformed. There is no field ARCH at line #85 when running makepkg :

Code:
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$BUILD$TAG.${PKGTYPE:-tgz}
Should be :

Code:
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
--
SeB
 
2 members found this post helpful.
Old 06-01-2018, 04:38 PM   #4
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,364

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by phenixia2003 View Post
That's because your package name is malformed. There is no field ARCH at line #85 when running makepkg [...]
You know I have been looking at this for days and did not see this? Thanks, this has resolved the issue completely...
 
Old 06-01-2018, 04:40 PM   #5
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,364

Original Poster
Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by orbea View Post
I don't really see anything wrong in your slack-desc. Just some trailing white space and you should change.
Code:
nv-codec-headers: nv-codec-headers for FFMpeg
To something like:
Code:
nv-codec-headers: nv-codec-headers (Headers for FFMpeg)
But I'm not sure either of those are your issue?
I have fixed both of these issues, thanks for this! Looks like the breakage was from a bad package name with no $ARCH set. Anyway a little more tweaking and off to SBo with a lesson learnt as usual in Slackware
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
slack-desc: not working? Transhour Slackware 7 02-05-2011 02:51 AM
Slackpkg and slack-desc Panci Slackware 9 04-05-2009 06:15 AM
Package created with makepkg don`t show slack-desc GWagner Slackware 5 11-29-2008 02:56 PM
Makepkg and slack-desc mirto Slackware 7 10-15-2005 03:17 PM

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

All times are GMT -5. The time now is 02:39 AM.

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