Opened 9 years ago

Closed 9 years ago

#49609 closed defect (fixed)

nco@4.5.2_2 build failure 10.9.5 clang++ doesn't like floating point NCO_GSL_MINOR_VERSION

Reported by: gnurser (George Nurser) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ckhroulev@…, pgf, aaschwanden (Andy Aschwanden), marina.levy@…, ryandesign (Ryan Carsten Schmidt)
Port: nco

Description (last modified by mf2k (Frank Schima))

/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../..  -I./ -I../nco -I/opt/local/include -I/opt/local/include -DNDEBUG -I/opt/local/include -I/usr/include/malloc -I/opt/local/include/udunits2 -I/opt/local/include -DENABLE_NETCDF4 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/udunits2  -pipe -Os -arch x86_64 -stdlib=libc++ -c -o NcapVar.o NcapVar.cc

fails with errors e.g.

../../config.h:416:31: note: expanded from macro 'NCO_GSL_MINOR_VERSION'
:info:build #define NCO_GSL_MINOR_VERSION 2.0
:info:build                               ^
:info:build fmc_gsl_cls.cc:134:6: error: floating point literal in preprocessor expression
:info:build # if NCO_GSL_MINOR_VERSION >= 9 

Attachments (1)

main.log (204.5 KB) - added by gnurser (George Nurser) 9 years ago.
log file

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by gnurser (George Nurser)

Attachment: main.log added

log file

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: takeshi@… removed
Owner: changed from macports-tickets@… to takeshi@…
Port: nco added

In the future, please use WikiFormatting and fill in the Port field.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 9 years ago by ckhroulev@…

The current NCO version does not support GSL 2.0. This issue was fixed upstream (see https://github.com/nco/nco/issues/19), so MacPorts just needs to switch to the next NCO version once it is released.

comment:4 Changed 9 years ago by ckhroulev@…

Cc: ckhroulev@… added

Cc Me!

comment:5 Changed 9 years ago by pgf

Cc: piergiuseppe.fogli@… added

Cc Me!

comment:6 Changed 9 years ago by aaschwanden (Andy Aschwanden)

Cc: andy.aschwanden@… added

Cc Me!

comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: marina.levy@… added

Has duplicate #49734.

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

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

r142654 (maintainer timeout)

Note: See TracTickets for help on using tickets.