[MacPorts] #29848: xz configure error - build error
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- I'm new to mac ports and I am trying to install the gsl libraries on my mac (snow leopard). In doing so, I find that I need to install xz, but I get an error when I try to do so: ---> Computing dependencies for xz ---> Fetching xz ---> Attempting to fetch xz-5.0.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/xz ---> Verifying checksum(s) for xz ---> Extracting xz ---> Configuring xz Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for xz is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_xz/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> I have tried sudo port clean --all xz and then reinstalling, as well as sudo port uninstall xz and then reinstalling, but in all cases I get the above error message. Some help would be appreciated. -- Ticket URL: <https://trac.macports.org/ticket/29848> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by macintosh@…): lines 233-236 gives you the reason:[[BR]] '''/opt/local/lib/libintl.8.dylib: mach-o, but wrong architecture''' this means that the dylib has eg been compiled on a PPC and then copied over to an core 2 duo you'll need to recompile at the very least this dylib. ''port provides /opt/local/lib/libintl.8.dylib'' tells us that it's comming from ''gettext'', so try the following: port -f uninstall gettext[[BR]] port clean --all gettext[[BR]] port -f install gettext and then try to see if things shouldn't work now. -- Ticket URL: <https://trac.macports.org/ticket/29848#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by nyunes@…): Thank you very much for your help!!! I have done like you said, but I'm still running into some difficulties. It turns out there were 2 version of gettext installed (0.17_ and 0.18). I successfully uninstalled the 0.17 one sudo port -f uninstall gettext @0.17_4 ---> Uninstalling gettext @0.17_4 But when I tried uninstalling the 0.18 one, I got sudo port -f uninstall gettext @0.18.1.1_2 ---> Unable to uninstall gettext 0.18.1.1_2, the following ports depend on it: ---> p5-locale-gettext ---> help2man ---> xemacs ---> glib2 ---> python25 ---> glib1 ---> gtk1 ---> popt ---> gawk ---> dbus-glib ---> gmake ---> graphviz ---> texinfo ---> python24 ---> aspell ---> libidn ---> kdelibs3 Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating gettext @0.18.1.1_2 ---> Uninstalling gettext @0.18.1.1_2 I'm assuming that gettext got uninstalled inspite of the dependencies. When I tried to install I then got the error message sudo port -f install gettext ---> Computing dependencies for gettext ---> Fetching gettext ---> Attempting to fetch gettext-0.18.1.1.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gettext ---> Verifying checksum(s) for gettext ---> Extracting gettext ---> Applying patches to gettext ---> Configuring gettext Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> I'm attaching the log for this one as well. Any idea of what's going on ? -- Ticket URL: <https://trac.macports.org/ticket/29848#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by macintosh@…): you've still got problems with the libintl.8.dylib ! [[BR]] you can see in the logfile that it's referenced from gawk but gawk can't find it ! so, the fact that you had 2 versions installed and that gawk now can't see libintl.8.dylib tells me that gawk has been linked to the old/wrong libintl.8.dylib you'll have to rebuild all ports that depend on libintl.8.dylib !!! you do that this way :[[BR]] port -R upgrade --force gettext as to log_files, in my experience it's not necessary to look at more than the last 30 or so lines in order to see what's wrong ;-) -- Ticket URL: <https://trac.macports.org/ticket/29848#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by nyunes@…): Replying to [comment:4 macintosh@…]: I see. This is quite unfortunate.
you do that this way :[[BR]] port -R upgrade --force gettext
But I can't do what you suggest, as gettext is not installed. (that's the error message I get). And I can't install gettext, because of the problem mentioned above. It sounds like a catch 39.
as to log_files, in my experience it's not necessary to look at more than the last 30 or so lines in order to see what's wrong ;-) Thanks :)
-- Ticket URL: <https://trac.macports.org/ticket/29848#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk gettext xz ----------------------------------+----------------------------------------- Changes (by jmr@…): * cc: mschamschula@…, ryandesign@…, afb@… (added) * port: => gawk gettext xz Old description:
I'm new to mac ports and I am trying to install the gsl libraries on my mac (snow leopard). In doing so, I find that I need to install xz, but I get an error when I try to do so:
---> Computing dependencies for xz ---> Fetching xz ---> Attempting to fetch xz-5.0.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/xz ---> Verifying checksum(s) for xz ---> Extracting xz ---> Configuring xz Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for xz is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_xz/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
I have tried sudo port clean --all xz and then reinstalling, as well as sudo port uninstall xz and then reinstalling, but in all cases I get the above error message. Some help would be appreciated.
New description: I'm new to mac ports and I am trying to install the gsl libraries on my mac (snow leopard). In doing so, I find that I need to install xz, but I get an error when I try to do so: {{{ ---> Computing dependencies for xz ---> Fetching xz ---> Attempting to fetch xz-5.0.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/xz ---> Verifying checksum(s) for xz ---> Extracting xz ---> Configuring xz Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for xz is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_xz/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} I have tried sudo port clean --all xz and then reinstalling, as well as sudo port uninstall xz and then reinstalling, but in all cases I get the above error message. Some help would be appreciated. -- Comment: Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/29848#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk gettext xz ----------------------------------+----------------------------------------- Comment(by jmr@…): Well, now that you've uninstalled gettext, its dependents, including gawk, definitely aren't going to work. So you'll have to uninstall gawk as well. -- Ticket URL: <https://trac.macports.org/ticket/29848#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk gettext xz ----------------------------------+----------------------------------------- Comment(by macintosh@…): mmm ... try port -R upgrade --force gawk if that doesn't work: port -f uninstall gawk[[BR]] port clean --all gawk[[BR]] port -f install gawk If you've still got problem after this, we might have to resort to re- building your entire port-system, but hopefully it doesn't come to this as gettext is one of the basic ports - I've got 43 ports that depend on it !!! -- Ticket URL: <https://trac.macports.org/ticket/29848#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error ----------------------------------+----------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gawk gettext xz ----------------------------------+----------------------------------------- Comment(by nyunes@…): Replying to [comment:8 macintosh@…]:
mmm ... try port -R upgrade --force gawk That didn't work but...
if that doesn't work:
port -f uninstall gawk[[BR]] port clean --all gawk[[BR]] port -f install gawk
This did work!! The output was as expected: sudo port -f install gawk ---> Computing dependencies for gawk ---> Dependencies to be installed: gettext ---> Configuring gettext ---> Building gettext ---> Staging gettext into destroot ---> Installing gettext @0.18.1.1_2 ---> Activating gettext @0.18.1.1_2 ---> Cleaning gettext ---> Fetching gawk ---> Attempting to fetch gawk-3.1.8.tar.bz2 from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/gawk ---> Verifying checksum(s) for gawk ---> Extracting gawk ---> Configuring gawk ---> Building gawk ---> Staging gawk into destroot ---> Installing gawk @3.1.8_1 ---> Activating gawk @3.1.8_1 ---> Cleaning gawk I have now managed to continue with my gsl installation. Thank you very much for ally our help! -- Ticket URL: <https://trac.macports.org/ticket/29848#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29848: xz configure error - build error -----------------------------------+---------------------------------------- Reporter: nyunes@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: gawk gettext xz | -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => invalid Comment: ''Please'' preview before posting, and use WikiFormatting where appropriate. I've corrected everyone's formatting above. -- Ticket URL: <https://trac.macports.org/ticket/29848#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts