Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669340 - sci-electronics/klayout-0.25-r2 : /.../stl_iterator_base_funcs.h:183:2: error: no match for operator-- (operand type is db::SortedCellIndexIterator )
Summary: sci-electronics/klayout-0.25-r2 : /.../stl_iterator_base_funcs.h:183:2: error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-22 17:43 UTC by Toralf Förster
Modified: 2019-02-23 17:35 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.74 KB, text/plain)
2018-10-22 17:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,61.60 KB, text/plain)
2018-10-22 17:43 UTC, Toralf Förster
Details
environment (environment,192.32 KB, text/plain)
2018-10-22 17:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.22 KB, application/x-bzip)
2018-10-22 17:43 UTC, Toralf Förster
Details
sci-electronics:klayout-0.25-r2:20181022-063455.log (sci-electronics:klayout-0.25-r2:20181022-063455.log,492.51 KB, text/plain)
2018-10-22 17:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,46.66 KB, application/x-bzip)
2018-10-22 17:43 UTC, Toralf Förster
Details
missing-operator patch (klayout-9999-missing-operator.patch,660 bytes, patch)
2018-10-26 05:38 UTC, Dominik Kriegner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-10-22 17:43:30 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_algobase.h:993:32:   required from ‘_ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&) [with _ForwardIterator = db::SortedCellIndexIterator; _Tp = unsigned int]’
../../src/db/db/dbCellMapping.cc:191:48:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/include/g++-v8/bits/stl_iterator_base_funcs.h:183:2: error: no match for ‘operator--’ (operand type is ‘db::SortedCellIndexIterator’)
  --__i;
  ^~~~~
make[2]: *** [Makefile:1725: dbCellMapping.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_20181020-210227

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.9.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO sci-electronics/klayout
[ebuild  N    ] sci-electronics/klayout-0.25-r2  PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5" RUBY_TARGETS="ruby23"
Comment 1 Toralf Förster gentoo-dev 2018-10-22 17:43:33 UTC
Created attachment 552344 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-22 17:43:35 UTC
Created attachment 552346 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-22 17:43:39 UTC
Created attachment 552348 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-22 17:43:41 UTC
Created attachment 552350 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-22 17:43:44 UTC
Created attachment 552352 [details]
sci-electronics:klayout-0.25-r2:20181022-063455.log
Comment 6 Toralf Förster gentoo-dev 2018-10-22 17:43:47 UTC
Created attachment 552354 [details]
temp.tbz2
Comment 7 Dominik Kriegner 2018-10-26 05:38:23 UTC
Created attachment 553068 [details, diff]
missing-operator patch

Patch for the described issue derived from github issue tracker
https://github.com/klayoutmatthias/klayout/issues/127

I tested that it works for the live ebuild, but should equally apply for the 0.25 branch
Comment 8 Larry the Git Cow gentoo-dev 2018-12-12 21:27:51 UTC
The bug has been closed via the following commit(s):

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

commit 70b98edc7ceb825ac3b52ec0efac213b5d8cae1d
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2018-12-12 21:27:01 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2018-12-12 21:27:36 +0000

    sci-electronics/klayout: Version bump, for ruby 2.4 and gcc 8
    
    See https://github.com/klayoutmatthias/klayout/issues/127 for
    the source of the patch.
    
    Bug: https://bugs.gentoo.org/672986
    Closes: https://bugs.gentoo.org/672990
    Closes: https://bugs.gentoo.org/669340
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sci-electronics/klayout/Manifest                   |  1 +
 .../klayout/files/klayout-0.25.6-gcc8.patch        | 18 +++++
 sci-electronics/klayout/klayout-0.25.6.ebuild      | 87 ++++++++++++++++++++++
 sci-electronics/klayout/klayout-9999.ebuild        |  4 +-
 4 files changed, 108 insertions(+), 2 deletions(-)