Package Details: pcp 3.12.1-1

Git Clone URL: https://aur.archlinux.org/pcp.git (read-only)
Package Base: pcp
Description: System performance and analysis framework
Upstream URL: http://pcp.io
Licenses: LGPL
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 19
Popularity: 0.076402
First Submitted: 2015-02-02 13:23
Last Updated: 2017-08-16 19:11

Latest Comments

bartus commented on 2017-09-05 15:39

@fthiery Build against qt4 {add export QMAKE=qmake-qt4 before invoking `makepkg` or add it to build() function in PKGBUILD}

fthiery commented on 2017-08-29 12:11

Build seems broken now, unless i pass --without-qt to ./configure in package():

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --without-qt

g++ -c -pipe -O2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/Coin3 -I../include -I../libpcp_qmc/src -I../libpcp_qed/src -isystem /usr/include/qt -isystem /usr/include/qt/QtPrintSupport -isystem /usr/include/qt/QtWidgets -isystem /usr/include/qt/QtGui -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -I. -isystem /usr/include/libdrm -I. -I/usr/lib/qt/mkspecs/linux-g++ -o gridobj.o gridobj.cpp
pmview.cpp:19:10: fatal error: QtGui/QApplication: No such file or directory
#include <QtGui/QApplication>
^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:874: pmview.o] Error 1
make[3]: *** Waiting for unfinished jobs....
main.cpp:16:10: fatal error: QtGui/QMessageBox: No such file or directory
#include <QtGui/QMessageBox>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:913: main.o] Error 1
In file included from pmview.h:21:0,
from main.h:24,
from launch.h:18,
from barmod.cpp:23:
ui_pmview.h:25:10: fatal error: QtGui/QPrinter: No such file or directory
#include "QtGui/QPrinter"
^~~~~~~~~~~~~~~~
compilation terminated.
In file included from pmview.h:21:0,
from main.h:24,
from defaultobj.h:18,
from baseobj.cpp:20:
ui_pmview.h:25:10: fatal error: QtGui/QPrinter: No such file or directory
#include "QtGui/QPrinter"
^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:980: barmod.o] Error 1
make[3]: *** [Makefile:1061: baseobj.o] Error 1
In file included from pmview.h:21:0,
from main.h:24,
from defaultobj.h:18,
from defaultobj.cpp:15:
ui_pmview.h:25:10: fatal error: QtGui/QPrinter: No such file or directory
#include "QtGui/QPrinter"
^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:1093: defaultobj.o] Error 1
In file included from pmview.h:21:0,
from main.h:24,
from defaultobj.h:18,
from gridobj.h:19,
from gridobj.cpp:18:
ui_pmview.h:25:10: fatal error: QtGui/QPrinter: No such file or directory
#include "QtGui/QPrinter"
^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:1130: gridobj.o] Error 1
In file included from pmview.h:21:0,
from main.h:24,
from colorlist.cpp:15:
ui_pmview.h:25:10: fatal error: QtGui/QPrinter: No such file or directory
#include "QtGui/QPrinter"
^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:944: colorlist.o] Error 1
In file included from pmview.h:21:0,
from main.h:24,
from defaultobj.h:18,
from barobj.cpp:27:
ui_pmview.h:25:10: fatal error: QtGui/QPrinter: No such file or directory
#include "QtGui/QPrinter"
^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:1025: barobj.o] Error 1
make[2]: *** [GNUmakefile:37: build-me] Error 2
make[1]: *** [GNUmakefile:124: default_pcp] Error 2
make[1]: Leaving directory '/home/fthiery/src/arch/pcp/src/pcp-3.12.1/src'
make: *** [GNUmakefile:49: default_pcp] Error 2
==> ERROR: A failure occurred in build().
Aborting...

Some qt-related deps seems to be missing to the PKGBUILD, i do have a bunch of them though:

local/qt5-base 5.9.1-3 (qt qt5)
local/qt5-declarative 5.9.1-5 (qt qt5)
local/qt5-location 5.9.1-2 (qt qt5)
local/qt5-multimedia 5.9.1-2 (qt qt5)
local/qt5-script 5.9.1-2 (qt qt5)
local/qt5-sensors 5.9.1-2 (qt qt5)
local/qt5-speech 5.9.1-2 (qt qt5)
local/qt5-svg 5.9.1-2 (qt qt5)
local/qt5-tools 5.9.1-4 (qt qt5)
local/qt5-translations 5.9.1-1 (qt qt5)
local/qt5-webchannel 5.9.1-2 (qt qt5)
local/qt5-webkit 5.212.0alpha2-4 (qt qt5)
local/qt5-x11extras 5.9.1-2 (qt qt5)
local/qt5-xmlpatterns 5.9.1-2 (qt qt5)

erez commented on 2017-06-30 08:51

flex and yacc/bison need to be added to the dependencies

fthiery commented on 2017-06-01 15:58

