Summary: | wmsmixer-0.5 does'nt compiles | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | roma1390 |
Component: | Current packages | Assignee: | Nick Hadaway <grandmasterlinux> |
Status: | VERIFIED FIXED | ||
Severity: | trivial | CC: | sound |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
makefile.diff
correct makefile.diff for wmsmixer-0.5 |
Description
roma1390
2003-02-25 21:31:40 UTC
looks like it's using gcc when it should be using g++ The makefile patch does not apply to the current source. I am attaching an updated file that should go in /usr/portage/x11-plugins/wmsmixer/files/ Created attachment 12424 [details, diff]
makefile.diff
This is the updated version of the current makefile.diff that is distributed
with the ebuild as $FILESDIR/makefile.diff
fixed. many thanks. seems it's still broken, shall I open new bug? bash-2.05b# emerge info Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r5) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Celeron (Coppermine) ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://ftp.sunbay.crimea.ua/pub/FreeBSD http://gentoo.oregonstate .edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm arts avi crypt cups encode foomaticdb gif imlib jpeg libg++ lib www mad mikmod mmx mpeg ncurses nls pdflib png qt quicktime sdl spell svga truet ype xml2 xmms xv zlib gdbm berkdb slang readline java X gpm tcpd pam ssl perl py thon oggvorbis gtk motif opengl -kde -gnome -alsa" bash-2.05b# emerge wmsmixer Calculating dependencies ...done! >>> emerge (1 of 1) x11-plugins/wmsmixer-0.5 to / >>> md5 src_uri ;-) wmsmixer-0.5.tar.gz >>> Unpacking source... >>> Unpacking wmsmixer-0.5.tar.gz to /var/tmp/portage/wmsmixer-0.5/work patching file wmsmixer.cc >>> Source unpacked. imake -DUseInstalled -I/usr/X11R6/lib/X11/config /usr/X11R6/lib/X11/config/linux.cf:323: warning: "BuildLibGlxWithoutPIC" redefined patching file Makefile Hunk #1 FAILED at 154. 1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej c++ -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -c -o wmsmixer.o wmsmixer.cc rm -f wmsmixer gcc -o wmsmixer -O2 -fno-strength-reduce -fno-strict-aliasing -L/usr/X11R6/lib wmsmixer.o -lXpm -lXext -lX11 wmsmixer.o(.text+0x3f8): In function `main': : undefined reference to `operator new(unsigned)' wmsmixer.o(.text+0x55f): In function `main': : undefined reference to `operator delete(void*)' wmsmixer.o(.text+0x7bf): In function `main': : undefined reference to `operator delete(void*)' wmsmixer.o(.eh_frame+0x12): undefined reference to `__gxx_personality_v0' collect2: ld returned 1 exit status make: *** [wmsmixer] Error 1 !!! ERROR: x11-plugins/wmsmixer-0.5 failed. !!! Function src_compile, Line 32, Exitcode 2 !!! parallel make failed bash-2.05b# Created attachment 18032 [details, diff]
correct makefile.diff for wmsmixer-0.5
all yours raker.. ;) wmsmixer-0.5 has been updated in portage. Please test the build. :) No more makefile.diff My first fix was to add CC=g++ to the Imakefile so it propogated properly to the Makefile on running xmkmf but as there is no man page and the Makefile tries to install one I figured it'd just be easier to manually compile and install things. So anyway... I digress. Tested |