LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slack-desc does not show... (https://www.linuxquestions.org/questions/slackware-14/slack-desc-does-not-show-4175630948/)

andrew.46 06-01-2018 03:41 AM

slack-desc does not show...
 
2 Attachment(s)
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...

orbea 06-01-2018 04:25 AM

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?

phenixia2003 06-01-2018 07:34 AM

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

andrew.46 06-01-2018 04:38 PM

Quote:

Originally Posted by phenixia2003 (Post 5862138)
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...

andrew.46 06-01-2018 04:40 PM

Quote:

Originally Posted by orbea (Post 5862095)
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 :)


All times are GMT -5. The time now is 11:24 PM.