Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638362 - sci-biology/mosaik-2.2.30 : BamWriter.cpp:499:26: error: invalid conversion from char to const char* [-fpermissive]
Summary: sci-biology/mosaik-2.2.30 : BamWriter.cpp:499:26: error: invalid conversion f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-21 18:24 UTC by Toralf Förster
Modified: 2017-12-24 18:00 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.68 KB, text/plain)
2017-11-21 18:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,313.41 KB, text/plain)
2017-11-21 18:24 UTC, Toralf Förster
Details
environment (environment,91.11 KB, text/plain)
2017-11-21 18:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.58 KB, application/x-bzip)
2017-11-21 18:24 UTC, Toralf Förster
Details
sci-biology:mosaik-2.2.30:20171121-060113.log (sci-biology:mosaik-2.2.30:20171121-060113.log,67.59 KB, text/plain)
2017-11-21 18:24 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 2017-11-21 18:24:07 UTC
x86_64-pc-linux-gnu-g++ -Werror=terminate -O2 -pipe -march=native -Wall -Wno-char-subscripts -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -I../../CommonSource/DataStructures -I../../CommonSource/Config -I../../CommonSource/Utilities -I../../CommonSource/MosaikReadFormat -I. -c -o ../.././obj/BamWriter.o BamWriter.cpp
BamWriter.cpp: In member function ‘void CBamWriter::SaveReferencePosition(const unsigned int&, const unsigned int&, const unsigned int&)’:
BamWriter.cpp:499:26: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
  const char* startChar = '\0';
                          ^~~~
BamWriter.cpp: In member function ‘void CBamWriter::SaveAlignment(const Alignment&, const char*, const bool&, const bool&, const bool&, const bool&, const bool&)’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0_libressl_20171111-114143

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *



emerge -qpv sci-biology/mosaik
[ebuild  N    ] sci-biology/mosaik-2.2.30
Comment 1 Toralf Förster gentoo-dev 2017-11-21 18:24:10 UTC
Created attachment 505382 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-21 18:24:14 UTC
Created attachment 505384 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-21 18:24:17 UTC
Created attachment 505386 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-21 18:24:20 UTC
Created attachment 505388 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-21 18:24:22 UTC
Created attachment 505390 [details]
sci-biology:mosaik-2.2.30:20171121-060113.log
Comment 6 Larry the Git Cow gentoo-dev 2017-12-24 18:00:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=482233a91158648368385cc8dd54fb0a77059020

commit 482233a91158648368385cc8dd54fb0a77059020
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2017-12-24 11:53:03 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-12-24 18:00:17 +0000

    sci-biology/mosaik: Fix building with GCC 7
    
    Closes: https://bugs.gentoo.org/638362
    Package-Manager: Portage-2.3.19, Repoman-2.3.6

 sci-biology/mosaik/files/mosaik-2.2.30-gcc7.patch | 40 +++++++++++++++++++++++
 sci-biology/mosaik/mosaik-2.2.30.ebuild           | 13 +++-----
 2 files changed, 45 insertions(+), 8 deletions(-)