Ticket #29848 (closed defect: invalid)
xz configure error - build error
| Reported by: | nyunes@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | macintosh@…, mschamschula@…, ryandesign@…, afb@…, nyunes@… | |
| Port: | gawk gettext xz |
Description (last modified by jmr@…) (diff)
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.
Attachments
Change History
comment:2 Changed 2 years ago by macintosh@…
lines 233-236 gives you the reason:
/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 port clean --all gettext port -f install gettext
and then try to see if things shouldn't work now.
comment:3 Changed 2 years ago 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 ?
comment:4 follow-up: ↓ 5 Changed 2 years ago by macintosh@…
you've still got problems with the libintl.8.dylib !
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 :
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 ;-)
comment:5 in reply to: ↑ 4 Changed 2 years ago by nyunes@…
Replying to macintosh@…:
I see. This is quite unfortunate.
you do that this way :
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 :)
comment:6 Changed 2 years ago by jmr@…
- Cc mschamschula@…, ryandesign@…, afb@… added
- Port set to gawk gettext xz
- Description modified (diff)
Please remember to preview and use WikiFormatting, fill in the Port field, and cc the maintainer.
comment:7 Changed 2 years ago 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.
comment:8 follow-up: ↓ 10 Changed 2 years ago by macintosh@…
mmm ... try port -R upgrade --force gawk
if that doesn't work:
port -f uninstall gawk port clean --all gawk 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 !!!
comment:10 in reply to: ↑ 8 Changed 2 years ago by nyunes@…
Replying to macintosh@…:
mmm ... try port -R upgrade --force gawk
That didn't work but...
if that doesn't work:
port -f uninstall gawk port clean --all gawk 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!
comment:11 Changed 2 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to invalid
Please preview before posting, and use WikiFormatting where appropriate. I've corrected everyone's formatting above.


Log