#39841 closed defect (duplicate)
udunits: build failure
Reported by: | kevin@… | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | udunits |
Description (last modified by larryv (Lawrence Velázquez))
[Removed excessively long inline log. —larryv]
Attachments (1)
Change History (7)
comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|---|
Keywords: | udunits removed |
Owner: | changed from macports-tickets@… to takeshi@… |
Port: | udunits added; grads removed |
Summary: | udunits fails durings grads install → udunits: build failure |
Please do not paste enormous logs directly into tickets.
The build was not clean, anyway. Please run the following and attach the new main.log (port logfile udunits
) if it fails.
% sudo port clean udunits grads && sudo port install udunits
Changed 11 years ago by kevin@…
comment:3 Changed 11 years ago by kevin@…
sudo port install udunits
log file attached...
info:destroot !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! :info:destroot ERROR: Can't create '/opt/local/lib/perl5/site_perl/5.12.4/darwin-thread-multi-2level' :info:destroot mkdir /opt/local/lib/perl5/site_perl: Operation not permitted at /opt/local/lib/perl5/5.12.4/ExtUtils/Install.pm line 494 :info:destroot :info:destroot !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
dhcp4:5.12.4 root# pwd /opt/local/lib/perl5/5.12.4
dhcp4:5.12.4 root# ls -ld dar*l drwxr-xr-x 55 root admin 1870 Jul 23 14:54 darwin-thread-multi-2level
dhcp4:local root# cd /opt/local/lib/perl5 dhcp4:perl5 root# ls -la total 0 drwxr-xr-x 3 root admin 102 Jul 23 14:54 . drwxr-xr-x 657 root admin 22338 Jul 23 16:42 .. drwxr-xr-x 158 root admin 5372 Jul 23 14:54 5.12.4
Thanks for your help Larry.
comment:4 Changed 11 years ago by mf2k (Frank Schima)
@kevin: Please edit your comments - in particular the 1st one - and use WikiFormatting because something is causing all the text to be bold.
comment:5 Changed 11 years ago by kevin@…
I found my own solution.
Everything successfully installed after patching udunits Portfile. Sorry for everything being bold. No idea why.
Kevin
comment:6 Changed 11 years ago by mf2k (Frank Schima)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Looking at UDUNITS in particular...
dhcp4:src root# pwd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits/udunits/work/udunits-1.12.11/src
(make)...
making `dynamic' in directory /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_udunits/udunits/work/udunits-1.12.11/src/perl
c89 -c -I../lib -I../port/misc -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.12.11\" -DXS_VERSION=\"1.12.11\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" UDUNITS.c c89: illegal option -- a usage: c89 [-cEgs] [-D name[=value]] [-I directory] ... [-L directory] ...
make[1]: * [UDUNITS.o] Error 1 make: * [perl/dynamic] Error 1
That seems to be where it is failing.