Subject: [bug#46562] [PATCH] gnu: gperftools: Update to 2.8.1.

From: Leo Famulari <[email-masked]>
Date: Tue, 16 Feb 2021 14:04:34 -0500

On Tue, Feb 16, 2021 at 08:47:23AM -0500, Greg Hogan wrote:
> From cc9e4c7fdfb872685181715def0d14d35069f76d Mon Sep 17 00:00:00 2001
> From: Greg Hogan <[email-masked]>
> Date: Thu, 11 Feb 2021 19:08:35 +0000
> Subject: [PATCH] gnu: gperftools: Update to 2.8.1.
> 
> * gnu/packages/cpp.scm (gperftools): Update to 2.8.1.

Thanks for the patch!

I applied it and tried to build gperftools, but it fails like this:

------
[...]
FAIL: heap-checker_debug_unittest.sh
PASS: tcmalloc_unittest.sh
PASS: profiler_unittest.sh
============================================================================
Testsuite summary for gperftools 2.8.1
============================================================================
# TOTAL: 48
# PASS:  47
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to [email-masked]
============================================================================
make[2]: *** [Makefile:6446: test-suite.log] Error 1
make[2]: Leaving directory '/tmp/guix-build-gperftools-2.8.1.drv-0/source'
make[1]: *** [Makefile:6554: check-TESTS] Error 2
make[1]: Leaving directory '/tmp/guix-build-gperftools-2.8.1.drv-0/source'
make: *** [Makefile:7105: check-am] Error 2

Test suite failed, dumping logs.

--- ./test-suite.log --------------------------------------------------------

========================================
   gperftools 2.8.1: ./test-suite.log
========================================

# TOTAL: 48
# PASS:  47
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: heap-checker_debug_unittest.sh
====================================

Testing ./heap-checker_unittest with HEAPCHECK= ... OK
Testing ./heap-checker_unittest with HEAPCHECK=local ... OK
Testing ./heap-checker_unittest with HEAPCHECK=normal ... OK
Testing ./heap-checker_unittest with HEAPCHECK=strict ... ./heap-checker_debug_unittest.sh: line 64: /tmp/heap_check_info/output: No such file or directory
FAILED
Output from the failed run:
----
cat: /tmp/heap_check_info/output: No such file or directory
----
FAIL heap-checker_debug_unittest.sh (exit status: 4)

command "make" "check" "-j" "4" failed with status 2
builder for `/gnu/store/f99c263cwa45jhv6fa7g507ff3bplpq6-gperftools-2.8.1.drv' failed with exit code 1
build of /gnu/store/f99c263cwa45jhv6fa7g507ff3bplpq6-gperftools-2.8.1.drv failed
------