maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Problem building packages for Fremantle after installing Harmattan SDK (https://talk.maemo.org/showthread.php?t=93996)

jonwil 2014-10-10 01:46

Problem building packages for Fremantle after installing Harmattan SDK
 
I installed the Harmattan SDK (for some stuff I am doing with pulseaudio) following the install instructions for that and now when I try to run dpkg-buildpackage -rfakeroot it says "fakeroot: preload library `libfakeroot-sysv.so' not found, aborting." If I run it without -rfakeroot it says "dh_testroot: You must run this as root (or use fakeroot).".

Anyone know how I can fix this or do I just need to revert all the scratchbox stuff back to Fremantle (and if so how do I do that inside my Ubuntu VM?)

endsormeans 2014-10-10 02:00

Re: Problem building packages for Fremantle after installing Harmattan SDK
 
oh man...
I've never played with the Harmattan SDK...
was never curious enough...
let alone tried to get Fremantle back from it..
all that comes to my mind is "yargh" ...

endsormeans 2014-10-10 02:16

Re: Problem building packages for Fremantle after installing Harmattan SDK
 
BUT.
I do remember reading MohammadAG and merlin1991 were discussing the same "fakeroot: preload library `libfakeroot-sysv.so' not found, aborting." issue...grab their ears..they may have some insight since I recall they were discussing it over in maemo ssu irc

Wikiwide 2014-10-10 02:56

Re: Problem building packages for Fremantle after installing Harmattan SDK
 
I fixed it adding
{prefix = "/usr/lib/libfakeroot", use_orig_path = true},
just before
{prefix = "/usr/lib", map_to = target_root},
in the simple_chain inside the
share/scratchbox2/lua_scripts/pathmaps/simple/00_default.lua file.
But don't know if this is the right fix.
Comments ?
Thanks,
Claudio


Quote:

Originally Posted by AapoRantalainen (Post 1311012)
And fix/workaround is (outside of scratchbox):
mkdir /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL_GCC472/usr/lib/libfakeroot
cp /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL/usr/lib/libfakeroot/* /scratchbox/users/rantalai/targets/FREMANTLE_ARMEL_GCC472/usr/lib/libfakeroot

Best wishes...

jonwil 2014-10-10 03:30

Re: Problem building packages for Fremantle after installing Harmattan SDK
 
When I installed the harmattan SDK it upgraded some scratchbox packages (including some fakeroot bits). Running sb-menu and selecting "install fakeroot" copied over the new fakeroot bits into my FREMANTLE_ARMEL target and now its working again.

endsormeans 2014-10-10 04:40

Re: Problem building packages for Fremantle after installing Harmattan SDK
 
whew...
glad to hear you Macgyver'd it.
I'll file that away just in case I ever run into a prob in scratch that smells similar.


All times are GMT. The time now is 14:11.

vBulletin® Version 3.8.8