Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390471 - media-sound/pulseaudio-1.1 - /usr/include/json/forwards.h:6:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Json'
Summary: media-sound/pulseaudio-1.1 - /usr/include/json/forwards.h:6:11: error: expect...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arun Raghavan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 02:48 UTC by Dan O.
Modified: 2011-11-16 05:38 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,709.51 KB, text/plain)
2011-11-14 02:49 UTC, Dan O.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan O. 2011-11-14 02:48:39 UTC
Cannot build pulseaudio 1.1 on my system. When I try to build it through Portage, the compile phase fails with a ton of errors, seeming like there is a missing library somewhere, but I can't find it.

Reproducible: Always

Steps to Reproduce:
Just emerging pulseaudio
Actual Results:  
Compile fails with many missing tokens

Expected Results:  
Pulseaudio compiles and installs

Equinox linux # emerge --info =media-sound/pulseaudio-1.1
Portage 2.1.10.34 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.1.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.0-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.1
Timestamp of tree: Mon, 14 Nov 2011 01:45:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.6-r1, 4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo lcd-filtering arcon pross gentoo-haskell mozilla qting-edge mpd vmware gnome x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /var/lib/layman/arcon /var/lib/layman/pross /var/lib/layman/haskell /var/lib/layman/mozilla /var/lib/layman/qting-edge /var/lib/layman/mpd /var/lib/layman/vmware /var/lib/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 apng bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cgi cjk cli common-lisp consolekit cpudetection cracklib crypt cups curl cxx dbus device-mapper dirac djvu doc dri dts dvd dvdr dvi emacs emboss encode examples exif extensions extra faac faad fam fastscroll fat ffmpeg firefox flac fontconfig fortran gd gdbm gdu ghcquickbuild gif gnome gpm gtk hddtemp hscolour iconv imlib iostats ipv6 jadetex java jingle jpeg kpathsea lame lastfmradio latex lcms ldap libnotify lua lua-cairo mad math mmx mng modules mp3 mp4 mpd mpeg msn mudflap multilib mysql ncurses network nls nptl nptlonly nsplugin ntfs nvidia ogg opengl openmp oscar pam pango pcre pdf php png policykit ppds pppd python qt3support rar readline rss schroedinger sdl sendmail session skype sms source speex spell sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vaapi vdpau vim-syntax vorbis vpx weather weather-met weather-xoap x264 xcb xft xinerama xml xorg xulrunner xv xvid xvmc yenc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 auth_digest version" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dan O. 2011-11-14 02:49:45 UTC
Created attachment 292459 [details]
Build log
Comment 2 Rafał Mużyło 2011-11-14 04:26:55 UTC
Which version of dev-libs/json-c do you have installed ?

Which package /usr/include/json/forwards.h belongs to ?
Comment 3 Dan O. 2011-11-14 04:31:49 UTC
I have version .9 of json-c. For some reason, forwards.h does not seem to be a part of any package I have installed, even though it does exist on my system.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-14 19:53:21 UTC
media-tv/xbmc:/usr/src/debug/media-tv/xbmc-10.1/xbmc-10.1/lib/jsoncpp/jsoncpp/include/json/forwards.h
www-client/chromium:
 /usr/src/debug/www-client/chromium-16.0.912.36/chromium-16.0.912.36/native_client/src/third_party_mod/jsoncpp/include/json/forwards.h
 /usr/src/debug/www-client/chromium-16.0.912.21/chromium-16.0.912.21/native_client/src/third_party_mod/jsoncpp/include/json/forwards.h
 /usr/src/debug/www-client/chromium-13.0.782.99/chromium-13.0.782.99/native_client/src/third_party_mod/jsoncpp/include/json/forwards.h

is what e-file [app-portage/pfl] says...
Comment 5 Arun Raghavan (RETIRED) gentoo-dev 2011-11-15 07:37:24 UTC
Could you see if there's a clue in what owns any of the files in /usr/include/json? Looks like a file conflict at the face of it.
Comment 6 Dan O. 2011-11-15 21:15:28 UTC
About half the files belong to json-c-0.9, the rest don't belong to anything it would seem.

Output:

equery b /usr/include/json/*
 * Searching for /usr/include/json/arraylist.h,/usr/include/json/autolink.h,/usr/include/json/bits.h,/usr/include/json/config.h,/usr/include/json/debug.h,/usr/include/json/features.h,/usr/include/json/forwards.h,/usr/include/json/json.h,/usr/include/json/json_object.h,/usr/include/json/json_object_private.h,/usr/include/json/json_tokener.h,/usr/include/json/json_util.h,/usr/include/json/linkhash.h,/usr/include/json/printbuf.h,/usr/include/json/reader.h,/usr/include/json/value.h,/usr/include/json/writer.h ... 
dev-libs/json-c-0.9 (/usr/include/json/json.h)
dev-libs/json-c-0.9 (/usr/include/json/json_tokener.h)
dev-libs/json-c-0.9 (/usr/include/json/json_object_private.h)
dev-libs/json-c-0.9 (/usr/include/json/arraylist.h)
dev-libs/json-c-0.9 (/usr/include/json/json_object.h)
dev-libs/json-c-0.9 (/usr/include/json/bits.h)
dev-libs/json-c-0.9 (/usr/include/json/debug.h)
dev-libs/json-c-0.9 (/usr/include/json/linkhash.h)
dev-libs/json-c-0.9 (/usr/include/json/printbuf.h)
dev-libs/json-c-0.9 (/usr/include/json/json_util.h)

I could try to re-emerge json-c, maybe that'll fix something
Comment 7 Dan O. 2011-11-15 21:17:36 UTC
Quick update: After re-emerging json-c, the files have not been updated, and still don't belong to any packages I have installed.
Comment 8 Arun Raghavan (RETIRED) gentoo-dev 2011-11-16 04:54:10 UTC
For now, I'd move those extra files out and see if something else breaks.
Comment 9 Dan O. 2011-11-16 05:38:31 UTC
Well with the extra files gone, pulseaudio builds. Though I'm still not quite sure what put them there in the first place, that is outside the scope of this. 

Thank you very much for your time, I'll go ahead and mark this as resolved.