New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14487 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

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 jmr@…) (diff)

$ 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

comment:1 Changed 5 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 5 years ago by jmr@…

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

Assigning to maintainer.

comment:3 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:4 Changed 3 years ago by jmr@…

  • Port set to cppunit
  • Description modified (diff)

comment:5 Changed 3 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

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 3 years ago by jmr@…

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