Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374365 - media-libs/raptor-2.0.3 fails to build with dev-libs/yajl-2.0.2
Summary: media-libs/raptor-2.0.3 fails to build with dev-libs/yajl-2.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL: http://bugs.librdf.org/mantis/view.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 17:09 UTC by James
Modified: 2011-07-26 16:40 UTC (History)
2 users (show)

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


Attachments
build log (build.log,56.90 KB, text/plain)
2011-07-07 17:10 UTC, James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description James 2011-07-07 17:09:10 UTC
revdep-rebuild brought up a missing library for media-libs/raptor, and it failed to build, after a little searching, the only change was the new version of yajl.  Raptor builds fine with yajl-1.0.11-r1.  

Reproducible: Always

Steps to Reproduce:
1.emerge dev-libs/yajl-2.0.2
2.emerge media-libs/raptor-2.0.2
3.fail
Actual Results:  
\
#       source='raptor_serialize_json.c' object='raptor_serialize_json.lo' libtool=yes 
\
#       source='strcasecmp.c' object='strcasecmp.lo' libtool=yes 
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I
.   -DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2 -I/usr/i
nclude/libxml2    -march=amdfam10 -O2 -pipe -c -o raptor_serialize_json.lo raptor_serial
ize_json.c
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I
.   -DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2 -I/usr/i
nclude/libxml2    -march=amdfam10 -O2 -pipe -c -o strcasecmp.lo strcasecmp.c
\
#       source='../librdfa/curie.c' object='curie.lo' libtool=yes 
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I
.   -DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2 -I/usr/i
nclude/libxml2    -march=amdfam10 -O2 -pipe -c -o curie.lo `test -f '../librdfa/curie.c'
 || echo './'`../librdfa/curie.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR -I../
librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -march=amdfam1
0 -O2 -pipe -c raptor_serialize_html.c  -fPIC -DPIC -o .libs/raptor_serialize_html.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR -I../
librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -march=amdfam1
0 -O2 -pipe -c raptor_serialize_json.c  -fPIC -DPIC -o .libs/raptor_serialize_json.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR -I../
librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -march=amdfam1
0 -O2 -pipe -c strcasecmp.c  -fPIC -DPIC -o .libs/strcasecmp.o
raptor_json.c:87:3: error: expected specifier-qualifier-list before ‘yajl_parser_config’
raptor_json.c: In function ‘raptor_json_reset_term’:
raptor_json.c:111:13: error: ‘raptor_json_parser_context’ has no member named ‘term_valu
e’
raptor_json.c:112:24: error: ‘raptor_json_parser_context’ has no member named ‘term_valu
e’

Expected Results:  
build correctly

emerge --info media-libs/raptor
Portage 2.1.9.45 (!/usr/portage/profiles/default/linux/amd64/10.0/desktop/kde/, gcc-4.5.2, libc-0-r0, 2.6.39-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-AMD_Phenom-tm-_II_X4_840_Processor-with-gentoo-2.0.3
Timestamp of tree: Thu, 07 Jul 2011 09:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.5 [enabled]
app-shells/bash:     4.2_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.2, 3.2
dev-util/ccache:     3.1.5
dev-util/cmake:      2.8.4-r1
dev-util/pkgconfig:  0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc:     0.8.3-r1
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:  2.21.1
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82-r1
sys-kernel/linux-headers: 2.6.38
sys-libs/glibc:      2.13-r3
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=amdfam10 -O2 -pipe"
DISTDIR="/mnt/nfs_portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.netnitco.net http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.mirrors.tds.net/gentoo http://www.cyberuse.com/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j5"
PKGDIR="/mnt/nfs_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="/mnt/nfs_portage"
PORTDIR_OVERLAY="/var/lib/layman/mozilla /var/lib/layman/piczu /var/lib/layman/gamerlay /var/lib/layman/mt-mythtv /var/lib/layman/kde /var/lib/layman/sunrise /var/lib/layman/arduino /var/lib/layman/rion /var/lib/layman/scarabeus /var/lib/layman/openoffice-geki /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 audiofile avahi avi bluetooth branding bzip2 cairo ccache cdda cddb cdio cdr cdrkit cli consolekit cracklib crypt css cups cxx dbus divx4linux dlloader dri dts dv dvb dvd dvdnav dvdr dvdread emboss enca encode exif extras fam ffmpeg firefox flac fontconfig fortran gdbm gif gimp glut gpm gtk gzip iconv ieee1394 imagemagick java jpeg json kde kerberos kontact ladspa lame lcms ldap libnotify live lm_sensors lv2 mad melt midi mikmod mjpeg mmx mmx2 mmxext mng modules mp2 mp3 mp4 mpeg mplayer mpm-worker mtp mudflap multilib musepack mythtv ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis openal opengl openmp pam pango pcre pda pdf pdflib perl plasma png policykit posix ppds pppd pulseaudio python qt3support qt4 readline reflection scanner sdl semantic-desktop session smp sockets spell spl srt sse sse2 ssl startup-notification subtitles svg swat sysfs szip tcpd theora threads tiff truetype unicode usb vcd vdpau vim-syntax vorbis webkit wxwidgets x264 xanim xcb xine xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda_intel usb_audio" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp umax" USERLAND="GNU" VIDEO_CARDS="nvidia ati vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-libs/raptor-1.4.21-r1 was built with the following:
USE="curl (multilib) unicode xml -debug -static-libs"


media-libs/raptor-2.0.2 was built with the following:
USE="curl json (multilib) unicode xml -debug -static-libs"
Comment 1 James 2011-07-07 17:10:01 UTC
Created attachment 279345 [details]
build log
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-07-09 08:35:08 UTC
reproduced with raptor-2.0.3
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-07-26 16:40:44 UTC
Fixed by 2.0.4 by upstream.   In portage now.  Thanks for reporting.