[MacPorts] #21482: pcre-7.9 build failure

MacPorts noreply at macports.org
Fri Sep 18 13:53:52 PDT 2009


#21482: pcre-7.9 build failure
---------------------------------------+------------------------------------
 Reporter:  austinrobertson@…          |       Owner:  macports-tickets@…                   
     Type:  defect                     |      Status:  new                                  
 Priority:  Normal                     |   Milestone:                                       
Component:  ports                      |     Version:  1.8.0                                
 Keywords:                             |        Port:                                       
---------------------------------------+------------------------------------
 pcre fails when I try to build. I am running Snow Leopard v10.5.1. I have
 the latest XCode and X11 installed. I've search around a bit and couldn't
 find anything related that worked. Any ideas?


 {{{
 sudo port install pcre
 Password:
 Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even
 though installed variants "" do not match "+darwin_10". Use 'upgrade
 --enforce-variants' to switch to the requested variants.
 Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even
 though installed variants "" do not match "+darwin_10". Use 'upgrade
 --enforce-variants' to switch to the requested variants.
 Warning: Skipping upgrade since readline 6.0.000_1 >= readline 6.0.000_1,
 even though installed variants "" do not match "+darwin". Use 'upgrade
 --enforce-variants' to switch to the requested variants.
 --->  Computing dependencies for pcre
 --->  Building pcre
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pcre/work/pcre-7.9"
 && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/make  all-am
 /bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -O2 -arch
 x86_64  -L/opt/local/lib -lncurses -o pcretest pcretest.o libpcreposix.la
 -lreadline
 /bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -O2 -arch
 x86_64  -L/opt/local/lib -lncurses -o pcregrep pcregrep.o libpcreposix.la
 -lz -lbz2
 /usr/bin/gcc-4.2 -O2 -arch x86_64 -o .libs/pcretest pcretest.o
 -L/opt/local/lib ./.libs/libpcreposix.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pcre/work/pcre-7.9/.libs/libpcre.dylib
 -lncurses -lreadline
 /usr/bin/gcc-4.2 -O2 -arch x86_64 -o .libs/pcregrep pcregrep.o
 -L/opt/local/lib ./.libs/libpcreposix.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pcre/work/pcre-7.9/.libs/libpcre.dylib
 -lncurses -lz -lbz2
 ld: warning: in /opt/local/lib/libncurses.dylib, file is not of required
 architecture
 ld: warning: in /opt/local/lib/libreadline.dylib, file is not of required
 architecture
 Undefined symbols:
   "_readline", referenced from:
       _extend_inputline in pcretest.o
   "_add_history", referenced from:
       _extend_inputline in pcretest.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[1]: *** [pcretest] Error 1
 make[1]: *** Waiting for unfinished jobs....
 ld: warning: in /opt/local/lib/libncurses.dylib, file is not of required
 architecture
 creating pcregrep
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 macbook-austin:~ Austin$ sudo port install pcre
 Warning: Skipping upgrade since ncursesw 5.7_0 >= ncursesw 5.7_0, even
 though installed variants "" do not match "+darwin_10". Use 'upgrade
 --enforce-variants' to switch to the requested variants.
 Warning: Skipping upgrade since ncurses 5.7_0 >= ncurses 5.7_0, even
 though installed variants "" do not match "+darwin_10". Use 'upgrade
 --enforce-variants' to switch to the requested variants.
 Warning: Skipping upgrade since readline 6.0.000_1 >= readline 6.0.000_1,
 even though installed variants "" do not match "+darwin". Use 'upgrade
 --enforce-variants' to switch to the requested variants.
 --->  Computing dependencies for pcre
 --->  Building pcre
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pcre/work/pcre-7.9"
 && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/make  all-am
 /bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.2  -O2 -arch
 x86_64  -L/opt/local/lib -lncurses -o pcretest pcretest.o libpcreposix.la
 -lreadline
 /bin/sh ./libtool --tag=CXX   --mode=link /usr/bin/g++-4.2  -O2 -arch
 x86_64  -L/opt/local/lib -lncurses -o pcrecpp_unittest pcrecpp_unittest.o
 libpcrecpp.la
 /usr/bin/gcc-4.2 -O2 -arch x86_64 -o .libs/pcretest pcretest.o
 -L/opt/local/lib ./.libs/libpcreposix.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pcre/work/pcre-7.9/.libs/libpcre.dylib
 -lncurses -lreadline
 /usr/bin/g++-4.2 -O2 -arch x86_64 -o .libs/pcrecpp_unittest
 pcrecpp_unittest.o -Wl,-bind_at_load  -L/opt/local/lib
 ./.libs/libpcrecpp.dylib
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_pcre/work/pcre-7.9/.libs/libpcre.dylib
 -lncurses
 ld: warning: in /opt/local/lib/libncurses.dylib, file is not of required
 architecture
 ld: warning: in /opt/local/lib/libreadline.dylib, file is not of required
 architecture
 Undefined symbols:
   "_readline", referenced from:
       _extend_inputline in pcretest.o
   "_add_history", referenced from:
       _extend_inputline in pcretest.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[1]: *** [pcretest] Error 1
 make[1]: *** Waiting for unfinished jobs....
 ld: warning: in /opt/local/lib/libncurses.dylib, file is not of required
 architecture
 creating pcrecpp_unittest
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.

 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/21482>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list