@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.
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: | SanskritFritz |
Last Packager: | figue |
Votes: | 372 |
Popularity: | 0.000006 |
First Submitted: | 2011-05-11 11:22 (UTC) |
Last Updated: | 2020-12-12 16:22 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 24 Next › Last »
@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.
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] ^
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
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?
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
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
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?
removing the line 26 from the PKGBUILD fix the problem
On install I get this error: /tmp/pamac-build/jitsi/PKGBUILD: line 26: /etc/profile.d/apache-ant.sh: No such file or directory
Why is this marked out-of-date? It appears to package the current version.
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.