Package Details: utopia-documents 3.0.0-1

Git Clone URL: https://aur.archlinux.org/utopia-documents.git (read-only, click to copy)
Package Base: utopia-documents
Description: PDF reader that displays interactive annotations on scientific articles
Upstream URL: http://utopiadocs.com
Licenses: GPL
Submitter: Snow
Maintainer: rvasilev
Last Packager: tdy
Votes: 2
Popularity: 0.000000
First Submitted: 2014-07-27 16:16
Last Updated: 2017-04-07 18:56

Pinned Comments

rvasilev commented on 2018-03-23 19:23

This will be upgraded and merged with https://aur.archlinux.org/packages/utopia-documents3/ when I'll have a luck to compile it

Latest Comments

« First ‹ Previous 1 2

Snow commented on 2014-10-03 00:21

@xganesh I guess I know what causes the problem. Have you installed qt4?

I find that I forgot to add qt4 to the dependence list.

Snow commented on 2014-10-03 00:21

@xganesh I guess I know what causes the problem. Have you installed qt4?

xganesh commented on 2014-09-11 02:08

By the way:
Same errors occur when downloading the PKGBUILD and compiling using 'makepkg'.

xganesh commented on 2014-09-11 02:00

@Snow
Sorry for the delay to reply; I don't know if this is the most informative file:
$cat src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeError.log

Determining if the Q_WS_WIN exist failed with the following output:
Change Dir: /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1175580085/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1175580085.dir/build.make CMakeFiles/cmTryCompileExec1175580085.dir/build
make[1]: Entering directory '/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec1175580085.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec1175580085.dir/CheckSymbolExists.cxx.o -c /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_WIN’ was not declared in this scope
return ((int*)(&Q_WS_WIN))[argc];
^
CMakeFiles/cmTryCompileExec1175580085.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec1175580085.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTryCompileExec1175580085.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec1175580085/fast' failed
make: *** [cmTryCompileExec1175580085/fast] Error 2

File /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_WIN
return ((int*)(&Q_WS_WIN))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the Q_WS_QWS exist failed with the following output:
Change Dir: /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec2532154206/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2532154206.dir/build.make CMakeFiles/cmTryCompileExec2532154206.dir/build
make[1]: Entering directory '/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec2532154206.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec2532154206.dir/CheckSymbolExists.cxx.o -c /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_QWS’ was not declared in this scope
return ((int*)(&Q_WS_QWS))[argc];
^
CMakeFiles/cmTryCompileExec2532154206.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec2532154206.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTryCompileExec2532154206.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec2532154206/fast' failed
make: *** [cmTryCompileExec2532154206/fast] Error 2

File /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_QWS
return ((int*)(&Q_WS_QWS))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the Q_WS_MAC exist failed with the following output:
Change Dir: /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1031028086/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1031028086.dir/build.make CMakeFiles/cmTryCompileExec1031028086.dir/build
make[1]: Entering directory '/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec1031028086.dir/CheckSymbolExists.cxx.o
/usr/bin/c++ -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include/qt4 -o CMakeFiles/cmTryCompileExec1031028086.dir/CheckSymbolExists.cxx.o -c /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx
/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx: In function ‘int main(int, char**)’:
/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:8:19: error: ‘Q_WS_MAC’ was not declared in this scope
return ((int*)(&Q_WS_MAC))[argc];
^
CMakeFiles/cmTryCompileExec1031028086.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec1031028086.dir/CheckSymbolExists.cxx.o' failed
make[1]: *** [CMakeFiles/cmTryCompileExec1031028086.dir/CheckSymbolExists.cxx.o] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec1031028086/fast' failed
make: *** [cmTryCompileExec1031028086/fast] Error 2

File /tmp/yaourt-tmp-ele/aur-utopia-documents/src/utopia-documents-2.4.2/build/Linux-Release/CMakeFiles/CMakeTmp/CheckSymbolExists.cxx:
/* */
#include <QtCore/qglobal.h>

int main(int argc, char** argv)
{
(void)argv;
#ifndef Q_WS_MAC
return ((int*)(&Q_WS_MAC))[argc];
#else
(void)argc;
return 0;
#endif
}

Snow commented on 2014-09-06 15:19

@xganesh
Can you give me more log about your failure?
I cannot repeat it on my computer.

Thank you.

Snow commented on 2014-09-02 16:51

Thank you very much for your replies.
I have a very terrible network in recent days, so I will check it two days later.

The GlobalParams.cc.patch file is used to read fonts in /usr/share when the fonts in pdf is not embeded. I don't know whether they have fixed it in the current version.

xganesh commented on 2014-09-02 15:00

Linking CXX shared library ../../lib/utopia-documents/lib/libathenaeum.so
[ 75%] Built target athenaeum
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build utopia-documents.

tirip commented on 2014-08-19 20:40

Two dependecies were missing: cmake and glew
Also, I did not need the GlobalParams.cc.patch.
Plus. After the installation I had to set softlinks in /usr/lib to point to the appropriate .so libraries in the utopia install in order to run the program.