Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#10785 closed Bug Report - General (fixed)

Gentoo: mythweb fails to install

Reported by: ba5788@… Owned by: Raymond Wagner
Priority: minor Milestone: 0.25.1
Component: Packaging Version: Master Head
Severity: medium Keywords: Gentoo mythweb ebuild
Cc: Ticket locked: no

Description

Since commit 7818813 mythweb is not installable on Gentoo anymore because of the following line:

( ~media-tv/mythtv-bindings-0.26[php(+)] ~media-tv/mythtv-0.26[php(+)] ) in 0.26 ebuild line 19 and
( ~media-tv/mythtv-bindings-0.25[php(+)] ~media-tv/mythtv-0.25[php(+)] ) in 0.25 ebuild

emerge -pv '=mythweb-0.25_p20120430' shows the following error

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "~media-tv/mythtv-bindings-0.25[php(+)]". (dependency required by "www-apps/mythweb-0.25_p20120430" [ebuild]) (dependency required by "=mythweb-0.25_p20120430" [argument])

Attachments (1)

0001-Fixed-wrong-dependency-to-mythtv-php-or-mythtv-bindi.patch (3.3 KB) - added by ba5788@… 7 years ago.
Fixing wrong dependency to mythtv or mythtv-bindings

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by ba5788@…

Fixing wrong dependency to mythtv or mythtv-bindings

comment:1 Changed 7 years ago by ba5788@…

After a long time of studying the ebuild I think I got that the intention of the above mentioned lines was a depedency to either mythtv-binding or mythtv with php USE-flag set.

After another long time of studying the internet about ebuilds I found that the ~ sign seems only to work for revisions like atom-1.0-r1. It seems to be a better idea to use the equal sing plus an asterisk like =atom-1.0*.

I attached a patch for this fix.

comment:2 Changed 7 years ago by Christian Oltenburger <Christian.Oltenburger@…>

Owner: set to Christian Oltenburger <Christian.Oltenburger@…>
Resolution: fixed
Status: newclosed

In a4efe573a517806b155dc75ae730b3870f52b561/packaging:

Fix wrong dependency to one of mythtv[php] or mythtv-bindings[php].

The other format was merely the first one that appeared to work with
'emerge -vp', after stumbling upon it from trial and error. To be
honest, I've never actually installed Apache on a Gentoo system before,
so the limited amount I've been changing on the MythWeb ebuilds is
finding something emerge doesn't complain about.

Fixes #10785

Signed-off-by: Raymond Wagner <rwagner@…>

comment:3 Changed 7 years ago by Raymond Wagner

Milestone: unknown0.25.1

comment:4 Changed 7 years ago by beirdo

Owner: changed from Christian Oltenburger <Christian.Oltenburger@…> to Raymond Wagner
Note: See TracTickets for help on using tickets.