Opened 16 years ago

Closed 14 years ago

Last modified 14 years ago

#14487 closed defect (fixed)

cppunit @1.12.0 doesn't build with +universal variant

Reported by: dave@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: cppunit

Description (last modified by jmroot (Joshua Root))

$ 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.

Change History (6)

comment:1 Changed 16 years ago by dave@…

Bad formatting, sorry

$ 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.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Milestone: Port Bugs
Owner: changed from macports-tickets@… to mww@…

Assigning to maintainer.

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Description: modified (diff)
Port: cppunit added

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Version 1.12.1 seems fine (albeit only tested on 10.6/i386+x86_64). Reopen if you can still reproduce this.

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Summary: cppunit doesn't build with +universal variantcppunit @1.12.0 doesn't build with +universal variant
Note: See TracTickets for help on using tickets.