Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258411 - media-video/dvdstyler-1.7.2_beta4.ebuild has a error in ebuild file
Summary: media-video/dvdstyler-1.7.2_beta4.ebuild has a error in ebuild file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 06:58 UTC by Michael C. Vergallen
Modified: 2009-02-12 07:32 UTC (History)
1 user (show)

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


Attachments
ebuild that actualy works ... (dvdstyler-1.7.2_beta4.ebuild,1.25 KB, text/plain)
2009-02-10 07:03 UTC, Michael C. Vergallen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael C. Vergallen 2009-02-10 06:58:09 UTC
the line with >=media-libs/wxsvg-1.0[ffmpeg] in the ebuild file is wrong and should be >=media-libs/wxsvg-1.0. when changing this the ebuild builds correctly.


Reproducible: Always

Steps to Reproduce:
1.emerge dvdstyler
2.
3.

Actual Results:  
All ebuilds that could satisfy media-libs/wxsvg-1.0[ffmpeg] have been masked with the ~amd64 keyword.

Expected Results:  
When you have media-libs/wxsvg ~* in package.keywords on a amd64 system it should just build


here is the fixed ebuild.
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/dvdstyler/dvdstyler-1.7.2_beta4.ebuild,v 1.1 2009/02/08 11:08:07 dragonheart Exp $

EAPI=2
inherit eutils wxwidgets

MY_P=DVDStyler-${PV/_beta/b}_1

DESCRIPTION="DVDStyler is a cross-platform DVD authoring System"
HOMEPAGE="http://www.dvdstyler.de"
SRC_URI="mirror://sourceforge/dvdstyler/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="gnome"

COMMON_DEPEND="
	media-video/ffmpeg
	x11-libs/wxGTK:2.8
	>=media-libs/wxsvg-1.0
	>=media-libs/libexif-0.6.16
	gnome? ( >=gnome-base/libgnomeui-2.0 )"
RDEPEND="${COMMON_DEPEND}
	virtual/cdrtools
	>=media-video/dvdauthor-0.6.14
	>=app-cdr/dvd+rw-tools-7.1
	>=app-cdr/dvdisaster-0.71.0"
#	>=media-video/dvdauthor-0.6.16
DEPEND="${COMMON_DEEND}
	dev-util/pkgconfig
	>=sys-devel/gettext-0.17"

S="${WORKDIR}"/${MY_P}

src_configure() {
	export WX_GTK_VER="2.8"
	need-wxwidgets gtk2
	myconf="${myconf} --with-wx-config=${WX_CONFIG}"
	econf ${myconf}
}

src_install() {
	emake DESTDIR="${D}" install || die "failed to install"
	rm  "${D}"usr/share/doc/${PN}/COPYING "${D}"usr/share/doc/${PN}/INSTALL
	mv "${D}"usr/share/doc/${PN} "${D}"usr/share/doc/${PF}
}
Comment 1 Michael C. Vergallen 2009-02-10 07:03:09 UTC
Created attachment 181514 [details]
ebuild that actualy works ...
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-11 19:38:12 UTC
This seems to not be a problem with the ebuild as far as I can tell. Did you try USE="ffmpeg" emerge dvdstyler? That should just have pulled the necessary dependencies in. Perhaps portage is giving a strange/erroneous warning when you don't have the right use flags enabled and are setting keywords in package.keywords?
Comment 3 Michael C. Vergallen 2009-02-11 20:11:25 UTC
(In reply to comment #2)
> This seems to not be a problem with the ebuild as far as I can tell. Did you
> try USE="ffmpeg" emerge dvdstyler? That should just have pulled the necessary
> dependencies in. Perhaps portage is giving a strange/erroneous warning when you
> don't have the right use flags enabled and are setting keywords in
> package.keywords?
> 
The only problem it had was with the line that contained 
>=media-libs/wxsvg-1.0[ffmpeg] ones you remove this [ffmpeg] from that line it builds like a charm ...USE="ffmpeg" emerge dvdstyler has nothing what however to do with it... I just used the syntax for that line that was in the previous version and it worked again...so it is wrong to do
 >=media-libs/wxsvg-1.0[ffmpeg] 
                       ^^^^^^^^ this in a ebuild.


Michael  

Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2009-02-12 00:08:26 UTC
> so it is wrong to do
> >=media-libs/wxsvg-1.0[ffmpeg] 
>                        ^^^^^^^^ this in a ebuild.
No, that's EAPI-2 syntax for wxsvg built with ffmpeg use flag.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-12 03:29:21 UTC
I don't see a bug. This is a valid EAPI 2 feature.
Comment 6 Michael C. Vergallen 2009-02-12 05:36:31 UTC
Ah I see ...Just a quicky question ...could it be that on AMD64 emerge is not the correct version ... here is the emerge --info so you poeple can check this ...Thanks 


ortage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-glibc2.2.5
Timestamp of tree: Tue, 10 Feb 2009 07:15:02 +0000
distcc 3.0 x86_64-pc-linux-gnu [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.vergallen.telenet.be/pub ftp://ftp.free.fr/mirrors/ftp.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://synser.vergallen.telenet.be/gentoo-portage"
USE="X acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-12 07:32:39 UTC
(In reply to comment #6)
> Ah I see ...Just a quicky question ...could it be that on AMD64 emerge is not
> the correct version ... here is the emerge --info so you poeple can check this
> ...Thanks 
> 
> 
> [p]ortage 2.1.6.4

Correct.