Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75752 - xine-lib-1.0 emerge fails at src_compile line 199
Summary: xine-lib-1.0 emerge fails at src_compile line 199
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 75785 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-26 21:53 UTC by Mark R. Pariente
Modified: 2005-01-03 08:28 UTC (History)
2 users (show)

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


Attachments
This patch I made fixed the problem for me. (ebuild.patch,5.61 KB, patch)
2004-12-26 22:53 UTC, James Stockton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark R. Pariente 2004-12-26 21:53:05 UTC
There is an error in the ebuild that causes the emerge to fail in src_compile(), line 199, saying:

--with-w32-dir=/usr/lib/win32: No such file or directory

That flag should have been passed to configure, but instead is passed as a separate command due to the stray / characters in commented lines 197 and 198. Deleting those two commented lines fixes the problem.

Reproducible: Always
Steps to Reproduce:
1. emerge xine-lib
2.
3.

Actual Results:  
fails at src_compile()

Expected Results:  
compiles

Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-gentoo-r1 i686)
=================================================================
System uname: 2.6.10-gentoo-r1 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug 21 2004, 11:02:59)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2"
CHOST="i686-pc-linux-gnu"
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="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -mmmx -msse2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org/
http://ftp-mirror.internap.com/pub/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="x86 X acl acpi alsa apm artworkextra avi berkdb bitmap-fonts cdr crypt cups
dvd dvdr eds encode esd evo fam flac foomaticdb fortran gdbm gif gnome gpm
gstreamer gtk gtk2 hal imagemagick imap imlib ipv6 java jpeg ldap libwww mad
mikmod mmx motif mozilla mpeg ncurses nls nntp nptl oggvorbis opengl oss pam
pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga
tcltk tcpd tetex tiff truetype xine xml2 xmms xv zlib"
Comment 1 James Stockton 2004-12-26 22:53:03 UTC
Created attachment 46941 [details, diff]
This patch I made fixed the problem for me.

This patch I made fixed the problem for me.
Comment 2 Lee Trager 2004-12-26 23:16:27 UTC
The patch worked but the patch did have an error in it. Here is xine-lib-1.0.ebuild.rej

***************
*** 1,6 ****
  # Copyright 1999-2004 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
- # $Header: /var/www/www.gentoo.org/raw_cvs/gentoo-x86/media-libs/xine-lib/xine-lib-1.0.ebuild,v 1.1 2004/12/27 04:05:33 chriswhite Exp $

  inherit eutils flag-o-matic gcc libtool

--- 1,6 ----
  # Copyright 1999-2004 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
+ # $Header: 

  inherit eutils flag-o-matic gcc libtool
Comment 3 James Stockton 2004-12-26 23:35:34 UTC
Blank headers fine, cvs submit sets it.
Comment 4 SpanKY gentoo-dev 2004-12-27 06:47:46 UTC
*** Bug 75785 has been marked as a duplicate of this bug. ***
Comment 5 Benoit Boissinot 2004-12-30 16:45:29 UTC
i think this can be closed (looks like it is solved).

regards.

Benoit
Comment 6 Mark R. Pariente 2004-12-30 16:50:53 UTC
Indeed, closing.