Bug#1060236: openjdk-8 adds zero build for loong64

Leslie Zhai zhaixiang at loongson.cn
Tue Jan 9 11:02:26 GMT 2024


Hi Thorsten,

Thanks for your response.
icedtea-sound not build due to not recognized[1] loongarch64.
So I just disable[2] the icedtea-sound build due to it is the third party library which separate from jdk8u.


1. 
Finished building OpenJDK for target 'images'
make[1]: Leaving directory '/home/buildd/openjdk-8/openjdk-8-8u392-ga/build'
touch stamps/build
rm -rf icedtea-sound
tar xf icedtea-sound.tar.xz
mv $(tar tf icedtea-sound.tar.xz | head -1 | sed 's,/.*,,') \
 icedtea-sound
patch -p1 < debian/patches/icedtea-sound.diff
patching file icedtea-sound/Makefile.am
patching file icedtea-sound/Makefile.in
patching file icedtea-sound/acinclude.m4
patching file icedtea-sound/configure
patching file icedtea-sound/javac.in
if [ -x icedtea-sound/autogen.sh ]; then \
 cd icedtea-sound && ./autogen.sh; \
fi
cd icedtea-sound && ./configure \
--build=loongarch64-linux-gnu \
--host=loongarch64-linux-gnu \
--disable-maintainer-mode \
--with-jdk-home=/home/buildd/openjdk-8/openjdk-8-8u392-ga/build/images/j2sdk-image \
CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" \
CFLAGS="-g -ffile-prefix-map=/home/buildd/openjdk-8/openjdk-8-8u392-ga=. -fstack-protector-strong -Wformat -Werror=format-security -O3" \
CXXFLAGS="-g -ffile-prefix-map=/home/buildd/openjdk-8/openjdk-8-8u392-ga=. -fstack-protector-strong -Wformat -Werror=format-security -O3" \
LDFLAGS="-Wl,-z,relro"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... Invalid configuration `loongarch64-linux-gnu': machine `loongarch64' not recognized
configure: error: /bin/bash ./config.sub loongarch64-linux-gnu failed
make: *** [debian/rules:1012: stamps/sound-configure] Error 1


2. 
with_pulse = yes
-ifneq (,$(filter $(DEB_HOST_ARCH), alpha))
+ifneq (,$(filter $(DEB_HOST_ARCH), alpha loong64))
 with_pulse =
endif


Thanks,
Leslie Zhai

> 2024年1月9日 07:09,Thorsten Glaser <tg at debian.org> 写道:
> 
> Hi,
> 
>> I hope this email finds you well. We would like to add openjdk-8 zero
>> build support for loong64.
> 
> thank you, queued (in the next days there will be an update of that
> anyway).
> 
> Why do you disable pulse? Does it not work? Or is it just because
> libpulse-dev was not available until yesterday? Or did something
> (like icedtea-sound) not build?
> 
> Thanks,
> //mirabilos
> -- 
> I believe no one can invent an algorithm. One just happens to hit upon it
> when God enlightens him. Or only God invents algorithms, we merely copy them.
> If you don't believe in God, just consider God as Nature if you won't deny
> existence. -- Coywolf Qi Hunt



More information about the pkg-java-maintainers mailing list