Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63682 - a52dec does not compile if libowfat is also emerged
Summary: a52dec does not compile if libowfat is also emerged
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-11 08:31 UTC by Felix von Leitner
Modified: 2004-10-31 02:41 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 Felix von Leitner 2004-09-11 08:31:58 UTC
a52dec checks whether io.h is installed (which libowfat, for example, installs) to find out whether it is being compiled on Windows.

A better check would be to look for __MINGW32__ being defined or so.  I'm not a Windows guy.  Maybe it would be best to remove the Windows stuff from a52dec altogether.  The easiest fix would be to make the check for io.h always fail in the portage version.

Reproducible: Always
Steps to Reproduce:
1. emerge libowfat
2. emerge a52dec

Actual Results:  
a52dec compilation fails because O_BINARY is not defined.
O_BINARY is DOS/Windows only.

Expected Results:  
compile through.

Portage 2.0.50-r11 (gcc34-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8.1)
=================================================================
System uname: 2.6.8.1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe -Os"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -Os -pipe -fomit-frame-pointer"
DISTDIR="/cvs/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://160.45.44.196:81 http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/cvs/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync3.de.gentoo.org/gentoo-portage"
USE="X aalib apm avi berkdb bitmap-fonts cdr crypt encode esd fbcon foomaticdb
gdbm gif gphoto2 gpm gtk2 imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod
motif mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl slang spell ssl tcpd truetype x86 xml2 xprint xv zlib"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-01 02:53:28 UTC
Can't reproduce this. Please tell us the exact versions you tried to emerge.
(re-assigning since a52dec belongs to the sound herd)
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-31 02:41:51 UTC
closing unless we get more info from the submitter.