LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 14.2 multilib - Unable to upgrade mpd via sbopkg (https://www.linuxquestions.org/questions/slackware-14/slackware-14-2-multilib-unable-to-upgrade-mpd-via-sbopkg-4175597897/)

glupa4e 01-20-2017 10:53 AM

Slackware 14.2 multilib - Unable to upgrade mpd via sbopkg
 
Hello,

i try to install the new mpd package which is available on the SlackBuilds site. When i installed the previous version i had special build options, which i can see in SboPkg. It prompts me if i want to use them, i select to use the local build file but it fails. I had a look at all the files, which SboPkg is using, there is no reference of the old version. Nevertheless Sbo fails. Here is the output:
Code:

PRE-CHECK LOG                                                                          │ 
                          │ Using the SBo repository for Slackware 14.2                                            │ 
                          │ Queue Process:  Download, build, and install                                            │ 
                          │                                                                                        │ 
                          │ mpd:                                                                                    │ 
                          │  Checking GPG for mpd.tar.gz ... OK                                                    │ 
                          │  Processing mpd 0.20.1-1                                                              │ 
                          │  Using original .info file                                                            │ 
                          │  Using local SlackBuild file                                                          │ 
                          │  Build options: ISO9660=yes RECORDEROUTPUT=yes ZZIPLIB=yes ID3=yes FLAC=yes SQLITE=yes
Processing mpd

mpd:
Found mpd-0.20.1.tar.xz in /var/cache/sbopkg.
Checking MD5SUM:
  MD5SUM check for mpd-0.20.1.tar.xz ... OK
Building package for mpd...
tar: /var/lib/sbopkg/SBo/14.2/audio/mpd/mpd-0.19.17.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

mpd:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:

The file
Code:

mpd.SlackBuild
contains the new version of mpd. There is also a file
Code:

mpd.SlackBuild.sbopkg
which contains the old version of mpd.

bassmadrigal 01-20-2017 02:02 PM

The original SlackBuild you edited was for version 0.19.17, the new .info file downloads version 0.20.1. So, when the modified SlackBuild goes to extract the source, it tries to extract the non-existent 0.19.17 instead of the downloaded 0.20.1.

Most likely, all you'll need to do is change the version at the top of the SlackBuild, but if the maintainer made other changes to the SlackBuild (patches, sed lines, configure options, etc), the build may still fail since you'd be using an older version of the SlackBuild. In that case, it might be best to discard your older version of the SlackBuild and modify the new one to match the options you want.

glupa4e 01-26-2017 01:43 PM

Well i could not upgrade mpd via SBopkg GUI. I did it manually. I downloaded the SlackBuild and the source, unzipped it and then i executted the .SlackBuild file:
ISO9660=yes SOUNDCLOUD=yes RECORDEROUTPUT=yes ZZIPLIB=yes ID3=yes FLAC=yes SQLITE=yes ./mpd.SlackBuild


All times are GMT -5. The time now is 04:35 PM.