Hi everybody,

I’ve been trying to install Demeter package on MacOS using MacPorts. All the dependencies seem to install smoothly but for p5.26-iffefit.

During port install I’ve got the following error:

--->  Computing dependencies for demeter
The following dependencies will be installed:  p5.26-ifeffit
Continue? [Y/n]: Y
--->  Building p5.26-ifeffit
Error: Failed to build p5.26-ifeffit: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port demeter failed

I've pasted below an extract of the log file and attached the complete file to this mail.

I’m completely newbie and I will be very grateful if someone could help me to get the problem solved. 

Thanks very much in advance,

Sergio

-LOG FILE-
version:1
:debug:sysinfo OS X 10.10 (darwin/14.5.0) arch i386
:debug:sysinfo MacPorts 2.5.3
:debug:sysinfo Xcode 7.2.1
:debug:sysinfo SDK 10.10
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.10
….

:info:build  /opt/local/lib/perl5/5.26/darwin-thread-multi-2level/CORE/libperl.dylib -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/work/ifeffit-1.2.final/wrappers/perl/../../src/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -lifeffit -L/opt/local/lib -lpgplot -lpng -lX11 -L/opt/local/lib -lSystem -lm   \
:info:build  
:info:build Undefined symbols for architecture x86_64:
:info:build   "__gfortran_compare_string", referenced from:
:info:build       _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build       _iffcmd_exec_ in libifeffit.a(ifeffit.o)
:info:build       _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build       _ioflist_ in libifeffit.a(misc_arr.o)
:info:build       _file_type_names_ in libifeffit.a(misc_arr.o)
:info:build       _glob_ in libifeffit.a(misc_arr.o)
:info:build       _settxt_ in libifeffit.a(misc_vars.o)
:info:build       ...
:info:build   "__gfortran_concat_string", referenced from:
:info:build       _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build       _fstop_ in libifeffit.a(echo.o)
:info:build       _fixnam_ in libifeffit.a(misc_arr.o)
:info:build       _prenam_ in libifeffit.a(misc_arr.o)
:info:build       _set_array_index_ in libifeffit.a(misc_arr.o)
:info:build       _getsca_ in libifeffit.a(misc_vars.o)
:info:build       _iff_bkg_cl_ in libifeffit.a(iff_bkg_cl.o)
:info:build       ...
:info:build   "__gfortran_getenv", referenced from:
:info:build       _iff_config_ in libifeffit.a(iff_config.o)
:info:build   "__gfortran_st_close", referenced from:
:info:build       _close_echofile_ in libifeffit.a(echo.o)
:info:build       _fstop_ in libifeffit.a(echo.o)
:info:build       _iff_history_ in libifeffit.a(iff_history.o)
:info:build       _iff_load_ in libifeffit.a(iff_load.o)
:info:build       _iff_log_ in libifeffit.a(iff_log.o)
:info:build       _iff_rddata_ in libifeffit.a(iff_rddata.o)
:info:build       _iff_save_ in libifeffit.a(iff_save.o)
:info:build       ...
:info:build   "__gfortran_st_inquire", referenced from:
:info:build       _iff_config_ in libifeffit.a(iff_config.o)
:info:build       _fefinp_ in libifeffit.a(fefinp.o)
:info:build       _openfl_ in libifeffit.a(misc_io.o)
:info:build       _newfil_ in libifeffit.a(misc_io.o)
:info:build   "__gfortran_st_open", referenced from:
:info:build       _rcldat_ in libifeffit.a(clcalc.o)
:info:build       _openfl_ in libifeffit.a(misc_io.o)
:info:build   "__gfortran_st_read", referenced from:
:info:build       _iff_echo_ in libifeffit.a(iff_echo.o)
:info:build       _str2dp_ in libifeffit.a(str.o)
:info:build       _iread_ in libifeffit.a(iread.o)
:info:build       _rdffdt_ in libifeffit.a(rdffdt.o)
:info:build       _rdfb1_ in libifeffit.a(rdffdt.o)
:info:build   "__gfortran_st_read_done", referenced from:
:info:build       _iff_echo_ in libifeffit.a(iff_echo.o)
:info:build       _str2dp_ in libifeffit.a(str.o)
:info:build       _iread_ in libifeffit.a(iread.o)
:info:build       _rdffdt_ in libifeffit.a(rdffdt.o)
:info:build       _rdfb1_ in libifeffit.a(rdffdt.o)
:info:build   "__gfortran_st_write", referenced from:
:info:build       _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build       _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build       _echo_.part.1 in libifeffit.a(echo.o)
:info:build       _chrdmp_ in libifeffit.a(echo.o)
:info:build       _fstop_ in libifeffit.a(echo.o)
:info:build       _file_type_names_ in libifeffit.a(misc_arr.o)
:info:build       _iff_chieps_ in libifeffit.a(iff_chieps.o)
:info:build       ...
:info:build   "__gfortran_st_write_done", referenced from:
:info:build       _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build       _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build       _echo_.part.1 in libifeffit.a(echo.o)
:info:build       _chrdmp_ in libifeffit.a(echo.o)
:info:build       _fstop_ in libifeffit.a(echo.o)
:info:build       _file_type_names_ in libifeffit.a(misc_arr.o)
:info:build       _iff_chieps_ in libifeffit.a(iff_chieps.o)
:info:build       ...
:info:build   "__gfortran_stop_string", referenced from:
:info:build       _fstop_ in libifeffit.a(echo.o)
:info:build   "__gfortran_string_index", referenced from:
:info:build       _fixnam_ in libifeffit.a(misc_arr.o)
:info:build       _isvnam_ in libifeffit.a(misc_arr.o)
:info:build       _prenam_ in libifeffit.a(misc_arr.o)
:info:build       _glob_ in libifeffit.a(misc_arr.o)
:info:build       _iff_bkg_cl_ in libifeffit.a(iff_bkg_cl.o)
:info:build       _iff_chieps_ in libifeffit.a(iff_chieps.o)
:info:build       _hexcol_ in libifeffit.a(iff_color.o)
:info:build       ...
:info:build   "__gfortran_string_len_trim", referenced from:
:info:build       _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build       _fstop_ in libifeffit.a(echo.o)
:info:build       _ioflist_ in libifeffit.a(misc_arr.o)
:info:build       _fixnam_ in libifeffit.a(misc_arr.o)
:info:build       _prenam_ in libifeffit.a(misc_arr.o)
:info:build       _fixarr_ in libifeffit.a(misc_arr.o)
:info:build       _iofarr_ in libifeffit.a(misc_arr.o)
:info:build       ...
:info:build   "__gfortran_transfer_character", referenced from:
:info:build       _iff_echo_ in libifeffit.a(iff_echo.o)
:info:build       _iread_ in libifeffit.a(iread.o)
:info:build       _rdffdt_ in libifeffit.a(rdffdt.o)
:info:build       _rdfb1_ in libifeffit.a(rdffdt.o)
:info:build   "__gfortran_transfer_character_write", referenced from:
:info:build       _iffcmd_exec_.part.0 in libifeffit.a(ifeffit.o)
:info:build       _ifeffit_ in libifeffit.a(ifeffit.o)
:info:build       _chrdmp_ in libifeffit.a(echo.o)
:info:build       _fstop_ in libifeffit.a(echo.o)
:info:build       _iff_chieps_ in libifeffit.a(iff_chieps.o)
:info:build       _iff_color_ in libifeffit.a(iff_color.o)
:info:build       _iff_pstyle_ in libifeffit.a(iff_color.o)
:info:build       ...
:info:build   "__gfortran_transfer_integer_write", referenced from:
:info:build       _file_type_names_ in libifeffit.a(misc_arr.o)
:info:build       _iff_color_ in libifeffit.a(iff_color.o)
:info:build       _iff_pstyle_ in libifeffit.a(iff_color.o)
:info:build       _iff_feffit_ in libifeffit.a(iff_feffit.o)
:info:build       _iff_getpath_ in libifeffit.a(iff_getpath.o)
:info:build       _iff_load_ in libifeffit.a(iff_load.o)
:info:build       _iff_macro_do_ in libifeffit.a(iff_macro.o)
:info:build       ...
:info:build   "__gfortran_transfer_real", referenced from:
:info:build       _str2dp_ in libifeffit.a(str.o)
:info:build   "__gfortran_transfer_real_write", referenced from:
:info:build       _iff_correl_s_.part.0 in libifeffit.a(iff_correl.o)
:info:build       _iff_cursor_ in libifeffit.a(iff_cursor.o)
:info:build       _iff_zoom_ in libifeffit.a(iff_cursor.o)
:info:build       _iff_feffit_ in libifeffit.a(iff_feffit.o)
:info:build       _iff_print_ in libifeffit.a(iff_print.o)
:info:build       _iff_save_ in libifeffit.a(iff_save.o)
:info:build       _ishsca_ in libifeffit.a(iff_show.o)
:info:build       ...
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [blib/arch/auto/Ifeffit/Ifeffit.bundle] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/work/ifeffit-1.2.final/wrappers/perl'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/work/ifeffit-1.2.final/wrappers/perl" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build Failed to build p5.26-ifeffit: command execution failed
:debug:build Error code: CHILDSTATUS 42934 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-ifeffit/p5.26-ifeffit/main.log for details.