Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Discussion & Documentation Duplicate Threads
  • Search

vlc 0.8.1 merge fails despite -mozilla

Threads in this read-only forum cover topics discussed elsewhere in other forums.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
deanpence
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon Nov 08, 2004 3:36 pm
Location: Earth

vlc 0.8.1 merge fails despite -mozilla

  • Quote

Post by deanpence » Sun Jan 09, 2005 2:41 pm

I use the following in /etc/portage/package.use:

Code: Select all

media-video/vlc -xvid -mozilla dvd nls xv bidi truetype wxwindows imlib matroska faad png
And in vlc-0.8.1's ebuild, I see:

Code: Select all

# reason why:
# looks for xpidl in /usr/lib/mozilla/xpidl
# and doesn't find it there because it's
# in /usr/bin! - ChrisWhite
use mozilla && \
sed -e "s:^XPIDL = .*:XPIDL = /usr/bin/xpidl:" -i mozilla/Makefile \
|| die "could not fix XPIDL path"
Yet vlc-0.8.1's ebuild fails:

Code: Select all

vlc configuration
--------------------
vlc version           : 0.8.1
system                : linux
architecture          : i686 mmx
build flavour         : optim devel
vlc aliases           : wxvlc

You can tune the compiler flags in vlc-config.
To build vlc and its plugins, type `make'.


!!! ERROR: media-video/vlc-0.8.1 failed.
!!! Function src_compile, Line 176, Exitcode 1
!!! could not fix XPIDL path
!!! If you need support, post the topmost build error, NOT this status message.
But `use mozilla` should return a non-zero value in the ebuild. I don't understand why this is happening unless portage has deprecated (and no longer uses) /etc/portage/package.use. But I can find nothing in the man pages that say this. In fact, portage(5) still lists /etc/portage/package.use in its configuration.

Anyone know why this is happening?
Top
deanpence
Apprentice
Apprentice
User avatar
Posts: 158
Joined: Mon Nov 08, 2004 3:36 pm
Location: Earth

vlc 0.8.1 merge fails despite -mozilla [SOLVED?]

  • Quote

Post by deanpence » Sun Jan 09, 2005 2:49 pm

Well, it appears there's a bug in the ebuild:

Code: Select all

use mozilla && \
sed -e "s:^XPIDL = .*:XPIDL = /usr/bin/xpidl:" -i mozilla/Makefile \
|| die "could not fix XPIDL path"
When `use mozilla` returns non-zero, this will always execute `die "could not fix XPIDL path"`. Better to be sure about operator precedence. Here's my fix (testing now):

Code: Select all

if use mozilla ;  then
    if ! sed -e "s:^XPIDL = .*:XPIDL = /usr/bin/xpidl:" -i mozilla/Makefile
    then
        die "could not fix XPIDL path"
    fi
fi
Top
plate
Bodhisattva
Bodhisattva
User avatar
Posts: 1663
Joined: Thu Jul 25, 2002 3:28 pm
Location: Berlin

  • Quote

Post by plate » Sun Jan 09, 2005 5:04 pm

Cf. vlc 0.8.1 now in portage
Top
Post Reply

3 posts • Page 1 of 1

Return to “Duplicate Threads”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy