Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723946 - media-gfx/opentoonz-1.4.0 : /.../twain.h: error: extended character is not valid in an identifier
Summary: media-gfx/opentoonz-1.4.0 : /.../twain.h: error: extended character is not v...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: otakuto.gentoo
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-05-19 07:18 UTC by Toralf Förster
Modified: 2021-08-17 16:21 UTC (History)
6 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.47 KB, text/plain)
2020-05-19 07:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,217.55 KB, text/plain)
2020-05-19 07:18 UTC, Toralf Förster
Details
environment (environment,86.08 KB, text/plain)
2020-05-19 07:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.89 KB, application/x-bzip)
2020-05-19 07:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,26.71 KB, application/x-bzip)
2020-05-19 07:18 UTC, Toralf Förster
Details
media-gfx:opentoonz-1.4.0:20200519-053112.log (media-gfx:opentoonz-1.4.0:20200519-053112.log,576.12 KB, text/plain)
2020-05-19 07:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,43.02 KB, application/x-bzip)
2020-05-19 07:18 UTC, Toralf Förster
Details
patch to fix weird character error in twain.h (opentoonz-1.4.0-twain.h.patch,457 bytes, patch)
2020-06-01 10:52 UTC, unhappy-ending
Details | Diff
Patch for QPainterPath (opentoonz-QPainterPath.patch,755 bytes, patch)
2020-06-22 02:04 UTC, Collin Day
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 2020-05-19 07:18:16 UTC
                 from /var/tmp/portage/media-gfx/opentoonz-1.4.0/work/opentoonz-1.4.0/toonz/sources/tnzbase/../common/twain/ttwain_util.h:6,
                 from /var/tmp/portage/media-gfx/opentoonz-1.4.0/work/opentoonz-1.4.0/toonz/sources/tnzbase/tscanner/tscanner.cpp:15:
/var/tmp/portage/media-gfx/opentoonz-1.4.0/work/opentoonz-1.4.0/toonz/sources/tnzbase/../common/twain/twain.h:2212:16: error: extended character  is not valid in an identifier
 2212 | #pragma option a.
      |                ^
make[2]: *** [tnzbase/CMakeFiles/tnzbase.dir/build.make:793: tnzbase/CMakeFiles/tnzbase.dir/tscanner/tscanner.cpp.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200513-151505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7 (fallback)
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.43.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue 19 May 2020 04:05:25 AM UTC

emerge -qpvO media-gfx/opentoonz
[ebuild  N    ] media-gfx/opentoonz-1.4.0
Comment 1 Toralf Förster gentoo-dev 2020-05-19 07:18:19 UTC
Created attachment 640324 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-19 07:18:23 UTC
Created attachment 640326 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-19 07:18:26 UTC
Created attachment 640328 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-19 07:18:29 UTC
Created attachment 640330 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-19 07:18:32 UTC
Created attachment 640332 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-19 07:18:35 UTC
Created attachment 640334 [details]
media-gfx:opentoonz-1.4.0:20200519-053112.log
Comment 7 Toralf Förster gentoo-dev 2020-05-19 07:18:38 UTC
Created attachment 640336 [details]
temp.tbz2
Comment 8 unhappy-ending 2020-06-01 10:52:21 UTC
Created attachment 643008 [details, diff]
patch to fix weird character error in twain.h

Hi Toralf, can you test this patch please? I corrected a seeming typo in the twain.h file that was causing the compilation error. I can get opentoonz to compile further, but still get an error between 52% and 59% in functionpanel.cpp instead of 15% in twain.h.
Comment 9 Collin Day 2020-06-22 02:04:49 UTC
Created attachment 645590 [details, diff]
Patch for QPainterPath

This adds headers for QPainterPath that are left out of some of the .cpp files.  this and patch to remove character allows build with qt-5.15