Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195467 - net-misc/hylafax-4.3.0 and net-dialup/mgetty-1.1.35-r2 collide
Summary: net-misc/hylafax-4.3.0 and net-dialup/mgetty-1.1.35-r2 collide
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 06:10 UTC by Christian Faulhammer (RETIRED)
Modified: 2008-02-04 17:45 UTC (History)
3 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 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-11 06:10:21 UTC
* This package is blocked because it wants to overwrite
* files belonging to other packages (see list below).
* If you have no clue what this is all about report it
* as a bug for this package on http://bugs.gentoo.org

package net-misc/hylafax-4.3.0 NOT merged

Detected file collision(s):

     '/usr/bin/faxrm'
     '/usr/share/man/man1/faxrm.1.bz2'

Searching all installed packages for file collisions...
Press Ctrl-C to Stop

 * net-dialup/mgetty-1.1.35-r2:

     '/usr/bin/faxrm'
     '/usr/share/man/man1/faxrm.1.bz2'
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-11 06:28:34 UTC
versions in ~arch have the same problem
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2007-11-12 16:07:19 UTC
The way I see this bug fixed:
 - add a "fax" USE flag to mgetty, depending on which fax-related stuff is installed or not
 - hylafax will die in pkg_setup if mgetty with fax support is installed, asking user to disable fax support in mgetty.
 - mgetty will die in pkg_setup if fax USE flag is enabled and hylafax is installed

Steve, what is your opinion?
Comment 3 Steve Arnold archtester gentoo-dev 2007-11-19 07:21:11 UTC
Basically, mgetty can provide either getty support, without fax if hylafax is installed, or mgetty can handle everything on its own (but only without Hylafax).  So checking for Hylafax in the mgetty ebuild and removing the offending binaries if necessary should do it, along with the USE flag for "nofax" or whatever...

Feel free to implement something if you want, or else I'll get to it shortly (probably Tuesday or Wednesday).
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2007-11-25 08:31:17 UTC
I've added nofax USE flag to mgetty-1.1.36, which disable installation of fax related files.

hylafax should have this test added to its pkg_setup:
        if ! built_with_use --missing true net-dialup/mgetty nofax; then
                eerror "net-dialup/mgetty must be installed with USE=nofax"
                die "bla bla"
        fi
Comment 5 Ulrich Müller gentoo-dev 2007-11-27 11:56:40 UTC
(In reply to comment #4)
> I've added nofax USE flag to mgetty-1.1.36, which disable installation of fax
> related files.

I thought we were getting rid of all "no*" USE flags? Can't you invert the logic and add IUSE="fax" instead?
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2007-11-27 12:24:02 UTC
I want fax support to be enabled by default. Currently there is no way of doing that.
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-27 13:09:55 UTC
(In reply to comment #6)
> I want fax support to be enabled by default. Currently there is no way of doing
> that.

profiles/base $ head package.use
# This file requires >=portage-2.1.2 (see bug #61732)

# Strongly recommended, otherwise all logos, icons, etc. appear in b/w.
app-editors/emacs xpm
app-editors/emacs-cvs xpm

# 2007/10/11 - Christian Heim <phreak@gentoo.org>
# Nearly everything linking against dev-scheme/guile-1.8 needs USE=deprecated
# for a sucessful build (see #163921)
=dev-scheme/guile-1.8* deprecated
Comment 8 Alin Năstac (RETIRED) gentoo-dev 2007-11-27 14:22:50 UTC
I've replaced nofax with fax. Thanks for the clue!
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-04 09:48:50 UTC
(In reply to comment #4)
> hylafax should have this test added to its pkg_setup:
>         if ! built_with_use --missing true net-dialup/mgetty nofax; then
>                 eerror "net-dialup/mgetty must be installed with USE=nofax"
>                 die "bla bla"
>         fi

 I added the check to the latest hylafax ebuild.  Closing.  Maybe a new round of stabilisations for mgetty and hylafax?
Comment 10 Steve Arnold archtester gentoo-dev 2008-02-04 17:45:34 UTC
Hmm... Guess I didn't get to it shortly...  Thanks for taking care of this...