Page 1 of 1

Sourcery and robomongo

Posted: 20. Dec 2014, 07:43
by coroner
Good Morning everyone.

I tried install Robomongo and received next message in log.
The following packages will be fetched:
robomongo
Fetching README... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching doinst.sh... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching robomongo-i386.sh... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching robomongo-x86_64.sh... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching robomongo.SlackBuild... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 62% 62%100%100%100%100%Done
Fetching robomongo.info... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching slack-desc... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
The following packages will be installed:
robomongo
Fetching README... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching doinst.sh... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching robomongo-i386.sh... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching robomongo-x86_64.sh... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching robomongo.SlackBuild... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 62% 62%100%100%100%100%Done
Fetching robomongo.info... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
Fetching slack-desc... 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0%100%100%100%100%Done
tar: /usr/src/slapt-src/development/robomongo/robomongo-0.8.4-.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
fakeroot -- sh robomongo.SlackBuild Failed
File robomongo-0.8.4-x86_64.tar.gz in directory /usr/src/slapt-src/development/robomongo/ is exist.

dist: Salix64-fluxbox-14.1.

Re: Sourcery and robomongo

Posted: 20. Dec 2014, 12:04
by laprjns
coroner wrote:tar: /usr/src/slapt-src/development/robomongo/robomongo-0.8.4-.tar.gz: Cannot open: No such file or directory
There is an error in the robomongo.Slackbuild script with the tar statement. This is what is in the script:
  • tar xvf $CWD/$PRGNAM-$VERSION-$ANAME.tar.gz
It should be:
  • tar xvf $CWD/$PRGNAM-$VERSION-$ARCH.tar.gz
You are going to have to manually edit the robomongo.Slackbuild and then build and install the package. Here's how:

Change to the robomongo source directory.

Code: Select all

$ cd /usr/src/slapt-src/development/robomongo/
Edit the robomongo.Slacbuild script using sudo and the editor app of your choice. I use geany.

Code: Select all

$ sudo geany robomongo.Slackbuild
Change line 38 from $ANAME to $ARCH.

Now build the package.

Code: Select all

$ sudo sh robomong.Salckbuild
After package is built install it using spkg.

Code: Select all

$ sudo spkg -i /tmp/robomongo-0.8.4-x86_64-1_SBo.tgz
I will notify Slackbuild of the error.

Re: Sourcery and robomongo

Posted: 20. Dec 2014, 15:11
by coroner
Thanks.

Re: Sourcery and robomongo

Posted: 23. Dec 2014, 13:45
by laprjns
coroner wrote:I will notify Slackbuild of the error.
Patch has been made. Will take a day or two to ripple throught the Slackbuild mirrors

http://slackbuilds.org/cgit/slackbuilds ... 64dc16ba1a

Looks like my manual fix was technically wrong, but it did seem to work.