Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207355 - media-sound/transkode is missing ppc keyword
Summary: media-sound/transkode is missing ppc keyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High enhancement (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks:
 
Reported: 2008-01-25 08:41 UTC by Benoît Knecht
Modified: 2008-08-24 18:01 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 Benoît Knecht 2008-01-25 08:41:25 UTC
media-sound/transkode installs and works fine on PPC (I only tested media-sound/transkode-0.7 USE="amarok -debug -shorten -wavpack -xinerama").
It would be a good thing to make this package available on non-x86 platforms since the amarok-script is only provided as a 32bit x86 executable.
Comment 1 Jure Kobal 2008-02-05 21:51:58 UTC
> media-sound/transkode installs and works fine on PPC (I only tested
> media-sound/transkode-0.7 USE="amarok -debug -shorten -wavpack -xinerama").
> It would be a good thing to make this package available on non-x86 platforms
> since the amarok-script is only provided as a 32bit x86 executable.
> 

Added ppc to the keywords for the transkode ebuild in bug #187996
Now if you could test it and report back if the ebuild worked as it should or not.
Comment 2 Benoît Knecht 2008-02-15 08:04:14 UTC
(In reply to comment #1)
> Added ppc to the keywords for the transkode ebuild in bug #187996
> Now if you could test it and report back if the ebuild worked as it should or
> not.

I'm afraid it didn't work as expected.
First, I had to remove the media-sound/transkode-enc dependency, as this ebuild doesn't seem to exist.
Then, I had the following error while computing the dependencies:
    Note: Nested use flags without parenthesis (Deprecated)
    --> !x86-fbsd? !x86-fbsd? !ppc? ['media-sound/xineadump']
but it was non-fatal, so I went on to compiling.
And there, it failed for good with the following error:
Making all in transkode
make[3]: Entering directory `/tmp/portage/media-sound/transkode-0.7/work/transkode/src/transkode'
rm -rf metadatawidgetbase.h;
/usr/qt/3/bin/uic -L /usr/kde/3.5/lib/kde3/plugins/designer -nounload ./metadatawidgetbase.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> metadatawidgetbase.h ;
/usr/qt/3/bin/moc ./mainwindow.h -o mainwindow.moc
/usr/qt/3/bin/moc ./listview.h -o listview.moc
/usr/qt/3/bin/moc ./listviewitem.h -o listviewitem.moc
/usr/qt/3/bin/moc ./metadatawidget.h -o metadatawidget.moc.cpp
powerpc-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../src/common/ -I../../src/config/ -I../../src/configdialog/ -I../../src/configdialog/ -I../../src/plugins/ -I../../src/metadata/ -I../../src/core/ -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -mcpu=G4 -maltivec -mabi=altivec -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -c -o metadatawidget.moc.o `test -f 'metadatawidget.moc.cpp' || echo './'`metadatawidget.moc.cpp
metadatawidget.h:42: error: expected class-name before ‘{’ token
metadatawidget.moc.cpp: In static member function ‘static QMetaObject* TransKode::MetadataWidget::staticMetaObject()’:
metadatawidget.moc.cpp:54: error: ‘MetadataWidgetBase’ has not been declared
metadatawidget.moc.cpp: In member function ‘virtual void* TransKode::MetadataWidget::qt_cast(const char*)’:
metadatawidget.moc.cpp:91: error: ‘MetadataWidgetBase’ has not been declared
metadatawidget.moc.cpp: In member function ‘void TransKode::MetadataWidget::metadataSetted()’:
metadatawidget.moc.cpp:97: error: ‘activate_signal’ was not declared in this scope
metadatawidget.moc.cpp: In member function ‘virtual bool TransKode::MetadataWidget::qt_invoke(int, QUObject*)’:
metadatawidget.moc.cpp:109: error: ‘MetadataWidgetBase’ has not been declared
metadatawidget.moc.cpp: In member function ‘virtual bool TransKode::MetadataWidget::qt_emit(int, QUObject*)’:
metadatawidget.moc.cpp:119: error: ‘MetadataWidgetBase’ has not been declared
metadatawidget.moc.cpp: In member function ‘virtual bool TransKode::MetadataWidget::qt_property(int, int, QVariant*)’:
metadatawidget.moc.cpp:127: error: ‘MetadataWidgetBase’ has not been declared
make[3]: *** [metadatawidget.moc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Session management error: Could not open network socket
make[3]: Leaving directory `/tmp/portage/media-sound/transkode-0.7/work/transkode/src/transkode'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/portage/media-sound/transkode-0.7/work/transkode/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/media-sound/transkode-0.7/work/transkode'
make: *** [all] Error 2

And here are the relevant use-flags I was using:
USE="amarok ffmpeg mplayer xine -debug -gstreamer -wavpack -xinerama"

I hope this helps fixing the problem. For the record, the ebuild I successfully used was media-sound/transkode-0.6-r1.ebuild from the portage tree with the following changes:
@@ -13,7 +13,7 @@
 LICENSE="GPL-2"

 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"

 IUSE="amarok shorten wavpack"

@@ -30,8 +30,8 @@
 src_compile() {
        local myconf="$(use_enable amarok amarokscript)"

-       #epatch "${FILESDIR}/${P}-wavpack-options-fix.patch"
-       #epatch "${FILESDIR}/${P}-wvunpack-options-fix.patch"
+       epatch "${FILESDIR}/${P}-wavpack-options-fix.patch"
+       epatch "${FILESDIR}/${P}-wvunpack-options-fix.patch"

        kde_src_compile
 }
Comment 3 Jure Kobal 2008-02-15 16:19:52 UTC
For the first thing, yeah, my bad. Forgot to remove it. 
media-sound/transkode-enc is a dummy ebuild I use so I don't need to emerge every 
encoder/decoder I need/want but do it via an ebuild.

----

Note: Nested use flags without parenthesis (Deprecated)
    --> !x86-fbsd? !x86-fbsd? !ppc? ['media-sound/xineadump']

It's a warning abuit the usage of using nested use flags. I'm using nested use flags for xineadump, since I dunno if it works on anything else then x84 and amd64. Dunno about another way how to do it.

About the error later on I can't help you much since the ebuild for 0.7 is more or less the same as the one for 0.6 with some minor changes.

> I hope this helps fixing the problem. For the record, the ebuild I successfully
> used was media-sound/transkode-0.6-r1.ebuild from the portage tree with the
> following changes:

You changed the ebuild name from transkode-0.6-r1 to transkode-0.7? If not then it could be a problem because of the changes in the transkode 0.7 source code.
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2008-08-24 18:01:22 UTC
transkode-0.7 compiles and encodes files just fine, added ~ppc to transkode and xineadump