[MacPorts] #65582: util-linux @2.38_1 does not build on PPC Tiger, Mac OS X 10.4.11, because of "Undefined symbols: "_timersub", referenced from: _print_stats in hardlink-hardlink.o"

MacPorts noreply at macports.org
Tue Aug 2 20:42:24 UTC 2022


#65582: util-linux @2.38_1 does not build on PPC Tiger, Mac OS X 10.4.11, because
of "Undefined symbols:   "_timersub", referenced from:   _print_stats in
hardlink-hardlink.o"
-------------------------+--------------------
  Reporter:  ballapete   |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:  tiger
      Port:  util-linux  |
-------------------------+--------------------

Comment (by ballapete):

 What I can see is that the code of the C file is not substituted by the
 macro definition on Tiger:

 {{{
 static void print_stats(void)
 {
  struct timeval end = { 0, 0 }, delta = { 0, 0 };
  char *ssz;

  gettime_monotonic(&end);
  timersub(&end, &stats.start_time, &delta);

  jlog(JLOG_SUMMARY, "%-25s %s", libintl_gettext ("Mode:"),
       opts.dry_run ? libintl_gettext ("dry-run") : libintl_gettext
 ("real"));
  jlog(JLOG_SUMMARY, "%-25s %s", libintl_gettext ("Method:"), opts.method);
  jlog(JLOG_SUMMARY, "%-25s %zu", libintl_gettext ("Files:"), stats.files);
  jlog(JLOG_SUMMARY, libintl_gettext ("%-25s %zu files"), libintl_gettext
 ("Linked:"), stats.linked);
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65582#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list