Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844040 - media-gfx/pstoedit-3.75 - drvpptx.cpp: error: allKnots was not declared in this scope
Summary: media-gfx/pstoedit-3.75 - drvpptx.cpp: error: allKnots was not declared in th...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL: https://src.fedoraproject.org/rpms/ps...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-05-13 14:25 UTC by Toralf Förster
Modified: 2022-05-30 07:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.03 KB, text/plain)
2022-05-13 14:25 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,66.83 KB, application/x-bzip)
2022-05-13 14:26 UTC, Toralf Förster
Details
environment (environment,73.84 KB, text/plain)
2022-05-13 14:26 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,23.46 KB, application/x-bzip)
2022-05-13 14:26 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.34 KB, application/x-bzip)
2022-05-13 14:26 UTC, Toralf Förster
Details
media-gfx:pstoedit-3.75:20220513-141916.log (media-gfx:pstoedit-3.75:20220513-141916.log,59.61 KB, text/plain)
2022-05-13 14:26 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.28 KB, application/x-bzip)
2022-05-13 14:26 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 2022-05-13 14:25:58 UTC
      |                        ^
drvpptx.cpp:1331:25: error: expected primary-expression before ']' token
 1331 |   std::unique_ptr<Point[]>  allKnots ( new Point[numElts + 1]);
      |                         ^
drvpptx.cpp:1331:29: error: 'allKnots' was not declared in this scope
 1331 |   std::unique_ptr<Point[]>  allKnots ( new Point[numElts + 1]);
      |                             ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20220509-050008

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.1.0 *
clang/llvm (if any):
clang version 14.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.3
Python 3.9.12
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-1.60.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  (none found)

  HEAD of ::gentoo
commit eeb0f7b0da0d5c11f3b1f756d66ffdd718c3bb0d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 13 11:33:05 2022 +0000

    2022-05-13 11:33:05 UTC

emerge -qpvO media-gfx/pstoedit
[ebuild  N    ] media-gfx/pstoedit-3.75  USE="emf pptx -imagemagick -plotutils"
Comment 1 Toralf Förster gentoo-dev 2022-05-13 14:25:59 UTC
Created attachment 778514 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-13 14:26:00 UTC
Created attachment 778517 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-13 14:26:02 UTC
Created attachment 778520 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-05-13 14:26:03 UTC
Created attachment 778523 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-05-13 14:26:04 UTC
Created attachment 778526 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-13 14:26:05 UTC
Created attachment 778529 [details]
media-gfx:pstoedit-3.75:20220513-141916.log
Comment 7 Toralf Förster gentoo-dev 2022-05-13 14:26:06 UTC
Created attachment 778532 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-05-30 07:25:42 UTC
The bug has been closed via the following commit(s):

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

commit 7fb1ad844228c4c67efef3039abc4d2862241de6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-30 07:23:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-30 07:25:33 +0000

    media-gfx/pstoedit: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/844040
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/pstoedit/files/pstoedit-3.75-gcc12.patch | 13 +++++++++++++
 media-gfx/pstoedit/pstoedit-3.75.ebuild            |  7 +++++--
 2 files changed, 18 insertions(+), 2 deletions(-)