Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638610 - sci-visualization/opendx-4.4.4-r6 : ../.../defines.h:144:28: error: invalid conversion from boolean {aka unsigned char} to char* [-fpermissive]
Summary: sci-visualization/opendx-4.4.4-r6 : ../.../defines.h:144:28: error: invalid c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-23 19:03 UTC by Toralf Förster
Modified: 2018-04-02 12:14 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.87 KB, text/plain)
2017-11-23 19:03 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,132.46 KB, text/plain)
2017-11-23 19:03 UTC, Toralf Förster
Details
environment (environment,102.44 KB, text/plain)
2017-11-23 19:03 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.34 KB, application/x-bzip)
2017-11-23 19:03 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,39.76 KB, application/x-bzip)
2017-11-23 19:03 UTC, Toralf Förster
Details
sci-visualization:opendx-4.4.4-r6:20171123-090223.log (sci-visualization:opendx-4.4.4-r6:20171123-090223.log,807.19 KB, text/plain)
2017-11-23 19:03 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,72.92 KB, application/x-bzip)
2017-11-23 19:03 UTC, Toralf Förster
Details
explicit conversion for the `return FALSE' (ctocxx_permissive.patch,558 bytes, patch)
2017-12-08 03:01 UTC, giskard
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 2017-11-23 19:03:19 UTC
In file included from EditorWindow.C:10:0:
EditorWindow.C: In member function ‘char* EditorWindow::createNetFileFromSelection(int&, char**, int&)’:
../base/defines.h:144:28: error: invalid conversion from ‘boolean {aka unsigned char}’ to ‘char*’ [-fpermissive]
 #define FALSE   ((boolean)0)
                            ^
EditorWindow.C:6000:28: note: in expansion of macro ‘FALSE’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma-systemd_libressl_20171120-180801

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

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

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

emerge -qpv sci-visualization/opendx
[ebuild  N    ] sci-visualization/opendx-4.4.4-r6  USE="tiff -cdf -hdf -imagemagick -netcdf -smp -szip"
Comment 1 Toralf Förster gentoo-dev 2017-11-23 19:03:22 UTC
Created attachment 506050 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-23 19:03:25 UTC
Created attachment 506052 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-23 19:03:28 UTC
Created attachment 506054 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-23 19:03:31 UTC
Created attachment 506056 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-23 19:03:34 UTC
Created attachment 506058 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-23 19:03:37 UTC
Created attachment 506060 [details]
sci-visualization:opendx-4.4.4-r6:20171123-090223.log
Comment 7 Toralf Förster gentoo-dev 2017-11-23 19:03:40 UTC
Created attachment 506062 [details]
temp.tbz2
Comment 8 giskard 2017-12-08 03:01:37 UTC
Created attachment 508768 [details, diff]
explicit conversion for the `return FALSE'

I come accross the same problem, the type conversion is safe here, so explicit conversion is ok
Comment 9 Juergen Rose 2018-01-07 07:19:54 UTC
(In reply to rtgiskard from comment #8)
> Created attachment 508768 [details, diff] [details, diff]
> explicit conversion for the `return FALSE'
> 
> I come accross the same problem, the type conversion is safe here, so
> explicit conversion is ok

The patch worked for me.
Comment 10 Larry the Git Cow gentoo-dev 2018-04-01 23:24:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152407387340dd08c853e9a0ca97a1d36e2b889f

commit 152407387340dd08c853e9a0ca97a1d36e2b889f
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2018-04-01 23:17:30 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2018-04-01 23:24:31 +0000

    sci-visualization/opendx: Add patch to fix invalid conversion
    
    Closes: https://bugs.gentoo.org/638610

 .../opendx/files/opendx-4.4.4-invalid-conversion.patch      | 13 +++++++++++++
 sci-visualization/opendx/opendx-4.4.4-r6.ebuild             |  1 +
 2 files changed, 14 insertions(+)
Comment 11 Juergen Rose 2018-04-02 12:14:16 UTC
(In reply to Larry the Git Cow from comment #10)
> The bug has been closed via the following commit(s):
...
> Commit:     Matt Turner <mattst88@gentoo.org>
> CommitDate: 2018-04-01 23:24:31 +0000
> 
>     sci-visualization/opendx: Add patch to fix invalid conversion
>     
>     Closes: https://bugs.gentoo.org/638610
> 
>  .../opendx/files/opendx-4.4.4-invalid-conversion.patch      | 13
> +++++++++++++
>  sci-visualization/opendx/opendx-4.4.4-r6.ebuild             |  1 +
>  2 files changed, 14 insertions(+)

Thanks, works for me now with opendx from default portage tree.