Opened 8 years ago

Closed 8 years ago

#52060 closed defect (fixed)

mythtv.28 @0.28-Fixes: depends on nonexistent port mythtv-plugins.28

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: mythtv.28

Description

$ sudo port install mythtv.28
--->  Computing dependencies for mythtv.28
Error: Dependency 'mythtv-plugins.28' not found.
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mythtv.28 failed

Change History (7)

comment:1 Changed 8 years ago by ctreleaven (Craig Treleaven)

mythtv-plugins.28 is a subport defined in the same portfile as mythtv.28

Is that not permissible?

comment:2 Changed 8 years ago by mf2k (Frank Schima)

It is permissible. I do not see the same problem as Ryan, but I am running base from trunk. Maybe it is a base bug that was fixed in trunk? I think the problem might be using a "." in a port name.

comment:3 Changed 8 years ago by mf2k (Frank Schima)

Actually I see a different problem when trying to install mythtv.28:

...
--->  Fetching archive for mythtv-core.28
Error: Failed to archivefetch mythtv-core.28: p5.22-dbd-mysql must be installed with +mariadb and without +mariadb10_0+mariadb10_1+mysql4+mysql5+mysql51+mysql55+mysql56+mysql57+percona.

Maybe the default variants on the dependency(s) should be fixed so a user doing a simply sudo port install mythtv.28 does not have to jump through any hoops to get it installed.

comment:4 Changed 8 years ago by mf2k (Frank Schima)

I see now that you must have fixed the initial problem that Ryan reported.

comment:5 in reply to:  3 Changed 8 years ago by ctreleaven (Craig Treleaven)

Replying to mf2k@…:

Actually I see a different problem when trying to install mythtv.28:

...
--->  Fetching archive for mythtv-core.28
Error: Failed to archivefetch mythtv-core.28: p5.22-dbd-mysql must be installed with +mariadb and without +mariadb10_0+mariadb10_1+mysql4+mysql5+mysql51+mysql55+mysql56+mysql57+percona.

Maybe the default variants on the dependency(s) should be fixed so a user doing a simply sudo port install mythtv.28 does not have to jump through any hoops to get it installed.

I'd love that but I believe there are other ports that rely on the default variants being what they are now. If I were to change p5.22-dbd-mysql and py27-mysql, then they would break. I did make a change to qt5-mysql-plugin but AFAICT, I'm the only one declaring a dependency on this port and so I've changed it to suit my needs.

To me, it points out the evils of variants and how subports are the One True Way. ;)

BTW, I did another commit, moments ago, with the active_variants checks turned off so I can test the build on other OS versions.

comment:6 Changed 8 years ago by mf2k (Frank Schima)

I totally agree, I am not a fan of variants. But sometimes they are necessary.

comment:7 Changed 8 years ago by ctreleaven (Craig Treleaven)

Resolution: fixed
Status: newclosed

Subports issue fixed in r151655

Note: See TracTickets for help on using tickets.