[MacPorts] #49734: error while upgrading nco

MacPorts noreply at macports.org
Wed Nov 18 10:21:29 PST 2015


#49734: error while upgrading nco
----------------------------+--------------------------------
  Reporter:  marina.levy@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.3.4
Resolution:  duplicate      |   Keywords:
      Port:  nco            |
----------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: takeshi@… (added)
 * status:  new => closed
 * resolution:   => duplicate


Old description:

> While upgrading nco, the execution failed:
>
> --->  Computing dependencies for nco
> --->  Building nco
> Error: org.macports.build for port nco returned: command execution failed
> Please see the log file for port nco for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/main.log
> Error: Unable to upgrade port: 1
>

> Below is the log file
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/main.log
>
> I am running with:
> OS 10.10.5
> MacPorts 2.3.4
> Xcode 7.1.1
>
> Thank you for your help
>
> -------------
> :version:1
> :msg:main --->  Computing dependencies for nco:info:main .:debug:main nco
> has no conflicts
> :debug:main Searching for dependency: antlr
> :debug:main Found Dependency: receipt exists for antlr
> :debug:main Searching for dependency: bison
> :debug:main Found Dependency: receipt exists for bison
> :debug:main Searching for dependency: m4
> :debug:main Found Dependency: receipt exists for m4
> :debug:main Searching for dependency: texinfo
> :debug:main Found Dependency: receipt exists for texinfo
> :debug:main Searching for dependency: curl
> :debug:main Found Dependency: receipt exists for curl
> :debug:main Searching for dependency: gettext
> :debug:main Found Dependency: receipt exists for gettext
> :debug:main Searching for dependency: libiconv
> :debug:main Found Dependency: receipt exists for libiconv
> :debug:main Searching for dependency: libxml2
> :debug:main Found Dependency: receipt exists for libxml2
> :debug:main Searching for dependency: netcdf
> :debug:main Found Dependency: receipt exists for netcdf
> :debug:main Searching for dependency: netcdf-fortran
> :debug:main Found Dependency: receipt exists for netcdf-fortran
> :debug:main Searching for dependency: openssl
> :debug:main Found Dependency: receipt exists for openssl
> :debug:main Searching for dependency: udunits2
> :debug:main Found Dependency: receipt exists for udunits2
> :debug:main Searching for dependency: zlib
> :debug:main Found Dependency: receipt exists for zlib
> :debug:main Searching for dependency: gsl
> :debug:main Found Dependency: receipt exists for gsl
> :debug:main Searching for dependency: hdf5
> :debug:main Found Dependency: receipt exists for hdf5
> :debug:main Searching for dependency: xercesc3
> :debug:main Found Dependency: receipt exists for xercesc3
> :debug:main Searching for dependency: vecLibFort
> :debug:main Found Dependency: receipt exists for vecLibFort
> :debug:main Searching for dependency: wget
> :debug:main Found Dependency: receipt exists for wget
> :msg:main
> :debug:main Executing org.macports.main (nco)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 501
> :debug:main euid changed to: 503
> :debug:main Skipping completed org.macports.archivefetch (nco)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (nco)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (nco)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (nco)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (nco)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.configure (nco)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:build build phase started at Wed Nov 18 17:26:43 CET 2015
> :notice:build --->  Building nco
> :debug:build Executing org.macports.build (nco)
> :debug:build Environment:
> CC_PRINT_OPTIONS='YES'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/.CC_PRINT_OPTIONS'
> CPATH='/opt/local/include'
> LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.10'
> :debug:build Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2"
> && /usr/bin/make -j4 -w all'
> :debug:build Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2"
> && /usr/bin/make -j4 -w all
> :info:build make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2'
> :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make  all-
> recursive
> :info:build make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2'
> :info:build Making all in data
> :info:build make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/data'
> :info:build make[2]: Nothing to be done for `all'.
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/data'
> :info:build Making all in src
> :info:build make[2]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/src'
> :info:build Making all in nco
> :info:build make[3]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/src/nco'
> :info:build make[3]: Nothing to be done for `all'.
> :info:build make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/src/nco'
> :info:build Making all in nco_c++
> :info:build make[3]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/src/nco_c++'
> :info:build make[3]: Nothing to be done for `all'.
> :info:build make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/src/nco_c++'
> :info:build Making all in nco++
> :info:build make[3]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/src/nco++'
> :info:build /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 fmc_gsl_cls.o fmc_gsl_cls.cc
> :info:build /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
> :info:build /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 NcapVarVector.o NcapVarVector.cc
> :info:build /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 ncoLexer.o ncoLexer.cpp
> :info:build /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 ncoParser.o ncoParser.cpp
> :info:build /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 ncoTree.o ncoTree.cpp
> :info:build fmc_gsl_cls.cc:120:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 8
> :info:build      ^
> ::info:build ../../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
> :info:build      ^
> :info:build ../../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:181:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 10
> :info:build      ^
> :info:build ../../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:312:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 5
> :info:build      ^
> :info:build ../../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:335:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 5
> :info:build      ^
> :info:build ../../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:389:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 6
> :info:build      ^
> :info:build ../../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:400:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 8
> :info:build      ^
> :info:build ../../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:407:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 8
> :info:build      ^
> :info:build ../../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:477:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 7
> :info:build      ^
> :info:build ../../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:511:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 8
> :info:build      ^
> :info:build ../../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:518:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 8
> :info:build      ^
> :info:build ../../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:750:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 10
> :info:build      ^
> :info:build ../../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:778:8: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build   if(tr=fargs->getFirstChild()) {
> :info:build      ~~^~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:778:8: note: place parentheses around the
> assignment to silence this warning
> :info:build   if(tr=fargs->getFirstChild()) {
> :info:build        ^
> :info:build      (                        )
> :info:build fmc_gsl_cls.cc:778:8: note: use '==' to turn this assignment
> into an equality comparison
> :info:build   if(tr=fargs->getFirstChild()) {
> :info:build        ^
> :info:build        ==
> :info:build fmc_gsl_cls.cc:781:13: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build     while(tr=tr->getNextSibling());
> :info:build           ~~^~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:781:13: note: place parentheses around the
> assignment to silence this warning
> :info:build     while(tr=tr->getNextSibling());
> :info:build             ^
> :info:build           (                      )
> :info:build fmc_gsl_cls.cc:781:13: note: use '==' to turn this assignment
> into an equality comparison
> :info:build     while(tr=tr->getNextSibling());
> :info:build             ^
> :info:build             ==
> :info:build fmc_gsl_cls.cc:3623:6: error: floating point literal in
> preprocessor expression
> :info:build # if NCO_GSL_MINOR_VERSION >= 10
> :info:build      ^
> :info:build ../../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:3777:10: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build        ~~^~~~~~~~~~~~~~~~~~~~~~~
> ::info:build fmc_gsl_cls.cc:3777:10: note: place parentheses around the
> assignment to silence this warning
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build        (                        )
> :info:build fmc_gsl_cls.cc:3777:10: note: use '==' to turn this
> assignment into an equality comparison
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build          ==
> :info:build fmc_gsl_cls.cc:3780:15: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build       while(tr=tr->getNextSibling());
> :info:build             ~~^~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:3780:15: note: place parentheses around the
> assignment to silence this warning
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build             (                      )
> :info:build fmc_gsl_cls.cc:3780:15: note: use '==' to turn this
> assignment into an equality comparison
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build               ==
> :info:build fmc_gsl_cls.cc:3886:10: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build        ~~^~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:3886:10: note: place parentheses around the
> assignment to silence this warning
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build        (                        )
> :info:build fmc_gsl_cls.cc:3886:10: note: use '==' to turn this
> assignment into an equality comparison
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build          ==
> :info:build fmc_gsl_cls.cc:3889:15: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build       while(tr=tr->getNextSibling());
> :info:build             ~~^~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:3889:15: note: place parentheses around the
> assignment to silence this warning
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build             (                      )
> :info:build fmc_gsl_cls.cc:3889:15: note: use '==' to turn this
> assignment into an equality comparison
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build               ==
> :info:build fmc_gsl_cls.cc:3953:74: warning: '&&' within '||' [-Wlogical-
> op-parentheses]
> :info:build  if(var_arr[0]->type != var_arr[2]->type || var_arr[2]->type
> != NC_FLOAT && var_arr[2]->type != NC_DOUBLE  ){
> :info:build                                          ~~
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:3953:74: note: place parentheses around the
> '&&' expression to silence this warning
> :info:build  if(var_arr[0]->type != var_arr[2]->type || var_arr[2]->type
> != NC_FLOAT && var_arr[2]->type != NC_DOUBLE  ){
> :info:build
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:4202:10: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build        ~~^~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:4202:10: note: place parentheses around the
> assignment to silence this warning
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build        (                        )
> :info:build fmc_gsl_cls.cc:4202:10: note: use '==' to turn this
> assignment into an equality comparison
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build          ==
> :info:build fmc_gsl_cls.cc:4205:15: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build       while(tr=tr->getNextSibling());
> :info:build             ~~^~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:4205:15: note: place parentheses around the
> assignment to silence this warning
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build             (                      )
> :info:build fmc_gsl_cls.cc:4205:15: note: use '==' to turn this
> assignment into an equality comparison
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build               ==
> :info:build fmc_gsl_cls.cc:4530:10: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build        ~~^~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:4530:10: note: place parentheses around the
> assignment to silence this warning
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build        (                        )
> :info:build fmc_gsl_cls.cc:4530:10: note: use '==' to turn this
> assignment into an equality comparison
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build          ==
> :info:build fmc_gsl_cls.cc:4533:15: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build       while(tr=tr->getNextSibling());
> :info:build             ~~^~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:4533:15: note: place parentheses around the
> assignment to silence this warning
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build             (                      )
> :info:build fmc_gsl_cls.cc:4533:15: note: use '==' to turn this
> assignment into an equality comparison
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build               ==
> :info:build fmc_gsl_cls.cc:5076:8: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build   if(tr=fargs->getFirstChild())
> :info:build      ~~^~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:5076:8: note: place parentheses around the
> assignment to silence this warning
> :info:build   if(tr=fargs->getFirstChild())
> :info:build        ^
> :info:build      (                        )
> :info:build fmc_gsl_cls.cc:5076:8: note: use '==' to turn this assignment
> into an equality comparison
> :info:build   if(tr=fargs->getFirstChild())
> :
> :info:build          ^
> :info:build          ==
> :info:build fmc_gsl_cls.cc:4205:15: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build       while(tr=tr->getNextSibling());
> :info:build             ~~^~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:4205:15: note: place parentheses around the
> assignment to silence this warning
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build             (                      )
> :info:build fmc_gsl_cls.cc:4205:15: note: use '==' to turn this
> assignment into an equality comparison
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build               ==
> :info:build fmc_gsl_cls.cc:4530:10: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build        ~~^~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:4530:10: note: place parentheses around the
> assignment to silence this warning
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build        (                        )
> :info:build fmc_gsl_cls.cc:4530:10: note: use '==' to turn this
> assignment into an equality comparison
> :info:build     if(tr=fargs->getFirstChild()) {
> :info:build          ^
> :info:build          ==
> :info:build fmc_gsl_cls.cc:4533:15: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build       while(tr=tr->getNextSibling());
> :info:build             ~~^~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:4533:15: note: place parentheses around the
> assignment to silence this warning
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build             (                      )
> :info:build fmc_gsl_cls.cc:4533:15: note: use '==' to turn this
> assignment into an equality comparison
> :info:build       while(tr=tr->getNextSibling());
> :info:build               ^
> :info:build               ==
> :info:build fmc_gsl_cls.cc:5076:8: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build   if(tr=fargs->getFirstChild())
> :info:build      ~~^~~~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:5076:8: note: place parentheses around the
> assignment to silence this warning
> :info:build   if(tr=fargs->getFirstChild())
> :info:build        ^
> :info:build      (                        )
> :info:build fmc_gsl_cls.cc:5076:8: note: use '==' to turn this assignment
> into an equality comparison
> :info:build   if(tr=fargs->getFirstChild())
> :info:build        ^
> :info:build        ==
> :info:build fmc_gsl_cls.cc:5080:13: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build     while(tr=tr->getNextSibling());
> :info:build           ~~^~~~~~~~~~~~~~~~~~~~~
> :info:build fmc_gsl_cls.cc:5080:13: note: place parentheses around the
> assignment to silence this warning
> :info:build     while(tr=tr->getNextSibling());
> :info:build             ^
> :info:build           (                      )
> :info:build fmc_gsl_cls.cc:5080:13: note: use '==' to turn this
> assignment into an equality comparison
> :info:build     while(tr=tr->getNextSibling());
> :info:build             ^
> :info:build             ==
> :info:build 13 warnings and 13 errors generated.
> :info:build make[3]: *** [fmc_gsl_cls.o] Error 1
> :info:build make[3]: *** Waiting for unfinished jobs....
> :info:build ncoGrammer.g:1087:10: warning: using the result of an
> assignment as a condition without parentheses [-Wparentheses]
> :info:build
> if(tr=stmt3->getNextSibling()) {
> :info:build                                    ~~^~~~~~~~~~~~~~~~~~~~~~~~
> :info:build ncoGrammer.g:1087:10: note: place parentheses around the
> assignment to silence this warning
> :info:build
> if(tr=stmt3->getNextSibling()) {
> :info:build                                      ^
> :info:build                                    (
> )
> :info:build ncoGrammer.g:1087:10: note: use '==' to turn this assignment
> into an equality comparison
> :info:build
> if(tr=stmt3->getNextSibling()) {
> :info:build                                      ^
> :info:build                                      ==
> :info:build 1 warning generated.
> :info:build make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/src/nco++'
> :info:build make[2]: *** [all-recursive] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2/src'
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/work/nco-4.5.2"
> && /usr/bin/make -j4 -w all
> :info:build Exit code: 2
> :error:build org.macports.build for port nco returned: command execution
> failed
> :debug:build Error code: CHILDSTATUS 80463 2
> :debug:build Backtrace: command execution failed
>     while executing
> "system -nice 0 $fullcmdstring"
>     ("eval" body line 1)
>     invoked from within
> "eval system $notty $nice \$fullcmdstring"
>     invoked from within
> "command_exec build"
>     (procedure "portbuild::build_main" line 8)
>     invoked from within
> "portbuild::build_main org.macports.build"
>     ("eval" body line 1)
>     invoked from within
> "eval $procedure $targetname"
> :info:build Warning: targets not executed for nco: org.macports.install
> org.macports.build org.macports.destroot
> :notice:build Please see the log file for port nco for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/main.log

New description:

 While upgrading nco, the execution failed:

 {{{
 --->  Computing dependencies for nco
 --->  Building nco
 Error: org.macports.build for port nco returned: command execution failed
 Please see the log file for port nco for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/main.log
 Error: Unable to upgrade port: 1
 }}}

 Below is the log file
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_nco/nco/main.log

 I am running with: \\
 OS 10.10.5 \\
 MacPorts 2.3.4 \\
 Xcode 7.1.1

 Thank you for your help

--

Comment:

 This was not a
 [https://guide.macports.org/chunked/project.html#project.tickets clean
 build attempt], but it looks like a duplicate of #49609.

-- 
Ticket URL: <https://trac.macports.org/ticket/49734#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list