LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 03-19-2007, 06:38 AM   #1
Speek
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 103

Rep: Reputation: 31
current + fakeroot


I always build my Slackware packages using Slackbuilds as normal user with fakeroot. With all the updates from current installed I can't get fakeroot working anymore. I've tried updating to the latest fakeroot (1.6.4), tried --with-ipc=tcp, tried making /usr/lib/libfakeroot-0.so SUID, but nothing works.
Anybody else using fakeroot with up-to-date current?
 
Old 03-19-2007, 12:02 PM   #2
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Fakeroot has issues with newer versions of some packages. Bash maybe and possibly others. Read the DIY mailing list (G.S. uses fakeroot extensively) and Debian bug reports ( I think fakeroot is debian maintained) for more info. You don't say what problems your having so I can't really help you more than that.
 
Old 03-19-2007, 01:52 PM   #3
Speek
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 103

Original Poster
Rep: Reputation: 31
Thanks for the pointer to DIY Linux. They have this message in the guide: "Current Fakeroot has problems with Coreutils 6.x and above when the Coreutils are compiled against Glibc 2.4 and above. Please refer to Section 4.18, “Coreutils-6.7” to see how we've worked around it for now. We expect upstream will release a fixed Fakeroot version soon." So I guess I'll have to build packages as root for a while. If I find out something useful I'll report it here.
 
Old 03-20-2007, 01:36 PM   #4
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Wow, I just checked the current changelog and Pat has gone all bleeding edge... What's up with these posts about "current not up to date"? "Stable" most certainly is... Glibc-2.5, gcc-4.1.2, binutils-2.17.x, coreutils-6.7, Xorg-7.2... That's more bleeding edge than I like to do myself... Holy crap. Never thought I'd see the day when Slackware would do that.

So, yea... That's probably your issue. Current coreutils-6.7 was built against glibc-2.5 but fakeroot probably isn't being maintained all that well (It's a debian thing, what do you expect?)

Why don't you download the current source directory of coreutils from slackware current and pass

Quote:
./configure ac_cv_func_openat=no
to the build script? That should fix your problem... Assuming your hitting a perms problem as the DIY mailing list suggests. Just make sure you build the package with the build number ONE HIGHER than what is installed and do an "upgradepkg"... I'm sure I don't need to tell you not to do a "removepkg" on coreutils...

Last edited by jong357; 03-20-2007 at 02:17 PM.
 
Old 03-21-2007, 06:39 PM   #5
h4kteur
LQ Newbie
 
Registered: Apr 2006
Posts: 13

Rep: Reputation: 0
after looking around for a while, I found this bug report from debian. There is a patch for fakeroot 1.5.10 who worked for me. I hope it'll do the job for you.

Last edited by h4kteur; 03-22-2007 at 07:39 AM.
 
Old 03-22-2007, 04:31 AM   #6
Speek
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 103

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by h4kteur
after looking around for a while, I found thie bug report from debian. There is a patch for fakeroot 1.5.10 who worked for me. I hope it'll do the job for you.
Hey that's great! It seems to work well. I've made a Slackware package:
http://members.home.nl/w.speek/slack...-i486-1wim.tgz
 
Old 04-15-2007, 09:49 AM   #7
h4kteur
LQ Newbie
 
Registered: Apr 2006
Posts: 13

Rep: Reputation: 0
with fakeroot 1.7, the patch isn't needed anymore.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fakeroot make-jpkg ERROR tuxhats MEPIS 4 01-23-2007 04:10 PM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 02:02 PM
fakeroot problem finrod_2002 Linux - Software 2 03-16-2005 04:23 PM
ioperm - operation not permitted when using fakeroot Zotty Programming 3 09-21-2004 05:34 PM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 06:08 PM


All times are GMT -5. The time now is 01:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration