Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #280406 > unrolled thread
| Started by | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| First post | 2020-06-21 22:10 +0200 |
| Last post | 2020-07-28 01:40 +0200 |
| Articles | 4 — 3 participants |
Back to article view | Back to linux.debian.bugs.rc
Bug#963305: indigo: FTBFS: ./api/java/src/main/java/com/epam/indigo/Indigo.java:95: error: incompatible types: boolean cannot be converted to String Lucas Nussbaum <lucas@debian.org> - 2020-06-21 22:10 +0200
Processed: indigo: diff for NMU version 1.2.3-3.1 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-07-23 01:10 +0200
Bug#963305: indigo: diff for NMU version 1.2.3-3.1 Sudip Mukherjee <sudipm.mukherjee@gmail.com> - 2020-07-23 01:10 +0200
Bug#963305: marked as done (indigo: FTBFS: ./api/java/src/main/java/com/epam/indigo/Indigo.java:95: error: incompatible types: boolean cannot be converted to String) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-07-28 01:40 +0200
| From | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| Date | 2020-06-21 22:10 +0200 |
| Subject | Bug#963305: indigo: FTBFS: ./api/java/src/main/java/com/epam/indigo/Indigo.java:95: error: incompatible types: boolean cannot be converted to String |
| Message-ID | <Akes2-ri-89@gated-at.bofh.it> |
Source: indigo Version: 1.2.3-3 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200620 ftbfs-bullseye Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > /usr/bin/c++ -include /<<PKGBUILDDIR>>/common/cmake/../hacks/gcc_preinclude.h -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -m64 -std=c++11 -Wl,-z,relro -rdynamic -pthread CMakeFiles/indigo-depict.dir/main.c.o -o ../dist/Linux/x64/lib/indigo-depict ../dist/Linux/x64/lib/libindigo.so.0d ../dist/Linux/x64/lib/libindigo-renderer.so.0d ../dist/Linux/x64/lib/libindigo-static.a -lcairo -lpng -lpixman-1 -lpthread -lrt -lz -ltinyxml ../dist/Linux/x64/lib/libinchi.a > make[4]: Leaving directory '/<<PKGBUILDDIR>>/build_scripts/indigo-utils' > [100%] Built target indigo-depict > make[3]: Leaving directory '/<<PKGBUILDDIR>>/build_scripts/indigo-utils' > /usr/bin/cmake -E cmake_progress_start /<<PKGBUILDDIR>>/build_scripts/indigo-utils/CMakeFiles 0 > make[2]: Leaving directory '/<<PKGBUILDDIR>>/build_scripts/indigo-utils' > dh_auto_build > make[1]: Leaving directory '/<<PKGBUILDDIR>>' > jh_build > warning: [options] bootstrap class path not set in conjunction with -source 7 > ./api/java/src/main/java/com/epam/indigo/Indigo.java:95: error: incompatible types: boolean cannot be converted to String > return result.getString(0, false); > ^ > Note: Some input files use or override a deprecated API. > Note: Recompile with -Xlint:deprecation for details. > Note: ./api/java/src/main/java/com/epam/indigo/Indigo.java uses unchecked or unsafe operations. > Note: Recompile with -Xlint:unchecked for details. > Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output > 1 error > 1 warning > jh_build: error: find ./api/java -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/jna.jar:/<<PKGBUILDDIR>>/indigo.jar:/<<PKGBUILDDIR>>/indigo-renderer.jar:/<<PKGBUILDDIR>>/common-controls.jar:debian/_jh_build.indigo -d debian/_jh_build.indigo -encoding ISO8859-1 -source 1.7 -target 1.7 returned exit code 123 > make: *** [debian/rules:15: binary] Error 25 The full build log is available from: http://qa-logs.debian.net/2020/06/20/indigo_1.2.3-3_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.
[toc] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2020-07-23 01:10 +0200 |
| Subject | Processed: indigo: diff for NMU version 1.2.3-3.1 |
| Message-ID | <Avw26-2EH-3@gated-at.bofh.it> |
| In reply to | #280406 |
Processing control commands: > tags 963305 + patch Bug #963305 [src:indigo] indigo: FTBFS: ./api/java/src/main/java/com/epam/indigo/Indigo.java:95: error: incompatible types: boolean cannot be converted to String Added tag(s) patch. > tags 963305 + pending Bug #963305 [src:indigo] indigo: FTBFS: ./api/java/src/main/java/com/epam/indigo/Indigo.java:95: error: incompatible types: boolean cannot be converted to String Added tag(s) pending. -- 963305: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963305 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [next] | [standalone]
| From | Sudip Mukherjee <sudipm.mukherjee@gmail.com> |
|---|---|
| Date | 2020-07-23 01:10 +0200 |
| Subject | Bug#963305: indigo: diff for NMU version 1.2.3-3.1 |
| Message-ID | <Avw26-2EH-5@gated-at.bofh.it> |
| In reply to | #280406 |
Control: tags 963305 + patch
Control: tags 963305 + pending
Dear maintainer,
I've prepared an NMU for indigo (versioned as 1.2.3-3.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should cancel it.
--
Regards
Sudip
diff -Nru indigo-1.2.3/debian/changelog indigo-1.2.3/debian/changelog
--- indigo-1.2.3/debian/changelog 2020-01-17 05:54:17.000000000 +0000
+++ indigo-1.2.3/debian/changelog 2020-07-22 23:41:31.000000000 +0100
@@ -1,3 +1,10 @@
+indigo (1.2.3-3.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Use the correct API to fix FTBFS. (Closes: #963305)
+
+ -- Sudip Mukherjee <sudipm.mukherjee@gmail.com> Wed, 22 Jul 2020 23:41:31 +0100
+
indigo (1.2.3-3) unstable; urgency=medium
* No-change source-only upload.
diff -Nru indigo-1.2.3/debian/patches/fix_ftbfs.patch indigo-1.2.3/debian/patches/fix_ftbfs.patch
--- indigo-1.2.3/debian/patches/fix_ftbfs.patch 1970-01-01 01:00:00.000000000 +0100
+++ indigo-1.2.3/debian/patches/fix_ftbfs.patch 2020-07-22 23:17:52.000000000 +0100
@@ -0,0 +1,22 @@
+Description: Use getString()
+ The api public String getString(long offset, boolean wide) was removed
+ in the latest version of libjna-java. The call with 'false' should now
+ use getString(), and the ones with 'true' should use getWideString().
+
+Author: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
+Bug-Debian: https://bugs.debian.org/963305
+Forwarded: no
+
+---
+
+--- indigo-1.2.3.orig/api/java/src/main/java/com/epam/indigo/Indigo.java
++++ indigo-1.2.3/api/java/src/main/java/com/epam/indigo/Indigo.java
+@@ -92,7 +92,7 @@ public class Indigo {
+ if (result == Pointer.NULL)
+ throw new IndigoException(obj, _lib.indigoGetLastError());
+
+- return result.getString(0, false);
++ return result.getString(0);
+ }
+
+ static public Pointer checkResultPointer(Object obj, Pointer result) {
diff -Nru indigo-1.2.3/debian/patches/series indigo-1.2.3/debian/patches/series
--- indigo-1.2.3/debian/patches/series 2020-01-17 05:54:17.000000000 +0000
+++ indigo-1.2.3/debian/patches/series 2020-07-22 23:14:06.000000000 +0100
@@ -4,3 +4,4 @@
xlocale_ftbfs_fix.patch
pixman_fix_library_name.patch
indigo-deco_build_fix.patch
+fix_ftbfs.patch
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2020-07-28 01:40 +0200 |
| Subject | Bug#963305: marked as done (indigo: FTBFS: ./api/java/src/main/java/com/epam/indigo/Indigo.java:95: error: incompatible types: boolean cannot be converted to String) |
| Message-ID | <AxkSS-3XZ-15@gated-at.bofh.it> |
| In reply to | #280406 |
[Multipart message — attachments visible in raw view] — view raw
Your message dated Mon, 27 Jul 2020 23:33:48 +0000 with message-id <E1k0Ccu-00034k-7D@fasolo.debian.org> and subject line Bug#963305: fixed in indigo 1.2.3-3.1 has caused the Debian Bug report #963305, regarding indigo: FTBFS: ./api/java/src/main/java/com/epam/indigo/Indigo.java:95: error: incompatible types: boolean cannot be converted to String 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 owner@bugs.debian.org immediately.) -- 963305: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963305 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web