Source: swt4-gtk
Version: 4.17.0-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

During a rebuild of the package on a Bullseye based derivate, it is
found that the package fails to build. From the build failure log, it
seems the issue is related to non-ascii characters. Snippet below. Also
to mention that the same build failure is also seen on the Reproducible
Builds setup.

```
[  353s] dh binary --buildsystem=makefile --with maven-repo-helper --with 
javahelper
[  353s]    dh_update_autotools_config -O--buildsystem=makefile
[  353s]    dh_autoreconf -O--buildsystem=makefile
[  353s]    dh_auto_configure -O--buildsystem=makefile
[  354s]    jh_linkjars -O--buildsystem=makefile
[  354s]    debian/rules override_dh_auto_build
[  354s] make[1]: Entering directory '/usr/src/packages/BUILD'
[  354s] cd bundles/org.eclipse.swt && ant -f buildFragment.xml build.jars 
-Dswt.ws=gtk -Dplugindir=.
[  355s] Buildfile: 
/usr/src/packages/BUILD/bundles/org.eclipse.swt/buildFragment.xml
[  356s]
[  356s] properties:
[  356s]
[  356s] init:
[  356s]     [mkdir] Created dir: 
/usr/src/packages/BUILD/bundles/org.eclipse.swt/target
[  356s]
[  356s] build.jars:
[  356s]
[  356s] properties:
[  356s]
[  356s] init:
[  356s]
[  356s] @dot:
[  356s]     [mkdir] Created dir: 
/usr/src/packages/BUILD/bundles/org.eclipse.swt/temp.folder/@dot.bin
[  356s]
[  356s] copy.gtk.src:
[  357s]      [copy] Copying 512 files to 
/usr/src/packages/BUILD/bundles/org.eclipse.swt/temp.folder/@dot.src
[  357s]
[  357s] copy.translationfiles:
[  358s]     [javac] Compiling 436 source files to 
/usr/src/packages/BUILD/bundles/org.eclipse.swt/temp.folder/@dot.bin
[  360s]     [javac] 
/usr/src/packages/BUILD/bundles/org.eclipse.swt/temp.folder/@dot.src/org/eclipse/swt/layout/FillLayout.java:13:
 error: unmappable character (0xC3) for encoding US-ASCII
[  360s]     [javac]  *     Christoph L??ubrich - Bug 513185
[  360s]     [javac]                   ^
[  360s]     [javac] 
/usr/src/packages/BUILD/bundles/org.eclipse.swt/temp.folder/@dot.src/org/eclipse/swt/layout/FillLayout.java:13:
 error: unmappable character (0xA4) for encoding US-ASCII
[  360s]     [javac]  *     Christoph L??ubrich - Bug 513185
[  360s]     [javac]                    ^
[  361s]     [javac] 2 errors
[  361s]
[  361s] BUILD FAILED
[  361s] /usr/src/packages/BUILD/bundles/org.eclipse.swt/buildFragment.xml:88: 
The following error occurred while executing this line:
[  361s] /usr/src/packages/BUILD/bundles/org.eclipse.swt/buildFragment.xml:61: 
Compile failed; see the compiler error output for details.
[  361s]
[  361s] Total time: 5 seconds
[  361s] make[1]: *** [debian/rules:30: override_dh_auto_build] Error 1
[  361s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  361s] make: *** [debian/rules:27: binary] Error 2
[  361s] dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
status 2
```


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (990, 'testing'), (500, 'stable-updates'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_USER
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to