Summary: | macos: app-arch/unzip-5.50-r2 needs ebuild patches to install | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robin Munn <rmunn> |
Component: | Current packages | Assignee: | osx porters <osx> |
Status: | RESOLVED LATER | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 60624, 62308, 63737 | ||
Attachments: |
unzip-5.50-r2.ebuild.patch
dobin.patch |
Description
Robin Munn
2004-08-30 15:45:04 UTC
Created attachment 38545 [details, diff]
unzip-5.50-r2.ebuild.patch
Here's the ebuild patch which takes care of the sed/gsed issue and picks the
appropriate Makefile target.
Created attachment 38546 [details, diff]
dobin.patch
And here's the patch to /usr/lib/portage/bin/dobin, to make it use a different
install syntax if ${ARCH} = "macos".
I forgot to mention that of course, /usr/bin/unzip already exists, so portage will refuse to install unzip will collision protection turned on. You can either do "FEATURES='-collision-protect' emerge -av unzip", which will overwrite /usr/bin/unzip; or you can do what I did and move /usr/bin/unzip out of the way (I renamed it to /usr/bin/unzip-orig-5.20), which will allow you to restore the OS X-provided unzip should you ever choose to uninstall the unzip you just built with the Gentoo ebuild. What package actually depends on later versions of unzip? (FYI, if it overwrites default Mac OS X unzip we won't mark it stable.) First is a dup of bug #58415 and third is a dup of bug #57878. Please use the latest portage (portage-2.0.51_pre20). What we need to care is the second modification but we are not going to add anything until macos keyword change. I hit this problem when trying to install slib, but a quick grep through my local portage tree shows that there's other packages with similar dependencies. I found the following packages that depend on versions of unzip later than 5.20: app-accessibility/nfbtrans - ">=app-arch/unzip-5.50-r2" app-antivirus/f-prot - ">=app-arch/unzip-5.42-r1" app-text/docbook-sgml-dtd - ">=app-arch/unzip-5.41" app-text/docbook-xml-dtd - ">=app-arch/unzip-5.41" dev-java/ant - ">=app-arch/unzip-5.50-r1" dev-java/infobus-bin - ">=app-arch/unzip-5.50-r1" dev-java/java-sdk-docs - ">=app-arch/unzip-5.50-r1" dev-java/javahelp-bin - ">=app-arch/unzip-5.50-r1" dev-java/jdbc2-oracle - ">=app-arch/unzip-5.50-r1" dev-java/jdbc3-oracle - ">=app-arch/unzip-5.50-r1" dev-java/jdepend - ">=app-arch/unzip-5.50-r1" dev-java/jmf-bin - ">=app-arch/unzip-5.50-r1" dev-java/jrockit-jdk-bin - ">=app-arch/unzip-5.50-r1" dev-java/jta - ">=app-arch/unzip-5.50-r1" dev-java/junit - ">=app-arch/unzip-5.50-r1" dev-java/sun-jaf-bin - ">=app-arch/unzip-5.50-r1" dev-java/sun-javamail-bin - ">=app-arch/unzip-5.50-r1" dev-libs/slib - ">=app-arch/unzip-5.21" dev-util/astyle - ">=app-arch/unzip-5.42" mail-filter/qmail-scanner - ">=app-arch/unzip-5.42-r1" media-libs/jpgalleg - ">=app-arch/unzip-5.50" Thanks for the tip to the new version of portage; I hadn't wanted to use it yet as it's still in package.mask. I'll upgrade and see if the latest portage would, all by itself, close any of the bugs I've reported so far. |