bugGNU nano - Bugs: bug #52546, nano 2.9.1: Undefined symbol...


bug #52546: nano 2.9.1: Undefined symbol _stat_time_normalize

Submitted by:  Marius Schamschula <mschamschula>
Submitted on:  Tue 28 Nov 2017 12:21:13 PM UTC  
Severity:  3 - Normal Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 03 Jan 2018 02:29:35 PM UTC, comment #5:

Fix released with 2.9.2. Thanks for reporting.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Thu 30 Nov 2017 08:32:11 PM UTC, comment #4:

Fixed upstream. The fixed gnulib has been "pulled in" by commit 64d1711a.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 28 Nov 2017 08:31:10 PM UTC, comment #3:

Patch has been sent on to gnulib: http://lists.gnu.org/archive/html/bug-gnulib/2017-11/msg00056.html.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 28 Nov 2017 06:37:59 PM UTC, comment #2:

Thank you for the quick response.

The proposed patch does solve the build issue.

Marius Schamschula <mschamschula>
Tue 28 Nov 2017 06:33:15 PM UTC, comment #1:

Please try with the attached patch.

(The stat_time_normalize() function is new in gnulib, present since five days. It seems they forgot to add a needed include.)

(file #42510)

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 28 Nov 2017 12:21:13 PM UTC, original submission:

The MacPorts maintainer of nano here.

When building nano 2.9.1 under macOS Sierra, I get the following error:

/usr/bin/clang -pipe -Os -arch x86_64 -Wall -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o nano browser.o chars.o color.o cut.o files.o global.o help.o history.o move.o nano.o prompt.o rcfile.o search.o text.o utils.o winio.o -lintl -Wl,-framework -Wl,CoreFoundation ../lib/libgnu.a -lz -lmagic -lncursesw
Undefined symbols for architecture x86_64:
"_stat_time_normalize", referenced from:
_rpl_stat in libgnu.a(stat.o)
ld: symbol(s) not found for architecture x86_64

This error was not present for nano 2.9.0.

Marius Schamschula <mschamschula>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bens (Updated the item)
  • -email is unavailable- added by mschamschula (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-03 bens Open/ClosedOpen => Closed
    2017-11-30 bens StatusIn Progress => Fixed
    2017-11-28 bens StatusNone => In Progress
        Assigned toNone => bens
    2017-11-28 bens Attached File- => Added add-missing-stattime-header.patch, #42510

    Back to the top

    Powered by Savane 3.3