You are not logged in.
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
pacman -S fakeroot
Offline
i do have fakeroot. ive also tried reinstalling it.
Offline
ok do this as root
updatedb
ldconfig
and try again
Offline
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
yep, if your gonna use aur regularly (and you are)
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
yep, if your gonna use aur regularly (and you are)
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
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
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
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
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
/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
Offline
Alternatively, you don't need to build your packages in /var/abs/local. I have a ~/Packages directory where I build packages.
Offline