Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 707602

Summary: app-text/pdf2djvu-0.9.15 : pdf-backend.cc:111:20: error: invalid conversion from void (*)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Printing Team <printing>
Status: RESOLVED OBSOLETE    
Severity: normal CC: njsg, oli.huber, pascal.rebreyend, roberto.castagnola, slawomir.nizio, treecleaner
Priority: Normal Keywords: PMASKED, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16685
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2020-10-19   
Attachments: emerge-info.txt
app-text:pdf2djvu-0.9.15:20200131-020102.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-31 17:35:15 UTC
x86_64-pc-linux-gnu-g++ -fopenmp -O2 -pipe -march=native -fno-common -std=c++11 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -pthread  -I/usr/include/poppler  -I/usr/include/GraphicsMagick   -I/usr/include/uuid    -c -o pdf-backend.o pdf-backend.cc
pdf-backend.cc: In constructor ‘pdf::Environment::Environment()’:
pdf-backend.cc:111:20: error: invalid conversion from ‘void (*)(void*, ErrorCategory, pdf::Offset, const char*)’ {aka ‘void (*)(void*, ErrorCategory, long long int, const char*)’} to ‘ErrorCallback’ {aka ‘void (*)(ErrorCategory, long long int, const char*)’} [-fpermissive]
  111 |   setErrorCallback(poppler_error_handler, nullptr);
      |                    ^~~~~~~~~~~~~~~~~~~~~
      |                    |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200125-150902

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

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 00:46:52 +0000

emerge -qpvO app-text/pdf2djvu
[ebuild   R   ] app-text/pdf2djvu-0.9.15  USE="graphicsmagick nls openmp -test"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:35:18 UTC
Created attachment 609596 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:35:21 UTC
Created attachment 609598 [details]
app-text:pdf2djvu-0.9.15:20200131-020102.log
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:35:24 UTC
Created attachment 609600 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:35:26 UTC
Created attachment 609602 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:35:29 UTC
Created attachment 609604 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:35:32 UTC
Created attachment 609606 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:35:35 UTC
Created attachment 609608 [details]
temp.tbz2
Comment 8 Sławomir Nizio 2020-03-30 19:40:49 UTC
This makes it build: https://github.com/jwilk/pdf2djvu/commit/b3ccb5fcc76d05af27639762847a1311dd06aaaa
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-10-19 06:49:05 UTC
Package removed.