Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142939 - gnash-0.7.1_p20060704 fails to compile on AMD64 - error in utility.cpp
Summary: gnash-0.7.1_p20060704 fails to compile on AMD64 - error in utility.cpp
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-05 17:42 UTC by Attila Stehr
Modified: 2009-03-07 19:46 UTC (History)
2 users (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 Attila Stehr 2006-08-05 17:42:04 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -march=athlon64 -O1 -pipe -fomit-frame-pointer -ansi -Wall -MT utility.lo -MD -MP -MF .deps/utility.Tpo -c utility.cpp  -fPIC -DPIC -o .libs/utility.o
utility.cpp: In function `void dump_memory_stats(const char*, int, const char*)':
utility.cpp:81: error: aggregate `mallinfo mi' has incomplete type and cannot be defined
utility.cpp:85: error: invalid use of undefined type `struct mallinfo'
utility.cpp:81: error: forward declaration of `struct mallinfo'
utility.cpp:82: warning: unused variable 'allocated'
make[2]: *** [utility.lo] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/gnash-0.7.1_p20060704/work/gnash/libbase'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/gnash-0.7.1_p20060704/work/gnash'
make: *** [all] Fehler 2

!!! ERROR: net-www/gnash-0.7.1_p20060704 failed.



Portage 2.1-r1 (default-linux/amd64/2005.1, gcc-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r13 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r13 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O1 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /usr/X11R6/bin/startx"
CXXFLAGS="-march=athlon64 -O1 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer sandbox severe sfperms strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 amr artworkextra asf audiofile avi bash-completion beagle berkdb bidi bitmap-fonts bzlib cairo cdda cdio cdparanoia cdr cli cpudetection crypt css cups custom-cflags dbus dga directfb dlloader dmalloc dnd dpms dri dts dvb dvd dvdr dvdread dvi eds effects emacs emboss encode evo exif fame fat fbcon ffmpeg firefox foomaticdb freetype gcj ggi gif gimpprint gnome gnutls gpm gs gstreamer gtk gtk2 hal hardened howl hpn httpd iconv imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde lcms libsamplerate linuxthreads-tls live lzo lzw lzw-tiff mad matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mp4 mpeg mpi nautilus ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg on-the-fly-crypt openal openexr opengl pam pcre pda pdf pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection reiserfs rle sasl screen sdl session sndfile spell spl ssl stream svg symlink tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd video_cards_nvidia videos vlm vorbis wmf wxwindows x264 xine xml xmms xorg xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2006-08-05 19:32:30 UTC
Hi.

It works fine here.

atl64 atlantis # emerge -pv gnash

[ebuild   R   ] net-www/gnash-0.7.1_p20060704  USE="kde nptl nsplugin xml -dmalloc -mad" VIDEO_CARDS="-i810" 3,210 kB


atl64 atlantis # emerge --info
Portage 2.1.1_pre4-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.4
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.3
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64 -momit-leaf-frame-pointer -ftracer -pipe"
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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O3 -march=athlon64 -momit-leaf-frame-pointer -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.gentoo-pt.org/pub/gentoo ftp://mirrors1.netvisao.pt/gentoo/ http://trumpetti.tut.atm.fi/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa avi berkdb bitmap-fonts cdr cli crypt cups dlloader dri dvd eds emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde kdeenablefinal lzw lzw-tiff mp3 mpeg ncurses nls nptl nptlonly opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

atl64 atlantis # 
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2006-08-06 03:20:59 UTC
The error messages don't look very amd64-specific, reassigning
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-08 04:54:44 UTC
This happened because of the dmalloc useflag which is offered by upstream but obviously not working - I removed the dmalloc useflag from the ebuild for now. Thanks
Comment 4 Attila Stehr 2006-08-08 12:52:11 UTC
thanks too :)
Comment 5 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2009-03-07 19:46:35 UTC
I guess we can close this bug.