Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175973 - hylafax always depends on mgetty
Summary: hylafax always depends on mgetty
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold (nerdboy) (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 14:35 UTC by Przemyslaw Kwiatkowski
Modified: 2008-09-14 11:22 UTC (History)
4 users (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 Przemyslaw Kwiatkowski 2007-04-25 14:35:36 UTC
There are "mgetty" and "faxonly" use flags. They are not processed properly. Look:

If I set "mgetty -faxonly" -  net-dialup/mgetty is emerged automagically. And that is of course correct.

If I set "-mgetty faxonly" -  net-dialup/mgetty is not emerged. And that is also correct.

If I set both flags ("mgetty faxonly") -  emerging fails. That is correct too!


But if I set none of above mentioned use flags ("-mgetty -faxonly"), hylafax still depends on net-dialup/mgetty! See:

~ # USE=-faxonly emerge -pv hylafax

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

Calculating dependencies... done!
[ebuild  N    ] net-dialup/mgetty-1.1.35-r2  USE="-doc -fidonet" 1,000 kB
[ebuild   R   ] net-misc/hylafax-4.3.0  USE="jbig pam -faxonly* -html -mgetty" 0 kB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 1,000 kB


Solution:
Remove depentency "!faxonly? ( net-dialup/mgetty )". It is not necessary for hylafax to work!


Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-07-02 21:18:00 UTC
*** Bug 183991 has been marked as a duplicate of this bug. ***
Comment 2 Andy Wang 2008-03-28 20:00:21 UTC
This is even more ugly now that the latest version of mgetty blocks hylafax.

emerge -pv hylafax

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

Calculating dependencies... done!
[ebuild  N    ] net-dialup/mgetty-1.1.36-r1  USE="doc fax -fidonet" 1,022 kB
[ebuild  N    ] app-arch/sharutils-4.6.3  USE="doc nls" 0 kB
[ebuild  N    ] net-mail/metamail-2.7.45.3-r1  0 kB
[ebuild  N    ] net-misc/hylafax-4.3.0  USE="html jbig pam -faxonly -mgetty" 0 kB
[blocks B     ] net-misc/hylafax (is blocking net-dialup/mgetty-1.1.36-r1)
Comment 3 Steve Arnold archtester gentoo-dev 2008-07-08 07:07:02 UTC
Fixed in the latest testing versions of Hylafax, with minor cleanup in mgetty.  Test away...
Comment 4 David W Noon 2008-08-28 21:59:50 UTC
(In reply to comment #3)
> Fixed in the latest testing versions of Hylafax, with minor cleanup in mgetty. 
> Test away...

When you say "testing versions of Hylafax", I presume you mean ones that are not in Portage, as all the versions in Portage up to 4.4.4 (i.e. including unstable) fail with this blocking on mgetty.
Comment 5 Steve Arnold archtester gentoo-dev 2008-09-13 18:42:09 UTC
I guess I'm not sure what you're talking about; on a fresh install I get this with the mgetty USE flag:

emerge -pv hylafax

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

Calculating dependencies... done!
[ebuild  N    ] net-dialup/mgetty-1.1.36-r2  USE="-doc -fax -fidonet" 0 kB 
[ebuild  N    ] net-mail/metamail-2.7.45.3-r1  0 kB 
[ebuild  N    ] net-misc/hylafax-4.4.4  USE="jbig mgetty pam -html" 0 kB 

Total: 3 packages (3 new), Size of downloads: 0 kB

and this without it:

USE="-mgetty" emerge -pv hylafax

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

Calculating dependencies... done!
[ebuild  N    ] net-mail/metamail-2.7.45.3-r1  0 kB 
[ebuild  N    ] net-misc/hylafax-4.4.4  USE="jbig pam -html -mgetty" 0 kB 

Total: 2 packages (2 new), Size of downloads: 0 kB

Is it different on your system?
Comment 6 David W Noon 2008-09-14 11:22:44 UTC
(In reply to comment #5)
> I guess I'm not sure what you're talking about; on a fresh install I get this
> with the mgetty USE flag:

The key proved to be the fax/-fax USE flag on mgetty: When used as -fax, the overall installation works; when used as fax, mgetty blocks Hylafax.