Sourcery and robomongo

You think you have found a bug? Let us know about it.
Post Reply
coroner
Donor
Posts: 29
Joined: 12. Nov 2011, 16:59
Contact:

Sourcery and robomongo

Post 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.
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Sourcery and robomongo

Post 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.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
coroner
Donor
Posts: 29
Joined: 12. Nov 2011, 16:59
Contact:

Re: Sourcery and robomongo

Post by coroner »

Thanks.
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Sourcery and robomongo

Post 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.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
Post Reply