Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23131 closed defect (fixed)

grib_api fails to build

Reported by: basmac Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: grib_api

Description (last modified by jmroot (Joshua Root))

Mac 10.5.8 port selfupdate to 1.8.2 port upgrade outdated This fails at "grib_api" with emos errors emos uninstalled, then installed

bash-3.2# port installed|grep emos
  emos @000371_0+gcc43 (active)
bash-3.2# 

The port -d is attached.

Attachments (1)

macports (539.6 KB) - added by basmac 15 years ago.
port -d of install errors

Download all attachments as: .zip

Change History (6)

Changed 15 years ago by basmac

Attachment: macports added

port -d of install errors

comment:1 in reply to:  description Changed 15 years ago by basmac

I did make headway reducing the amount or error messages, by using gfortran 4.3, in remaking emos and then trying grib_api. Still get a failure -

bash-3.2#  port upgrade outdated
--->  Computing dependencies for grib_api
--->  Building grib_api
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_grib_api/work/grib_api-1.8.0" && /usr/bin/make -j8 all " returned error 2
Command output: ) 
          _c2pkvw_  _chktab2_in  inlibemosR64.a (libemosR64.ac2pkvw.o()chktab2.o
 ) 
        _c2pkvw_   in_chktab2_  libemosR64.ain( c2pkvw.olibemosR64.a)(
chktab2.o ) 
" __gfortran_st_read " ,   referenced  _chktab2_from :in
  libemosR64.a (chktab2.o ) 
    _grsdef_   in   libemosR64.a_chktab2_( grsdef.oin) 
libemosR64.a ( chktab2.o )
      _grsdef_   in  _chktab2_libemosR64.a (ingrsdef.o )libemosR64.a
( chktab2.o )
        _chktab2_   in_chktab2_  libemosR64.ain( chktab2.olibemosR64.a)(
chktab2.o ) 
        _chktab2_   _chktab2_in  inlibemosR64.a (libemosR64.achktab2.o()
  chktab2.o  ) 
  _chktab2_   in   libemosR64.a (_emosnum_ chktab2.oin)
  libemosR64.a ( emosnum.o ) 
 ld_chktab2_:  insymbol (libemosR64.as()chktab2.o )not
  found 
    _chktab2_ in libemosR64.a(chktab2.o)
      _chktab2_ in libemosR64.a(chktab2.o)
      _chktab2_ in libemosR64.a(chktab2.o)
      _emosnum_ in libemosR64.acollect2: (emosnum.o)
ld returned 1 exit statusld:
 symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [pack_unpack] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [packing] Error 1
make: *** [all-recursive] Error 1

Error: Problem while installing grib_api
Before reporting a bug, first run the command again with the -d flag to get complete output.
bash-3.2#

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Keywords: grib_api removed
Owner: changed from macports-tickets@… to takeshi@…
Port: grib_api added

Please put the port name in the Port field, not keywords, and cc the maintainer. Also remember to preview and use WikiFormatting, I've fixed your comment for you.

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)

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

Resolution: fixed
Status: newclosed

emos requires -lgfortran but it was not set if gcc43 is not selected. Making default_variants +gcc43 solves the problem. #62439.

comment:5 Changed 15 years ago by tenomoto (Takeshi Enomoto)

Typo. I meant r62439.

Note: See TracTickets for help on using tickets.