Doesn't build for me, anyone else ?

Aur Targets (2): pcp cockpit

Proceed with installation? [Y/n]

Edit pcp PKGBUILD with $EDITOR? [Y/n] n
Edit pcp.install with $EDITOR? [Y/n] n
==> Making package: pcp 3.11.9-1 (Thu Jun 1 17:57:16 CEST 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading pcp-3.11.9.src.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to akamai.bintray.com:443
==> ERROR: Failure while downloading https://bintray.com/artifact/download/pcp/source/pcp-3.11.9.src.tar.gz

ImNtReal commented on 2017-02-24 15:38

Build of the latest version keeps failing for me. The only error I'm finding is: dtrace: Command not found. Is it possible to build this version without dtrace?

Brinox commented on 2016-08-08 10:06

I've created a patch which integrates systemd-sysusers for user management and cleaned up the files a little bit. What do you think about merging it?

https://gist.github.com/brinox/a90938f1005ba402d7c899fa5acc9b92

gangelop commented on 2016-02-24 13:15

the 'sar2pcp' utility provided by pcp requires 'perl-xml-tokeparser' and 'perl-date-parse' from AUR.

Without tokeparser you get:

# sar2pcp sa20.xml foo
Can't locate XML/TokeParser.pm in @INC (you may need to install the XML::TokeParser module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/sh
are/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/bin/sar2pcp line 20.

and without date-parse you get:

# sar2pcp sa20.xml foo
Can't locate Date/Parse.pm in @INC (you may need to install the Date::Parse module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/bin/sar2pcp line 21.

gangelop commented on 2016-02-11 02:45

Iwan, question: Is there any particular reason you have this package '--without-qt'?

The reason I am asking is because I really need pmchart from pcp. By the way, you will have to do "export QMAKE=qmake-qt4" because pcp depends on qt4 and is not very smart about distinguishing it from qt5. I've tested this and it works fine.

Please let me know if you'd be willing to change the package to include the qt stuff, or if I should make a new package for "pmchart".

gangelop commented on 2016-02-10 07:56

# EDIT:
The problem was with my system. (T_T). I had some PERL evnironment variables, probably generated by cpan which screwed everything up.



package(), and specifically make install fails on my system.

http://hastebin.com/eciqilapiz

Basically, it doesn't find this "../../../perl-pcp-pmda.list" file.
I don't understand yet what this file is needed for.

[...]
Created PCP-PMDA-1.15.tar.gz
make -f Makefile install DESTDIR=$DIST_ROOT; find $DIST_ROOT//usr -name .packlist -exec mv '{}' ../../../perl-pcp-pmda.list ';' ; if [ -s ../../../perl-pcp-pmda.list ] ; then _sfx=.gz; false && _sfx=.bz2; false && _sfx=.lzma; false && _sfx=.xz; sed -n -e '/\.bs$/d' -e 's/\.[0-9]pm$/&'"$_sfx/" -e "s@^$DIST_ROOT@@p" ../../../perl-pcp-pmda.list >../../../perl-pcp-pmda.list.tmp; mv ../../../perl-pcp-pmda.list.tmp ../../../perl-pcp-pmda.list; else echo "Arrgh ... no files to include in package via ../../../perl-pcp-pmda.list"; exit 1; fi; find $DIST_ROOT//usr -name perllocal.pod -exec rm -f '{}' ';' ; find $DIST_ROOT//usr -name \*.bs -exec rm -f '{}' ';' ; find $DIST_ROOT//usr -name PMDA.so -exec chmod 755 '{}' ';'
Manifying 1 pod document
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /home/george/aur/pcp/pkg/pcp/home/george/perl5/lib/perl5/x86_64-linux-thread-multi/auto/PCP/PMDA/PMDA.so
Installing /home/george/aur/pcp/pkg/pcp/home/george/perl5/lib/perl5/x86_64-linux-thread-multi/PCP/PMDA.pm
Installing /home/george/aur/pcp/pkg/pcp/usr/share/man/man3/PCP::PMDA.3pm
Appending installation info to /home/george/aur/pcp/pkg/pcp//home/george/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod
Arrgh ... no files to include in package via ../../../perl-pcp-pmda.list
GNUmakefile:58: recipe for target 'install' failed
make[3]: *** [install] Error 1
GNUmakefile:26: recipe for target 'install' failed
make[2]: *** [install] Error 2
GNUmakefile:121: recipe for target 'install_pcp' failed
make[1]: *** [install_pcp] Error 2
make[1]: Leaving directory '/home/george/aur/pcp/src/pcp-3.10.8/src'
GNUmakefile:62: recipe for target 'install_pcp' failed
make: *** [install_pcp] Error 2
==> ERROR: A failure occurred in package().
Aborting...

volle commented on 2015-11-04 07:28

Like Silberling already said it would be awesome if you could add armv7h to the arch list (its working fine)

All comments