Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550818 - app-office/scribus-1.5.0-r1 USE=osg - .../work/scribus-1.5.0/scribus/third_party/prc/PRCdouble.h:136:38: error: new declaration ‘void* memrchr(const void*, int, size_t)’ ambiguates old declaration ‘const void* memrchr(const void*, int, size_t)’
Summary: app-office/scribus-1.5.0-r1 USE=osg - .../work/scribus-1.5.0/scribus/third_pa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: 550040
  Show dependency tree
 
Reported: 2015-05-30 12:39 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-04-20 07:31 UTC (History)
2 users (show)

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


Attachments
app-office:scribus-1.5.0-r1:20150530-122935.log (20150530-122935.log,218.92 KB, text/plain)
2015-05-30 12:39 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-05-30 12:39:10 UTC
Created attachment 404330 [details]
app-office:scribus-1.5.0-r1:20150530-122935.log

In file included from /var/tmp/portage/app-office/scribus-1.5.0-r1/work/scribus-1.5.0/scribus/third_party/prc/PRCbitStream.cc:27:0:
/var/tmp/portage/app-office/scribus-1.5.0-r1/work/scribus-1.5.0/scribus/third_party/prc/PRCdouble.h:136:38: error: new declaration ‘void* memrchr(const void*, int, size_t)’
 void *memrchr(const void *,int,size_t);
                                      ^
In file included from /var/tmp/portage/app-office/scribus-1.5.0-r1/work/scribus-1.5.0/scribus/third_party/prc/PRCbitStream.cc:24:0:
/usr/include/string.h:118:26: error: ambiguates old declaration ‘const void* memrchr(const void*, int, size_t)’
 extern "C++" const void *memrchr (const void *__s, int __c, size_t __n)
                          ^
distcc[3574] ERROR: compile /var/tmp/portage/app-office/scribus-1.5.0-r1/work/scribus-1.5.0/scribus/third_party/prc/PRCbitStream.cc on localhost failed
scribus/third_party/prc/CMakeFiles/scribus_prc_lib.dir/build.make:75: recipe for target 'scribus/third_party/prc/CMakeFiles/scribus_prc_lib.dir/PRCbitStream.cc.o' failed
make[2]: *** [scribus/third_party/prc/CMakeFiles/scribus_prc_lib.dir/PRCbitStream.cc.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-office/scribus-1.5.0-r1/work/scribus-1.5.0_build'
CMakeFiles/Makefile2:534: recipe for target 'scribus/third_party/prc/CMakeFiles/scribus_prc_lib.dir/all' failed
make[1]: *** [scribus/third_party/prc/CMakeFiles/scribus_prc_lib.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2015-06-01 09:03:45 UTC
Which arch? emerge --info.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2015-06-01 09:04:44 UTC
Does it work without distcc?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-06-02 04:34:12 UTC
Tue Jun  2 06:33:45 CEST 2015
emerge --info app-office/scribus
Portage 2.2.20 (python 3.3.5-final-0, default/linux/powerpc/ppc64/13.0/64bit-userland, gcc-4.8.4, glibc-2.20-r2, 3.18.11-gentoo ppc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.11-gentoo-ppc64-PPC970FX,_altivec_supported-with-gentoo-2.2
KiB Mem:     8071400 total,   3970548 free
KiB Swap:    1048572 total,   1048088 free
Timestamp of repository gentoo: Tue, 02 Jun 2015 03:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 powerpc64-unknown-linux-gnu [enabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.7.4::gentoo, 4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /world/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: 0

JeR
    location: /keeps/gentoo/local
    masters: gentoo
    priority: 10000

ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="*"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -g -pipe -mcpu=G5 -mtune=G5 -maltivec -Wall"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/ccache/bin /usr/lib/distcc/bin /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -g -pipe -mcpu=G5 -mtune=G5 -maltivec -Wall"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg cgroup compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://mirror.netcologne.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.leaseweb.com/gentoo/ "
LANG="en_GB.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/aches/gentoo/packages/martijn"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa altivec berkdb bzip2 cairo cli cracklib crypt cups cxx dri drm evdev fortran gadu gdbm ibm iconv ipv6 jpeg jpeg2k lcms lensfun lua modules multilib multislot multitarget natspec ncurses nethack nls nptl offensive opengl openmp pam pcre png ppc64 qt3support qt5 r600-llvm-compiler readline rubberband scanner session ssl tcl tcmalloc tcpd threads tiff tk truetype unicode vpx webp zlib" ABI_PPC="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en nl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="modesetting radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-office/scribus-1.5.0::gentoo was built with the following:
USE="boost minimal pdf scripts tk -debug -examples -graphicsmagick -hunspell -osg -templates" LINGUAS="en_GB nl -af -ar -bg -br -ca -ca_ES -cs -cs_CZ -cy -cy_GB -da -da_DK -de -de_1901 -de_CH -de_DE -el -en_AU -en_EN -en_US -eo -es -es_ES -et -eu -fi -fi_FI -fr -gl -he -hr -hu -hu_HU -ia -id -id_ID -is -is_IS -it -ja -ko -ku -la -lt -lt_LT -nb_NO -nn_NO -pl -pl_PL -pt -pt_BR -pt_PT -ro -ro_RO -ru -ru_RU_0 -sa -sk -sk_SK -sl -sl_SI -sq -sr -sv -sv_SE -th_TH -tr -uk -uk_UA -zh_CN -zh_TW" PYTHON_TARGETS="python2_7"
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-06-02 05:50:34 UTC
(In reply to Justin Lecher from comment #2)
> Does it work without distcc?

1) distcc doesn't work like that.
2) No.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2015-06-16 08:28:11 UTC
+  16 Jun 2015; Justin Lecher <jlec@gentoo.org> ppc64/package.use.mask:
+  Mask USE=osg for app-office/scribus-1.5.0-r1, bug 550818
+

Mask USE=osg for ppc64 until upstream fixes this issue.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2017-04-20 07:31:06 UTC
Fixed in 1.5.2-r3.