Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 631698 - dev-libs/protobuf fails tests due to bug in dev-cpp/gtest
Summary: dev-libs/protobuf fails tests due to bug in dev-cpp/gtest
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords: TESTFAILURE
: 644044 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-22 07:10 UTC by Toralf Förster
Modified: 2018-05-03 02:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.84 KB, text/plain)
2017-09-22 07:10 UTC, Toralf Förster
Details
dev-libs:protobuf-3.4.1:20170921-231946.log (dev-libs:protobuf-3.4.1:20170921-231946.log,329.62 KB, text/plain)
2017-09-22 07:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,123.99 KB, text/plain)
2017-09-22 07:11 UTC, Toralf Förster
Details
environment (environment,124.26 KB, text/plain)
2017-09-22 07:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.32 KB, application/x-bzip)
2017-09-22 07:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,92.75 KB, application/x-bzip)
2017-09-22 07:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,45.23 KB, application/x-bzip)
2017-09-22 07:11 UTC, Toralf Förster
Details
emerge-info.txt (emerge-info.txt,13.96 KB, text/plain)
2018-05-02 17:07 UTC, Toralf Förster
Details
dev-libs:protobuf-3.5.2:20180502-153309.log (dev-libs:protobuf-3.5.2:20180502-153309.log,510.91 KB, text/plain)
2018-05-02 17:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,11.71 KB, text/plain)
2018-05-02 17:07 UTC, Toralf Förster
Details
environment (environment,121.01 KB, text/plain)
2018-05-02 17:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.40 KB, application/x-bzip)
2018-05-02 17:07 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,30.07 KB, application/x-bzip)
2018-05-02 17:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,55.05 KB, application/x-bzip)
2018-05-02 17:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-22 07:10:54 UTC
make[4]: Entering directory '/var/tmp/portage/dev-libs/protobuf-3.4.1/work/protobuf-3.4.1-abi_x86_64.amd64/src'
/var/tmp/portage/dev-libs/protobuf-3.4.1/work/protobuf-3.4.1/test-driver: line 107:  7487 Aborted                 "$@" > $log_file 2>&1
FAIL: protobuf-test
/var/tmp/portage/dev-libs/protobuf-3.4.1/work/protobuf-3.4.1/test-driver: line 107: 14646 Aborted                 "$@" > $log_file 2>&1
FAIL: protobuf-lazy-descriptor-test
/var/tmp/portage/dev-libs/protobuf-3.4.1/work/protobuf-3.4.1/test-driver: line 107: 14701 Aborted                 "$@" > $log_file 2>&1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_libressl_20170918-162903

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-libs/protobuf
[ebuild     U ] dev-libs/protobuf-3.4.1 [3.3.0] USE="zlib -emacs -examples -static-libs {-test*} (-java%) (-python%*)" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="(-python2_7%*) (-python3_4%*) (-python3_5%) (-python3_6%)"
Comment 1 Toralf Förster gentoo-dev 2017-09-22 07:10:57 UTC
Created attachment 495882 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-22 07:11:00 UTC
Created attachment 495884 [details]
dev-libs:protobuf-3.4.1:20170921-231946.log
Comment 3 Toralf Förster gentoo-dev 2017-09-22 07:11:04 UTC
Created attachment 495886 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-22 07:11:07 UTC
Created attachment 495888 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-22 07:11:10 UTC
Created attachment 495890 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-22 07:11:13 UTC
Created attachment 495892 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-09-22 07:11:17 UTC
Created attachment 495894 [details]
temp.tbz2
Comment 8 Arfrever Frehtes Taifersar Arahesis 2018-01-07 00:37:17 UTC
Older and newer versions of dev-libs/protobuf also have these failures. Example:
  dev-libs/protobuf-3.3.2:
    FAIL: protobuf-test
    FAIL: protobuf-lazy-descriptor-test
    FAIL: protobuf-lite-test
    FAIL: protobuf-lite-arena-test
  dev-libs/protobuf-3.4.1:
    FAIL: protobuf-test
    FAIL: protobuf-lazy-descriptor-test
    FAIL: protobuf-lite-test
  dev-libs/protobuf-3.5.1:
    FAIL: protobuf-test
    FAIL: protobuf-lazy-descriptor-test
    FAIL: protobuf-lite-test


