#34477: cloog depends on isl but cloog and isl conflict -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Keywords: | Port: cloog isl -------------------------------------+-------------------------------------- Comment(by mcalhoun@…): Replying to [comment:6 ryandesign@…]:
Forcing the activation doesn't ''fix'' anything, it just overwrites one port's files with another's, which is seldom a good thing to do.[[BR]] [[BR]] To be clear: my currently-installed cloog @0.16.3_1+universal is not being shown as outdated. If the intention is that cloog should depend on and use the isl port's files, then that is not currently happening, and a fix in the cloog port is needed.[[BR]] [[BR]] Yes, you can automate the unusual occurrence where files that were provided by a previous version of a port are now provided by a dependency. If there were a new revision/version of cloog that used isl's files and did not itself install the isl files, then the isl port would need to be modified to deactivate the existing cloog port to allow the upgrade to occur smoothly. We call this the "deactivate hack" and it's been used in several ports before. See the pre-activate block in the simutrans-pak64 subport of the simutrans Portfile for an example.
Certainly, you are correct in noting the dangers "port -f".[[BR]] On my machine, it was never necessary.[[BR]] The entire point of {{{ configure.args-append \ --with-isl=system }}} in r92992 was to prevent cloog from installing isl.[[BR]] For me, cloog installs the following: {{{ $ port contents cloog | grep isl /opt/local/include/cloog/isl/backend.h /opt/local/include/cloog/isl/cloog.h /opt/local/include/cloog/isl/constraintset.h /opt/local/include/cloog/isl/domain.h /opt/local/lib/libcloog-isl.2.dylib /opt/local/lib/libcloog-isl.a /opt/local/lib/libcloog-isl.dylib /opt/local/lib/libcloog-isl.la /opt/local/lib/pkgconfig/cloog-isl.pc }}} I am a little unsure why cloog is not listed as outdated.[[BR]] Wouldn't increasing the epoch in r92997 indicate the need for an upgrade? Once we get MacPorts to recognize that cloog is out of date, then we may still be left with the problem that: * cloog can't upgrade until isl is installed * isl can't be installed until cloog is upgraded The "deactivate hack" would then seem the way to go. I will submit a patch this weekend. -- Ticket URL: <https://trac.macports.org/ticket/34477#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS