Opened 10 years ago
Closed 7 years ago
#45620 closed defect (fixed)
Libpcap 1.6.2 can't be installed without bison
Reported by: | lubodiakov@… | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | libpcap |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I see no mention of bison in the libpcap portfile, yet it won't install without it. Perhaps it should be added as a dependency? Something like:
depends_build port:bison
I'm also attaching the main.log that was output when it failed to build libpcap.
After installing bison, libpcap installed no problem.
Attachments (2)
Change History (7)
Changed 10 years ago by lubodiakov@…
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to mschamschula@… |
Port: | libpcap added |
Seems straightforward enough. What do you think, Marius?
comment:2 Changed 10 years ago by Schamschula (Marius Schamschula)
I guess Apple's bison is too old…
Portfile.diff attached.
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
If this is a build failure, then we don't need to increase the port's revision.
I see we do have binary packages for libpcap; perhaps the bison on Snow Leopard and newer is new enough, but the one on Leopard (which this user is using) and earlier is too old, in which case declaring the dependency is a good idea.
comment:4 Changed 10 years ago by Schamschula (Marius Schamschula)
Ryan,
Good point regarding the unecessary revision bump. Updated diff file attached.
On my Leopard box:
marius$ /usr/bin/bison --version bison (GNU Bison) 2.3 Written by Robert Corbett and Richard Stallman.
However, on my Yosemite machine
marius$ /usr/bin/bison --version bison (GNU Bison) 2.3 Written by Robert Corbett and Richard Stallman.
while
marius$ /opt/local/bin/bison --version bison (GNU Bison) 2.7.12-4996 Written by Robert Corbett and Richard Stallman.
So bison for Snow Leopard and above is the same as that for Leopard! The GPL 3 thing stripes again.
Changed 10 years ago by Schamschula (Marius Schamschula)
Attachment: | Portfile-libpcap.diff added |
---|
comment:5 Changed 7 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Log from failed build of libpcap when bison is missing