Bug#816000: juce: FTBFS on ppc64el: problems with macro linux

Fernando Seiti Furusato ferseiti at br.ibm.com
Fri Feb 26 14:48:52 UTC 2016


Source: juce
Version: 4.1.0+repack-2
Severity: normal
Tags: patch

Dear Maintainer,

The package juce fails to build from source on ppc64el with the
following:

> <command-line>:0:7: error: expected identifier before numeric constant
> ../../Source/Application/../Application/jucer_CommonHeaders.h:35:9: note: in expansion of macro 'linux'
>          linux,
>          ^
> <command-line>:0:7: error: expected '}' before numeric constant
> ../../Source/Application/../Application/jucer_CommonHeaders.h:35:9: note: in expansion of macro 'linux'
>          linux,
>          ^
> <command-line>:0:7: error: expected unqualified-id before numeric constant
> ../../Source/Application/../Application/jucer_CommonHeaders.h:35:9: note: in expansion of macro 'linux'
>          linux,
>          ^

And some more errors related to the same.
That is due to the preprocessor macro 'linux' being defined on ppc64el,
with the usage of 2 -std flags: -std=gnu++0x and -std=c++11.

When not using -std=gnu++0x, the package builds on ppc64el.

I know the Makefile is not supposed to be editted, but since we do not
regenerate it in the debian build, my patch edits it anyway.

The patch is attached.
Let me know if you have comments or suggestions.

Regards.

Fernando
-------------- next part --------------
A non-text attachment was scrubbed...
Name: juce-ppc64le.debdiff
Type: text/x-diff
Size: 3475 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20160226/46bec41e/attachment.diff>


More information about the pkg-multimedia-maintainers mailing list