From c at catcons.co.uk Sun Apr 29 06:47:38 2012 From: c at catcons.co.uk (Charles) Date: Sun, 29 Apr 2012 12:17:38 +0530 Subject: [sbopkg-users] Viewing potential updates: par2cmdline: wrong info Message-ID: <4F9CE40A.7090805@catcons.co.uk> Hello :-) When using the sbopkg menus --> Updates the following is displayed: par2cmdline: INSTALLED PACKAGE IS NEWER THAN REPO Installed version: par2cmdline-0.4_tbb_20100203-x86_64-1_SBo Repo version: par2cmdline-0.4-x86_64-1_SBo par2cmdline-0.4_tbb is the parallel execution version of par2cmdline-0.4 (very nice, too). It is installed; par2cmdline-0.4 is not installed. They are different packages so should not (?) be listed together like that. Versions: Slackware64 13.37, sbopkg 0.35.0. Best Charles From slakmagik at gmail.com Sun Apr 29 07:11:51 2012 From: slakmagik at gmail.com (slakmagik) Date: Sun, 29 Apr 2012 03:11:51 -0400 Subject: [sbopkg-users] Viewing potential updates: par2cmdline: wrong info In-Reply-To: <4F9CE40A.7090805@catcons.co.uk> References: <4F9CE40A.7090805@catcons.co.uk> Message-ID: <20120429071151.GA10547@devbox> On 2012-04-29 (Sun) 12:17:38 [+0530], Charles wrote: > Hello :-) > > When using the sbopkg menus --> Updates the following is displayed: > > par2cmdline: > INSTALLED PACKAGE IS NEWER THAN REPO > Installed version: par2cmdline-0.4_tbb_20100203-x86_64-1_SBo > Repo version: par2cmdline-0.4-x86_64-1_SBo > > > par2cmdline-0.4_tbb is the parallel execution version of par2cmdline-0.4 > (very nice, too). It is installed; par2cmdline-0.4 is not installed. > They are different packages so should not (?) be listed together like that. > > Versions: Slackware64 13.37, sbopkg 0.35.0. > That's an out-of-spec package - IOW, the bug is in the SlackBuild and should be reported to the maintainer or the SBo admins. The SlackBuild necessarily defines DIRNAME (as par2cmdline) but then uses that in the makepkg command for no reason I can see and defines VERSION as 0.4_tbb_20100203 for no reason I can see. So the finished package incorrectly claims its PRGNAM is 'par2cmdline' and sbopkg has no way of distinguishing it from the "real" one. It should be '/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM/blah' and should likely define version as '0.4' or '0.4_20100203'. From c at catcons.co.uk Sun Apr 29 07:50:44 2012 From: c at catcons.co.uk (Charles) Date: Sun, 29 Apr 2012 13:20:44 +0530 Subject: [sbopkg-users] Viewing potential updates: par2cmdline: wrong info In-Reply-To: <20120429071151.GA10547@devbox> References: <4F9CE40A.7090805@catcons.co.uk> <20120429071151.GA10547@devbox> Message-ID: <4F9CF2D4.6090502@catcons.co.uk> On 29/04/12 12:41, slakmagik wrote: > That's an out-of-spec package - IOW, the bug is in the SlackBuild and > should be reported to the maintainer or the SBo admins. The SlackBuild > necessarily defines DIRNAME (as par2cmdline) but then uses that in the > makepkg command for no reason I can see and defines VERSION as > 0.4_tbb_20100203 for no reason I can see. So the finished package > incorrectly claims its PRGNAM is 'par2cmdline' and sbopkg has no way of > distinguishing it from the "real" one. It should be '/sbin/makepkg -l y > -c n $OUTPUT/$PRGNAM/blah' and should likely define version as '0.4' or > '0.4_20100203'. Thanks for the very prompt and clear reply. It makes sense. Will report to the package maintainer (and hope they think it makes sense too!).