Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755761 - [science overlay] sci-biology/merlin-1.1.2 : janpdf/PDF.cpp: error: narrowing conversion of 199 from int to char [-Wnarrowing]
Summary: [science overlay] sci-biology/merlin-1.1.2 : janpdf/PDF.cpp: error: narrowing...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-20 15:54 UTC by Toralf Förster
Modified: 2021-08-05 13:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.27 KB, text/plain)
2020-11-20 15:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,52.94 KB, text/plain)
2020-11-20 15:54 UTC, Toralf Förster
Details
environment (environment,44.42 KB, text/plain)
2020-11-20 15:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.21 KB, application/x-bzip)
2020-11-20 15:54 UTC, Toralf Förster
Details
sci-biology:merlin-1.1.2:20201120-023521.log (sci-biology:merlin-1.1.2:20201120-023521.log,104.72 KB, text/plain)
2020-11-20 15:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.87 KB, application/x-bzip)
2020-11-20 15:54 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-11-20 15:54:15 UTC
g++ -O2 -I./libsrc -I./pedstats -I./janpdf -D__ZLIB_AVAILABLE__ -o janpdf/PDF.o -c janpdf/PDF.cpp -DPEDVERSION=\"0.6.10\"
janpdf/PDF.cpp: In member function ‘void PDF::OpenFile(const char*)’:
janpdf/PDF.cpp:41:80: error: narrowing conversion of ‘199’ from ‘int’ to ‘char’ [-Wnarrowing]
   41 | gnature[] = {'%', '%', 'G' + 128, 'R' + 128, 'A' + 128, '\n', '\n', 0};
      |                                                                      ^


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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_science-20201116-220441

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Nov 20 02:05:36 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-biology/merlin
[ebuild  N    ] sci-biology/merlin-1.1.2
Comment 1 Toralf Förster gentoo-dev 2020-11-20 15:54:16 UTC
Created attachment 673558 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-20 15:54:17 UTC
Created attachment 673561 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-20 15:54:19 UTC
Created attachment 673564 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-20 15:54:20 UTC
Created attachment 673567 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-20 15:54:22 UTC
Created attachment 673570 [details]
sci-biology:merlin-1.1.2:20201120-023521.log
Comment 6 Toralf Förster gentoo-dev 2020-11-20 15:54:23 UTC
Created attachment 673573 [details]
temp.tbz2
Comment 7 Lucas Mitrak 2021-08-05 13:46:39 UTC
This package uses a non-free license [1] that prevents patching, so either upstream will need to update the license, patch it themselves, or we drop the broken non-free package.

[1] https://github.com/gentoo/sci/blob/master/licenses/merlin