You are not logged in.

#1 2006-04-07 20:02:10

Galdona
Member
Registered: 2006-03-15
Posts: 196

makepkg -S error (libfakeroot)

i always get this:

==> Installing missing dependencies...
ERROR: ld.so: object 'libfakeroot.so.0' from LD_PRELOAD cannot be preloaded: ignored.

whenever i makepkg with dependencies: "makepkg -S". why is that?

Offline

#2 2006-04-07 20:25:28

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: makepkg -S error (libfakeroot)

pacman -S fakeroot

Offline

#3 2006-04-08 19:33:11

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: makepkg -S error (libfakeroot)

i do have fakeroot. ive also tried reinstalling it.

Offline

#4 2006-04-08 20:31:48

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: makepkg -S error (libfakeroot)

ok do this as root

 updatedb
ldconfig

and try again

Offline

#5 2006-04-09 14:03:58

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: makepkg -S error (libfakeroot)

i did what you said but still this:

$ makepkg -S
==> Entering fakeroot environment
==> Making package: tilda 0.09.2-1 (Sun Apr  9 21:58:58 PHT 2006)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
==> 
requires: vte 
requires: confuse 
==> 
==> Installing missing dependencies...
ERROR: ld.so: object 'libfakeroot.so.0' from LD_PRELOAD cannot be preloaded: ignored.

does it have anything to do with sudo?

Offline

#6 2006-04-09 14:30:12

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: makepkg -S error (libfakeroot)

yep, if your gonna use aur regularly (and you are) wink

install and setup sudo

don't be put off by visudo, you can use any editor you like as long as you set it at the time e.g  EDITOR=nano visudo

you then get to use whatever editor you comfortable with

Offline

#7 2006-04-21 21:27:28

mmccaskill
Member
From: NC
Registered: 2005-02-21
Posts: 163

Re: makepkg -S error (libfakeroot)

mpie wrote:

yep, if your gonna use aur regularly (and you are) wink

install and setup sudo

don't be put off by visudo, you can use any editor you like as long as you set it at the time e.g  EDITOR=nano visudo

you then get to use whatever editor you comfortable with

Setup sudo how exactly? Make pacman a sudo command for users?

Offline

#8 2006-04-22 00:32:18

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: makepkg -S error (libfakeroot)

just give all sanctions to your main user

my /etc/sudoers looks like this

[mike@dangly-leggs ~]$ sudo cat /etc/sudoers
Password:
Sorry, try again.
Password:
# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
#

# Host alias specification

# User alias specification

# Cmnd alias specification

# Defaults specification

# Runas alias specification

# User privilege specification
root    ALL=(ALL) ALL

# Uncomment to allow people in group wheel to run all commands
 %wheel ALL=(ALL)       ALL

# Same thing without a password
# %wheel        ALL=(ALL)       NOPASSWD: ALL

# Samples
 %users  ALL=/sbin/mount /cdrom,/sbin/umount /cdrom
 %users  localhost=/sbin/shutdown -h now
[mike@dangly-leggs ~]$                        

then makepkg will call pacman via sudo automatically

Offline

#9 2007-01-24 00:59:29

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

Re: makepkg -S error (libfakeroot)

I am actually facing the exact problem on a new Arch installation.

fakeroot & sudo installed, sudo is configured as mentioned, nevertheless I get that error when trying to run 'makepkg -S' as a user (who is in wheel group).

So what's the solution for this issue?

Offline

#10 2007-01-24 01:25:04

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: makepkg -S error (libfakeroot)

No no.  This is already in the bug tracker.

That error is harmless.  It is from sudo.  sudo will not allow LD_PRELOAD libraries (security reasons), so yells about libfakeroot being there.

You should be able to safely ignore this.

Offline

#11 2007-01-24 12:30:06

Master One
Member
From: Europe
Registered: 2007-01-21
Posts: 249

Re: makepkg -S error (libfakeroot)

Well, it indeed wasn't the problem, but the owner and permissions on the /var/abs/local folder.

That makes me wonder:

/var/abs is owned by root, and only he has write permission. Shouldn't this generally be changed to give users write permission? I'd say, it should be the common way to handle abs with 'makepkg -S' as a user, not as root.

Offline

#12 2007-03-01 21:04:46

mildred
Member
From: france
Registered: 2006-12-23
Posts: 43
Website

Re: makepkg -S error (libfakeroot)

Master One wrote:

/var/abs is owned by root, and only he has write permission. Shouldn't this generally be changed to give users write permission? I'd say, it should be the common way to handle abs with 'makepkg -S' as a user, not as root.

Personally I would prefer changing only the permissions for /var/abs/local, not the entire /var/abs.
Anyway, I chown -R aur:aur /var/abs and I put myself in the abs group smile

Offline

#13 2007-03-01 22:08:46

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: makepkg -S error (libfakeroot)

Alternatively, you don't need to build your packages in /var/abs/local. I have a ~/Packages directory where I build packages.

Offline

Board footer

Powered by FluxBB