However the good news is that the patch from https://github.com/google/googletest/pull/1339 for dev-cpp/gtest (which is used by dev-libs/protobuf[test]) fixes these failures.
Comment 9 Peter Levine 2018-01-07 01:39:53 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #8)
> However the good news is that the patch from
> https://github.com/google/googletest/pull/1339 for dev-cpp/gtest (which is
> used by dev-libs/protobuf[test]) fixes these failures.

Nice.  I submitted the PR this was based on but closed it since it broke continuous integration tests in Windows environment.
Comment 10 Peter Levine 2018-01-09 03:39:34 UTC
Update the PR at https://github.com/gentoo/gentoo/pull/5605 with the patch.  If anyone can merge it, please do.
Comment 11 Larry the Git Cow gentoo-dev 2018-01-09 16:12:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ff87f01454fa2c2525917e7d2ff2b0089ade02

commit b6ff87f01454fa2c2525917e7d2ff2b0089ade02
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2018-01-08 02:48:58 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-01-09 16:10:06 +0000

    dev-cpp/gtest: Fix double free error
    
    Bug: https://bugs.gentoo.org/631698
    Closes: https://github.com/gentoo/gentoo/pull/5605
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 .../gtest/files/gtest-1.8.0-fix-doublefree.patch   | 98 ++++++++++++++++++++++
 dev-cpp/gtest/gtest-1.7.0-r1.ebuild                |  2 +-
 dev-cpp/gtest/gtest-1.8.0-r1.ebuild                | 68 +++++++++++++++
 dev-cpp/gtest/gtest-1.8.0.ebuild                   |  2 +-
 dev-cpp/gtest/gtest-9999.ebuild                    |  1 +
 5 files changed, 169 insertions(+), 2 deletions(-)}
Comment 12 Arfrever Frehtes Taifersar Arahesis 2018-01-10 12:28:15 UTC
*** Bug 644044 has been marked as a duplicate of this bug. ***
Comment 13 Toralf Förster gentoo-dev 2018-05-02 17:07:36 UTC
got at the unstable amd64 chroot image 17.0-systemd_abi32+64-test_20180501-232814 this : FAIL: protobuf-test
Comment 14 Toralf Förster gentoo-dev 2018-05-02 17:07:39 UTC
Created attachment 529458 [details]
emerge-info.txt
Comment 15 Toralf Förster gentoo-dev 2018-05-02 17:07:43 UTC
Created attachment 529460 [details]
dev-libs:protobuf-3.5.2:20180502-153309.log
Comment 16 Toralf Förster gentoo-dev 2018-05-02 17:07:46 UTC
Created attachment 529462 [details]
emerge-history.txt
Comment 17 Toralf Förster gentoo-dev 2018-05-02 17:07:49 UTC
Created attachment 529464 [details]
environment
Comment 18 Toralf Förster gentoo-dev 2018-05-02 17:07:52 UTC
Created attachment 529466 [details]
etc.portage.tbz2
Comment 19 Toralf Förster gentoo-dev 2018-05-02 17:07:55 UTC
Created attachment 529468 [details]
logs.tbz2
Comment 20 Toralf Förster gentoo-dev 2018-05-02 17:07:58 UTC
Created attachment 529470 [details]
temp.tbz2
Comment 21 Toralf Förster gentoo-dev 2018-05-02 17:09:14 UTC
b/c bug #644044 was made a dup if this I added the current failure to this bug report
Comment 22 Arfrever Frehtes Taifersar Arahesis 2018-05-03 02:41:20 UTC
(In reply to Toralf Förster from comment #15)
> Created attachment 529460 [details]
> dev-libs:protobuf-3.5.2:20180502-153309.log

It is a different problem.
Please file a new bug.