@jotoho when I include something in my home, I usually use $HOME variable, so you can do: export PATH="$PATH:$HOME/scripts"
Search Criteria
Package Details: jitsi 2.11.5633-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/jitsi.git (read-only, click to copy) |
---|---|
Package Base: | jitsi |
Description: | An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator) |
Upstream URL: | https://desktop.jitsi.org/Main/HomePage |
Licenses: | Apache |
Submitter: | psychedelicious |
Maintainer: | figue (figuepluto, jfigueras) |
Last Packager: | figue |
Votes: | 371 |
Popularity: | 0.175336 |
First Submitted: | 2011-05-11 11:22 (UTC) |
Last Updated: | 2020-12-12 16:22 (UTC) |
Dependencies (3)
- java-runtime (java-gcj-compat, jdk9, jre9, jdk-devel, jre10, jdk6, jdk12-openj9-bin, zulu-12-bin, jre6, jre12, server-jre, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jre8-openjdk-jetbrains, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, jre7, jre14, jdk8-jetbrains, zulu-14-bin, jdk-bcl, jre-bcl, amazon-corretto-15, jdk11-openjdk-dcevm-conflicts-fixed, zulu-embedded-jdk8, sapmachine-jdk-bin, jdk15-adoptopenjdk, liberica-jre-8-full-bin, amazon-corretto-16, jdk8-graalvm-bin, jdk16-graalvm-bin, jre8-openjdk-shenandoah, zulu-16-bin, jdk7-j9-bin, jdk11-graalvm-ee-bin, jdk11-j9-bin, jdk16-adoptopenjdk, jdk11-openj9-bin, zulu-jdk-fx-bin, jdk11-microsoft-openjdk, jdk16-microsoft-openjdk, jre12-openjdk, jre13-openjdk, jre14-openjdk, jre15-openjdk, jre16-openjdk, jdk-jetbrains, zulu-embedded-jdk, jre-openj9, jdk11-msopenjdk-bin, jdk18-beta-temurin, zulu-jre-fx-bin, hmcl-zulu-bin, zulu-13-bin, jdk8-arm, jre11, jre17-jetbrains, jre-jetbrains-openjdk-xdg, jre-jetbrains, zulu-embedded-jdk11, amazon-corretto-17, amazon-corretto-18, jre, jre-lts, amazon-corretto-8, amazon-corretto-11, jre-openjdk-xdg, zulu-8-bin, zulu-11-bin, zulu-17-bin, zulu-18-bin, zulu-15-bin, jdk8-j9-bin, jdk7r1-j9-bin, liberica-jdk-11-bin, liberica-jdk-11-full-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, liberica-jre-11-full-bin, liberica-jdk-17-full-bin, liberica-jdk-full-bin, liberica-jdk-8-full-bin, jdk11-graalvm-bin, jdk17-graalvm-bin, jre11-jetbrains-imfix, jdk-arm, jdk-temurin, jdk11-temurin, jdk17-temurin, jre8-adoptopenjdk, java-openjdk-bin, jdk-microsoft-openjdk, jre8, jdk8, jdk18-openj9-bin, java-openjdk-loom-ea-bin, java-openjdk-ea-bin, jre17-jetbrains-imfix, jdk8-dragonwell-bin, jdk11-dragonwell-bin, jdk17-dragonwell-bin, jdk8-openj9-bin, jdk-openj9-bin, jre-openjdk, jre11-openjdk, jre17-openjdk, jre8-openjdk)
- apache-ant (ant-git, ant) (make)
- java-environment (java-gcj-compat, jdk9, zulu-10-bin, jdk-devel, jdk6, jdk12-openj9-bin, zulu-12-bin, jdk12, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jdk8-openjdk-jetbrains, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, jdk8-jetbrains, zulu-14-bin, jdk-bcl, amazon-corretto-15, jdk11-openjdk-dcevm-conflicts-fixed, zulu-embedded-jdk8, sapmachine-jdk-bin, jdk15-adoptopenjdk, liberica-jre-8-full-bin, amazon-corretto-16, jdk8-graalvm-bin, jdk16-graalvm-bin, jdk8-openjdk-shenandoah, zulu-16-bin, jdk7-j9-bin, jdk11-graalvm-ee-bin, jdk11-j9-bin, jdk16-adoptopenjdk, jdk11-openj9-bin, jdk11-microsoft-openjdk, jdk16-microsoft-openjdk, jdk12-openjdk, jdk13-openjdk, jdk14-openjdk, jdk15-openjdk, jdk16-openjdk, jdk-jetbrains, zulu-embedded-jdk, jdk-openj9, jdk11-msopenjdk-bin, jdk18-beta-temurin, zulu-13-bin, jdk8-arm, jdk11, jdk17-jetbrains, jdk-jetbrains-openjdk-xdg, jre-jetbrains, zulu-embedded-jdk11, amazon-corretto-17, amazon-corretto-18, jdk, jdk-lts, amazon-corretto-8, amazon-corretto-11, jdk-openjdk-xdg, zulu-8-bin, zulu-11-bin, zulu-17-bin, zulu-18-bin, zulu-15-bin, jdk8-j9-bin, jdk7r1-j9-bin, liberica-jdk-11-bin, liberica-jdk-11-full-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, liberica-jre-11-full-bin, liberica-jdk-17-full-bin, liberica-jdk-full-bin, liberica-jdk-8-full-bin, jdk11-graalvm-bin, jdk17-graalvm-bin, jdk11-jetbrains-imfix, jdk-arm, jdk-temurin, jdk11-temurin, jdk17-temurin, jdk8-adoptopenjdk, java-openjdk-bin, jdk-microsoft-openjdk, jdk8, jdk18-openj9-bin, java-openjdk-loom-ea-bin, java-openjdk-ea-bin, jdk17-jetbrains-imfix, jdk8-dragonwell-bin, jdk11-dragonwell-bin, jdk17-dragonwell-bin, jdk8-openj9-bin, jdk-openj9-bin, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk8-openjdk) (make)
Required by (0)
Sources (3)
Latest Comments
figue commented on 2021-03-20 15:34 (UTC)
figue commented on 2021-03-14 14:43 (UTC)
@jotoho Never heard about this security concern... I've never added "." in my $PATH so user that does this has to know the possible consequenses. To have ~/scripts in PATH should not be a problem. Can you provide an example so I can reproduce or can you provide a patch to avoid it?
Thank you
figue commented on 2021-01-03 19:12 (UTC)
@MichaelARCH in a pinned comment you have a makepkg temporary command to build jitsi with JDK8.
MichaelARCH commented on 2021-01-03 18:38 (UTC) (edited on 2021-01-03 18:43 (UTC) by MichaelARCH)
On my system OpenJDK14 (default) and OpenJDK8 are installed. And I want to keep openJDK14 as standard for other purposes.
During Build, got the error:
/jitsi/src/jitsi-5633/build.xml:269: Compile failed; see the compiler error output for details.
Do you recommend that I change it temporarily for the build to Version 8, like described here? Or to prefer another procedure?
Thanks, Michael
ArthurBorsboom commented on 2020-12-15 20:51 (UTC)
Hi Figue,
Do you think you can adapt the PKGBUILD in a way that the java compiler is forced to OpenJDK8 before compiling? For example, in pseudo:
JavaSettings originalJavaSetting = RequestCurrentJava();
boolean changeJavaVersion = originalJavaSetting != openjdk-8;
if (changeJavaVersion) {
force openjdk-8
}
compile and package jitsi
if (changeJavaVersion) {
restore originalJavaSetting;
}
figue commented on 2020-12-12 18:45 (UTC)
Ok... If the version is not stable enough I will revert the last commit. I don't use anymore Jisti, so I'm maintaining just for you guys. If anyone is interested in maintaining this package, please comment and I'll orphan.
Zappo-II commented on 2020-12-12 17:44 (UTC) (edited on 2020-12-12 18:03 (UTC) by Zappo-II)
Ok, after the update and having it running in java-8-openjdk again, my installation kept SegFaulting and CoreDumping when I was some seconds into the application, no matter what I did or did not do...
Before the update it was just working fine and everything I changed was just to newly build jitsi...
To have it running stable again I had to delete all my jitsi settings in ~/.jitsi and had to rebuild them using the jitsi settings dialogs...
ThankYou @figue for packaging jitsi, it's my daily sip-phone app and I really appreciate having it at hand...
figue commented on 2020-12-12 17:04 (UTC) (edited on 2021-01-03 19:13 (UTC) by figue)
I've built with jdk8... Like this:
env JAVA_HOME=/usr/lib/jvm/java-8-openjdk PATH=/usr/lib/jvm/java-8-openjdk/jre/bin:$PATH makepkg -sic
But if you want to execute jitsi, it's better to set it globally:
archlinux-java set java-8-openjdk
See pinned comment.
Zappo-II commented on 2020-12-12 16:51 (UTC) (edited on 2020-12-12 17:18 (UTC) by Zappo-II)
Download of source is working...
- Also needs java-8 at compile time...
Can confirm, is working (for me)...
figue commented on 2020-12-12 16:23 (UTC)
I've pushed to latest version v2.11.5633 can you test if everything is ok?
electricprism commented on 2020-12-12 03:52 (UTC)
Upstream URL is 404
jal666 commented on 2020-08-05 17:24 (UTC)
BUILD FAILED /home/username/.cache/yay/jitsi/src/jitsi-Jitsi-2.10/build.xml:269: Compile failed; see the compiler error output for details.
==> ERROR: A failure occurred in build(). Aborting... error making: %!s(func() string=0x56466a747bb0)
Thanks!
figue commented on 2020-06-21 12:54 (UTC)
@vvrng fixed. Thanks!
vvrng commented on 2020-06-21 10:01 (UTC) (edited on 2020-06-21 10:12 (UTC) by vvrng)
hello friends, the download link for the source appears to be broken for me.
https://github.com/jitsi/jitsi/releases/download/Jitsi-2.10/jitsi-src-2.10.5550.zip
this works though
figue commented on 2020-06-12 10:28 (UTC)
Latest stable version is 2.10.5550. Don't flag as out-of-date please
figue commented on 2020-05-26 19:08 (UTC)
@s3lph done. Thanks
s3lph commented on 2020-05-26 16:05 (UTC)
Would you mind adding X-PulseAudio-Properties=media.role=phone
to your jitsi.desktop
file? This allows users to configure PulseAudio so that everything else can be muted when the phone is ringing.
See the upstream issue for more details, there they also link to their own jitsi.desktop
file: https://github.com/jitsi/jitsi/issues/404
Antimatter commented on 2020-05-12 07:32 (UTC) (edited on 2020-05-12 08:01 (UTC) by Antimatter)
I got the same error as @sachaz :
BUILD FAILED /home/user/AUR/jitsi/src/jitsi/build.xml:269: Compile failed; see the compiler error output for details.
Available Java environments: java-11-openjdk java-8-openjdk (default)
RESOLVED : The error comes from the fact that I first tried to create the package with a version higher than java 8 before moving to this version. The easiest way to fix this is to delete the directory and restart with java 8.
figue commented on 2020-04-15 20:51 (UTC) (edited on 2020-04-15 20:51 (UTC) by figue)
@nedy I usually copy desktop file to my home: ~/.local/share/applications
There you can modify Name and Exec, for example, and leave the system file, because it will be replaced by pacman in next update.
nedy commented on 2020-04-15 19:16 (UTC)
I tried to start jitsi, but the message is you need JDK-8. I don't want to set my default to JDK-8. So I decided to set JAVA_HOME in the desktop file.
File: /usr/share/applications/jitsi.desktop Exec=env JAVA_HOME=/usr/lib/jvm/java-8-openjdk jitsi
Is there maybe a better way?
figue commented on 2020-04-06 21:54 (UTC) (edited on 2020-04-06 21:54 (UTC) by figue)
@sachaz what's your Java default?
$ archlinux-java status
Available Java environments:
java-11-openjdk
java-13-openjdk
java-14-jdk
java-8-openjdk (default)
Try with java-8-openjdk
sachaz commented on 2020-04-06 12:19 (UTC) (edited on 2020-04-06 13:35 (UTC) by sachaz)
I got on aur/jitsi 2.10.5550-10:
BUILD FAILED
/home/sacha/.cache/yay/jitsi/src/jitsi/build.xml:269: Compile failed; see the compiler error output for details.
Complete log https://pastebin.aquilenet.fr/?9978defc5e37c936#5AK7qZQG5UtkbtJniNAG5Bt3PZVvV6vEG4vfrCa8YJq1
spurgeonspooner commented on 2020-03-19 03:57 (UTC)
Does this package include jibri for recording and streaming, or is that packaged separately somewhere else?
vasya commented on 2020-03-16 20:11 (UTC) (edited on 2020-03-17 08:02 (UTC) by vasya)
Hi! Can you please use Exec=jitsi
instead of Exec=/usr/bin/jitsi
in the *.desktop file? This way, local overrides in /usr/local/bin
and things like that work correctly. It's also the standard way to specify Exec section of the desktop file. UPD: Thanks!
satriani commented on 2020-02-22 10:21 (UTC) (edited on 2020-02-22 13:23 (UTC) by satriani)
The following issue still exists
BUILD FAILED
/home/user/.cache/yay/jitsi/src/jitsi/build.xml:454: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"
Total time: 0 seconds
==> ERROR: A failure occurred in build().
Aborting...
Error making: jitsi
To fix it you need this command
sudo archlinux-java set java-8-jdk
figue commented on 2020-02-21 10:47 (UTC)
@satriani sorry forgot to add jitsi.sh
Please, sync your local repo and try again :P
satriani commented on 2020-02-21 08:39 (UTC) (edited on 2020-02-21 08:42 (UTC) by satriani)
jitsi.sh ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: jitsi
and
BUILD FAILED
/home/user/.cache/yay/jitsi/src/jitsi/build.xml:454: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"
Total time: 0 seconds
==> ERROR: A failure occurred in build().
Aborting...
Error making: jitsi
figue commented on 2020-02-20 19:49 (UTC)
@yochananmarqos done. Also I have added a check in /usr/bin/jitsi script.
In a few days I will orphan this package, because I don't use it anymore.
yochananmarqos commented on 2020-02-20 14:41 (UTC)
@figue: If JRE & JDK 8 are required, you should specify them in the dependencies:
depends=('java-runtime=8')
makedepends=('apache-ant' 'java-environment=8')
...and it's sudo archlinux-java set java-8-openjdk/jre
to set it as default.
figue commented on 2019-10-27 16:40 (UTC)
@cassyb you shouldn't use yaourt anymore (it's deprecated and removed from AUR). See full AUR helpers list here: https://wiki.archlinux.org/index.php/AUR_helpers
In this comment is explained by @r0b0t
In order to have this install correctly:
1) Select jdk8-openjdk (option 4) when installing java-environment (it compiles with that version only)
2) make sure your HOME_JAVA is set right (use archlinux-java):
$ archlinux-java get java-8-openjdk
dreieck commented on 2019-10-27 12:49 (UTC)
The build + build-error looks for me like:
[...]
==> Extracting sources...
-> Extracting jitsi-src-2.10.5550.zip with bsdtar
==> Starting build()...
[...]
version:
[javac] Compiling 3 source files to /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] 4 warnings
[echo] Jitsi version 2.10.5550
[...]
compile:
[javac] Compiling 2172 source files to /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:35: error: cannot find symbol
[javac] implements NameService
[javac] ^
[javac] symbol: class NameService
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:25: error: package sun.net.spi.nameservice does not exist
[javac] import sun.net.spi.nameservice.*;
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameServiceDescriptor.java:29: error: cannot find symbol
[javac] implements NameServiceDescriptor
[javac] ^
[javac] symbol: class NameServiceDescriptor
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameServiceDescriptor.java:36: error: cannot find symbol
[javac] public NameService createNameService()
[javac] ^
[javac] symbol: class NameService
[javac] location: class JitsiDnsNameServiceDescriptor
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameServiceDescriptor.java:20: error: package sun.net.spi.nameservice does not exist
[javac] import sun.net.spi.nameservice.*;
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/service/protocol/ServerStoredDetails.java:895: warning: [deprecation] Boolean(boolean) in Boolean has been deprecated
[javac] super(detailName, new Boolean(value));
[javac] ^
[...] [ Many deprecation warnings]
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:144: error: no suitable method found for binarySearch(Vector<TreeNode>,ContactNode,NodeComparator)
[javac] final int insertionPoint = Collections.binarySearch(children,
[javac] ^
[javac] method Collections.<T#1>binarySearch(List<? extends Comparable<? super T#1>>,T#1) is not applicable
[javac] (cannot infer type-variable(s) T#1
[javac] (actual and formal argument lists differ in length))
[javac] method Collections.<T#2>binarySearch(List<? extends T#2>,T#2,Comparator<? super T#2>) is not applicable
[javac] (cannot infer type-variable(s) T#2
[javac] (argument mismatch; NodeComparator cannot be converted to Comparator<? super TreeNode>))
[javac] where T#1,T#2 are type-variables:
[javac] T#1 extends Object declared in method <T#1>binarySearch(List<? extends Comparable<? super T#1>>,T#1)
[javac] T#2 extends Object declared in method <T#2>binarySearch(List<? extends T#2>,T#2,Comparator<? super T#2>)
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:299: error: no suitable method found for binarySearch(Vector<TreeNode>,GroupNode,NodeComparator)
[javac] int insertionPoint = Collections.binarySearch(children,
[javac] ^
[javac] method Collections.<T#1>binarySearch(List<? extends Comparable<? super T#1>>,T#1) is not applicable
[javac] (cannot infer type-variable(s) T#1
[javac] (actual and formal argument lists differ in length))
[javac] method Collections.<T#2>binarySearch(List<? extends T#2>,T#2,Comparator<? super T#2>) is not applicable
[javac] (cannot infer type-variable(s) T#2
[javac] (argument mismatch; NodeComparator cannot be converted to Comparator<? super TreeNode>))
[javac] where T#1,T#2 are type-variables:
[javac] T#1 extends Object declared in method <T#1>binarySearch(List<? extends Comparable<? super T#1>>,T#1)
[javac] T#2 extends Object declared in method <T#2>binarySearch(List<? extends T#2>,T#2,Comparator<? super T#2>)
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:331: error: incompatible types: Collection<TreeNode> cannot be converted to Collection<ContactNode>
[javac] return Collections.unmodifiableCollection(children);
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:371: error: no suitable method found for sort(Vector<TreeNode>,NodeComparator)
[javac] Collections.sort(children, nodeComparator);
[javac] ^
[javac] method Collections.<T#1>sort(List<T#1>) is not applicable
[javac] (cannot infer type-variable(s) T#1
[javac] (actual and formal argument lists differ in length))
[javac] method Collections.<T#2>sort(List<T#2>,Comparator<? super T#2>) is not applicable
[javac] (cannot infer type-variable(s) T#2
[javac] (argument mismatch; NodeComparator cannot be converted to Comparator<? super TreeNode>))
[javac] where T#1,T#2 are type-variables:
[javac] T#1 extends Comparable<? super T#1> declared in method <T#1>sort(List<T#1>)
[javac] T#2 extends Object declared in method <T#2>sort(List<T#2>,Comparator<? super T#2>)
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/call/CallPanel.java:423: warning: [deprecation] Observer in java.util has been deprecated
[javac] private final Observer uiVideoHandlerObserver
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/call/CallPanel.java:424: warning: [deprecation] Observer in java.util has been deprecated
[javac] = new Observer()
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/call/CallPanel.java:426: warning: [deprecation] Observable in java.util has been deprecated
[javac] public void update(Observable o, Object arg)
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/call/UIVideoHandler2.java:41: warning: [deprecation] Observable in java.util has been deprecated
[javac] extends Observable
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/customcontrols/ExtendedTableModel.java:42: error: incompatible types: Vector<Vector> cannot be converted to Vector<Vector<Object>>
[javac] Vector<Vector<Object>> dataVec = this.getDataVector();
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/customcontrols/SIPCommNotificationsButton.java:132: warning: [deprecation] Integer(int) in Integer has been deprecated
[javac] new Integer(count).toString(), this);
[javac] ^
[...] [ Many deprecation warings]
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/plugin/jabberaccregwizz/IceConfigPanel.java:820: error: incompatible types: Vector<Vector> cannot be converted to Vector<Vector<StunServerDescriptor>>
[javac] = tableModel.getDataVector();
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/plugin/jabberaccregwizz/IceConfigPanel.java:1310: error: incompatible types: Vector<Vector> cannot be converted to Vector<Vector<JingleNodeDescriptor>>
[javac] = jnTableModel.getDataVector();
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/plugin/ircaccregwizz/FirstWizardPage.java:578: warning: [deprecation] Boolean(String) in Boolean has been deprecated
[javac] new Boolean(autoNickChange).booleanValue());
[javac] ^
[...] [ Many deprecation warnings]
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/service/gui/LazyConfigurationForm.java:145: warning: [deprecation] newInstance() in Class has been deprecated
[javac] .newInstance();
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:74: error: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:95: error: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/src/net/java/sip/communicator/util/UtilActivator.java:104: warning: [deprecation] newInstance() in Class has been deprecated
[javac] .newInstance();
[javac] ^
[javac] where T is a type-variable:
[javac] T extends Object declared in class Class
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/test/net/java/sip/communicator/slick/configuration/TestConfigurationService.java:274: warning: [deprecation] Integer(int) in Integer has been deprecated
[javac] property = new Integer(7121979);
[...] [ Many deprecation warnings]
[javac] /tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/test/net/java/sip/communicator/slick/runner/XmlFormatter.java:176: warning: [deprecation] Long(long) in Long has been deprecated
[javac] testStarts.put(test, new Long(System.currentTimeMillis()));
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 14 errors
[javac] 391 warnings
BUILD FAILED
/tmp/yaourt-tmp-guest/aur-jitsi/src/jitsi/build.xml:269: Compile failed; see the compiler error output for details.
cassyb commented on 2019-08-20 20:17 (UTC)
doesn't build with : jdk8-openjdk-8.u222-2 jre8-openjdk-8.u222-2 jre8-openjdk-headless-8.u222-2 ant-1.10.6-1 java-environment-common-3-1
Buildfile: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/build.xml
clean-bundle-repositories:
clean-test-reports:
clean-macosx:
clean:
init: [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/classes [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/doc/api [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles/os-specific [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles/os-specific/macosx [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles/os-specific/linux [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles/os-specific/windows [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles/os-specific/freebsd [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles/os-specific/android [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/test-reports [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/test-reports/html [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/release [mkdir] Created dir: /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/log
bundle-bundles: [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/sc-bundles
-pre-version:
version: [javac] Compiling 3 source files to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 7 [javac] warning: [options] source value 7 is obsolete and will be removed in a future release [javac] warning: [options] target value 7 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings [echo] Jitsi version 2.10.5550
-pre-googlecontacts-none: [copy] Copying 1 file to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/src/net/java/sip/communicator/impl/googlecontacts
-pre-googlecontacts:
compile: [javac] Compiling 2172 source files to /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/classes
BUILD FAILED /tmp/yaourt-tmp-user/aur-jitsi/src/jitsi/build.xml:269: Error running javac compiler
figue commented on 2019-07-20 00:44 (UTC) (edited on 2019-07-20 00:46 (UTC) by figue)
@ubuntourist please review this comment:
https://aur.archlinux.org/packages/jitsi/#comment-679840
Try to select jdk8-openjdk to build. Execute "archlinux-java get" to verify.
ubuntourist commented on 2019-07-19 20:53 (UTC)
Package broken.
[javac] 14 errors
[javac] 388 warnings
The 14 errors:
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:35: error: cannot find symbol
[javac] implements NameService
[javac] ^
[javac] symbol: class NameService
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:25: error: package sun.net.spi.nameservice does not exist
[javac] import sun.net.spi.nameservice.*;
[javac] ^
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameServiceDescriptor.java:29: error: cannot find symbol
[javac] implements NameServiceDescriptor
[javac] ^
[javac] symbol: class NameServiceDescriptor
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameServiceDescriptor.java:36: error: cannot find symbol
[javac] public NameService createNameService()
[javac] ^
[javac] symbol: class NameService
[javac] location: class JitsiDnsNameServiceDescriptor
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameServiceDescriptor.java:20: error: package sun.net.spi.nameservice does not exist
[javac] import sun.net.spi.nameservice.*;
[javac] ^
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:144: error: no suitable method found for binarySearch(Vector<TreeNode>,ContactNode,NodeComparator)
[javac] final int insertionPoint = Collections.binarySearch(children,
[javac] ^
[javac] method Collections.<T#1>binarySearch(List<? extends Comparable<? super T#1>>,T#1) is not applicable
[javac] (cannot infer type-variable(s) T#1
[javac] (actual and formal argument lists differ in length))
[javac] method Collections.<T#2>binarySearch(List<? extends T#2>,T#2,Comparator<? super T#2>) is not applicable
[javac] (inferred type does not conform to upper bound(s)
[javac] inferred: TreeNode
[javac] upper bound(s): ContactListNode,Object)
[javac] where T#1,T#2 are type-variables:
[javac] T#1 extends Object declared in method <T#1>binarySearch(List<? extends Comparable<? super T#1>>,T#1)
[javac] T#2 extends Object declared in method <T#2>binarySearch(List<? extends T#2>,T#2,Comparator<? super T#2>)
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:299: error: no suitable method found for binarySearch(Vector<TreeNode>,GroupNode,NodeComparator)
[javac] int insertionPoint = Collections.binarySearch(children,
[javac] ^
[javac] method Collections.<T#1>binarySearch(List<? extends Comparable<? super T#1>>,T#1) is not applicable
[javac] (cannot infer type-variable(s) T#1
[javac] (actual and formal argument lists differ in length))
[javac] method Collections.<T#2>binarySearch(List<? extends T#2>,T#2,Comparator<? super T#2>) is not applicable
[javac] (inferred type does not conform to upper bound(s)
[javac] inferred: TreeNode
[javac] upper bound(s): ContactListNode,Object)
[javac] where T#1,T#2 are type-variables:
[javac] T#1 extends Object declared in method <T#1>binarySearch(List<? extends Comparable<? super T#1>>,T#1)
[javac] T#2 extends Object declared in method <T#2>binarySearch(List<? extends T#2>,T#2,Comparator<? super T#2>)
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:331: error: incompatible types: Collection<TreeNode> cannot be converted to Collection<ContactNode>
[javac] return Collections.unmodifiableCollection(children);
[javac] ^
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/main/contactlist/GroupNode.java:371: error: no suitable method found for sort(Vector<TreeNode>,NodeComparator)
[javac] Collections.sort(children, nodeComparator);
[javac] ^
[javac] method Collections.<T#1>sort(List<T#1>) is not applicable
[javac] (cannot infer type-variable(s) T#1
[javac] (actual and formal argument lists differ in length))
[javac] method Collections.<T#2>sort(List<T#2>,Comparator<? super T#2>) is not applicable
[javac] (inferred type does not conform to upper bound(s)
[javac] inferred: TreeNode
[javac] upper bound(s): ContactListNode,Object)
[javac] where T#1,T#2 are type-variables:
[javac] T#1 extends Comparable<? super T#1> declared in method <T#1>sort(List<T#1>)
[javac] T#2 extends Object declared in method <T#2>sort(List<T#2>,Comparator<? super T#2>)
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/impl/gui/customcontrols/ExtendedTableModel.java:42: error: incompatible types: Vector<Vector> cannot be converted to Vector<Vector<Object>>
[javac] Vector<Vector<Object>> dataVec = this.getDataVector();
[javac] ^
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/plugin/jabberaccregwizz/IceConfigPanel.java:820: error: incompatible types: Vector<Vector> cannot be converted to Vector<Vector<StunServerDescriptor>>
[javac] = tableModel.getDataVector();
[javac] ^
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/plugin/jabberaccregwizz/IceConfigPanel.java:1310: error: incompatible types: Vector<Vector> cannot be converted to Vector<Vector<JingleNodeDescriptor>>
[javac] = jnTableModel.getDataVector();
[javac] ^
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:74: error: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
[javac] /.../.cache/yay/jitsi/src/jitsi/src/net/java/sip/communicator/util/JitsiDnsNameService.java:95: error: method does not override or implement a method from a supertype
[javac] @Override
[javac] ^
figue commented on 2019-07-19 08:27 (UTC)
Package adopted and fixed. Why do you guys don't do this before? I'm only trying this software, it could be I disown again soon. But let me know if you need help to maintain the package. Cheers
linuxninja commented on 2019-04-24 13:09 (UTC)
Why not pull the .deb already-compiled and make it a package? Seems like it would solve the dependency issues... and there is i386 and amd64 available:
https://download.jitsi.org/stable/jitsi_2.10.5550-1_amd64.deb https://download.jitsi.org/stable/jitsi_2.10.5550-1_i386.deb
Why did they stop updating this software after they were acquired by 8x8?
GNUtoo commented on 2019-04-14 21:16 (UTC) (edited on 2019-04-14 21:17 (UTC) by GNUtoo)
Hi,
Here's are two patches for jitsi:
From 0ad29d729717d895e280a108b617ebeed5b4a9f7 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org Date: Sun, 14 Apr 2019 23:06:33 +0200 Subject: [PATCH 1/2] Fix license spellingThe license name is apache as its directory is spelled that way[1].
This commit is based on the following commit: 4f2994c27 pcr/jitsi: updated to 2.10.5550 in the git://git.parabola.nu/abslibre.git repository.
References:
[1]/usr/share/licenses/common/Apache/
Signed-off-by: Denis 'GNUtoo' Carikli GNUtoo@cyberdimension.org
PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD index
6c6bd1b
..f76bebd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,11 +3,11 @@pkgname=jitsi pkgver=2.10.5550 -pkgrel=5 +pkgrel=6 pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)" arch=('i686' 'x86_64') url="http://jitsi.org" -license=('apache') +license=('Apache') depends=('java-runtime') makedepends=('apache-ant' 'java-environment-common') options=(!strip !emptydirs zipman !libtool docs) -- 2.21.0
From e7ba435e32f74cd10ef3cc284686146d7a7ce119 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> Date: Sun, 14 Apr 2019 23:09:22 +0200 Subject: [PATCH 2/2] Fix building failure due to missing /etc/profile.d/apache-ant.sh /etc/profile.d/apache-ant.sh cannot be found extra/ant, extra/ant-doc or in AUR's apache-ant-contrib. It was probably in one of theses packages before and may have been removed because it's not required anymore. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> --- PKGBUILD | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index f76bebd..4ec1486 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=jitsi pkgver=2.10.5550 -pkgrel=6 +pkgrel=7 pkgdesc="An audio/video SIP VoIP phone and instant messenger written in Java (formerly SIP-Communicator)" arch=('i686' 'x86_64') url="http://jitsi.org" @@ -23,7 +23,6 @@ build() cd "${srcdir}/${pkgname}" # append the build revision to the jitsi version sed -i "s/0\.build\.by\.SVN/build.${pkgver}/" src/net/java/sip/communicator/impl/version/NightlyBuildID.java - . /etc/profile.d/apache-ant.sh ant rebuild } -- 2.21.0
r0b0t commented on 2019-01-28 12:52 (UTC) (edited on 2019-01-28 12:53 (UTC) by r0b0t)
In order to have this install correctly:
1) Select jdk8-openjdk (option 4) when installing java-environment (it compiles with that version only)
2)Comment . /etc/profile.d/apache-ant.sh from PKBUILD or remove the line.
3) make sure your HOME_JAVA is set right (use archlinux-java) :
$archlinux-java get java-8-openjdk
bennypr0fane commented on 2019-01-17 09:04 (UTC)
Is it still properly installed if apache-ant.sh is jsut not run? If it's not there, shouldn't the appropriate script be run instead of it?
Techman35 commented on 2019-01-09 13:11 (UTC)
removing the line 26 from the PKGBUILD fix the problem
danisantos commented on 2018-12-24 15:27 (UTC)
On install I get this error: /tmp/pamac-build/jitsi/PKGBUILD: line 26: /etc/profile.d/apache-ant.sh: No such file or directory
duckdalbe commented on 2018-11-21 10:41 (UTC) (edited on 2018-11-21 10:41 (UTC) by duckdalbe)
Why is this marked out-of-date? It appears to package the current version.
zierf commented on 2018-10-19 10:20 (UTC) (edited on 2018-10-19 10:21 (UTC) by zierf)
In my case it installed the package ant (v1.10.5-1) as makedependency, which provides apache-ant and has no such file /etc/profile.d/apache-ant.sh. You could uncomment the correspondent line 26 in PKGBUILD's build() as workaround:
. /etc/profile.d/apache-ant.sh
As alternative, you can replace the makedepend with package apache-ant-10 (also v1.10.5-1), which still provides the missing file /etc/profile.d/apache-ant.sh.
But then I had to set the JAVA_HOME environment variable (jdk8-openjdk/jre8-openjdk):
export JAVA_HOME=/usr/lib/jvm/default
and import the missing and unknown public key A2115AE15F6B8B72 for downloaded file apache-ant-1.10.5-src.tar.bz2 in the local keyring:
gpg --recv-keys A2115AE15F6B8B72
The file /etc/profile.d/apache-ant.sh only sets the proper path into the environment variable ANT_HOME. I think both workarounds produce the same results, because they are the same ant version and both set a valid ANT_HOME environment variable, whilst the former uses another config file and doesn't know the file jitsi wants to source while build. As long as you don't want to change the default ant paths you should be fine with both solutions.
stevenroose commented on 2018-10-10 12:35 (UTC)
/home/steven/.cache/yay/jitsi/PKGBUILD: line 26: /etc/profile.d/apache-ant.sh: No such file or directory
moparisthebest commented on 2018-06-19 17:27 (UTC)
This doesn't build with java10, needs java 8:
depends=('java-runtime=8') makedepends=('apache-ant' 'java-environment-common' 'java-environment=8')
theriddick commented on 2018-04-22 01:06 (UTC)
ArnaudNux you may not actually have java-8-open installed, check because I had exact same error and had java-8-openjdk/jre installed but not java-8-openjdk.
ArnaudNux commented on 2018-04-15 15:30 (UTC) (edited on 2018-04-15 15:31 (UTC) by ArnaudNux)
-pre-version:
version:
BUILD FAILED /home/arnaud/tempo/yaourt-tmp-arnaud/aur-jitsi/src/jitsi/build.xml:454: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"
Total time: 0 seconds ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build jitsi. ==> Restart building jitsi ? [y/N] ==> ------------------------------
xdevla commented on 2018-04-03 11:53 (UTC)
Working fine for me with JAVA_HOME=/usr/lib/jvm/default-runtime Please check your env
Rhinoceros commented on 2018-04-03 10:42 (UTC)
For me, java 8 failed, and java 7 worked.
$ makepkg
...
BUILD FAILED
/tmp/jitsi/src/jitsi/build.xml:454: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"
...
$ archlinux-java status
Available Java environments:
java-7-openjdk
java-8-openjdk/jre (default)
$ sudo archlinux-java set java-7-openjdk
$ makepkg
robertfoster commented on 2018-03-31 13:42 (UTC) (edited on 2018-03-31 13:47 (UTC) by robertfoster)
Hi, Please could you modify your .desktop in this manner?
[Desktop Entry]
Encoding=UTF-8
Name=Jitsi
GenericName=jitsi
Comment=VoIP and Instant Messaging client
Icon=jitsi
Type=Application
Categories=Network
Exec=/usr/bin/jitsi
Terminal=false
in order to provide themeability?
Pinned Comments
figue commented on 2020-12-12 17:04 (UTC) (edited on 2021-01-03 19:13 (UTC) by figue)
I've built with jdk8... Like this:
But if you want to execute jitsi, it's better to set it globally:
archlinux-java set java-8-openjdk
See pinned comment.