Transcode installed from source, unsatisfied transcode

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Transcode installed from source, unsatisfied transcode

Postby mark9117 » Jan 29th, '12, 21:03

Okay, for months I've been waiting for a transcode rpm for my MythTV box. Looks like it's not a happening thing in Mageia 1. Okay, finally sat down and wrestled gcc into submission. Transcode installled:

Code: Select all
# which transcode
/usr/local/bin/transcode


Great! now I can install those packages that depend on transcode.

Or maybe not.

Code: Select all
Some requested packages cannot be installed:
mythtv-plugin-archive-0.24.1-20111019.0.1.mga1.tainted.i586 (due to unsatisfied transcode)
mythtv-plugin-video-0.24.1-20111019.0.1.mga1.tainted.i586 (due to unsatisfied transcode)


I don't compile from source much and I'm not sure I've ever dealt with this. Is urpmi looking for transcode in a different place? Do I need to create a link to the executable? What's up with this and how can I fix it?

Thanks.

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Transcode installed from source, unsatisfied transcode

Postby mark9117 » Jan 29th, '12, 21:40

I'm considering just switching off dependency checking and running updates. That should install the packages in question (mythtv-plugin-archive-0.24.1-20111019.0.1.mga1.tainted.i586 and mythtv-plugin-video-0.24.1-20111019.0.1.mga1.tainted.i586), but would that screw something up and would it allow the packages to work?

Opinions?

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.

Re: Transcode installed from source, unsatisfied transcode

Postby martinw » Jan 29th, '12, 23:40

To answer your first question, urpmi (or more accurately the underlying rpm tool it calls) maintains a database of which packages have been installed on your machine. Because you have built transcode from source and installed it manually, rpm doesn't know it's there.

My guess is that if you forced the installation of the mythtv packages, then all will be well - the mythtv binaries don't know or care about the rpm database, they'll just search in standard places for the programs/libraries they need. The only problem will be if the place you've installed transcode is not one of the places they search - but that can be easily fixed if it proves to be the case.

More importantly, this is clearly a packaging bug - no package in the Mageia repositories should depend on a non-existent package. I've just checked this on my system (which is 64-bit, not 32-bit) and see the same problem. I suggest you report this in Bugzilla.
martinw
 
Posts: 608
Joined: May 14th, '11, 10:59

Re: Transcode installed from source, unsatisfied transcode

Postby doktor5000 » Jan 29th, '12, 23:54

mark9117 wrote:
Code: Select all
Some requested packages cannot be installed:
mythtv-plugin-archive-0.24.1-20111019.0.1.mga1.tainted.i586 (due to unsatisfied transcode)
mythtv-plugin-video-0.24.1-20111019.0.1.mga1.tainted.i586 (due to unsatisfied transcode)


I don't compile from source much and I'm not sure I've ever dealt with this. Is urpmi looking for transcode in a different place? Do I need to create a link to the executable? What's up with this and how can I fix it?

Create an empty RPM package which provides the facility "transcode". urpmi does not look for files here,
it looks for a package which provides the facility "transcode", as there is none, it errors out.

Your best bet would have been to rebuild an existing transcode source package (src.rpm)
like the one we already have in cauldron. For a short explanation how to do this, look here:
viewtopic.php?p=13277#p13277
But you want to download the transcode src.rpm instead:
ftp://ftp.mandrivauser.de/mirrors/Mageia/distrib/cauldron/SRPMS/tainted/release/transcode-1.1.5-12.mga2.tainted.src.rpm
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Transcode installed from source, unsatisfied transcode

Postby djennings » Jan 30th, '12, 00:08

Mark, There was already a bug report for transcode
https://bugs.mageia.org/show_bug.cgi?id=2111
Since the devs seem reluctant to backport it for Mageia 1 the easiest way to get it is to rebuild the srpm from cauldron. You can pick up the srpm here
ftp://distrib-coffee.ipsl.jussieu.fr/pu ... ed/release

If you have already built transcode from source then you should already have the correct dependencies installed. All you need to do is learn how to rebuild a srpm.
The instructions are here
https://wiki.mageia.org/en/Packagers_RPM_tutorial
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Transcode installed from source, unsatisfied transcode

Postby doktor5000 » Jan 30th, '12, 00:23

djennings wrote:If you have already built transcode from source then you should already have the correct dependencies installed. All you need to do is learn how to rebuild a srpm.
The instructions are here
https://wiki.mageia.org/en/Packagers_RPM_tutorial


I've already pointed that out by linking to another thread. Also that tutorial is quite a bit too much,
and does not really explain how to rebuild a package (in the sense of rebuilding, not installing and then
building it) also some steps are not really needed for that.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Transcode installed from source, unsatisfied transcode

Postby mark9117 » Jan 30th, '12, 01:01

Too late. I just switched off deps and installed the packages I needed. So far, everything seems fine.

Thanks!

Mark
Let's just reboot everything all the time.
User avatar
mark9117
 
Posts: 395
Joined: Sep 12th, '11, 20:32
Location: Eastern New Mexico -- Not Hell, but you can see it from here.


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron