[MacPorts] #17206: PCRE make fails
#17206: PCRE make fails --------------------------------+------------------------------------------- Reporter: glend@mail.nih.gov | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: --------------------------------+------------------------------------------- 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 -- Ticket URL: <http://trac.macports.org/ticket/17206> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17206: PCRE make fails ---------------------------------+------------------------------------------ Reporter: glend@mail.nih.gov | Owner: nox@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: pcre | ---------------------------------+------------------------------------------ Changes (by macsforever2000@macports.org): * owner: macports-tickets@lists.macosforge.org => nox@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
#17206: PCRE make fails ---------------------------------+------------------------------------------ Reporter: glend@mail.nih.gov | Owner: nox@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: pcre | ---------------------------------+------------------------------------------ Changes (by nox@macports.org): * status: new => assigned Comment: Could you paste the contents of the file `/usr/include/c++/4.0.0/exception`? -- Ticket URL: <http://trac.macports.org/ticket/17206#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17206: PCRE make fails ---------------------------------+------------------------------------------ Reporter: glend@mail.nih.gov | Owner: nox@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: pcre | ---------------------------------+------------------------------------------ Comment(by glend@mail.nih.gov): import unittest from test import test_support class ComplexArgsTestCase(unittest.TestCase): def check(self, func, expected, *args): self.assertEqual(func(*args), expected) # These functions are tested below as lambdas too. If you add a function test, # also add a similar lambda test. def test_func_parens_no_unpacking(self): def f(((((x))))): return x self.check(f, 1, 1) # Inner parens are elided, same as: f(x,) def f(((x)),): return x self.check(f, 2, 2) def test_func_1(self): def f(((((x),)))): return x self.check(f, 3, (3,)) def f(((((x)),))): return x self.check(f, 4, (4,)) def f(((((x))),)): return x self.check(f, 5, (5,)) def f(((x),)): return x self.check(f, 6, (6,)) def test_func_2(self): def f(((((x)),),)): return x self.check(f, 2, ((2,),)) def test_func_3(self): def f((((((x)),),),)): return x self.check(f, 3, (((3,),),)) def test_func_complex(self): def f((((((x)),),),), a, b, c): return x, a, b, c self.check(f, (3, 9, 8, 7), (((3,),),), 9, 8, 7) def f(((((((x)),)),),), a, b, c): return x, a, b, c self.check(f, (3, 9, 8, 7), (((3,),),), 9, 8, 7) def f(a, b, c, ((((((x)),)),),)): return a, b, c, x self.check(f, (9, 8, 7, 3), 9, 8, 7, (((3,),),)) # Duplicate the tests above, but for lambda. If you add a lambda test, # also add a similar function test above. def test_lambda_parens_no_unpacking(self): f = lambda (((((x))))): x self.check(f, 1, 1) # Inner parens are elided, same as: f(x,) f = lambda ((x)),: x self.check(f, 2, 2) def test_lambda_1(self): f = lambda (((((x),)))): x self.check(f, 3, (3,)) f = lambda (((((x)),))): x self.check(f, 4, (4,)) f = lambda (((((x))),)): x self.check(f, 5, (5,)) f = lambda (((x),)): x self.check(f, 6, (6,)) def test_lambda_2(self): f = lambda (((((x)),),)): x self.check(f, 2, ((2,),)) def test_lambda_3(self): f = lambda ((((((x)),),),)): x self.check(f, 3, (((3,),),)) def test_lambda_complex(self): f = lambda (((((x)),),),), a, b, c: (x, a, b, c) self.check(f, (3, 9, 8, 7), (((3,),),), 9, 8, 7) f = lambda ((((((x)),)),),), a, b, c: (x, a, b, c) self.check(f, (3, 9, 8, 7), (((3,),),), 9, 8, 7) f = lambda a, b, c, ((((((x)),)),),): (a, b, c, x) self.check(f, (9, 8, 7, 3), 9, 8, 7, (((3,),),)) def test_main(): test_support.run_unittest(ComplexArgsTestCase) if __name__ == "__main__": test_main() ol uncaught_exception() throw(); } // namespace std namespace __gnu_cxx { /** A replacement for the standard terminate_handler which prints more information about the terminating exception (if any) on stderr. Call @code std::set_terminate (__gnu_cxx::__verbose_terminate_handler) @endcode to use. For more info, see http://gcc.gnu.org/onlinedocs/libstdc++/19_diagnostics/howto.html#4 In 3.4 and later, this is on by default. */ void __verbose_terminate_handler (); } // namespace __gnu_cxx } // extern "C++" #pragma GCC visibility pop #endif -- Ticket URL: <http://trac.macports.org/ticket/17206#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17206: PCRE make fails ---------------------------------+------------------------------------------ Reporter: glend@mail.nih.gov | Owner: nox@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: pcre | ---------------------------------+------------------------------------------ Comment(by nox@macports.org): I don't know what happened to your `exception` file but it is broken: why the hell is their a python class instead of the licence header? Try reinstalling Xcode and the Dev Tools. -- Ticket URL: <http://trac.macports.org/ticket/17206#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17206: PCRE make fails ---------------------------------+------------------------------------------ Reporter: glend@mail.nih.gov | Owner: nox@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: worksforme | Keywords: Port: pcre | ---------------------------------+------------------------------------------ Changes (by nox@macports.org): * status: assigned => closed * resolution: => worksforme -- Ticket URL: <http://trac.macports.org/ticket/17206#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts