Search Criteria
Package Details: swt 4.34-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/swt.git (read-only, click to copy) |
---|---|
Package Base: | swt |
Description: | An open source widget toolkit for Java |
Upstream URL: | https://www.eclipse.org/swt/ |
Licenses: | EPL-2.0 |
Submitter: | arojas |
Maintainer: | gpepi |
Last Packager: | gpepi |
Votes: | 6 |
Popularity: | 0.41 |
First Submitted: | 2021-04-22 20:25 (UTC) |
Last Updated: | 2024-12-06 21:33 (UTC) |
Dependencies (13)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
- libxtst
- ant (ant-gitAUR) (make)
- glu (glu-gitAUR) (make)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (make)
- gtk4 (gtk4-customizableAUR, gtk4-paper-planeAUR, gtk4-gitAUR) (make)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk) (make)
- pkgconfig (pkgconf-gitAUR, pkg-config-gitAUR, pkgconf) (make)
- unzip (unzip-natspecAUR, unzip-zstdAUR) (make)
- webkit2gtk (webkit2gtk-imgpasteAUR) (make)
- glu (glu-gitAUR) (optional)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR) (optional)
- gtk4 (gtk4-customizableAUR, gtk4-paper-planeAUR, gtk4-gitAUR) (optional)
Required by (4)
- areca
- areca-beta
- dataloader
- davmail (optional)
Latest Comments
« First ‹ Previous 1 2 3 Next › Last »
cknoblauch commented on 2022-09-30 02:18 (UTC)
I had the same issue as last time with the latest version (4.25-1). I have
java-11-temurin
installed, which includes the missingjni.h
file and also fulfills the necessaryjdk11-openjdk
dependency; however, thePKGBUILD
sets theJAVA_HOME
to/usr/lib/jvm/java-11-openjdk
regardless of whether the openjdk version is installed or not. I could build the package by changing the path to/usr/lib/jvm/java-11-temurin
.It would be great if you could consider cases like this for building the package, @carsme. In the meantime, I'll leave this comment with the workaround for me or anyone else to find the next time I stumble with the same problem.
df8oe commented on 2022-09-28 16:29 (UTC)
Does not build:
Caught an exception while logging the end of the build. Exception was:
java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file sun/util/calendar/CalendarDate
at java.base/sun.util.calendar.Gregorian.newCalendarDate(Gregorian.java:85)
at java.base/java.util.GregorianCalendar.<init>(GregorianCalendar.java:739)
at java.base/java.util.Calendar$Builder.build(Calendar.java:1493)
at java.base/sun.util.locale.provider.CalendarProviderImpl.getInstance(CalendarProviderImpl.java:87)
at java.base/java.util.Calendar.createCalendar(Calendar.java:1696)
at java.base/java.util.Calendar.getInstance(Calendar.java:1660)
at java.base/java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:676)
at java.base/java.text.SimpleDateFormat.<init>(SimpleDateFormat.java:620)
at org.apache.tools.ant.util.DateUtils.<clinit>(DateUtils.java:72)
at org.apache.tools.ant.DefaultLogger.formatTime(DefaultLogger.java:304)
at org.apache.tools.ant.DefaultLogger.buildFinished(DefaultLogger.java:175)
at org.apache.tools.ant.Project.fireBuildFinished(Project.java:2111)
at org.apache.tools.ant.Main.runBuild(Main.java:830)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
There has been an error prior to that:
java.lang.ClassFormatError: Invalid pc in LineNumberTable in class file sun/util/calendar/CalendarDate
at java.base/sun.util.calendar.Gregorian.newCalendarDate(Gregorian.java:85)
at java.base/java.util.GregorianCalendar.<init>(GregorianCalendar.java:739)
at java.base/java.util.Calendar$Builder.build(Calendar.java:1493)
at java.base/sun.util.locale.provider.CalendarProviderImpl.getInstance(CalendarProviderImpl.java:87)
at java.base/java.util.Calendar.createCalendar(Calendar.java:1696)
at java.base/java.util.Calendar.getInstance(Calendar.java:1629)
at org.apache.tools.zip.ZipUtil.dosToJavaTime(ZipUtil.java:128)
at org.apache.tools.zip.ZipFile.readCentralDirectoryEntry(ZipFile.java:513)
at org.apache.tools.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:472)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:217)
at org.apache.tools.zip.ZipFile.<init>(ZipFile.java:178)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:258)
at org.apache.tools.ant.helper.ProjectHelper2.parseUnknownElement(ProjectHelper2.java:134)
at org.apache.tools.ant.helper.ProjectHelper2.parseAntlibDescriptor(ProjectHelper2.java:114)
at org.apache.tools.ant.taskdefs.Antlib.createAntlib(Antlib.java:95)
at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:416)
at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:275)
at org.apache.tools.ant.ComponentHelper.checkNamespace(ComponentHelper.java:853)
at org.apache.tools.ant.ComponentHelper.getDefinition(ComponentHelper.java:308)
at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:285)
at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:264)
at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:434)
at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:166)
at org.apache.tools.ant.Task.perform(Task.java:349)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:184)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:104)
at org.apache.tools.ant.Main.runBuild(Main.java:793)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
-> Fehler beim Erstellen: swt
carsme commented on 2022-06-07 07:59 (UTC)
@cknoblauch I cannot reproduce your issue. Installing works fine in the standard Arch Linux Docker image..
jni.h
should be included injdk11-openjdk
:Can you provide the exact changes to the
PKGBUILD
that fixed your issue?cknoblauch commented on 2022-06-06 19:17 (UTC)
Just in case anyone else runs into the same problem: I had both
java-11-openjdk
andjava-11-temurin
installed. openjdk is a dependency of this package, and does not include eitherlibawt.so
or thejni.h
header, at least in my installation.After manually changing the java-11-openjdk dependency and library path to temurin in the
PKGBUILD
, the package built correctly. You might consider switching the dependency in the package, @carsme.cknoblauch commented on 2022-06-06 14:21 (UTC)
I cannot build the latest version (4.23-1). This is the output I get:
joarod commented on 2021-07-06 19:54 (UTC) (edited on 2021-07-07 08:51 (UTC) by joarod)
Compiling gives javac errors: error: unmappable character for encoding ASCII
Modify file build-swt.xml and include compiler option encoding="UTF-8", line remains like:
<javac srcdir="${src}" destdir="${build}" source="1.8" encoding="UTF-8" />
Update sha256sum in PKGBUILD file: aa13e4954df299c8c450f35677ed14476bb3f467453c2631d2f58d5414c2900d for build-swt.xml
Now makepkg -si should work!
solnce commented on 2021-07-06 09:26 (UTC)
Disowned the package. Turns out I don't need it anymore.
solnce commented on 2021-07-05 17:27 (UTC) (edited on 2021-07-05 17:28 (UTC) by solnce)
Nothing I can do about this, I think.
Edit: Maybe report upstream?
bjo commented on 2021-07-05 17:17 (UTC)
After updating the package:
(2/2) Aktualisierung läuft swt [##############################################] 100% Neue optionale Abhängigkeiten für swt gtk4 ldconfig: /usr/lib/libswt-awt-gtk-4944r26.so ist keine ELF-Datei - sie weist falsche »magische Bytes« am Beginn auf.
« First ‹ Previous 1 2 3 Next › Last »