[Pkg-ia32-libs-maintainers] Bug#493246: Bug#493246: ia32-libs-tools: does not support GNU/kFreeBSD

Goswin von Brederlow goswin-v-b at web.de
Sat Aug 9 06:27:20 UTC 2008


Petr Salinger <Petr.Salinger at seznam.cz> writes:

> Package: ia32-libs-tools
> User: glibc-bsd-devel at lists.alioth.debian.org
> Usertags: kfreebsd
> Version: 11
>
> Hello,
>
> ia32-libs-tools could also support GNU/kFreeBSD.
>
> kfreebsd-amd64 is able to execute kfreebsd-i386 and i386 binaries,
> kfreebsd-i386 is able to execute i386 binaries.
> More valuable for kfreebsd-amd64 would be support for linux/i386 
> binaries.

I guess with some rewriting we could support both. That would tripple
your apt database though (only doubles it currently).

> Petr
>
> --- debian/rules
> +++ debian/rules
> @@ -26,10 +26,20 @@
>   FOREIGN_ARCH := amd64
>   PKGPREFIX    := amd64-
>   else
> +ifeq ($(DEB_HOST_ARCH),kfreebsd-amd64)
> +FOREIGN_ARCH := i386
> +PKGPREFIX    := ia32-
> +else
> +ifeq ($(DEB_HOST_ARCH),kfreebsd-i386)
> +FOREIGN_ARCH := i386
> +PKGPREFIX    := ia32-
> +else
>   error $(DEB_HOST_ARCH) unknown
>   endif
>   endif
>   endif
> +endif
> +endif

Have you tested if this works right? Installed a few packages and run
them?

I'm unsure right now if kfreebsd is more like amd64 (has a libc6-i386)
or like ia64 (needs ia32-libc6). Without checking I'm guessing it
needs ia32-libc6 and would get it.

MfG
        Goswin







More information about the Pkg-ia32-libs-maintainers mailing list