[MacPorts] #30308: libiconv pulls in gawk
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- libiconv's configure script pulls in gawk (which isn't set as a dependency). I discoved this when doing an uninstall/reinstall of libiconv, as gawk didn't run when libiconv had been uninstalled, yet libiconv wanted to run gawk. This can probably be fixed similarly to how we handle it with apr (set an environment variable so that the configure script uses 'awk' instead of 'gawk') -- Ticket URL: <https://trac.macports.org/ticket/30308> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- Comment(by ryandesign@…): Ok, but there are probably thousands of other ports that do the same, and not just with awk but with sed and grep too. I'm not sure it's worth finding and fixing this everywhere. Doesn't it generally work fine? -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- Comment(by dluke@…): It's probably not worth finding and fixing everywhere, but I think it would be worthwhile to fix for libiconv - since gawk depends on it. This sequence causes problems: 1. Install libiconv 2. Install gawk 3. force uninstall libiconv 4. realize you want libiconv and try to install it -> this will fail because libiconv's configure will try to use the now broken gawk To fix it, you have to uninstall or deactivate gawk (and then libiconv can be installed and gawk can be reinstalled or reactivated). If libiconv uses awk instead, 4 works without having to deal with anything extra. -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- Comment(by dluke@…): sorry for my lack of WikiFormatting -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- Changes (by ryandesign@…): * status: new => assigned Comment: Replying to [comment:2 dluke@…]:
It's probably not worth finding and fixing everywhere, but I think it would be worthwhile to fix for libiconv - since gawk depends on it.
You're right, that sounds like a good reason to me. -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- Comment(by ioweurwioe@…): Possibly related: upgrade on Lion fails because of gawk incompatibility (gawk and autoconf uninstall fixes the problem) {{{ :info:configure configure: creating ./config.status :info:configure config.status: creating Makefile :info:configure dyld: Library not loaded: /opt/local/lib/libiconv.2.dylib :info:configure Referenced from: /opt/local/bin/gawk :info:configure Reason: Incompatible library version: gawk requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 :info:configure ./config.status: line 1617: 38917 Done eval sed \"\$ac_sed_extra\" "$ac_file_inputs" :info:configure 38918 Trace/BPT trap: 5 | $AWK -f "$tmp/subs.awk" > $tmp/out :info:configure config.status: error: could not create Makefile :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/libiconv/work/libiconv-1.13.1-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable- static --docdir=/opt/local/share/doc/libiconv --without-libiconv-prefix --without-libintl-prefix --disable-nls --enable-extra-encodings --disable- dependency-tracking " returned error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- Comment(by ryandesign@…): Replying to [comment:5 ioweurwioe@…]:
Possibly related:
Yes, that is exactly the problem [comment:2 described above]. -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: swordangel@… (added) Comment: Has duplicate #30382. -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk --------------------------------+------------------------------------------- Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: libiconv --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: ioweurwioe@… (added) -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk ---------------------------------+------------------------------------------ Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: libiconv | ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Fixed libiconv in r81155. -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30308: libiconv pulls in gawk ---------------------------------+------------------------------------------ Reporter: dluke@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: libiconv | ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Fixed gettext in r81158 for good measure. -- Ticket URL: <https://trac.macports.org/ticket/30308#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts