Package Details: jreen 1.2.1-1

Git Clone URL: (read-only)
Package Base: jreen
Description: Free and Opensource Jabber library, written in C++ using cross-platform framework Qt.
Upstream URL:
Keywords: cpp library network qt xmpp
Licenses: GPL2
Conflicts: jreen-git
Provides: jreen
Submitter: zizzfizzix
Maintainer: jnbek
Last Packager: jnbek
Votes: 107
Popularity: 0.040937
First Submitted: 2011-11-14 17:00
Last Updated: 2016-07-21 23:58

Dependencies (4)

Required by (2)

Sources (1)

Pinned Comments

jnbek commented on 2016-07-03 18:14

/usr/lib hack fixed. You'll need to likely uninstall your current version if you've force installed this to get rid of the orphaned /usr/lib64 files.

Latest Comments

WoefulDerelict commented on 2016-07-19 07:09

Attempting to build the package on an up to date Arch system yields the following output immediately upon entering build(): CMake Error: The source directory "/home/llewelyn/aur-jreen/src/jreen-1.2.1-build/ " does not exist.

jnbek commented on 2016-07-03 18:14

/usr/lib hack fixed. You'll need to likely uninstall your current version if you've force installed this to get rid of the orphaned /usr/lib64 files.

larvan commented on 2016-07-03 13:49


Please fix this ASAP as it broke my system too. I think it was after a kernel update, caused by /usr/lib64 being an actual dir instead of a link to /usr/lib.

I had to uninstall "jreen" and then reinstall "filesystem" and "linux" (in that order) to fix it, all from a livecd + chroot.

As roentgen said, you have to change the build command like this:
cmake -DJREEN_FORCE_QT4=yes \
-DCMAKE_BUILD_TYPE=${_buildtype} \

Because of the severity and since this hasn't been fixed in the last 15+ days, I am marking it as out-of-date.

bobi commented on 2016-06-28 13:20

This package seems to be cause of a kernel panic I just had, as it seems to have broken the symbolic link /usr/lib64/ -> /usr/lib/

See this (from a USB boot):

# ls -R /usr/lib64


JohnRobson commented on 2016-06-16 06:26

