Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128314 - dev-python/mmpython-0.4.{7,8,9} fails
Summary: dev-python/mmpython-0.4.{7,8,9} fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-31 17:08 UTC by Andy Holmes
Modified: 2006-07-28 03:19 UTC (History)
4 users (show)

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


Attachments
mmpython-0.4.9-missing_stdint_headers.patch (mmpython-0.4.9-missing_stdint_headers.patch,551 bytes, patch)
2006-04-10 23:38 UTC, Håvard Wall
Details | Diff
mmpython-0.4.9.ebuild (mmpython-0.4.9.ebuild,718 bytes, application/octet-stream)
2006-04-10 23:39 UTC, Håvard Wall
Details
mmpython-0.4.9.ebuild (mmpython-0.4.9.ebuild,673 bytes, text/plain)
2006-04-10 23:44 UTC, Håvard Wall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Holmes 2006-03-31 17:08:52 UTC
Trying to build dev-python/mmpyhon-0.4.9 failed, then I tried 0.4.8 and 0.4.7 all with the same error.

The topmost error(s) is:

i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -march=pentium3 -fomit-frame-pointer -pipe -fPIC -I/usr/local/include -I/usr/include/python2.4 -c disc/ifomodule.c -o build/temp.linux-i686-2.4/disc/ifomodule.o
In file included from disc/ifomodule.c:13:
/usr/include/dvdread/ifo_types.h:32:2: #error "Must include <inttypes.h> or <stdint.h> before any libdvdread header."
In file included from disc/ifomodule.c:13:
/usr/include/dvdread/ifo_types.h:68: error: syntax error before "uint8_t"
/usr/include/dvdread/ifo_types.h:70: error: syntax error before "second"
/usr/include/dvdread/ifo_types.h:71: error: syntax error before "frame_u"

etc...


emerge --info:

Portage 2.1_pre7-r3 (default-linux/x86/xbox, gcc-3.4.6, glibc-2.4-r1, 2.6.14.3 i686)
=================================================================
System uname: 2.6.14.3 i686 Celeron (Coppermine)
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
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/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.datapipe.net/gentoo http://gentoo.netnitco.net http://gentoo.mirrors.tds.net/gentoo http://mirror.phy.olemiss.edu/mirror/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 alsa berkdb bzip2 dlloader dvd ffmpeg flac joystick mad mmx ncurses nptl nptlonly ogg opengl png quicktime sse ssl symlink theora truetype truetype-fonts type1-fonts userlocales vcd vorbis win32codecs xv xvid zlib elibc_glibc input_devices_joystick kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Håvard Wall 2006-04-10 23:38:36 UTC
Created attachment 84422 [details, diff]
mmpython-0.4.9-missing_stdint_headers.patch

Patch that adds #include <stdint.h> where necessary
Comment 2 Håvard Wall 2006-04-10 23:39:59 UTC
Created attachment 84423 [details]
mmpython-0.4.9.ebuild

Updated ebuild which applies mmpython-0.4.9-missing_stdint_headers.patch
Comment 3 Håvard Wall 2006-04-10 23:44:51 UTC
Created attachment 84425 [details]
mmpython-0.4.9.ebuild

opps, sorry the previous ebuild contained a debug ewarn.
Comment 4 Jens Braeuer 2006-04-19 09:16:50 UTC
(In reply to comment #3)
> Created an attachment (id=84425) [edit]
> mmpython-0.4.9.ebuild
> 
> opps, sorry the previous ebuild contained a debug ewarn.
> 

ebuild and patch solved the mentioned compile problems for me too. tried 0.4.9 and 0.4.7 - neither compiles with the original ebuilds.
Comment 5 Andreas Schäfer 2006-06-25 23:38:30 UTC
yepp, the patch and ebuild fixes the problem for me too. why doesn't this go into the portage tree?
Comment 6 Maciej Zieba 2006-07-18 14:07:36 UTC
I can confirm that this patch is working well on amd64 :-) I hope to see it in portage :-)
Comment 7 Harm Geerts 2006-07-25 02:08:10 UTC
Confirmed on ~amd64 as well
Comment 8 Alastair Tse (RETIRED) gentoo-dev 2006-07-28 03:19:28 UTC
patch finally in portage. sorry for the delay and thanks for tracking down the problem.