LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-31-2015, 11:07 PM   #1
PhiloPolyMath
Member
 
Registered: Jul 2014
Distribution: Slackware64 current
Posts: 32

Rep: Reputation: Disabled
Owncloud SlackBuild Issues


I'm not sure what is causing all of these little quirks in my systems as of late, but I wanted to see if anyone has had an issue with this build, something similar, or could try to build it and see what their results are. I'll explain below.

I have a desktop that has had slackware on it for about 9 months now. No real issues. It has had owncloud-client installed via sbopkg and upgraded regularly for about 4 months now. Once again, no issues. However, upon trying to upgrade to 1.8.4 from 1.8.3 I get a build failure stating:

rmdir: failed to remove '/tmp/sbopkg.Z4DMJh/package-owncloud-client/usr/man': No such file or directory

If I comment out the line:

rmdir $PKG/usr/man

it builds fine. This also occurs on a brand new (to me) laptop with a fresh install of slackware and trying to install 1.8.4 (not an upgrade). I get the same error if I download the source and slackbuild and run the script manually without sbopkg.

Can anyone recreate this issue? The maintainer and I have been emailing back and forth and it seems that he can't recreate the issue on his machine. It's strange that I have 2 different machines with the same error using 2 separate methods on each.

Thanks
 
Old 08-31-2015, 11:45 PM   #2
michaelslack
Member
 
Registered: Feb 2013
Location: Sydney
Distribution: slackware
Posts: 110

Rep: Reputation: 36
same here

I had the same problem using sbopkg: the build failed with error

Code:
rmdir: failed to remove '/tmp/SBo/package-owncloud-client/usr/man': No such file or directory
The same fix worked for me, I just commented out the line:
Code:
rmdir $PKG/usr/man
near the bottom of owncloud-client.Slackbuild and built and installed the package without using sbopkg.

Cheers,

Michael

PS: this is on a relatively new installation of slackware64-current, and it was an upgrade to the earlier version which I had installed using sbopkg from the 14.1 SBo repository.

Last edited by michaelslack; 08-31-2015 at 11:49 PM. Reason: Added PS note
 
Old 09-01-2015, 05:16 PM   #3
PhiloPolyMath
Member
 
Registered: Jul 2014
Distribution: Slackware64 current
Posts: 32

Original Poster
Rep: Reputation: Disabled
Well, at least there are 2 of us. The line to create that folder and the line to remove it was added to the slackbuild in its latest version. I haven't updated one of my machines and can look at my locally stored version of the slackbuild and compare it with the newest version.

You can also check /var/log/packages/owncloud-client-version_SBo to see what folders were created and on my machine that WAS upgraded, I don't have /usr/man being created when I comment out the line to remove it. Which makes sense, considering the error. So not sure what isn't working as far as our machines go that is different to the maintainers. Not new to linux, but new to build scripts so I'm going to take some time and learn about what is going on between the two.

Thanks again for replying.
 
Old 09-01-2015, 10:56 PM   #4
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
I get it too, everyone should since the package doesn't have any manpages, not to mention it doesn't even have usr/man... Just remove the line.

Edit: If you want to learn more about slackbuild scripts, try spending some time studying these. http://slackbuilds.org/templates/
Updating packages ahead of SBo is also a good way to learn how things work.

Last edited by orbea; 09-01-2015 at 11:03 PM.
 
Old 09-02-2015, 03:48 AM   #5
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,664

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
This will be fixed in the next batch of update along with the bump to 2.0.0
 
Old 09-02-2015, 04:56 AM   #6
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
FWIW, owncloud-client 2.0.1 is out. "It is almost the same as 2.0.0 except a one line fix that is needed for doing special branding options." [source], so it really doesn't need a further update at SBo.

Now that the new owncloud-client is on its way, I will push owncloud-server 8.1.1 or 8.1.2 to SBo (depending on when 8.1.2 is announced). 8.1.x needs owncloud-client 1.8 or newer. Please read the README for information about "trusted domains" configuration.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dependencie issues when running freerdp slackbuild - Slackware 14.1 AdiLQ123 Slackware 10 01-19-2014 09:42 AM
Move owncloud 4 to owncloud 5 to a different server the_bigbalu Linux - Server 2 05-28-2013 01:31 AM
Owncloud setup issues malak33 Linux - Newbie 1 08-03-2012 04:57 PM
LXer: ownCloud Inc. and the ownCloud community LXer Syndicated Linux News 0 12-16-2011 11:50 AM
[SOLVED] Issues with the kismet slackbuild Josh000 Slackware 2 01-08-2010 07:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration