i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g -ggdb -O1 -O2 -O3 -pipe -march=athlon-xp -mmmx -msse -m3dnow -MT libgstneonhttpsrc_la-gstneonhttpsrc.lo -MD -MP -MF .deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo -c gstneonhttpsrc.c -fPIC -DPIC -o .libs/libgstneonhttpsrc_la-gstneonhttpsrc.o In file included from gstneonhttpsrc.c:21: gstneonhttpsrc.h:24: error: ne_session.h: No such file or directory gstneonhttpsrc.h:24: error: ne_request.h: No such file or directory gstneonhttpsrc.h:24: error: ne_socket.h: No such file or directory gstneonhttpsrc.h:48: error: expected specifier-qualifier-list before 'ne_session' gstneonhttpsrc.c:24: error: ne_redirect.h: No such file or directory gstneonhttpsrc.c:106: error: expected declaration specifiers or '...' before 'ne_session' gstneonhttpsrc.c:106: error: expected declaration specifiers or '...' before 'ne_request' ... distcc[11520] ERROR: compile gstneonhttpsrc.c on localhost failed make: *** [libgstneonhttpsrc_la-gstneonhttpsrc.lo] Error 1 * * ERROR: media-plugins/gst-plugins-neon-0.10.6 failed. Recently merged net-misc/neon-0.28.1.
Upstreamed to http://bugzilla.gnome.org/show_bug.cgi?id=524035
Created attachment 147076 [details, diff] neon-0.28.x.patch
Created attachment 147342 [details] gst-plugins-neon/gst-plugins-neon-0.10.6.ebuild with patch ebuild with patch I renamed the patch file to gst-plugins-neon-0.10.6-neon-0.28.x.patch Ed, does the patch actually work for you? For me, it does not. The patch is applied: [...] * checking gst-plugins-bad-0.10.6.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gst-plugins-bad-0.10.6.tar.bz2 to /Gentoo/Portage/build/portage/media-plugins/gst-plugins-neon-0.10.6/work * Building external plugin ... * Applying gst-plugins-neon-0.10.6-neon-0.28.x.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /Gentoo/Portage/build/portage/media-plugins/gst-plugins-neon-0.10.6/work/gst-plugins-bad-0.10.6 ... * Configuring to build neon plugin(s) ... * econf: updating gst-plugins-bad-0.10.6/config.guess with /usr/share/gnuconfig/config.guess [...] But it still fails: [...] * Building external plugin ... if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g -march=pentium-m -O2 -pipe -fomit-frame-pointer -MT libgstneonhttpsrc_la-gstneonhttpsrc.lo -MD -MP -MF ".deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo" -c -o libgstneonhttpsrc_la-gstneonhttpsrc.lo `test -f 'gstneonhttpsrc.c' || echo './'`gstneonhttpsrc.c; \ then mv -f ".deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo" ".deps/libgstneonhttpsrc_la-gstneonhttpsrc.Plo"; else rm -f ".deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo"; exit 1; fi mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g -march=pentium-m -O2 -pipe -fomit-frame-pointer -MT libgstneonhttpsrc_la-gstneonhttpsrc.lo -MD -MP -MF .deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo -c gstneonhttpsrc.c -fPIC -DPIC -o .libs/libgstneonhttpsrc_la-gstneonhttpsrc.o In file included from gstneonhttpsrc.c:21: gstneonhttpsrc.h:26:24: error: ne_session.h: No such file or directory gstneonhttpsrc.h:27:24: error: ne_request.h: No such file or directory gstneonhttpsrc.h:28:23: error: ne_socket.h: No such file or directory In file included from gstneonhttpsrc.c:21: gstneonhttpsrc.h:48: error: expected specifier-qualifier-list before 'ne_session' gstneonhttpsrc.c:28:25: error: ne_redirect.h: No such file or directory gstneonhttpsrc.c:106: error: expected declaration specifiers or '...' before 'ne_session' gstneonhttpsrc.c:106: error: expected declaration specifiers or '...' before 'ne_request' gstneonhttpsrc.c: In function 'gst_neonhttp_src_init': gstneonhttpsrc.c:229: error: 'GstNeonhttpSrc' has no member named 'neon_http_debug' gstneonhttpsrc.c:230: error: 'GstNeonhttpSrc' has no member named 'iradio_mode' gstneonhttpsrc.c:231: error: 'GstNeonhttpSrc' has no member named 'iradio_name' gstneonhttpsrc.c:232: error: 'GstNeonhttpSrc' has no member named 'iradio_genre' [...]
(In reply to comment #3) > Created an attachment (id=147342) [edit] > gst-plugins-neon/gst-plugins-neon-0.10.6.ebuild with patch > > ebuild with patch > I renamed the patch file to gst-plugins-neon-0.10.6-neon-0.28.x.patch > > Ed, does the patch actually work for you? For me, it does not. The patch is > applied: > > [...] > * checking gst-plugins-bad-0.10.6.tar.bz2 ;-) ... > > [ ok ] > >>> Unpacking source... > >>> Unpacking gst-plugins-bad-0.10.6.tar.bz2 to /Gentoo/Portage/build/portage/media-plugins/gst-plugins-neon-0.10.6/work > * Building external plugin ... > * Applying gst-plugins-neon-0.10.6-neon-0.28.x.patch ... > > [ ok ] > >>> Source unpacked. > >>> Compiling source in /Gentoo/Portage/build/portage/media-plugins/gst-plugins-neon-0.10.6/work/gst-plugins-bad-0.10.6 ... > * Configuring to build neon plugin(s) ... > * econf: updating gst-plugins-bad-0.10.6/config.guess with > /usr/share/gnuconfig/config.guess > [...] > > But it still fails: > > [...] > * Building external plugin ... > if /bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc > -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -pthread > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g > -march=pentium-m -O2 -pipe -fomit-frame-pointer -MT > libgstneonhttpsrc_la-gstneonhttpsrc.lo -MD -MP -MF > ".deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo" -c -o > libgstneonhttpsrc_la-gstneonhttpsrc.lo `test -f 'gstneonhttpsrc.c' || echo > './'`gstneonhttpsrc.c; \ > then mv -f ".deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo" > ".deps/libgstneonhttpsrc_la-gstneonhttpsrc.Plo"; else rm -f > ".deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo"; exit 1; fi > mkdir .libs > i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs > -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g -march=pentium-m > -O2 -pipe -fomit-frame-pointer -MT libgstneonhttpsrc_la-gstneonhttpsrc.lo -MD > -MP -MF .deps/libgstneonhttpsrc_la-gstneonhttpsrc.Tpo -c gstneonhttpsrc.c > -fPIC -DPIC -o .libs/libgstneonhttpsrc_la-gstneonhttpsrc.o > In file included from gstneonhttpsrc.c:21: > gstneonhttpsrc.h:26:24: error: ne_session.h: No such file or directory > gstneonhttpsrc.h:27:24: error: ne_request.h: No such file or directory > gstneonhttpsrc.h:28:23: error: ne_socket.h: No such file or directory > In file included from gstneonhttpsrc.c:21: > gstneonhttpsrc.h:48: error: expected specifier-qualifier-list before > 'ne_session' > gstneonhttpsrc.c:28:25: error: ne_redirect.h: No such file or directory > gstneonhttpsrc.c:106: error: expected declaration specifiers or '...' before > 'ne_session' > gstneonhttpsrc.c:106: error: expected declaration specifiers or '...' before > 'ne_request' > gstneonhttpsrc.c: In function 'gst_neonhttp_src_init': > gstneonhttpsrc.c:229: error: 'GstNeonhttpSrc' has no member named > 'neon_http_debug' > gstneonhttpsrc.c:230: error: 'GstNeonhttpSrc' has no member named 'iradio_mode' > gstneonhttpsrc.c:231: error: 'GstNeonhttpSrc' has no member named 'iradio_name' > gstneonhttpsrc.c:232: error: 'GstNeonhttpSrc' has no member named > 'iradio_genre' > [...] > same here
Created attachment 147726 [details, diff] gst-plugins-neon-0.10.6-includes.patch
Created attachment 147727 [details] gst-plugins-neon-0.10.6-r1.ebuild New ebuild. I corrected some include paths. Both patches solves the problem on my system. # emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r4 x86_64) ================================================================= System uname: 2.6.24-gentoo-r4 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Timestamp of tree: Sun, 30 Mar 2008 16:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.5.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -msse3 -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cli-php4/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -msse3 -O2" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache collision-protect distlocks metadata-transfer noinfo notitles parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="fr_FR.UTF-8" LINGUAS="fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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="/usr/local/local-portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa amd64 apache2 branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dlloader dri dvd dvdr dvdread eds emboss encode esd evo exif fam fbcon ffmpeg firefox flac fortran gdbm gif gnome gnutls gstreamer gtk2 hal iconv ieee1394 imlib isdnlog jpeg jpeg2k kde keyring libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nptl nptlonly ogg openmp pam pcre pdf perl pic png ppds pppd python qt3 qt3support qt4 quicktime readline reflection session sndfile spell spl sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev unicode usb vhosts vorbis xcomposite xinetd xml xorg xulrunner xvid zlib" ALSA_CARDS="hdsp hdspm" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks, the neon-0.28.x.patch, gst-plugins-neon-0.10.6-includes.patch, gst-plugins-neon-0.10.6-r1.ebuild solved the problem for me. I had installed net-misc/neon-0.28.1. emerge --info Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24.3 i686) ================================================================= System uname: 2.6.24.3 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Timestamp of tree: Fri, 28 Mar 2008 16:00:04 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.5 dev-lang/python: 2.3.6-r4, 2.4.4-r9, 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en cs cz" PKGDIR="/usr/portage/packages" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip R X Xaw3d a52 aac aalib ace acl acpi alsa amr amrnb amrwb apache2 audacious audiofile bash-completion bcmath berkdb blas boost bzip2 cairo cblas cddb cdparanoia cdr clamav cli colordiff compress cpio cracklib crypt cscope css ctype cups curl curlwrappers cxx dbus dga dia directfb djbfft dri dts dv dvb dvd dvdr dvdread eds emacs emboss emf enblend encode enscript exif expat fam fame fat fbcon ffmpeg fftw firefox flac flash foomaticdb fortran fpx ftp gcj gd gdbm ggi gif gimp gimpprint glibc-compat20 glibc-omitfp glitz glut gmp gnuplot gnutls gpgme gphoto2 gpm graphviz gs gsl gstreamer gtk gtkhtml hal hdf hdf5 i8x0 icc iconv icu id3 ieee1394 ifc imagemagick imlib inifile innodb isdnlog ithreads jack java javascript jbig jikes jpeg jpeg2k kdtree kerberos lame lapack lcms leim libcaca libedit libwww live lzo lzw mad maildir matroska mhash midi mikmod mime ming mjpeg mmap mmx mng mod_python modperl modplug motif mozilla moznoirc mp2 mp3 mp4 mpeg mpi mpi_njtree mplayer mudflap mule musepack mxdatetime mysql mysqli ncurses netcdf netpbm network nls nntp nptl nptlonly nsplugin ntfs numeric ogg opengl openmp oss pam pango pcmcia pcntl pcre pdf perl plotutils plugin png pnm postproc postscript ppds pppd procmail pymol python qt3 qt3support qt4 quicktime rar raw readline real recode reflection reiserfs rpm rtc samba sasl scanner scp seamonkey server session sftp sift slp smime sndfile soap sockets spell spl sqlite srt sse sse2 ssl subtitles subversion svg svgz sysfs sysvipc t1lib tcl tcpd tetex theora threads tidy tiff tk transcode truetype unicode urandom usb userlocales uuencode v4l v4l2 vcd vim-syntax vim-with-x vorbis wifi win32codecs wmf wxwindows x264 x86 xanim xcb xcf xfs xft xinetd xml xorg xpm xprint xsl xslt xv xvid xvmc yv12 zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config mem_cache mime mime_magic rewrite setenvif speling status unique_id userdir usertrack vhost_alias negotiation" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
fixed, gstreamer herd: please cleanup old cruft