Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50961 - ams 1.7.2 fails to build on x86
Summary: ams 1.7.2 fails to build on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 51085 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-13 11:34 UTC by Travis Snoozy
Modified: 2004-05-16 07:41 UTC (History)
2 users (show)

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


Attachments
Fixes the dependancy on fftw, so 2.1.5 is used (ams-1.7.2.ebuild.patch,508 bytes, patch)
2004-05-13 14:19 UTC, Travis Snoozy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Snoozy 2004-05-13 11:34:38 UTC
ams-1.7.2 fails to compile properly when emerging.

Reproducible: Always
Steps to Reproduce:
1.emerge ams #"=ams-1.7.2"

Actual Results:  
Fails to find the header "rfftw.h" (FFTW is installed properly). Here is the output:

###
>>> emerge (2 of 3) media-sound/ams-1.7.2 to /
>>> md5 src_uri ;-) ams-1.7.2.tar.bz2
>>> Unpacking source...
>>> Unpacking ams-1.7.2.tar.bz2 to /var/tmp/portage/ams-1.7.2/work
>>> Source unpacked.
g++ -DQT_THREAD_SUPPORT -I/usr/qt/3/include
-DLADSPA_PATH=\"/usr/lib/ladspa:/usr/local/lib/ladspa\" -I/usr/X11R6/include -I.
-O2 -Wall   -c -o synthdata.o synthdata.cpp
In file included from configdialog.h:34,
                 from module.h:23,
                 from m_env.h:20,
                 from synthdata.cpp:7:
spectrumscreen.h:15:19: rfftw.h: No such file or directory
In file included from configdialog.h:34,
                 from module.h:23,
                 from m_env.h:20,
                 from synthdata.cpp:7:
spectrumscreen.h:53: error: parse error before `,' token
spectrumscreen.h:54: error: syntax error before `*' token
spectrumscreen.h:55: error: syntax error before `*' token
spectrumscreen.h:56: error: syntax error before `*' token
spectrumscreen.h:57: error: 'rfftw_plan' is used as a type, but is not defined
   as a type.
<SNIP>
make: *** [synthdata.o] Error 1
 
!!! ERROR: media-sound/ams-1.7.2 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! Make failed.
###

Expected Results:  
The package should have built and installed without failure.

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo)
=================================================================
System uname: 2.6.5-gentoo i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.11
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage_overlay/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apache2 avi berkdb bonobo crypt cscope cups curl dga doc
dvd encode esd fbcon flash foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2
gtkhtml guile imlib java jikes jpeg libg++ libwww mad maildir mikmod mmx motif
mpeg ncurses nls offensive oggvorbis pam pcmcia pdflib perl png pnp python
quicktime readline scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex
tiff truetype unicode usb wmf wxwindows x86 xml2 xmms xosd xv zlib"
Comment 1 Travis Snoozy 2004-05-13 14:19:58 UTC
Created attachment 31366 [details, diff]
Fixes the dependancy on fftw, so 2.1.5 is used

ams requires fftw-2.1.5, singe fftw-3.x uses a new interface that is not
backwards-compatible. Furthermore, the ams ebuild should probably get bumped up
to 1.8.2, which is the newest release. I was able to install the 1.8.2 version
off the same (patched) 1.7.2 ebuild, so I don't think (knock on wood) that it
will be a problem.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-15 01:16:03 UTC
fixed and bumped in portage.  thanks.
Comment 3 Jonas Fährmann 2004-05-16 07:41:50 UTC
*** Bug 51085 has been marked as a duplicate of this bug. ***