1/1) checking for file conflicts [##############################################################] 100%
error: failed to commit transaction (conflicting files)
jreen: /usr/lib64 exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-us
cp: overwrite '/tmp/yaourt-tmp-us/jreen-1.2.1-1-x86_64.pkg.tar.xz'? y
==> ERROR: unable to update

roentgen commented on 2016-06-15 18:16

1.2.0 installed files in /usr/lib

1.2.1 tries to install in /usr/lib64, hence the conflict.

This can be fixed with -DCMAKE_INSTALL_LIBDIR=/usr/lib

jnbek commented on 2016-06-15 16:30

yea, I had that problem too, initially, I think it has to do with how the old PKGBUILD referenced ${srcdir} and the installation took place after makepkg/pacman 'deprecated' the use of said variable. Even after I removed the referring variable I got the conflicts; so I added --force to pacman to install it, then there was no further problems now that the srcdir variable is removed.

DrDeath commented on 2016-06-15 08:22

It conflicts with files from previous installation (can't remember wich ones now). After uninstalling it and trying to re-install it, there is still one conflict with /usr/lib64 :

error: failed to commit transaction (conflicting files)
jreen: /usr/lib64 exists in filesystem

wich obviously cannot be removed or renamed.

APKent88 commented on 2015-06-03 01:46

md5sum should be changed to:


nem commented on 2015-05-20 21:02

==> Making package: jreen 1.2.0-1 (Wed 20 May 23:01:25 CEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found
==> Validating source files with md5sums... ... FAILED
==> ERROR: One or more files did not pass the validity check!

tee commented on 2015-01-11 15:31

Updated build() for PKGBUILD

build() {
cd ${srcdir}/${pkgname}-${pkgver}-build

cmake -DJREEN_FORCE_QT4=no \
-DCMAKE_BUILD_TYPE=${_buildtype} \
-DGSASL_INCLUDE_DIRS=/usr/include \


JREEN_FORCE_QT4=no so if you have qt5 installed then cmake will detect and use it instead
GSASL_INCLUDE_DIRS=/usr/include as cmake can't detect gsasl for some reason

zizzfizzix commented on 2015-01-07 22:17

base-devel (which includes pkg-config) is a preliminary requirement to building anything, AUR assumes you have it installed already.

crazycactus97 commented on 2015-01-04 10:09

Had some problems building, It failed to found gsasl and other libaries. Solved by installing pkg-config, you should add it as a build dependency.

Also, thanks for mantaining the package!

lcartercondon commented on 2014-12-17 00:05

Am getting the same issue as JohnnySSH - have zlib installed but fails when making against libz.o

Not sure how to fix but see that the last commit for 1.2.0 mentions fixing compilation for cmake >=2.8. Not entirely sure if that's right (building with cmake 3.0.2 and it fails) but also not sure that it's an issue with cmake or something else entirely.

JohnnySSH commented on 2014-11-28 23:16

Am also getting an issue while building though it hasn't resolved itself :-(

[ 86%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jinglespeexcodec.cpp.o
/tmp/jreen/src/jreen-1.2.0/src/experimental/jinglespeexcodec.cpp: In member function ‘virtual QByteArray Jreen::JingleSpeexCodec::encodeFrame(const char*, int)’:
/tmp/jreen/src/jreen-1.2.0/src/experimental/jinglespeexcodec.cpp:84:6: warning: unused variable ‘frameSize’ [-Wunused-variable]
int frameSize = speex_bits_write(&m_bits,, frame.size());
/tmp/jreen/src/jreen-1.2.0/src/experimental/jinglespeexcodec.cpp: At global scope:
/tmp/jreen/src/jreen-1.2.0/src/experimental/jinglespeexcodec.cpp:77:64: warning: unused parameter ‘size’ [-Wunused-parameter]
QByteArray JingleSpeexCodec::encodeFrame(const char *data, int size)
[ 87%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jinglesession.cpp.o
[ 87%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jinglemanager.cpp.o
[ 88%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jinglefactory.cpp.o
[ 89%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jinglecontent.cpp.o
[ 90%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jingleaudiopayload.cpp.o
[ 91%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jingleaudiocontentfactory.cpp.o
[ 92%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jingleaudiocontent.cpp.o
[ 92%] Building CXX object CMakeFiles/jreen.dir/src/experimental/jingle.cpp.o
[ 93%] Building CXX object CMakeFiles/jreen.dir/src/experimental/iristransport.cpp.o
[ 94%] Building CXX object CMakeFiles/jreen.dir/3rdparty/jdns/qjdns_sock.cpp.o
[ 95%] Building CXX object CMakeFiles/jreen.dir/3rdparty/jdns/qjdns.cpp.o
[ 96%] Building C object CMakeFiles/jreen.dir/3rdparty/jdns/jdns_util.c.o
[ 96%] Building C object CMakeFiles/jreen.dir/3rdparty/jdns/jdns_sys.c.o
[ 97%] Building C object CMakeFiles/jreen.dir/3rdparty/jdns/jdns_packet.c.o
/tmp/jreen/src/jreen-1.2.0/3rdparty/jdns/jdns_packet.c: In function ‘append_rrsection’:
/tmp/jreen/src/jreen-1.2.0/3rdparty/jdns/jdns_packet.c:729:12: warning: variable ‘rdlength’ set but not used [-Wunused-but-set-variable]
int n, i, rdlength;
[ 98%] Building C object CMakeFiles/jreen.dir/3rdparty/jdns/jdns_mdnsd.c.o
[ 99%] Building C object CMakeFiles/jreen.dir/3rdparty/jdns/jdns.c.o
/tmp/jreen/src/jreen-1.2.0/3rdparty/jdns/jdns.c: In function ‘_multicast_update_publish’:
/tmp/jreen/src/jreen-1.2.0/3rdparty/jdns/jdns.c:3176:6: warning: variable ‘qtype’ set but not used [-Wunused-but-set-variable]
int qtype;
[100%] Building CXX object CMakeFiles/jreen.dir/jreen_automoc.cpp.o
make[2]: *** No rule to make target '/usr/bin/', needed by ''. Stop.
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/jreen.dir/all' failed
make[1]: *** [CMakeFiles/jreen.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().

$ ls /usr/bin |grep libz

Any suggestions??

Smetterleen commented on 2014-11-26 20:56

Well, the issue resolved itself...

Somehow libgsasl was not installed after all. I'm not sure why but today when trying to build it again, it noticed the missing dependency and install libgsasl...

I'm pretty sure I tried reinstalling libgsasl earlier, but hey, glad it's resolved!


zizzfizzix commented on 2014-11-16 23:38

nope, it builds just fine here

Smetterleen commented on 2014-11-10 02:35

I'm getting a build error:

==> Starting build()...
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Could not find Qt5, so let's use Qt4...
qmake: could not exec '/usr/lib/qt/bin/qmake': No such file or directory
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Found Qt4: /usr/bin/qmake-qt4 (found suitable version "4.8.6", minimum required is "4.6.0")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- checking for one of the modules 'libgsasl'
CMake Error at /usr/share/cmake-3.0/Modules/FindPkgConfig.cmake:425 (message):
None of the required 'libgsasl' found
Call Stack (most recent call first):
cmake/FindGSASL.cmake:20 (PKG_SEARCH_MODULE)
CMakeLists.txt:48 (find_package)

-- Could NOT find libgsasl
-- checking for one of the modules 'speex'
-- Could not find speex library.
-- Found ZLIB: /usr/lib64/ (found version "1.2.8")
-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-joep/aur-jreen/src/jreen-1.2.0-build/CMakeFiles/CMakeOutput.log".
See also "/tmp/yaourt-tmp-joep/aur-jreen/src/jreen-1.2.0-build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
==> ERROR: Makepkg was unable to build jreen.

gsasl is installed:

$ ls /usr/lib | grep

Any ideas?

zizzfizzix commented on 2013-10-24 10:02

there you go guys, fixed
@pavelgood thanks for the patch!

rayman2200 commented on 2013-10-22 20:04

maybe you can build the .src.tar.gz with "makepkg --source" and provide it somehow.

I've tried to apply your patch and get stuck with the message

patching file jreen-1.1.1/cmake/jreenMacros.cmake
patch: **** malformed patch at line 5: MACRO (JREEN_WRAP_CPP outfiles )

Haven't worked with patches that much to solve it myself.

pavelgood commented on 2013-10-15 07:20

I got error when building:

CMake Error at cmake/jreenMacros.cmake:60 (QT4_CREATE_MOC_COMMAND):
QT4_CREATE_MOC_COMMAND Macro invoked with incorrect arguments for macro
Call Stack (most recent call first):
CMakeLists.txt:138 (JREEN_WRAP_CPP)

-- Configuring incomplete, errors occurred!

This patch fix it:

--- libjreen-1.1.1/cmake/jreenMacros.cmake 2013-01-06 19:49:31.000000000 +0400
+++ libjreen-1.1.1-fix/cmake/jreenMacros.cmake 2013-10-14 12:14:09.117863475 +0400
@@ -18,9 +18,10 @@

# get include dirs
- QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
+ #QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
+ QT4_EXTRACT_OPTIONS(moc_files moc_options moc_target ${ARGN})

FOREACH (it ${moc_files})
@@ -38,17 +39,19 @@
SET(_HAS_MOC true)
FOREACH (_current_MOC_INC ${_match})
STRING(REGEX MATCH "moc_[^ <\"]+\\.cpp" _current_MOC "${_current_MOC_INC}")
- QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "")
+ #QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "")
+ QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "${moc_options}" "${moc_target}")
FOREACH (_current_MOC_INC ${_match2})
STRING(REGEX MATCH "[^ <\"]+\\.moc" _current_MOC "${_current_MOC_INC}")
- QT4_CREATE_MOC_COMMAND(${_header} ${_moc} "${_moc_INCS}" "")
+ #QT4_CREATE_MOC_COMMAND(${_header} ${_moc} "${_moc_INCS}" "")
+ QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${_moc} "${_moc_INCS}" "${moc_options}" "${moc_target}")
@@ -56,9 +59,10 @@
FILE(READ ${_abs_FILE} _contents)
QT4_MAKE_OUTPUT_FILE(${_abs_FILE} moc_ cpp outfile)
- QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${outfile} "${moc_flags}" "${moc_options}")
+ #QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${outfile} "${moc_flags}" "${moc_options}")
+ QT4_CREATE_MOC_COMMAND(${_abs_FILE} ${outfile} "${moc_flags}" "${moc_options}" "${moc_target}")
SET(${outfiles} ${${outfiles}} ${outfile})

jaem commented on 2013-06-12 09:10

@sulhan: The project website appears to be down. As a workaround for now, you can get the source tarball from the Fedora mirror here:

adaptee commented on 2013-03-02 15:06

It tries to use Qt5 when both Qt4 and Qt5 are available and fails to build. Please add "-DQT_QMAKE_EXECUTABLE=qmake-qt4" to force it using Qt4

sulhan commented on 2013-02-23 01:15

I got error when building using packer.

Aur Targets (2): jreen tomahawk-git

Proceed with installation? [Y/n]

Edit jreen PKGBUILD with $EDITOR? [Y/n] n
==> Making package: jreen 1.1.1-1 (Sat Feb 23 08:09:28 WIT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading libjreen-1.1.1.tar.bz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0
Warning: Transient problem: HTTP error Will retry in 3 seconds. 3 retries
Warning: left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Transient problem: HTTP error Will retry in 3 seconds. 2 retries
Warning: left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
Warning: Transient problem: HTTP error Will retry in 3 seconds. 1 retries
Warning: left.
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 503 Service Unavailable
==> ERROR: Failure while downloading libjreen-1.1.1.tar.bz2
The build failed.
Dependencies for `tomahawk-git' are not met, not building...