Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638604 - sci-biology/primer3-2.3.7 : thal.c:429:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Summary: sci-biology/primer3-2.3.7 : thal.c:429:16: error: ISO C++ forbids comparison ...
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 Biology related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-23 19:02 UTC by Toralf Förster
Modified: 2017-12-24 19:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.85 KB, text/plain)
2017-11-23 19:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,126.40 KB, text/plain)
2017-11-23 19:02 UTC, Toralf Förster
Details
environment (environment,78.48 KB, text/plain)
2017-11-23 19:02 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.33 KB, application/x-bzip)
2017-11-23 19:02 UTC, Toralf Förster
Details
sci-biology:primer3-2.3.7:20171123-070821.log (sci-biology:primer3-2.3.7:20171123-070821.log,4.70 KB, text/plain)
2017-11-23 19:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,20.28 KB, application/x-bzip)
2017-11-23 19:02 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-23 19:02:01 UTC
x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -Wall -D__USE_FIXED_PROTOTYPES__  -ffloat-store  -o thal_primer.o thal.c
thal.c: In function ‘void thal(const unsigned char*, const unsigned char*, const thal_args*, thal_results*)’:
thal.c:429:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
    if ('\0' == oligo_f) {
                ^~~~~~~
thal.c:434:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

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

  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-biology/primer3
[ebuild  N    ] sci-biology/primer3-2.3.7
Comment 1 Toralf Förster gentoo-dev 2017-11-23 19:02:04 UTC
Created attachment 506010 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-23 19:02:07 UTC
Created attachment 506012 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-23 19:02:11 UTC
Created attachment 506014 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-23 19:02:14 UTC
Created attachment 506016 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-23 19:02:17 UTC
Created attachment 506018 [details]
sci-biology:primer3-2.3.7:20171123-070821.log
Comment 6 Toralf Förster gentoo-dev 2017-11-23 19:02:20 UTC
Created attachment 506020 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2017-12-24 19:46:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b52bc0205bc66c7e130b7794a76b5c455395232

commit 7b52bc0205bc66c7e130b7794a76b5c455395232
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2017-12-24 18:24:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2017-12-24 19:46:02 +0000

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

 sci-biology/primer3/files/primer3-2.3.7-gcc7.patch | 17 +++++++++++++++
 sci-biology/primer3/primer3-2.3.7.ebuild           | 24 ++++++++++++++--------
 2 files changed, 32 insertions(+), 9 deletions(-)