[MacPorts] #17206: PCRE make fails

MacPorts noreply at macports.org
Wed Nov 12 11:22:08 PST 2008


#17206: PCRE make fails
---------------------------------+------------------------------------------
  Reporter:  glend at mail.nih.gov  |       Owner:  nox at macports.org
      Type:  defect              |      Status:  new             
  Priority:  Normal              |   Milestone:  Port Bugs       
 Component:  ports               |     Version:  1.6.0           
Resolution:                      |    Keywords:                  
      Port:  pcre                |  
---------------------------------+------------------------------------------
Changes (by macsforever2000 at macports.org):

  * owner:  macports-tickets at lists.macosforge.org => nox at macports.org
  * port:  => pcre


Old description:

> PCRE make fails (this is also included when using the SciPy port)
>
> Port command started with PID 16723
> Fetching pcre
> Verifying checksum(s) for pcre
> Extracting pcre
> Configuring pcre
> Building pcre with target all
> 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.8"
> && make all " returned error 2
> Command output: mv -f .deps/pcreposix.Tpo .deps/pcreposix.Plo
> /bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -O2 -version-
> info 0:0:0 -L/opt/local/lib -o libpcreposix.la -rpath /opt/local/lib
> pcreposix.lo libpcre.la -lreadline
> /usr/bin/gcc-4.0 -dynamiclib ${wl}-flat_namespace ${wl}-u
> ndefined ${wl}suppress -o .libs/libpcreposix.0.0.0.dylib
> .libs/pcreposix.o  -L/opt/local/lib ./.libs/libpcre.dylib
> /opt/local/lib/libreadline.dylib -lreadline  -install_name
> /opt/local/lib/libpcreposix.0.dylib -compatibility_version 1
> -current_version 1.0 -Wl,-single_module
> dsymutil .libs/libpcreposix.0.0.0.dylib || :
> ERROR: No debug map or DWARF data was found to link.(cd .libs && rm -f
> libpcreposix.0.dylib && ln -s libpcreposix.0.0.0.dylib
> libpcreposix.0.dylib)
> (cd .libs && rm -f libpcreposix.dylib &&
>  ln -s libpcreposix.0.0.0.dylib libpcreposix.dylib)
> ar cru .libs/libpcreposix.a  pcreposix.o
> ranlib .libs/libpcreposix.a
> creating libpcreposix.la
> (cd .libs && rm -f libpcreposix.la && ln -s ../libpcreposix.la
> libpcreposix.la)
> /bin/sh ./libtool --tag=CXX   --mode=compile /usr/bin/g++-4.0
> -DHAVE_CONFIG_H -I.   -I/opt/local/include  -O2 -MT pcrecpp.lo -MD -MP
> -MF .deps/pcrecpp.Tpo -c -o pcrecpp.lo pcrecpp.cc
>  /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include -O2 -MT
> pcrecpp.lo -MD -MP -MF .deps/pcrec
> pp.Tpo -c pcrecpp.cc  -fno-common -DPIC -o .libs/pcrecpp.o
> In file included from /usr/include/c++/4.0.0/new:42,
>                  from /usr/include/c++/4.0.0/ext/new_allocator.h:37,
>                  from /usr/include/c++/4.0.0/powerpc-apple-
> darwin8/bits/c++allocator.h:34,
>                  from /usr/include/c++/4.0.0/bits/allocator.h:52,
>                  from /usr/include/c++/4.0.0/memory:54,
>                  from /usr/include/c++/4.0.0/string:47,
>                  from pcrecpp.cc:42:
> /usr/include/c++/4.0.0/exception:10:7: error: invalid preprocessing
> directive #These
> /usr/include/c++/4.0.0/exception:11:7: error: invalid preprocessing
> directive #also
> /usr/include/c++/4.0.0/exception:16:11: error: invalid preprocessing
> directive #Inner
> /usr/include/c++/4.0.0/exception:48:7: error: invalid preprocessing
> directive #Duplicate
> /usr/include/c++/4.0.0/exception:49:7: error: invalid preprocessing
> directive #also
> /usr/include/c++/4.0.0/exception:54:11: error: invalid preprocessing
> directive #Inner
> /usr/include/c++/4.0.0/exception:114:2: error: #endif without #if
> /usr/include/c++/4.0.0/exception:2: error: 'import' does not name a type
> /usr/include/c++/4.0.0/exception:93: error: expected declaration before
> '}' token
> make[1]: *** [pcrecpp.lo] Error 1
> make: *** [all] Error 2
> Error: Status 1 encountered during processing.
> Executing: /opt/local/bin/port install pcre

