Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733678 - dev-libs/pegtl-2.8.3 : /.../rep_one_min_max.hpp: error: comparison of unsigned expression in >= 0 is always true [-Werror=type-lim
Summary: dev-libs/pegtl-2.8.3 : /.../rep_one_min_max.hpp: error: comparison of unsigne...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: werror gcc-10
  Show dependency tree
 
Reported: 2020-07-23 18:59 UTC by Toralf Förster
Modified: 2021-01-01 15:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.80 KB, text/plain)
2020-07-23 18:59 UTC, Toralf Förster
Details
dev-libs:pegtl-2.8.3:20200723-173409.log (dev-libs:pegtl-2.8.3:20200723-173409.log,99.12 KB, text/plain)
2020-07-23 18:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,152.32 KB, text/plain)
2020-07-23 18:59 UTC, Toralf Förster
Details
environment (environment,84.50 KB, text/plain)
2020-07-23 18:59 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.49 KB, application/x-bzip)
2020-07-23 18:59 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.72 KB, application/x-bzip)
2020-07-23 18:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.79 KB, application/x-bzip)
2020-07-23 18:59 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 2020-07-23 18:59:06 UTC
/var/tmp/portage/dev-libs/pegtl-2.8.3/work/PEGTL-2.8.3/src/test/pegtl/contrib_rep_one_min_max.cpp:30:103:   required from here
/var/tmp/portage/dev-libs/pegtl-2.8.3/work/PEGTL-2.8.3/include/tao/pegtl/contrib/rep_one_min_max.hpp:40:26: error: comparison of unsigned expression in ‘>= 0’ is always true [-Werror=type-limits]
   40 |                if( ( Min <= i ) && ( i <= Max ) ) {
      |                    ~~~~~~^~~~~~
/var/tmp/portage/dev-libs/pegtl-2.8.3/work/PEGTL-2.8.3/include/tao/pegtl/contrib/rep_one_min_max.hpp: In instantiation of ‘static bool tao::pegtl::internal::rep_one_min_max<Min, Max, C>::match(Input&) [with Input = tao::pegtl::memory_input<tao::pegtl::tracking_mode::lazy, tao::pegtl::ascii::eol::lf_crlf, std::__cxx11::basic_string<char> >; unsigned int Min = 0; unsigned int Max = 2; char C = '+']’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200720-185100

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python3.6 (fallback)
  [5]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.0 *
The following VMs are available for generation-2:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Jul 23 05:05:24 PM UTC 2020

emerge -qpvO dev-libs/pegtl
[ebuild  N    ] dev-libs/pegtl-2.8.3  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2020-07-23 18:59:08 UTC
Created attachment 650384 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-07-23 18:59:11 UTC
Created attachment 650386 [details]
dev-libs:pegtl-2.8.3:20200723-173409.log
Comment 3 Toralf Förster gentoo-dev 2020-07-23 18:59:15 UTC
Created attachment 650388 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-07-23 18:59:18 UTC
Created attachment 650390 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-07-23 18:59:21 UTC
Created attachment 650392 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-07-23 18:59:23 UTC
Created attachment 650394 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-07-23 18:59:27 UTC
Created attachment 650396 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-12-26 23:46:26 UTC
The bug has been closed via the following commit(s):

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

commit ea252dd70f621703bac7172a960e4cfd5e2b7cd0
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-12-26 23:05:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-12-26 23:46:01 +0000

    dev-libs/pegtl: Fix GCC-10 warning, fix cmake module install path
    
    - Drop -Werror
    - Drop superfluous LICENSE install to invalid doc dir path.
    
    Bug: https://bugs.gentoo.org/754687
    Closes: https://bugs.gentoo.org/733678
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 dev-libs/pegtl/files/pegtl-2.8.3-cmake.patch  | 29 ++++++++++++++++++
 dev-libs/pegtl/files/pegtl-2.8.3-gcc-10.patch | 43 +++++++++++++++++++++++++++
 dev-libs/pegtl/pegtl-2.8.3-r1.ebuild          | 32 ++++++++++++++++++++
 3 files changed, 104 insertions(+)