Package Details: cov-analysis 2022.06-1

Git Clone URL: (read-only, click to copy)
Package Base: cov-analysis
Description: Coverity Scan Build Tool for C/C++ - REQUIRES MANUAL DOWNLOAD
Upstream URL:
Licenses: custom
Submitter: 1ace
Maintainer: None
Last Packager: 1ace
Votes: 2
Popularity: 0.000000
First Submitted: 2016-05-01 23:39 (UTC)
Last Updated: 2022-08-14 20:13 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Pinned Comments

1ace commented on 2019-02-02 23:53 (UTC) (edited on 2020-01-22 10:52 (UTC) by 1ace)

To those getting a segfault: coverity has built their tool using an ancient version of glibc which they statically linked. That glibc was using a deprecated kernel API, which has been disabled (for security reasons) since kernel 4.8. They need to recompile their tool with a more recent version of glibc so that it can be used on modern Linux. They are aware of the issue (they talk about it on the front page of, although they got confused between sysctl and linux cmdline), but they still haven't done it 2 years later.

In the mean time, the kernel feature can be re-enabled by adding vsyscall=emulate to your Linux command line, although it requires the kernel to be compiled with CONFIG_X86_VSYSCALL_EMULATION=y (which is still the case of the official linux package as of today). You can check that by running zgrep CONFIG_X86_VSYSCALL_EMULATION /proc/config.gz.

Latest Comments

1 2 Next › Last »

pcmoore commented on 2022-08-08 14:39 (UTC)

Just a heads-up that a new version is coming soon:

Upcoming Coverity Scan upgrade to Coverity 2022.06 release

On or about August 14, 2022, a new version of Coverity Scan with improved features provided by the Coverity 2022.06 release will be available for members.

We are working to provide new releases on a more regular cadence to the open source community. Relative to the current Coverity 2021.12 release, there are significant new improvements available in this upgrade to the Coverity 2022.06 release. Some of those improvements are described in the Highlights section below.

To use Coverity 2022.06, please download the latest build tools from the download page on the site. Please refer to the instructions on the download page when they are made available.

Please note that support for Coverity 2021.12 will continue for the immediate future. Coverity 2020.09 will no longer be supported with this latest release. Please download the latest build tools after the upgrade has been completed.

The upgrade process will begin at 12 p.m. ET, and will be expected to be completed by 3 p.m. ET. The site will be unavailable when the upgrade is in process. All the features will be back online once the upgrade process is completed.

alex.henrie commented on 2020-08-24 05:45 (UTC)

I am also getting 808190e72ae2059076c2afb8bb3f85cced5b2deb7ce80011d9b88b732d5c3d85 as the SHA-256 hash for cov-analysis-linux64-2019.03.tar.gz.

pcmoore commented on 2020-07-15 16:18 (UTC)

@1ace, sorry I missed your reply. Yes, I just verified this with a fresh clone/rebuild and I still need that tar/tar.gz patch; I also needed to update the checksum as I mentioned previously as well.

1ace commented on 2020-01-22 15:26 (UTC)

@pcmoore: for that .tar.gz patch, are you sure? on my machine makepkg extracts the gz and we're left with a .tar.
Please make sure you didn't have an old build directory around with random old files :)

pcmoore commented on 2020-01-22 15:22 (UTC)

A patch somewhat like the following is also needed:

diff --git a/PKGBUILD b/PKGBUILD
index 24fc6e0..1f6bf4f 100644
@@ -19,7 +19,7 @@ sha256sums_i686=('a0e6c35db1effbbc33194f5aa8db63619911306314c>

 package() {
-  tar=$(echo *.tar)
+  tar=$(echo *.tar.gz)
   msg2 "Extracting $tar with bsdtar"
   install -dm755 "$pkgdir/opt/$pkgname"
   cd "$pkgdir/opt/$pkgname"

1ace commented on 2020-01-22 15:22 (UTC)

@pcmoore: I just downloaded it a few hours ago, and noticing that the hash had updated without them bumping the version number I updated the hash (see 0cc1589ca525)

If you're seeing yet another hash, that means it's become impossible to have a stable has to check against, which means I'll need to give up on that and allow anything (ie. 'SKIP' as the hash to check against) :/

pcmoore commented on 2020-01-22 15:18 (UTC)

It looks like the x86_64 checksum needs to be updated:

808190e72ae2059076c2afb8bb3f85cced5b2deb7ce80011d9b88b732d5c3d85 cov-analysis-linux64-2019.03.tar.gz

pcmoore commented on 2019-11-14 20:40 (UTC)

FYI: I had similar problems to @Rucikir and found that the bsdtar/$PATH fixes suggested by @csslayer solved the problem.

@1ace, can we get an update to the package?

csslayer commented on 2019-11-04 08:03 (UTC)

For the latest version for the tar, bsdtar --strip-components=1 -xf "${srcdir}/${_tarball}" (1 instead of 2) should be used. And also the PATH need to be updated to /opt/cov-analysis/bin accordingly.

Rucikir commented on 2019-08-06 18:05 (UTC)

I have this error when I try cov-build:

[ERROR] Failed to initialize ICU, try using the --prevent-root option.

How do I fix it?