Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 668170 - net-print/hplip-3.18.6-r1 : prnt/.../genPCLm.cpp:353:10: error: cannot convert bool to boolean in return
Summary: net-print/hplip-3.18.6-r1 : prnt/.../genPCLm.cpp:353:10: error: cannot conver...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-09 14:52 UTC by Toralf Förster
Modified: 2018-11-12 19:01 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.02 KB, text/plain)
2018-10-09 14:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,137.32 KB, text/plain)
2018-10-09 14:52 UTC, Toralf Förster
Details
environment (environment,134.29 KB, text/plain)
2018-10-09 14:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.85 KB, application/x-bzip)
2018-10-09 14:52 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.32 KB, application/x-bzip)
2018-10-09 14:52 UTC, Toralf Förster
Details
net-print:hplip-3.18.6-r1:20181009-144638.log (net-print:hplip-3.18.6-r1:20181009-144638.log,417.43 KB, text/plain)
2018-10-09 14:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,42.36 KB, application/x-bzip)
2018-10-09 14:52 UTC, Toralf Förster
Details
Patch to fix this issue (boolean.patch,690 bytes, patch)
2018-11-11 19:51 UTC, Byron Stanoszek
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-09 14:52:36 UTC
prnt/hpcups/genPCLm.cpp: In function ‘boolean writeOutputFile(int, ubyte*, char*)’:
prnt/hpcups/genPCLm.cpp:353:10: error: cannot convert ‘bool’ to ‘boolean’ in return
   return true;
          ^~~~
prnt/hpcups/genPCLm.cpp:367:13: error: cannot convert ‘bool’ to ‘boolean’ in return

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

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

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

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

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

emerge -qpvO net-print/hplip
[ebuild  N    ] net-print/hplip-3.18.6-r1  USE="X hpcups kde libnotify (policykit) qt5 snmp -doc -fax -hpijs -libressl -libusb0 -minimal -parport -scanner -static-ppds" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2018-10-09 14:52:38 UTC
Created attachment 550248 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-09 14:52:41 UTC
Created attachment 550250 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-09 14:52:44 UTC
Created attachment 550252 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-09 14:52:47 UTC
Created attachment 550254 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-09 14:52:49 UTC
Created attachment 550256 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-09 14:52:52 UTC
Created attachment 550258 [details]
net-print:hplip-3.18.6-r1:20181009-144638.log
Comment 7 Toralf Förster gentoo-dev 2018-10-09 14:52:55 UTC
Created attachment 550260 [details]
temp.tbz2
Comment 8 Daniel Pielmeier gentoo-dev 2018-10-10 18:10:00 UTC
Can not reproduce with gcc-7.3.0.
Comment 9 Byron Stanoszek 2018-11-11 19:51:05 UTC
Created attachment 554932 [details, diff]
Patch to fix this issue
Comment 10 Byron Stanoszek 2018-11-11 20:06:20 UTC
(In reply to Byron Stanoszek from comment #9)

gcc-7.3.0 on x86
Comment 11 Daniel Pielmeier gentoo-dev 2018-11-12 19:01:52 UTC
This is fixed in Git with hplip-3.18.10.