[MacPorts] #14487: cppunit doesn't build with +universal variant

MacPorts noreply at macports.org
Fri Oct 1 13:44:58 PDT 2010


#14487: cppunit doesn't build with +universal variant
------------------------------+---------------------------------------------
 Reporter:  dave@…            |       Owner:  mww@…           
     Type:  defect            |      Status:  new             
 Priority:  Normal            |   Milestone:                  
Component:  ports             |     Version:  1.6.0           
 Keywords:                    |        Port:  cppunit         
------------------------------+---------------------------------------------
Changes (by jmr@…):

  * port:  => cppunit


Old description:

> $ sudo -H port install cppunit +universal
> --->  Fetching cppunit
> --->  Verifying checksum(s) for cppunit
> --->  Extracting cppunit
> --->  Configuring cppunit
> --->  Building cppunit 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_cppunit/work/cppunit-1.12.0"
> && make all " returned error 2
> Command output:
> "CppUnit::TestResult::addListener(CppUnit::TestListener*)", referenced
> from:
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>   "CppUnit::TestSuccessListener::wasSuccessful() const", referenced from:
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>   "CppUnit::PlugInParameters::PlugInParameters(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)", referenced from:
>       CommandLineParser::readNonOptionCommands()       in
> CommandLineParser.o
>       CommandLineParser::readNonOptionCommands()       in
> CommandLineParser.o
>   "CppUnit::PlugInManager::load(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> CppUnit::PlugInParameters const&)", referenced from:
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>   "CppUnit::XmlOutputter::XmlOutputter(CppUnit::TestResultCollector*,
> std::basic_ostream<char, std::char_traits<char> >&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >)",
> referenced from:
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>   "CppUnit::TextOutputter::~TextOutputter()", referenced from:
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>   "CppUnit::BriefTestProgressListener::~BriefTestProgressListener()",
> referenced from:
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>   "CppUnit::TestFactoryRegistry::getRegistry(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)", referenced from:
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>   "CppUnit::TestResult::~TestResult()", referenced from:
>       runTests(CommandLineParser const&)in DllPlugInTester.o
>       runTests(CommandLineParser const&)in DllPlugInTester.o
> ld: symbol(s) not found for architecture ppc
> collect2: ld returned 1 exit status
> lipo: can't open input file: /var/tmp//ccgwuU4J.out (No such file or
> directory)
> make[2]: *** [DllPlugInTester] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> Error: Status 1 encountered during processing.

New description:

 {{{
 $ sudo -H port install cppunit +universal
 --->  Fetching cppunit
 --->  Verifying checksum(s) for cppunit
 --->  Extracting cppunit
 --->  Configuring cppunit
 --->  Building cppunit 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_cppunit/work/cppunit-1.12.0"
 && make all " returned error 2
 Command output:
 "CppUnit::TestResult::addListener(CppUnit::TestListener*)", referenced
 from:
       runTests(CommandLineParser const&)in DllPlugInTester.o
       runTests(CommandLineParser const&)in DllPlugInTester.o
       runTests(CommandLineParser const&)in DllPlugInTester.o
   "CppUnit::TestSuccessListener::wasSuccessful() const", referenced from:
       runTests(CommandLineParser const&)in DllPlugInTester.o
   "CppUnit::PlugInParameters::PlugInParameters(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&)", referenced from:
       CommandLineParser::readNonOptionCommands()       in
 CommandLineParser.o
       CommandLineParser::readNonOptionCommands()       in
 CommandLineParser.o
   "CppUnit::PlugInManager::load(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&,
 CppUnit::PlugInParameters const&)", referenced from:
       runTests(CommandLineParser const&)in DllPlugInTester.o
   "CppUnit::XmlOutputter::XmlOutputter(CppUnit::TestResultCollector*,
 std::basic_ostream<char, std::char_traits<char> >&,
 std::basic_string<char, std::char_traits<char>, std::allocator<char> >)",
 referenced from:
       runTests(CommandLineParser const&)in DllPlugInTester.o
   "CppUnit::TextOutputter::~TextOutputter()", referenced from:
       runTests(CommandLineParser const&)in DllPlugInTester.o
       runTests(CommandLineParser const&)in DllPlugInTester.o
   "CppUnit::BriefTestProgressListener::~BriefTestProgressListener()",
 referenced from:
       runTests(CommandLineParser const&)in DllPlugInTester.o
       runTests(CommandLineParser const&)in DllPlugInTester.o
   "CppUnit::TestFactoryRegistry::getRegistry(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&)", referenced from:
       runTests(CommandLineParser const&)in DllPlugInTester.o
   "CppUnit::TestResult::~TestResult()", referenced from:
       runTests(CommandLineParser const&)in DllPlugInTester.o
       runTests(CommandLineParser const&)in DllPlugInTester.o
 ld: symbol(s) not found for architecture ppc
 collect2: ld returned 1 exit status
 lipo: can't open input file: /var/tmp//ccgwuU4J.out (No such file or
 directory)
 make[2]: *** [DllPlugInTester] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all-recursive] Error 1

 Error: Status 1 encountered during processing.
 }}}

--

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


More information about the macports-tickets mailing list