[MacPorts] #21060: installing gdal fails with coreutils+with_default_names
#21060: installing gdal fails with coreutils+with_default_names ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: | Port: ---------------------------------+------------------------------------------ {{{ # port installed coreutils The following ports are currently installed: coreutils @7.4_0+with_default_names # which -a ln /opt/local/bin/ln /bin/ln # port install gdal +curl +framework +geos +postgresql84 +sqlite3 ... ---> Staging gdal into destroot ... ln -sfh Versions/Current/unix /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_gdal/work/destroot/Library/Frameworks/GDAL.framework/unix ln: invalid option -- h Try `ln --help' for more information. make: *** [install-actions] Error 1 Error: Status 1 encountered during processing. }}} Indeed, BSD ln has a -h option while GNU ln does not. Install succeeded after I deactivated coreutils and tried again. -- Ticket URL: <http://trac.macports.org/ticket/21060> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21060: installing gdal fails with coreutils+with_default_names ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: seanasy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: with_default_names | Port: gdal ---------------------------------+------------------------------------------ Changes (by snc@…): * keywords: => with_default_names * owner: macports-tickets@… => seanasy@… * port: => gdal -- Ticket URL: <http://trac.macports.org/ticket/21060#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21060: installing gdal fails with coreutils+with_default_names ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: seanasy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: with_default_names | Port: gdal ---------------------------------+------------------------------------------ Comment(by toby@…): We really, really need to just remove that stupid variant. -- Ticket URL: <http://trac.macports.org/ticket/21060#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21060: installing gdal fails with coreutils+with_default_names ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: seanasy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: with_default_names | Port: gdal ---------------------------------+------------------------------------------ Comment(by jabronson@…): Replying to [comment:2 toby@…]:
We really, really need to just remove that stupid variant. Do you mean make "with_default_names" the default when installing coreutils, or do you mean don't even allow it as a variant? I assume you mean the latter, since the former wouldn't help this bug much, though I'd be strongly -1 on removing default names altogether. (What's the point of installing coreutils if you have to remember to prefix everything you use on a daily basis with a g? It requires totally rewiring your brain, so it's just not an option.)
-- Ticket URL: <http://trac.macports.org/ticket/21060#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21060: installing gdal fails with coreutils+with_default_names ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: seanasy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: with_default_names | Port: gdal ---------------------------------+------------------------------------------ Comment(by seanasy@…): Replying to [comment:3 jabronson@…]:
Replying to [comment:2 toby@…]:
We really, really need to just remove that stupid variant. Do you mean make "with_default_names" the default when installing coreutils, or do you mean don't even allow it as a variant? I assume you mean the latter, since the former wouldn't help this bug much, though I'd be strongly -1 on removing default names altogether. (What's the point of installing coreutils if you have to remember to prefix everything you use on a daily basis with a g? It requires totally rewiring your brain, so it's just not an option.)
I'm inclined to agree with toby. Are we to add complexity to every portfile to accommodate gnu coreutils? It's dangerous to have gnu coreutils without the 'g' which is why the variant comes with a warning and FreeBSD uses the 'g'. Ports should be able to assume coreutils work a certain way and using the system versions makes sense. Maybe, MacPorts can be modified to use the system utils exclusively. But, I don't think portfiles should be modified to take gnu coreutils into account unless MacPorts switches to using only gnu coreutils. -- Ticket URL: <http://trac.macports.org/ticket/21060#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21060: installing gdal fails with coreutils+with_default_names ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: seanasy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: with_default_names | Port: gdal ---------------------------------+------------------------------------------ Comment(by jabronson@…): see http://trac.macports.org/ticket/18149 -- Ticket URL: <http://trac.macports.org/ticket/21060#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21060: installing gdal fails with coreutils+with_default_names ---------------------------------+------------------------------------------ Reporter: jabronson@… | Owner: seanasy@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: with_default_names | Port: gdal ---------------------------------+------------------------------------------ Comment(by blb@…): See also #20748. -- Ticket URL: <http://trac.macports.org/ticket/21060#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21060: installing gdal fails with coreutils+with_default_names ----------------------------------+----------------------------------------- Reporter: jabronson@… | Owner: seanasy@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: duplicate | Keywords: with_default_names Port: gdal | ----------------------------------+----------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate -- Ticket URL: <http://trac.macports.org/ticket/21060#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts