summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/rrdtool
Commit message (Collapse)AuthorAgeFilesLines
* rrdtool: Fix do_populate_sysroot QA issuesJiaying Song2024-07-231-0/+5
| | | | | | | | | | | | | | | | | | | | | This commit addresses the shebang size issue encountered in the do_populate_sysroot task of the rrdtool-native recipe. The issue was caused by the shebang line in the cgi-demo.cgi file exceeding the maximum allowed length of 128 characters. The following error was observed: ERROR: rrdtool-native-1.8.0-r0 do_populate_sysroot: QA Issue: : /work/x86_64-linux/rrdtool-native/1.8.0/sysroot-destdir/work/x86_64-linux/rrdtool-native/1.8.0/recipe-sysroot-native/usr/share/rrdtool/examples/cgi-demo.cgi maximum shebang size exceeded, the maximum size is 128. [shebang-size] ERROR: rrdtool-native-1.8.0-r0 do_populate_sysroot: do_populate_sysroot for this recipe installed files with QA issues  The solution implemented involves modifying the shebang line in the cgi-demo.cgi file to use '/usr/bin/env rrdcgi', ensuring it adheres to the length limit. Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 05c17b63fe0bbc7f94154017f2c54237576df94c) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Use PYTHON_SITEPACKAGES_DIR instead of hard-coded site-packages directory pathalperak2024-04-211-2/+2
| | | | | | | | | | | | The following paths have been replaced with PYTHON_SITEPACKAGES_DIR: - "${libdir}/${PYTHON_DIR}/site-packages" - "${libdir}/python${PYTHON_BASEVERSION}/site-packages" - "${libdir}/python*/site-packages" - "${libdir}/python3.*/site-packages" Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Remove double protocol= from SRC_URIsPeter Kjellerstedt2023-04-051-1/+1
| | | | | | | | | | With the exception of paho-mqtt-cpp, the double protocol= attributes were added to the SRC_URIs when protocol=https was added to all SRC_URIs fetching from github.com in commit b402a3076f (recipes: Update SRC_URI branch and protocols). Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Make graph dependencies optionalAndres Beltran2022-09-211-2/+4
|
* rrdtool: upgrade 1.7.2 -> 1.8.0wangmy2022-03-241-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: Inherit pkgconfigKhem Raj2021-09-241-1/+1
| | | | | | | Fixes configure: error: Please fix the library issues listed above and try again. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-11/+11
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: Use py3 as rdep and use py3 setuptoolsKhem Raj2020-01-221-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: Disable python packageconfig by defaultKhem Raj2020-01-221-1/+1
| | | | | | This needs python2 which is in another layer Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe: Remove using python2Khem Raj2020-01-221-1/+1
| | | | | | | This change makes the parsing go though, we still might have build issues, which will be reported in world builds seprately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: suppress appending of installation to perllocal.podNaveen Saini2019-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | perl modules when gets installed can produce a perllocal.pod file for documenting a list of locally installed perl modules. This can conflict if multiple packages generate the file. Hits the conflict with apparmor & rrdtool packages. Error: Transaction check error: file /usr/lib/perl5/5.30.0/x86_64-linux/perllocal.pod conflicts between attempted installs of rrdtool-1.7.2-r0.corei7_64 and apparmor-2.13.3-r0.corei7_64 perllocal.pod files are for documentation purpose, so disabling does not harm. Generating perllocal.pod for perl module is disabled by passing NO_PERLLOCAL=1 with ExtUtils::MakeMaker utility. https://perldoc.perl.org/5.30.0/ExtUtils/MakeMaker.html#Using-Attributes-and-Parameters [YOCTO #13491] Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: upgrade 1.7.1 -> 1.7.2Changqing Li2019-06-154-195/+3
| | | | | | | License-Update: Update year in COPYRIGHT and Update FSF address and fix UTF8 Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: improve reproducibilityHongxu Jia2019-05-231-1/+1
| | | | | | | | | | | - Pass var-CFLAGS (contains -fdebug-prefix-map) to perl Makefile.pl to strip build path prefix - Do not generate .packlist which contains build path. (it refers cpan_do_configure in cpan.bbclass) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: Upgrade to 1.7.1Mingli Yu2019-04-294-2/+194
| | | | | | | | Backport 3 patches to fix below error: ERROR: rrdtool-1.7.1-r0 do_package: SYSTEMD_SERVICE_rrdcached value rrdcached.socket does not exist Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: fix build by disabling docsAndreas Müller2019-04-061-0/+1
| | | | | | | | | | | | | | | | | | Have no idea what caused it but on all of my build machines started to fail with recently: | Attempt to reload Encode.pm aborted. | Compilation failed in require at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Text.pm line 33. | BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Text.pm line 33. | Compilation failed in require at (eval 7) line 1. | BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/perl-native/../../../usr/lib/perl5/5.28.1/Pod/Usage.pm line 30. | Compilation failed in require at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/pod2man line 19. | BEGIN failed--compilation aborted at /home/superandy/tmp/oe-core-glibc/work/cortexa7t2hf-neon-vfpv4-mortsgna-linux-gnueabi/rrdtool/1.7.0-r0/recipe-sysroot-native/usr/bin/pod2man line 19. | make[1]: *** [Makefile:692: rrddump.1] Error 255 | make[1]: *** Waiting for unfinished jobs.... Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: 1.6.0 -> 1.7.0Hong Liu2018-05-261-4/+4
| | | | | | | Upgrade rrdtool from 1.6.0 to 1.7.0. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rrdtool: allow configuration to disable nlsRandy MacLeod2017-06-191-1/+2
| | | | | | | | | | | | | | | | | When building rrdtool for a 'tiny' distro, that does not have native language support (NLS) in glibc, configure fails with the error: autoreconf: failed to run autopoint: No such file or directory Autopoint is part of gettext but without NLS support we populate the sysroot with gettext-minimal-native rather then the full set of gettext executables. This version does not install autopoint, nor should it. Tell autoreconf to skip the check for the autopoint script regardless of NLS support and use the USE_NLS varible to conditionally enable NLS support. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Revert "rrdtool: add gettext-native dependency"Martin Jansa2017-06-051-1/+1
| | | | This reverts commit e1b1f8cf320004e3b917ae78e26271352f468051.
* rrdtool: add gettext-native dependencyRandy MacLeod2017-06-051-1/+1
| | | | | | | | | | | | | | | Add gettext-native dependency to use autopoint. When building rrdtool for a 'tiny' distro, ie one that does not have internationalization support in glibc, configure fails with the error: autoreconf: failed to run autopoint: No such file or directory autopoint is part of gettext so add that native dependency. This must happen transitively for builds using a regular configuration of glibc. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Make use of the new bb.utils.filter() functionPeter Kjellerstedt2017-03-071-1/+1
| | | | | Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: split out rrdcached into a package of its ownFrank Meerkoetter2016-12-131-1/+10
| | | | | | | | | | rrdcached is a caching daemon for rrdtool. It's typically used in large installations. Small embedded systems might not use it at all. Splitting it out allows a systems builder to remove a daemon process running as root. Signed-off-by: Frank Meerkoetter <frank@meerkoetter.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: 1.5.4 -> 1.6.0Wang Xin2016-09-111-3/+3
| | | | | | | Upgrade rrdtool from 1.5.4 to 1.6.0. Signed-off-by: Wang Xin <wangxin2015.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* Remove unnecessary exports of HOST_SYS and BUILD_SYS in python-based recipesAlexander Kanavin2016-06-081-2/+0
| | | | | | | They are no longer required to build python software. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: only unset PERLHOSTLIB in do_configureRobert Yang2016-05-191-1/+1
| | | | | | | | | | | | | The do_compile requires it, otherwise it can't find the native module correctly when perl-native is mirrored from another build. Fixed: | Compilation failed in require. | BEGIN failed--compilation aborted. | Can't locate loadable object for module File::Glob in @INC Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: fix do_configure failure on some hostsQi.Chen@windriver.com2016-05-061-0/+2
| | | | | | | | | | | | | | | On some hosts, when building rrdtool, we would meet do_configure error like below. | *** Module name IN: /usr/lib64/perl/5.22.0/POSIX.pm | *** p1: /usr/lib64/ p3: perl/5.22.0/ p5: POSIX.pm | *** Module name OUT: /path/to/builddir/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.22.1/POSIX.pm | POSIX object version 1.53_01 does not match $POSIX::VERSION 1.53 at /usr/lib64/perl/5.22.0/XSLoader.pm line 108. Set PERLHOSTLIB to "" to fix the above error. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: install python site packages into libdirQi.Chen@windriver.com2015-12-181-4/+4
| | | | | | | | Fix the do_configure function to suite the latest version to install python libraries into ${libdir}. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: fix compile errorJens Rehsack2015-11-021-11/+3
| | | | | | | | Since cpan.bbclass has evolved, the old wrapper simulation needs some adoption. Use as much as possible from cpan.bbclass instead of copying code from there. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: adding the capability of native-builds to get rrdtool-oo in ↵Jens Rehsack2015-10-261-0/+2
| | | | | | | | | | | meta-cpan running An additional layer for Perl modules from cpan (https://github.com/rehsack/meta-cpan) provides additional modules for dealing with rrd files: RRDTool::OO from Michael Schili. This extension requires an executable version of rrdtool. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: fix multilib problemQi.Chen@windriver.com2015-10-231-2/+2
| | | | | | | | | | | | | | | | When building rrdtool with multilib enabled, we would meet the following error. ERROR: QA Issue: rrdtool: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/python2.7 /usr/lib/python2.7/site-packages /usr/lib/python2.7/site-packages/rrdtool.so .... Fix this problem by using nonarch_libdir instead of libdir. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: add systemd support and fix QA issueQi.Chen@windriver.com2015-10-231-2/+6
| | | | | | | | | | | | | | | | | When building rrdtool in a building directory where systemd is configured to be the init system, we would meet the following error. ERROR: QA Issue: rrdtool: Files/directories were installed but not shipped in any package: /lib /lib/systemd /lib/systemd/system /lib/systemd/system/rrdcached.socket /lib/systemd/system/rrdcached.service Fix this problem by adding systemd support to the rrdtool recipe. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: fix file locationsQi.Chen@windriver.com2015-10-231-2/+2
| | | | | | | | | | | | | | | | When we build rrdtool, we would meet the following QA issue. QA Issue: /usr/share/rrdtool/examples/stripes.py_rrdtool-perl contained in package rrdtool-perl requires /usr/bin/python, but no providers found in its RDEPENDS [file-rdeps] The problem is that /usr/share/rrdtool/examples not only contain perl examples, but also contains python examples. Besides, ${datadir}/examples don't exist, fix it to be ${datadir}/rrdtool/examples. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: fix useless-rpath QA issueQi.Chen@windriver.com2015-10-231-2/+2
| | | | | | | | | | | | | | | | When building rrdtool, we would meet the following error. ERROR: QA Issue: rrdtool-python: work/core2-64-poky-linux/rrdtool /1.5.4-r0/packages-split/rrdtool-python/usr/lib/python2.7/site-packages /rrdtool.so contains probably-redundant RPATH /usr/lib [useless-rpaths] Fix this issue by removing 'LD_RUN_PATH=$(libdir)' when compiling rrdtool.so. As we use '--disable-rpath' in EXTRA_OECONF, we don't need to the to remove '--rpath=$(libdir)' in Makefile.am. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: 1.4.8->1.5.4leimaohui2015-08-313-93/+41
| | | | | | | -deleted the patched that have been merged to 1.5.4 Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: add missing dependency on groff-nativeJackie Huang2014-11-241-1/+1
| | | | | | | rrdtool needs groff-native to format the documentation. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: inherit cpan-base to help build perl modulesJackie Huang2014-11-241-9/+9
| | | | | | | | | | | | | It's incorrect to use -I for nativeperl to specify @INC/#include directory to target build perl, which cause error like: | temp/do_configure/run.do_configure.20749: line 112: 20256 Illegal instruction (core dumped) | perl -I/path/to/tmp/sysroots/intel-haswell-64/usr/lib64/perl/$perl_version Makefile.PL Inherit cpan-base and set related env vars to fix this and avoid using sed to hack Makefile when build perl modules. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: use rrdtool rather than PNRobert Yang2014-09-261-1/+1
| | | | | | | The "${datadir}/${PN}" will be changed to "${datadir}/lib32-rrdtool" when multilib which isn't what need, use rrdtool to fix the problem. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
* rrdtool: update to 1.4.8Peter Bigot2014-08-113-1739/+48
| | | | | | | | | | | | | | * Upstream now uses git, so retrieve releases from the reference repository. * The previous patch to remove tcl support does not apply cleanly to this release. Eliminate it and disable tcl via configure instead. * Backport a patch to remove a never-shoulda-been-there file that was installed but not packaged. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: fix S!=B failureKoen Kooi2014-05-151-5/+5
| | | | | Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: enable perl and python bindingsChong.Lu@windriver.com2014-05-031-6/+86
| | | | | | | | | | | | | | 1. default enable perl and python bindings 2. rrdtool uses perl.real, perl.real doesn't know where the PERL5LIB should be when prebuilts are used. Use the wrapper perl instead, perl sets PERL5LIB and invokes perl.real 3. While using dash as /bin/sh, subsequent commands in functions will not use the environment variables passed to the function call line unless explicitly run "export ENV_VAR". 4. delete unrecognized options: "--enable-local-libpng" and "--enable-local-zlib" Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issuesMatthieu CRAPET2014-02-231-1/+1
| | | | | | | | | | | | | Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rrdtool: add PACKAGECONFIG for dbiMartin Jansa2013-07-301-0/+3
| | | | | | | | | | * dbi was autodetected from sysroot causing undeterministic builds and failures in lmsensors builds: ld: warning: libdbi.so.1, needed by sysroots/qemux86/usr/lib/librrd.so, not found (try using -rpath or -rpath-link) sysroots/qemux86/usr/lib/librrd.so: undefined reference to `dbi_result_get_string_idx' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | * This change is only aesthetic (unlike indentation in Python tasks). * Some recipes were using tabs. * Some were using 8 spaces. * Some were using mix or different number of spaces. * Make them consistently use 4 spaces everywhere. * Yocto styleguide advises to use tabs (but the only reason to keep tabs is the need to update a lot of recipes). Lately this advice was also merged into the styleguide on the OE wiki. * Using 4 spaces in both types of tasks is better because it's less error prone when someone is not sure if e.g. do_generate_toolchain_file() is Python or shell task and also allows to highlight every tab used in .bb, .inc, .bbappend, .bbclass as potentially bad (shouldn't be used for indenting of multiline variable assignments and cannot be used for Python tasks). * Don't indent closing quote on multiline variables we're quite inconsistent wheater it's first character on line under opening quote or under first non-whitespace character in previous line. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net>
* rrdtool: Remove hard-coded include in configure.acMarc Ferland2012-11-292-1/+13
| | | | | | | | | | Got an error building rrdtool because of hard-coded paths in the configure.ac file. The extact error message was: ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities. Rerun configure task after fixing this. The path was '/home/marc/yoctomaster/build/crownbay/tmp/work/core2-poky-linux/rrdtool-1.4.7-r2/rrdtool-1.4.7' Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
* rrdtool: add pango to DEPENDSPaul Eggleton2012-10-171-1/+3
| | | | | | | The configure script fails without pangocairo which is provided by pango. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
* rrdtool: add 1.4.7Koen Kooi2012-05-142-0/+1766
All binding are disabled since they are not safe for cross-compilation. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>