Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220965 - file collision between net-print/foomatic-db-3.0.20080507 and net-print/foo2zjs-20080225
Summary: file collision between net-print/foomatic-db-3.0.20080507 and net-print/foo2z...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-08 17:29 UTC by Sandro Bonazzola
Modified: 2012-01-18 21:07 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 Sandro Bonazzola 2008-05-08 17:29:21 UTC
* package net-print/foomatic-db-3.0.20080507 NOT merged
 *
 * Detected file collision(s):
 *
 *      /usr/share/foomatic/db/source/driver/foo2qpdl.xml
 *      /usr/share/foomatic/db/source/printer/Xerox-Phaser-6115MFP.xml
 *      /usr/share/foomatic/db/source/printer/Xerox-Phaser-6110.xml
 *      /usr/share/foomatic/db/source/printer/Samsung-CLX-3160.xml
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * net-print/foo2zjs-20080225
 *      /usr/share/foomatic/db/source/driver/foo2qpdl.xml
 *      /usr/share/foomatic/db/source/printer/Xerox-Phaser-6115MFP.xml
 *      /usr/share/foomatic/db/source/printer/Xerox-Phaser-6110.xml
 *      /usr/share/foomatic/db/source/printer/Samsung-CLX-3160.xml
Comment 1 Roger 2008-05-12 04:49:34 UTC
Confirmed here.  Using hp2600n use flag:

* net-print/foo2zjs-20080225
 *      /usr/share/foomatic/db/source/driver/foo2qpdl.xml
 *      /usr/share/foomatic/db/source/printer/Xerox-Phaser-6115MFP.xml
 *      /usr/share/foomatic/db/source/printer/Samsung-CLX-3160.xml
 *      /usr/share/foomatic/db/source/printer/Xerox-Phaser-6110.xml

# cat /etc/portage/package.use |grep 2600
net-print/foo2zjs foo2zjs_devices_hp2600n

I'm guessing, the last version of foo2zjs-20080225 may have added these printer drivers to it's own package.  They may be more up to date within foo2zjs instead of those provided by foomatic-db?  I'm only guessing here.

Can somebody pull heads or tails out of the latest additions to foo2zjs and the relative issues now within the latest foomatic-db package?

/me shrugs.  (As a friendly reminder, "Don't tell the developer of foo2zjs you have a packaging problem with XYZ distro.  He's totally against packaging for distros and will rip your head off or, as a kind reminder, ask you to remove foo2zjs from XYZ distro because it's completely illegal within his view.  However, others confirm it's OK to package foo2zjs as long as the licensing conditions are met.")
Comment 2 Roger 2008-05-12 05:06:01 UTC
According to:
http://www.linuxprinting.org/foomatic-db/db/source/driver/foo2qpdl.xml

foomatic-db somehow is including his (Rick's) source for foo2qpdl within foomatic-db package.  However, the developer (Rick) of foo2qpdl includes foo2qpdl within foo2zjs.  Rick makes explicit notes he doesn't want his packages rolled into any distro packager, not to say the least, including foo2qpdl within foomatic-db would make him any happier.  (Can only see it making him more unhappier as then, he won't even see *any* hits on his web page as the source is probably embedded within foomatic-db snapshots.  With foo2zjs, which apparently includes foo2qpdl, all Gentoo users can at least see the developer's web page address along with emerge printing fetch info.)

Since I don't fully understand what foomatic actually provides and does, I can't comment much more on this besides my brief research above.

If you're looking for a quick (unrecommended) fix, turn-off FEATURES="collision-protect" within /etc/make.conf and recompile "emerge foomatic-db foo2zjs" in order allowing foo2zjs overwrite files.  Then, turn collision-protect back on.

Next step might be to consult with foomatic-db devs to see why they're only providing foo2qpdl and not the whole foo2zjs package??
Comment 3 meyerm 2008-05-28 15:31:35 UTC
Duplicate of #219190
Comment 4 Gokdeniz Karadag 2009-02-15 18:27:23 UTC
Using 3.0.20080507 of foomatic-db did not result in collisions. You can try it from ~arch. 

Also developers may consider making foomatic-db-3.0.20080507. it has been released 9 months ago. The bugs against are for the stable version. And #186730 has another stabilization request filed for some months.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2010-02-05 23:11:02 UTC
Still in version 4?
Comment 6 Gokdeniz Karadag 2010-02-12 15:34:36 UTC
I cannot test this, as foomatic-db-4.0.* requires foo2zjs to be built without FOO2ZJS_DEVICES=hp2600n. I only have a hp2600n printer. Why is only hp2600n is blocked ?

Comment 7 Justin Lecher (RETIRED) gentoo-dev 2010-02-12 15:47:35 UTC
(In reply to comment #6)
> I cannot test this, as foomatic-db-4.0.* requires foo2zjs to be built without
> FOO2ZJS_DEVICES=hp2600n. I only have a hp2600n printer. Why is only hp2600n is
> blocked ?
> 

I cannot find it it to quote, but I somewhere read that the use hp2600n made it collide.
I assume from the collision, that foomatic includes the driver for hp2600n?
Comment 8 Gokdeniz Karadag 2010-02-12 16:49:28 UTC
(In reply to comment #7)
> I assume from the collision, that foomatic includes the driver for hp2600n?
> 

You are right, foomatic-db has drivers for hp2600n (named as foo2hp) No need for foo2zjs package.

Actually over a year ago, in Comment #4 I had stated that foomatic-db-3.0.20080507 has fixed the problem. I guess this bug can be closed.
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2010-02-12 16:51:20 UTC
(In reply to comment #8)
> Actually over a year ago, in Comment #4 I had stated that
> foomatic-db-3.0.20080507 has fixed the problem. I guess this bug can be closed.
> 

We should wait until the version is stabilized and the old one removed. As I am not the maintainer, I will leave this over to them.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2012-01-18 21:07:17 UTC
Does not happen anymore with foo2zjs (pmasked) and net-print/foomatic-db-4.0.20110506 (to be stabilized).