Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 208262 - net-www/mplayerplug-in-3.50 doesn't compile - rpl_malloc' was not declared in this scope
Summary: net-www/mplayerplug-in-3.50 doesn't compile - rpl_malloc' was not declared in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Joe Jezak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-31 01:59 UTC by Jory A. Pratt
Modified: 2008-06-12 16:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jory A. Pratt gentoo-dev 2008-01-31 01:59:42 UTC
x86_64-pc-linux-gnu-g++ -c -o plugin-list.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/lib64/mozilla-firefox/include/java -I/usr/lib64/mozilla-firefox/include/plugin -I/usr/include/nspr -I/usr/lib64/mozilla-firefox/include -I/usr/lib64/mozilla-firefox/include/xpcom -I/usr/lib64/mozilla-firefox/include/string   -I/usr/lib64/mozilla-firefox/include  -O2 -march=athlon64 -msse3 -ffast-math -ftracer -fprefetch-loop-arrays -pipe -fforce-addr -ftree-vectorize  -Iinclude -fPIC  -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -DGTK_ENABLED   Source/plugin-list.cpp
Source/plugin-setup.cpp: In function 'void New(nsPluginInstance*, nsPluginCreateData*)':
Source/plugin-setup.cpp:648: error: 'rpl_malloc' was not declared in this scope
make: *** [plugin-setup.o] Error 1
make: *** Waiting for unfinished jobs....
Source/plugin-support.cpp: In function 'void unEscapeXML(char*)':
Source/plugin-support.cpp:26: warning: unused variable 'p'
Source/plugin-support.cpp: In function 'int URLcmp(const char*, const char*)':
Source/plugin-support.cpp:320: error: 'rpl_malloc' was not declared in this scope
Source/plugin-support.cpp:340: error: 'rpl_malloc' was not declared in this scope
Source/plugin-support.cpp: In function 'void killmplayer(nsPluginInstance*)':
Source/plugin-support.cpp:506: warning: deprecated conversion from string constant to 'char*'
Source/plugin-support.cpp:507: warning: deprecated conversion from string constant to 'char*'
make: *** [plugin-support.o] Error 1
Source/plugin-list.cpp: In function 'void buildPlaylist(nsPluginInstance*, char*, Node*)':
Source/plugin-list.cpp:309: warning: unused variable 'entry'
Source/plugin-list.cpp:309: warning: unused variable 'href'
Source/plugin-list.cpp:309: warning: unused variable 'repeat'
Source/plugin-list.cpp:316: warning: unused variable 'entry_counter'
Source/plugin-list.cpp:316: warning: unused variable 'loopentry

Reproducible: Always

Steps to Reproduce:
1. emerge mplayerplug-in ~amd64
2.
3.




Portage 2.1.4 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.24 x86_64)
=================================================================
System uname: 2.6.24 x86_64 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55
Timestamp of tree: Thu, 31 Jan 2008 01:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
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.24
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -msse3 -ffast-math -ftracer -fprefetch-loop-arrays -pipe -fforce-addr -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64 -msse3 -ffast-math -ftracer -fprefetch-loop-arrays -pipe -fforce-addr -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer nodoc sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--sort-common -Wl,-zcombreloc -Wl,--hash-style=both"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 audit berkdb bitmap-fonts branding bzip2 cdr cpudetection cracklib crypt cups dbus dri dvd dvdr dvdread encode ffmpeg firefox gdm gif gnome gtk hal iconv ipv6 jpeg laptop mad midi mmx mmxext moznopango mp3 mudflap ncurses network-cron nptl nptlonly nsplugin nss ogg opengl pam pcre perl pic png python readline sdl session spell sse sse2 ssl static svg tcpd tiff truetype-fonts type1-fonts unicode vorbis wifi x264 xinerama xorg xv xvid 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 copy dshare dsnoop extplug file hooks ladspa lfloat linear meter mulaw multi null rate route share shm asym dmix empty iec958 ioplug plug 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="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Julien 2008-02-09 15:14:35 UTC
Same as above, can't emerge it and my emerge --info :

