Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 640926

Summary: media-video/sswf-1.8.4-r1 : compiler.c++:419:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Pending removal: 2018-12-11
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-video:sswf-1.8.4-r1:20171213-021915.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-12-13 16:05:55 UTC
compiler.c++: In member function ‘sswf::as::String sswf::as::IntCompiler::GetPackageFilename(const char*)’:
compiler.c++:419:24: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  while(package_info != '\0') {
                        ^~~~
compiler.c++: In member function ‘void sswf::as::IntCompiler::WriteDB()’:

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

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

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (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 media-video/sswf
[ebuild  N    ] media-video/sswf-1.8.4-r1  USE="-debug -doc -examples"
Comment 1 Toralf Förster gentoo-dev 2017-12-13 16:05:57 UTC
Created attachment 509866 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-13 16:06:01 UTC
Created attachment 509868 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-13 16:06:03 UTC
Created attachment 509870 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-13 16:06:06 UTC
Created attachment 509872 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-13 16:06:10 UTC
Created attachment 509874 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-13 16:06:13 UTC
Created attachment 509876 [details]
media-video:sswf-1.8.4-r1:20171213-021915.log
Comment 7 Toralf Förster gentoo-dev 2017-12-13 16:06:16 UTC
Created attachment 509878 [details]
temp.tbz2
Comment 8 Pacho Ramos gentoo-dev 2018-05-24 15:04:27 UTC
I cannot find any fix for this, also upstream looks dead since 2009 and it seems most other distributions already dropped it
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2018-06-05 21:08:21 UTC
(In reply to Pacho Ramos from comment #8)
> I cannot find any fix for this, also upstream looks dead since 2009 and it
> seems most other distributions already dropped it

The workaround is rather easy (add -fpermissive to cflags).
Comment 10 Pacho Ramos gentoo-dev 2018-06-17 11:09:07 UTC
is that a real fix? I thought it was more like a "non recommended" workaround. We can use that, sure :/
Comment 11 Larry the Git Cow gentoo-dev 2018-12-11 13:45:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b0d2b4048f8c930ef5dadf7dc03e7383c210574

commit 4b0d2b4048f8c930ef5dadf7dc03e7383c210574
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-11 13:41:08 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-11 13:45:18 +0000

    media-video/sswf: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/640926
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 media-video/sswf/Manifest             |  4 ----
 media-video/sswf/metadata.xml         | 10 ---------
 media-video/sswf/sswf-1.8.2-r1.ebuild | 42 -----------------------------------
 media-video/sswf/sswf-1.8.4-r1.ebuild | 42 -----------------------------------
 profiles/package.mask                 |  5 -----
 5 files changed, 103 deletions(-)