Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86224 - media-sound/timidity++-2.13.2-r1 fails to compile with missing Xm headers
Summary: media-sound/timidity++-2.13.2-r1 fails to compile with missing Xm headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-22 00:47 UTC by Gian-Carlo Pascutto
Modified: 2005-06-06 05:37 UTC (History)
3 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 Gian-Carlo Pascutto 2005-03-22 00:47:36 UTC
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../timidity -I../libarc -I../utils  -I/usr/kde/3.4/include/artsc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -DAU_OSS -DAU_ALSA -DAU_ARTS -DAU_ESD -DAU_VORBIS -DAU_FLAC -DAU_OGGFLAC -DAU_SPEEX  -I/usr/kde/3.4/include/artsc -pthread -MT motif_p.o -MD -MP -MF ".deps/motif_p.Tpo" \
  -c -o motif_p.o `test -f 'motif_p.c' || echo './'`motif_p.c; \
then mv -f ".deps/motif_p.Tpo" ".deps/motif_p.Po"; \
else rm -f ".deps/motif_p.Tpo"; exit 1; \
fi
motif_i.c:56:19: Xm/Xm.h: No such file or directory
motif_i.c:57:21: Xm/Form.h: No such file or directory
motif_i.c:58:21: Xm/Text.h: No such file or directory
motif_i.c:59:22: Xm/PushB.h: No such file or directory
motif_i.c:60:22: Xm/Label.h: No such file or directory
motif_i.c:61:22: Xm/Scale.h: No such file or directory
motif_i.c:62:21: Xm/List.h: No such file or directory
motif_i.c:63:22: Xm/Frame.h: No such file or directory
motif_i.c:64:26: Xm/RowColumn.h: No such file or directory
motif_i.c:65:25: Xm/CascadeB.h: No such file or directory
motif_i.c:66:23: Xm/FileSB.h: No such file or directory
motif_i.c:68:24: Xm/ToggleB.h: No such file or directory
motif_i.c:78: error: parse error before "context"
motif_i.c:78: warning: data definition has no type or storage class
motif_i.c:79: error: parse error before "char_set"
motif_i.c:79: error: `XmSTRING_DEFAULT_CHARSET' undeclared here (not in a function)
[...many more errors snipped...]
make[3]: *** [motif_i.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/timidity++-2.13.2-r1/work/TiMidity++-2.13.2/interface'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/timidity++-2.13.2-r1/work/TiMidity++-2.13.2/interface'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/timidity++-2.13.2-r1/work/TiMidity++-2.13.2'
make: *** [all] Error 2

!!! ERROR: media-sound/timidity++-2.13.2-r1 failed.

gentoo64 ~ # emerge info
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r1, 2.6.11.3 x86_64)
=================================================================
System uname: 2.6.11.3 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 20:12:05)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r6
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 arts audiofile avantgo berkdb bitmap-fonts bluetooth bonobo boundschecking bzlib c++ ccache cdparanoia cdr chroot cjk clamav clanJavaScript clanVoice codecs crypt cscope cups curl dcc dga directfb doc dts dvd dvdr dvdread emacs emoticon erandom esd exif faac faad fam fftw firefox flac font-server foreign-package fortran freetts freetype ftp gcj gdbm gif gimp gnokii gnomedb gnuplot gphoto2 gpm gprof gs gstreamer gtk gtkhtml hal iconv icq idea imagemagick imlib ipv6 irmc j2ee java javacomm javadoc jce jikes jit jp2 jpeg junit kde koffice-plugin ldap libwww lua lzo lzw lzw-tiff mad maildir matroska md5sum mikmod monkey motif mozcalendar mozilla mp3 mpeg4 msn multilib mysql ncurses nls oggvorbis ooo-kde opengl oscar oss pam pcre pda pdf perl png python pyzor qdbm qt radeon razor readline recode ruby samba sdl slang sox spamassassin speex sqlite ssl tcltk tcpd tetex theora thunderbird tiff timidity transcode truetype truetype-fonts type1-fonts usb userlocales vim vim-with-x vnc wxwin wxwindows xinerama xml xml2 xmms xpm xrandr xv xvid xvmc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nick Demchenko 2005-03-23 02:02:14 UTC
I second that.

I guess I've found the reason for that.

The directory /usr/include/Xm/ contains of the right link to the Xm headers.
/usr/include/Xm/Xm is actually <Xm/Xm/>, so replacing the directory /usr/include/Xm with the actual link to /usr/include/openmotif-2.2/Xm resolves the issue.

That is:
# rm -r /usr/include/Xm ;
# ln -s /usr/include/openmotif-2.2/Xm /usr/include/Xm

If this confirms, could you please fix the openmotif ebuild. Thanks.
Comment 2 Nick Demchenko 2005-03-23 02:09:39 UTC
Forgot to mention that a looping link could be also of use (haven't worked with motif, so no idea if that's reasonable):

# ln -s /usr/include/Xm /usr/include/Xm/Xm
Comment 3 Ronald Hummelink 2005-03-24 13:12:44 UTC
I confirm changing the symlink from comment #1 fixes timidity build.
Comment 4 Daniel Pierce 2005-04-04 14:12:25 UTC
comment #1 allowed timidity to build here too
Comment 5 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-28 10:13:11 UTC
Maybe I'm wrong but seems to be related to openmotif. Lanius, please advise.
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-06-06 05:37:25 UTC
motif-config -s openmotif-2.2