Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693418 - media-plugins/vdr-dvbhddevice-2.2.0_p20180420 : dvbhdffdevice.c:1072:16: error: cannot convert bool to boolean in return
Summary: media-plugins/vdr-dvbhddevice-2.2.0_p20180420 : dvbhdffdevice.c:1072:16: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Martin Dummer
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-09-03 17:25 UTC by Toralf Förster
Modified: 2019-11-17 07:46 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.63 KB, text/plain)
2019-09-03 17:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,187.92 KB, text/plain)
2019-09-03 17:25 UTC, Toralf Förster
Details
environment (environment,89.04 KB, text/plain)
2019-09-03 17:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.10 KB, application/x-bzip)
2019-09-03 17:25 UTC, Toralf Förster
Details
media-plugins:vdr-dvbhddevice-2.2.0_p20180420:20190902-222738.log (media-plugins:vdr-dvbhddevice-2.2.0_p20180420:20190902-222738.log,4.71 KB, text/plain)
2019-09-03 17:25 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.88 KB, application/x-bzip)
2019-09-03 17:25 UTC, Toralf Förster
Details
ebuild -r1 (vdr-dvbhddevice-2.2.0_p20180420-r1.ebuild,932 bytes, text/plain)
2019-11-13 18:36 UTC, Joerg Bornkessel
Details
fix for cannot convert bool to boolean in return (vdr-dvbhddevice-2.2.0_jpeg-9c.patch,1.15 KB, patch)
2019-11-13 18:38 UTC, Joerg Bornkessel
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 2019-09-03 17:25:23 UTC
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include  -DUSE_PLUGINMISSING -c -DPLUGIN_NAME_I18N='"dvbhddevice"'  -o dvbhdffdevice.o dvbhdffdevice.c
dvbhdffdevice.c: In function ‘boolean JpegCompressEmptyOutputBuffer(j_compress_ptr)’:
dvbhdffdevice.c:1072:16: error: cannot convert ‘bool’ to ‘boolean’ in return
 1072 |         return false;
      |                ^~~~~
dvbhdffdevice.c:1077:16: error: cannot convert ‘bool’ to ‘boolean’ in return

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-test-20190824-231545

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)

Available Rust versions:
  [1]   rust-1.37.0 *



repository timestamp:

==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 02 Sep 2019 21:26:20 +0000

emerge -qpvO media-plugins/vdr-dvbhddevice
[ebuild  N    ] media-plugins/vdr-dvbhddevice-2.2.0_p20180420
Comment 1 Toralf Förster gentoo-dev 2019-09-03 17:25:25 UTC
Created attachment 588904 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-09-03 17:25:28 UTC
Created attachment 588906 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-09-03 17:25:31 UTC
Created attachment 588908 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-09-03 17:25:33 UTC
Created attachment 588910 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-09-03 17:25:36 UTC
Created attachment 588912 [details]
media-plugins:vdr-dvbhddevice-2.2.0_p20180420:20190902-222738.log
Comment 6 Toralf Förster gentoo-dev 2019-09-03 17:25:39 UTC
Created attachment 588914 [details]
temp.tbz2
Comment 7 Joerg Bornkessel 2019-11-13 18:36:21 UTC
Created attachment 596020 [details]
ebuild -r1
Comment 8 Joerg Bornkessel 2019-11-13 18:38:48 UTC
Created attachment 596022 [details, diff]
fix for cannot convert bool to boolean in return
Comment 9 Joerg Bornkessel 2019-11-13 18:40:12 UTC
attached ebuild + patch will fix compile issuis on jpeg-9c
Comment 10 Larry the Git Cow gentoo-dev 2019-11-17 07:46:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=528dafa8662eaf776e6d582e928a04dcc6b4e9e2

commit 528dafa8662eaf776e6d582e928a04dcc6b4e9e2
Author:     Martin Dummer <martin.dummer@gmx.net>
AuthorDate: 2019-11-15 21:29:27 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-11-17 07:45:46 +0000

    media-plugins/vdr-dvbhddevice: fix gcc-9 compile issue
    
    does not compile with gcc-9, fixed
    add a patch to fix it
    
    Closes: https://bugs.gentoo.org/693418
    Package-Manager: Portage-2.3.78, Repoman-2.3.17
    Signed-off-by: Martin Dummer <martin.dummer@gmx.net>
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 .../vdr-dvbhddevice/files/convert-bool-fix.patch   | 36 ++++++++++++++++++++++
 .../vdr-dvbhddevice-2.2.0_p20180420.ebuild         | 14 ++++++---
 2 files changed, 45 insertions(+), 5 deletions(-)