changeset in /hg/icedtea6: 2008-10-27 Matthias Klose <doko at ubu...

Christian Thalinger twisti at complang.tuwien.ac.at
Mon Nov 10 03:03:59 PST 2008


On Mon, 2008-10-27 at 11:05 +0000, doko at ubuntu.com wrote:
> -+  ifneq (,$(filter $(mach),mips s390 s390x))
> ++  ifneq (,$(wildcard /usr/bin/dpkg-architecture))
>  +    mach := $(shell dpkg-architecture -qDEB_BUILD_ARCH_CPU 2>/dev/null || echo $(mach))
>  +  endif
>     archExpr = case "$(mach)" in \
> @@ -20,13 +20,13 @@
>                   *) \
>                       echo $(mach) \
>                       ;; \

This patch breaks the build on powerpc, as the output of
dpkg-architecture is:

$ dpkg-architecture -qDEB_BUILD_ARCH_CPU
powerpc

This results in setting ARCH to powerpc and later in the build in:

-L/localtmp/cacao/jvmtester/work/b6-icedtea-zero/icedtea/build/bootstrap/jdk1.6.0/jre/lib/powerpc/ -ljvm 

/usr/bin/ld: cannot find -ljvm

Because the directory where libjvm.so lays is called jre/lib/ppc/.  Why
not simply adding cases for all architectures we support and not
depending on such utilities?

- Christian




More information about the distro-pkg-dev mailing list