New description:

 PCRE make fails (this is also included when using the SciPy port)

 {{{
 Port command started with PID 16723
 Fetching pcre
 Verifying checksum(s) for pcre
 Extracting pcre
 Configuring pcre
 Building pcre with target all
 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.8"
 && make all " returned error 2
 Command output: mv -f .deps/pcreposix.Tpo .deps/pcreposix.Plo
 /bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.0  -O2 -version-
 info 0:0:0 -L/opt/local/lib -o libpcreposix.la -rpath /opt/local/lib
 pcreposix.lo libpcre.la -lreadline
 /usr/bin/gcc-4.0 -dynamiclib ${wl}-flat_namespace ${wl}-u
 ndefined ${wl}suppress -o .libs/libpcreposix.0.0.0.dylib
 .libs/pcreposix.o  -L/opt/local/lib ./.libs/libpcre.dylib
 /opt/local/lib/libreadline.dylib -lreadline  -install_name
 /opt/local/lib/libpcreposix.0.dylib -compatibility_version 1
 -current_version 1.0 -Wl,-single_module
 dsymutil .libs/libpcreposix.0.0.0.dylib || :
 ERROR: No debug map or DWARF data was found to link.(cd .libs && rm -f
 libpcreposix.0.dylib && ln -s libpcreposix.0.0.0.dylib
 libpcreposix.0.dylib)
 (cd .libs && rm -f libpcreposix.dylib &&
  ln -s libpcreposix.0.0.0.dylib libpcreposix.dylib)
 ar cru .libs/libpcreposix.a  pcreposix.o
 ranlib .libs/libpcreposix.a
 creating libpcreposix.la
 (cd .libs && rm -f libpcreposix.la && ln -s ../libpcreposix.la
 libpcreposix.la)
 /bin/sh ./libtool --tag=CXX   --mode=compile /usr/bin/g++-4.0
 -DHAVE_CONFIG_H -I.   -I/opt/local/include  -O2 -MT pcrecpp.lo -MD -MP -MF
 .deps/pcrecpp.Tpo -c -o pcrecpp.lo pcrecpp.cc
  /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I/opt/local/include -O2 -MT
 pcrecpp.lo -MD -MP -MF .deps/pcrec
 pp.Tpo -c pcrecpp.cc  -fno-common -DPIC -o .libs/pcrecpp.o
 In file included from /usr/include/c++/4.0.0/new:42,
                  from /usr/include/c++/4.0.0/ext/new_allocator.h:37,
                  from /usr/include/c++/4.0.0/powerpc-apple-
 darwin8/bits/c++allocator.h:34,
                  from /usr/include/c++/4.0.0/bits/allocator.h:52,
                  from /usr/include/c++/4.0.0/memory:54,
                  from /usr/include/c++/4.0.0/string:47,
                  from pcrecpp.cc:42:
 /usr/include/c++/4.0.0/exception:10:7: error: invalid preprocessing
 directive #These
 /usr/include/c++/4.0.0/exception:11:7: error: invalid preprocessing
 directive #also
 /usr/include/c++/4.0.0/exception:16:11: error: invalid preprocessing
 directive #Inner
 /usr/include/c++/4.0.0/exception:48:7: error: invalid preprocessing
 directive #Duplicate
 /usr/include/c++/4.0.0/exception:49:7: error: invalid preprocessing
 directive #also
 /usr/include/c++/4.0.0/exception:54:11: error: invalid preprocessing
 directive #Inner
 /usr/include/c++/4.0.0/exception:114:2: error: #endif without #if
 /usr/include/c++/4.0.0/exception:2: error: 'import' does not name a type
 /usr/include/c++/4.0.0/exception:93: error: expected declaration before
 '}' token
 make[1]: *** [pcrecpp.lo] Error 1
 make: *** [all] Error 2
 Error: Status 1 encountered during processing.
 Executing: /opt/local/bin/port install pcre
 }}}

--

Comment:

 Assigning to maintainer.

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


More information about the macports-tickets mailing list