[MacPorts] #30763: Problem installing gawk...

MacPorts noreply at macports.org
Sun Aug 14 09:28:22 PDT 2011


#30763: Problem installing gawk...
------------------------------+---------------------------------------------
 Reporter:  JDTilley@…        |       Owner:  mschamschula@…        
     Type:  defect            |      Status:  new                   
 Priority:  Normal            |   Milestone:                        
Component:  ports             |     Version:  2.0.1                 
 Keywords:  lion              |        Port:  gawk                  
------------------------------+---------------------------------------------
Changes (by jmr@…):

  * owner:  macports-tickets@… => mschamschula@…
  * keywords:  Lion => lion


Old description:

> OS X 10.7 Lion. Xcode 4.1. This is my first time here and forgive me as I
> am new to this. I've desperately been trying to install octave-java and
> so I ended up uninstalling my ports tree and starting from scratch. Now
> it seems gawk will not build. Here is the error:
>
> :info:build /Developer/usr/bin/llvm-gcc-4.2  -pipe -O2 -arch x86_64
> -L/opt/local/lib -arch x86_64 -L/opt/local/lib -o dgawk array.o awkgram.o
> builtin.o dfa.o ext.o field.o floatcomp.o gawkmisc.o getopt.o getopt1.o
> io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o
> eval_d.o profile.o command.o debug.o  -lintl -liconv -lc  -Wl,-framework
> -Wl,CoreFoundation  -lreadline -lm -lm
> :info:build Undefined symbols for architecture x86_64:
> :info:build   "_history_list", referenced from:
> :info:build       _serialize in debug.o
> :info:build       _do_save in debug.o
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build collect2: ld returned 1 exit status
> :info:build make[2]: *** [dgawk] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gawk/gawk/work/gawk-4.0.0'
> :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_lang_gawk/gawk/work/gawk-4.0.0'
> :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_lang_gawk/gawk/work/gawk-4.0.0'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gawk/gawk/work/gawk-4.0.0"
> && /usr/bin/make -j4 -w all " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
>
> Anybody have any ideas what this is about?

New description:

 OS X 10.7 Lion. Xcode 4.1. This is my first time here and forgive me as I
 am new to this. I've desperately been trying to install octave-java and so
 I ended up uninstalling my ports tree and starting from scratch. Now it
 seems gawk will not build. Here is the error:
 {{{
 :info:build /Developer/usr/bin/llvm-gcc-4.2  -pipe -O2 -arch x86_64
 -L/opt/local/lib -arch x86_64 -L/opt/local/lib -o dgawk array.o awkgram.o
 builtin.o dfa.o ext.o field.o floatcomp.o gawkmisc.o getopt.o getopt1.o
 io.o main.o msg.o node.o random.o re.o regex.o replace.o version.o
 eval_d.o profile.o command.o debug.o  -lintl -liconv -lc  -Wl,-framework
 -Wl,CoreFoundation  -lreadline -lm -lm
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_history_list", referenced from:
 :info:build       _serialize in debug.o
 :info:build       _do_save in debug.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build collect2: ld returned 1 exit status
 :info:build make[2]: *** [dgawk] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gawk/gawk/work/gawk-4.0.0'
 :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_lang_gawk/gawk/work/gawk-4.0.0'
 :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_lang_gawk/gawk/work/gawk-4.0.0'
 :info:build shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gawk/gawk/work/gawk-4.0.0"
 && /usr/bin/make -j4 -w all " returned error 2
 :error:build Target org.macports.build returned: shell command failed (see
 log for details)
 }}}
 Anybody have any ideas what this is about?

--

Comment:

 Please remember to cc the maintainer, and to use WikiFormatting for
 preformatted text (or better, just add the complete log as an attachment).

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


More information about the macports-tickets mailing list