16:11 root@Gentoo-Tux /home/julroy# emerge --info
Portage 2.1.4.1 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1,2.6.24-tuxonice~julroy67~ x86_64)
=================================================================
System uname: 2.6.24-tuxonice~julroy67~ x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Timestamp of tree: Fri, 08 Feb 2008 20:16:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 2.0.0_rc6-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  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="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -msse3"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ "
LANG="fr_FR@euro.UTF-8"
LC_ALL="fr_FR@euro.UTF-8"
LINGUAS="fr"
MAKEOPTS="-j6"
PKGDIR="/binhost"
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/i686-mingw32/usr/portage /usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3ds 7zip X X509 a52 aac ace acl acpi addbookmarks additions administrator ads aften alias alsa amarok amazon amd64 amr amrnb amrwb aspnet aspnetedit async asyncns automount autoreplace bash-completion berkdb bidi binary-drivers binfilter bitmap-fonts blender-game boost branding bzip2 c++ cairo cal3d caps captury cdda cddb cdinstall cdio cdparanoia cdr cdrom cdsound cegui cg chm cjkclamav clamd cli clucene colordiff connectionstatus contactnotes contrib cpudetection cracklib crypt css ctype cups curl curlwrappers cxx d daap dbus devildia directfb disk-partition divx djvu dmi dmx dri dvd dvdnav dvdr dvdread editor eds emboss emerald emovix enca encode enscript exif exiv2 expat extra-cardsets extras fam fame fastcgi fbcon fbcondecor fbsplash ffmpeg file filter firefox flac fmod fontconfig fortran ftp fuse gdbm gecko geoip gif gimp gimpprint glib glitz glut gmedia gnutls gphoto2 gpm graphviz gs gtk gzip hal hddtemp hdri hibernate-script highlight history hpn httpd iconv icu id3tag idn ifp ilbc imagemagick imap inkjar inotify insecure-patches insecure-savers iplsrc ipod ipv6 irc isdnlog jabber java javascript jce jingle jpeg jpeg2k justify kde kdehiddenvisibility kerberos kipi kontact kqemu ladspa lame lcms ldap libgcrypt libnotify libsamplerate libssh2 live lm_sensors log lua lzo mad make-symlinks maps matroska md5sum mdb messenger midi mikmod mime ming mjpeg mmap mmx mng modplug mono mozdevelop mozdom mozsha1 mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer msn mtp mudflap musepack musicbrainz ncurses nemesi neon nepomuk network networkmanager newxkb njb nls nodrm nowlistening npp nptl nptlonly nspr nss odbc ode oggogre ole openal openexr opengl openmp pam pango pch pcre pdf perl physfs pie plasma player plugins png pnm policykit polling posix postproc postscript povray pppd pulseaudio pyste python qca qt3 qt3support qt4 quicktime rar readline realmedia reflection replytolist rss rtc rtsp samba samplerate sdk sdl sdl-image session shout skins smp sndfile sockets solver songs sound speex spell spl sql sqlite sqlite3 srt sse sse2 ssl ssse3 statistics stream svg svgz swat symlink sysfs sysvipc taglib tagwriting tcl tcpd teletext texteffect tga theora threads tiff timidity tk trayicon truetype truetype-fonts twolame type1-fonts unicode upnp usb utils v4l v4l2 vcd vcdx verse videos vim-syntax vim-with-x visualization vlm vnc vorbis vorbis-psy vst wavpack webpresence winbind winpopup wma wmf wmp wxwindows x264 xanim xattr xcb xcf xcomposite xerces-c xforms xine xiph xml xmlrpc xmlwriter xorg xpm xprint xscreensaver xslt xv xvid xvmc yv12 zip zlib zrtp" ALSA_CARDS="hda-intel" 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 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 ncursestext" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jory A. Pratt gentoo-dev 2008-02-10 16:57:26 UTC
I found the problem in the ebuild which was breaking everything. emulation packages are no longer installed in /emul but /usr/lib32 instead. Small correction to the ebuild and all is well again. :)

--- /usr/portage/net-www/mplayerplug-in/mplayerplug-in-3.50.ebuild	2008-01-13 14:06:28.000000000 -0600
+++ mplayerplug-in-3.50.ebuild	2008-02-10 10:51:46.863223579 -0600
@@ -79,7 +79,7 @@
 		ABI="x86"
 		econf \
 			${myconf} \
-			--x-libraries=/emul/linux/x86/usr/lib/ \
+			--x-libraries=/usr/lib32/ \
 			--enable-x86_64 \
 			${myconf2} \
 			$(use_enable divx dvx) \
Comment 3 Julien 2008-02-12 12:38:00 UTC
It works with this patch, thanks. :)
Comment 4 Jory A. Pratt gentoo-dev 2008-03-21 03:43:31 UTC
someone from mozilla herd want to fix this? Bug is a simple fix with solution already provided to fix breakage caused during amd64 being mirgrated to /usr/lib32 instead of /emul ....
Comment 5 Jory A. Pratt gentoo-dev 2008-06-02 03:50:10 UTC
I opened this bug five months ago. Could someone please step up and fix this? It is broken for ~arch and I am sure it is gonna be broke here pretty quick for stable as well.
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2008-06-12 16:45:58 UTC
Should be fixed now.