Opened 8 years ago

Closed 8 years ago

#50104 closed defect (fixed)

ncarg @6.3.0: ncl did not get built

Reported by: CLynchy (Cary Lynch) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: ncarg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello! I am trying to install ncarg-6.3.0 for Mac OSX version 10.11.1. Log file is attached, but this is the last bit in the log file:

:info:build Finished making <Build>.
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_ncarg/ncarg/work/ncl_ncarg-6.3.0'
:debug:build Executing proc-post-org.macports.build-build-0
:error:build org.macports.build for port ncarg returned: ncl did not get built
:debug:build Error code: NONE
:debug:build Backtrace: ncl did not get built
    while executing
"proc-post-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $post $targetname"
:info:build Warning: targets not executed for ncarg: org.macports.activate org.macports.build org.macports.destroot org.macports.install

Attachments (1)

main.log (3.0 MB) - added by CLynchy (Cary Lynch) 8 years ago.
Log of ncarg install

Change History (5)

Changed 8 years ago by CLynchy (Cary Lynch)

Attachment: main.log added

Log of ncarg install

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: ncl removed
Owner: changed from macports-tickets@… to takeshi@…
Summary: ncarg -6.3.0 "targets not executed"ncarg @6.3.0: ncl did not get built

comment:2 Changed 8 years ago by gnw3

I built ncarg using gcc5 on Mavericks before the recent gcc5 update. The just tried it again and get the same error:

:info:build vtcudr.f:1:0:
:info:build 
:info:build        SUBROUTINE VTCUDR (UCRV,VCRV,WCRV,CCRV,NCRV,ICOL,IARH,IAMA,RT
PL)
:info:build  ^
:info:build internal compiler error: in prune_uninit_phi_opnds_in_unrealizable_paths, at tree-ssa-uninit.c:1121
:info:build 
:info:build vtcudr.f:1:0: internal compiler error: Abort trap: 6
:info:build gfortran-mp-5: internal compiler error: Abort trap: 6 (program f951)
:info:build Please submit a full bug report,

This appears to be a gcc5 regression, so I filed a bug report upstream as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69013

comment:3 Changed 8 years ago by gnw3

Upstream http://mailman.ucar.edu/pipermail/ncl-install/2015-December/001955.html reports success building ncl-6.3.0 with gcc-5.3.0. The gcc5 bug probably depends on the choice of flags, so it could be useful to examine this build.

Meanwhile, upstream gcc indicates the bug is fixed in recent gcc6, so I tried that. vtcudr.f compiles with gcc6, but then hits a small glitch:

:info:build lex.yy.c:1945:21: error: C++ style comments are not allowed in ISO C
90
:info:build    num_to_alloc = 1; // After all that talk, this was set to 1 anyways...

Adding "configure.cflags -std=gnu11" to the Portfile and building with "+gcc6" seems to work.

Last edited 8 years ago by gnw3 (previous) (diff)

comment:4 Changed 8 years ago by tenomoto (Takeshi Enomoto)

Resolution: fixed
Status: newclosed

Thanks for reporting. Done in r144029.

Note: See TracTickets for help on using tickets.