Your message dated Sun, 11 Sep 2022 15:49:29 +0000
with message-id <[email protected]>
and subject line Bug#1019528: fixed in service-wrapper-java 3.5.50-3
has caused the Debian Bug report #1019528,
regarding service-wrapper-java: FTBFS on riscv64 (Missing makefile)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1019528: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019528
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: service-wrapper-java
Version: 3.5.50-2
Severity: important
Tags: ftbfs patch
Justification: fails to build from source (but built successfully in the past)
User: [email protected]
Usertags: riscv64
X-Debbugs-Cc: [email protected]
Dear maintainer(s),
We are currently porting packages to riscv64 platforms. service-wrapper-java
failed to build on riscv64 due to missing makefile:
```
init:
[tstamp] Honouring environment variable SOURCE_DATE_EPOCH which has been set
to 1654839163
init:msg:
[echo]
**********************************************************************
[echo] * About to build a 64-bit version of Java Service Wrapper Community
3.5.50.
[echo] * The OS Name is "linux", resolved from "Linux".
[echo] * The Architecture is "riscv64", resolved from "riscv64".
[echo] * The distribution name will be: wrapper-linux-riscv64-64-3.5.50
[echo]
**********************************************************************
update-info-c:
[copy] Copying 1 file to /<<PKGBUILDDIR>>/src/c
compile-c-unix-check:
[echo]
**********************************************************************
[echo] * Unable to locate a makefile for the current platform. Looking
for:
[echo] * Makefile-linux-riscv64-64.make
[echo] * If the name contains any spaces or upper case characters then the
[echo] * os and architecture need to be defined in the build.xml file as
well.
[echo]
**********************************************************************
BUILD FAILED
/<<PKGBUILDDIR>>/build.xml:759: Missing makefile.
Total time: 20 seconds
make[1]: *** [debian/rules:33: override_dh_auto_build] Error 1
```
Full buildd log:
https://buildd.debian.org/status/fetch.php?pkg=service-wrapper-java&arch=riscv64&ver=3.5.50-2&stamp=1654842077&raw=0
Attached is a patch that adds makefile for riscv64. Please let me know if I
missed anything.
Cheers,
Eric
Description: Add riscv64 support
cp Makefile-linux-arm-64.make Makefile-linux-riscv64-64.make
Author: Eric Long <[email protected]>
Last-Update: 2022-09-11
--- /dev/null
+++ b/src/c/Makefile-linux-riscv64-64.make
@@ -0,0 +1,50 @@
+# Copyright (c) 1999, 2022 Tanuki Software, Ltd.
+# http://www.tanukisoftware.com
+# All rights reserved.
+#
+# This software is the proprietary information of Tanuki Software.
+# You shall use it only in accordance with the terms of the
+# license agreement you entered into with Tanuki Software.
+# http://wrapper.tanukisoftware.com/doc/english/licenseOverview.html
+
+COMPILE = gcc -g -O3 -fPIC -Wall --pedantic -DLINUX -D_FORTIFY_SOURCE=2
-DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE
+
+WRAPPER_LINK_OPTS = -Wl,-z,relro,-z,now
+
+INCLUDE=$(JAVA_HOME)/include
+
+DEFS = -I$(INCLUDE) -I$(INCLUDE)/linux
+
+wrapper_SOURCE = wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c
property.c logger.c logger_file.c wrapper_file.c wrapper_i18n.c
wrapper_hashmap.c wrapper_ulimit.c wrapper_encoding.c wrapper_jvminfo.c
+
+libwrapper_so_OBJECTS = wrapper_i18n.o wrapperjni_unix.o wrapperinfo.o
wrapperjni.o loggerjni.o
+
+BIN = ../../bin
+LIB = ../../lib
+
+all: init wrapper libwrapper.so
+
+clean:
+ rm -f *.o
+
+cleanall: clean
+ rm -rf *~ .deps
+ rm -f $(BIN)/wrapper $(LIB)/libwrapper.so
+
+init:
+ if test ! -d .deps; then mkdir .deps; fi
+
+wrapper: $(wrapper_SOURCE)
+ $(COMPILE) $(WRAPPER_LINK_OPTS) -pthread $(wrapper_SOURCE) -lm -o
$(BIN)/wrapper
+
+libwrapper.so: $(libwrapper_so_OBJECTS)
+ ${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
+
+%.o: %.c
+ @echo '$(COMPILE) -c $<'; \
+ $(COMPILE) -pthread $(DEFS) -Wp,-MD,.deps/$(*F).pp -c $<
+ @-cp .deps/$(*F).pp .deps/$(*F).P; \
+ tr ' ' '\012' < .deps/$(*F).pp \
+ | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
+ >> .deps/$(*F).P; \
+ rm .deps/$(*F).pp
--- End Message ---
--- Begin Message ---
Source: service-wrapper-java
Source-Version: 3.5.50-3
Done: tony mancill <[email protected]>
We believe that the bug you reported is fixed in the latest version of
service-wrapper-java, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
tony mancill <[email protected]> (supplier of updated service-wrapper-java
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 11 Sep 2022 08:00:46 -0700
Source: service-wrapper-java
Architecture: source
Version: 3.5.50-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: tony mancill <[email protected]>
Closes: 1019528
Changes:
service-wrapper-java (3.5.50-3) unstable; urgency=medium
.
* Update makefiles patch to address FTBFS on riscv64 (Closes: #1019528)
Thank you to Eric Long for the patch.
Checksums-Sha1:
bf4ac308d2af01a0d79a9b584fc14e593111d919 2437 service-wrapper-java_3.5.50-3.dsc
7ff336d2b10e80ef75c8c162a8305893154f0f17 11988
service-wrapper-java_3.5.50-3.debian.tar.xz
b4bb029a53eee53003474f86f4a9a81dbe835173 12673
service-wrapper-java_3.5.50-3_amd64.buildinfo
Checksums-Sha256:
a34a7a0be3ee4ba255e113f54474a02d1a47fd2c7b5fb61443aef2fc9d9a0d11 2437
service-wrapper-java_3.5.50-3.dsc
292b149bf5455e5c042e89b3d12245ade99873d42b70d297874ae54551904739 11988
service-wrapper-java_3.5.50-3.debian.tar.xz
52cbc76a713da7737ea27e05ffef81e51f0beea2c1e76fa058a23b45571a1c42 12673
service-wrapper-java_3.5.50-3_amd64.buildinfo
Files:
585f6cbb3e677a33366b9baf266f7d11 2437 java optional
service-wrapper-java_3.5.50-3.dsc
bd8dbc92115ca7c07881c5cebc3348f1 11988 java optional
service-wrapper-java_3.5.50-3.debian.tar.xz
371c5f80d455a5b6aa1c8ed558616226 12673 java optional
service-wrapper-java_3.5.50-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmMd/uYUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpb/LQ/+MkZEaZ5fDjn/r0Wkwn6DyywKkpeT
odOlqBn17T9+vbVIhsgeq3i+2ZM9RI4qI2wGDhjW6d6UmUKTAoWPzDjZiw5CiWcK
IkQ/+5uXwiSFkfheyFS3oA4eqzdtRUj7b9aVKU/wN/dAo6A8/Du8C41HrWqS5kSP
ELxWBHkoZwnzUbOWgFmk9LDroEPaP9kQTSertC3xokYLDMpZZCn4NM4NrFLTdkNI
MKQ/o4w5uD6Y8H5PIyq1TCcatdqb0F8Zrab6CTeWdARffyl7bAFfUlFoXzrC4Z8V
Gbxy+ghyUkt/Wr0avrngKW10N8oMTiVDEdYlx57rWABieNIB6aoIv1xhJrstW1Ho
PnsK3OyMDjE8+t3eQWWbxRiwdubLXgvXofrVjRboiTWM+qPOPjZ92mJHjh9hfKmW
Dlcl8J+nW29RozO8OR5QIhVxPb25VMJJDgSh3TKd/s96ZVnsBWaVwC47j5mHOUTS
+V2mVEVDFVkHFxgdw5cM2DkZCFZBFQ+S5mN0JHp91srXwSLsfv1/iWfsaScCOpNH
+8ANhCjB6Cpynh+vB3nV1jb2TcxRu2w91v7GlF3vLPp+CjCG6XL9Yk193jSWZWp7
OcpIoJo7esRA6nNL6bn4nQ2PUAL6gXYb8h22J8Mo1v39G8J0N4vah4oyyfIH5y+j
SKrWr+FA5CNdsXg=
=QLII
-----END PGP SIGNATURE-----
--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.