Hello,

John Paul Adrian Glaubitz wrote:
>
> It's not being built with -mnative as far I could tell from the logs.
>
> But you can verify whether this is the case or not by building the
> Debian package on your local machine:
>
> $ apt-get install devscripts
> $ dget -u 
> https://deb.debian.org/debian/pool/main/libf/libffi/libffi_3.4.2-2.dsc
> $ apt-get build-dep libffi
> $ cd libffi-3.4.2
> $ dpkg-buildpackage -B
>
> The resulting packages will be found in the parent folder. Install them and
> see if that fixes the problem.

I did this on my PowerBook G4 .
I had some issues with build-dep - it doesn't like my deb-src in the
sources file:

apt-get build-dep libffi
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list

I have:
deb-src http://deb.debian.org/debian unstable main
deb-src http://deb.debian.org/debian experimental main

do we have our own for "ports" ? anyway, I solved dependencies manually.

I build the package with "dpkg-buildpackage -b"
It runs tests.

                === libffi Summary ===

# of expected passes            1462
# of unsupported tests          28

the package is created, unsigned of course.

I installed it with "dpkg -i" because "apt-get install" told me it was a
downgrade and was unsure it was picking up the correct package.

Now libffi appears to work fine!

Riccardo

Reply via email to