Gentoo Archives: gentoo-user

From: walt <w41ter@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: pcmciautils requires yacc (not bison) which won't build
Date: Tue, 12 Jan 2010 03:20:07
Message-Id: higpmu$35b$1@ger.gmane.org
In Reply to: [gentoo-user] pcmciautils requires yacc (not bison) which won't build by Allan Gottlieb
1 On 01/11/2010 04:09 PM, Allan Gottlieb wrote:
2 > My usual update world rebuilt gcc and then tried to reinstall pcmcia-cs.
3 > The later failed and googling showed that I should use instead
4 > pcmciautils.
5 >
6 > Merging pcmciautils required merging dev-util/yacc.
7 > I don't know why it wouldn't accept bison.
8 > dev-util/yacc failed to build due to a file collision with
9 > /usr/bin/yacc, an unowned file.
10 >
11 > /usr/bin/yacc is unowned by any package; it is a symlink, to
12 > /usr/bin/yacc.bison. The bison ebuild moves any existing /usr/bin/yacc
13 > to /usr/bin/yacc.bison and installs the symlink...
14
15 Me too:
16
17 $ls -l /usr/bin/yac*
18 lrwxrwxrwx 1 root root 10 2005-09-30 18:09 /usr/bin/yacc -> yacc.bison
19 -rwxr-xr-x 1 root root 39 2009-05-10 05:46 /usr/bin/yacc.bison
20
21 That symlink is from 2005, and no package claims it. I, personally,
22 would not hesitate to nuke that five-year-old unclaimed symlink.
23
24 Hm. My bison-2.3 does *not* claim credit for that yacc symlink.
25 I think it's an orphan and should be deleted.
26
27 But don't yell at me if it turns out to be a bad idea :o/

Replies

Subject Author
Re: [gentoo-user] Re: pcmciautils requires yacc (not bison) which won't build Allan Gottlieb <gottlieb@×××.edu>