Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688936 - dev-libs/msgpack-3.2.0 : /.../msgpack_cpp11.cpp:1080:36: error: narrowing conversion of 4294967295 from long unsigned int to _time_t
Summary: dev-libs/msgpack-3.2.0 : /.../msgpack_cpp11.cpp:1080:36: error: narrowing con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on: 737586
Blocks: 727138 737592
  Show dependency tree
 
Reported: 2019-06-29 14:42 UTC by Toralf Förster
Modified: 2020-09-29 23:14 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.82 KB, text/plain)
2019-06-29 14:42 UTC, Toralf Förster
Details
dev-libs:msgpack-3.2.0:20190629-141718.log (dev-libs:msgpack-3.2.0:20190629-141718.log,18.56 KB, text/plain)
2019-06-29 14:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,129.29 KB, text/plain)
2019-06-29 14:42 UTC, Toralf Förster
Details
environment (environment,105.05 KB, text/plain)
2019-06-29 14:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.51 KB, application/x-bzip)
2019-06-29 14:42 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.76 KB, application/x-bzip)
2019-06-29 14:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.57 KB, application/x-bzip)
2019-06-29 14:42 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 2019-06-29 14:42:39 UTC
      |                       ~~~~^~
/var/tmp/portage/dev-libs/msgpack-3.2.0/work/msgpack-3.2.0/test/msgpack_cpp11.cpp: In member function ‘virtual void MSGPACK_TIMESPEC_timespec_pack_convert_32bit_sec_Test::TestBody()’:
/var/tmp/portage/dev-libs/msgpack-3.2.0/work/msgpack-3.2.0/test/msgpack_cpp11.cpp:1080:36: error: narrowing conversion of ‘4294967295’ from ‘long unsigned int’ to ‘__time_t’ {aka ‘long int’} [-Wnarrowing]
 1080 |     timespec val1{ 0xffffffffUL, 0 };
      |                                    ^
/var/tmp/portage/dev-libs/msgpack-3.2.0/work/msgpack-3.2.0/test/msgpack_cpp11.cpp: In member function ‘virtual void MSGPACK_TIMESPEC_timespec_object_with_zone_32bit_sec_Test::TestBody()’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_libressl-abi32+64-test_20190624-213954

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

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

Available Rust versions:
  [1]   rust-1.35.0 *



emerge -qpvO dev-libs/msgpack
[ebuild  N    ] dev-libs/msgpack-3.2.0  USE="cxx test -boost -doc -examples -static-libs" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2019-06-29 14:42:42 UTC
Created attachment 581386 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-29 14:42:45 UTC
Created attachment 581388 [details]
dev-libs:msgpack-3.2.0:20190629-141718.log
Comment 3 Toralf Förster gentoo-dev 2019-06-29 14:42:47 UTC
Created attachment 581390 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-06-29 14:42:50 UTC
Created attachment 581392 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-06-29 14:42:53 UTC
Created attachment 581394 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-29 14:42:56 UTC
Created attachment 581396 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-06-29 14:42:58 UTC
Created attachment 581398 [details]
temp.tbz2
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2020-09-15 17:37:20 UTC
Same on x86:

> /var/tmp/portage/dev-libs/msgpack-3.2.1/work/msgpack-3.2.1/test/msgpack_cpp11.cpp: In member function ‘virtual void MSGPACK_TIMESPEC_timespec_pack_convert_32bit_sec_Test::TestBody()’:
> /var/tmp/portage/dev-libs/msgpack-3.2.1/work/msgpack-3.2.1/test/msgpack_cpp11.cpp:1081:36: error: narrowing conversion of ‘4294967295’ from ‘long unsigned int’ to ‘__time_t’ {aka ‘long int’} [-Wnarrowing]
>  1081 |     timespec val1{ 0xffffffffUL, 0 };
>       |
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-16 04:54:22 UTC
Fixed in 3.3.0 (not yet in tree): https://github.com/msgpack/msgpack-c/pull/829/commits/7ed7af90b673a51559c7ca10f9a4b7600dc48585.
Comment 10 Larry the Git Cow gentoo-dev 2020-09-29 23:14:39 UTC
The bug has been closed via the following commit(s):

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

commit 594e23cf5d3e125eab53fd7b606e3fc27748787f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-29 23:13:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-29 23:13:55 +0000

    dev-libs/msgpack: bump to 3.3.0
    
    Closes: https://bugs.gentoo.org/688936
    Closes: https://bugs.gentoo.org/737586
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/msgpack/Manifest             |  1 +
 dev-libs/msgpack/msgpack-3.3.0.ebuild | 76 +++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)