Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652782 - dev-util/yacc-1.9.1-r6 : file collision shouldn't avoid an installation
Summary: dev-util/yacc-1.9.1-r6 : file collision shouldn't avoid an installation
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrice Clement
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-08 11:53 UTC by Toralf Förster
Modified: 2018-05-24 20:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.43 KB, text/plain)
2018-04-08 11:53 UTC, Toralf Förster
Details
dev-util:yacc-1.9.1-r6:20180408-081425.log (dev-util:yacc-1.9.1-r6:20180408-081425.log,62.76 KB, text/plain)
2018-04-08 11:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,56.96 KB, text/plain)
2018-04-08 11:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.58 KB, application/x-bzip)
2018-04-08 11:54 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,366 bytes, application/x-bzip)
2018-04-08 11:54 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-04-08 11:53:53 UTC
 * Detected file collision(s):
 * 
 * 	/usr/bin/yacc
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * None of the installed packages claim the file(s).
 * 
 * Package 'dev-util/yacc-1.9.1-r6' NOT merged due to file collisions. If

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_libressl-test_20180406-190612

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-util/yacc
[ebuild  N    ] dev-util/yacc-1.9.1-r6
Comment 1 Toralf Förster gentoo-dev 2018-04-08 11:53:57 UTC
Created attachment 526846 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-08 11:54:00 UTC
Created attachment 526848 [details]
dev-util:yacc-1.9.1-r6:20180408-081425.log
Comment 3 Toralf Förster gentoo-dev 2018-04-08 11:54:03 UTC
Created attachment 526850 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-04-08 11:54:07 UTC
Created attachment 526852 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-08 11:54:10 UTC
Created attachment 526854 [details]
logs.tbz2
Comment 6 Patrice Clement gentoo-dev 2018-05-22 21:43:41 UTC
Hi Toralf

I understand that the package you're trying to install collides with yacc but which one is it? Please let me know.
Comment 7 Toralf Förster gentoo-dev 2018-05-23 16:25:46 UTC
(In reply to Patrice Clement from comment #6)
IMO exactly that's the portage.
portage refuses to install although no package does claim the file.
Comment 8 Martin Väth 2018-05-24 06:31:53 UTC
sys-devel/bison (all versions) install the symlink in pkg_postinst
(whence without taking ownership).

Probably, this should better be done in src_install (so that ownership is taken), depending on a USE-flag whether the symlink should be generated (and in this case block dev-util/yacc).
Comment 9 Patrice Clement gentoo-dev 2018-05-24 20:38:22 UTC
Alright thanks Martin. I need to look into this issue further.