bugfindutils - Bugs: bug #37423, Duplicate definition of...


bug #37423: Duplicate definition of program_name in test-canonicalize

Submitted by:  None
Submitted on:  Sat 22 Sep 2012 12:17:23 PM UTC  
Category:  None Severity:  3 - Normal
Item Group:  Compilation Failure Status:  Fixed
Privacy:  Public Assigned to:  James Youngman <jay>
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  4.4.2
Fixed Release:  4.5.11

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 26 Oct 2013 02:02:23 PM UTC, comment #3:

I think this problem was likely solved by this commit:

commit bf5f83afdf9f26b6b44b942e0be122b7a66e3561
Author: Dmitry V. Levin <ldv@altlinux.org>
Date: Sun Nov 18 06:06:04 2012 +0400

find: use FTS_VERBATIM (and update gnulib)

James Youngman <jay>
Project AdministratorIn charge of this item.
Sat 17 Nov 2012 01:53:08 PM UTC, comment #2:

I'm going to defer updating the gnulib in findnutils temporarily until we've decided on how to handle the recently-changed fts semantics (with respect to trailing slashes).

James Youngman <jay>
Project AdministratorIn charge of this item.
Mon 24 Sep 2012 04:24:44 PM UTC, comment #1:

Thanks for the report. This is an upstream bug in gnulib, and will be resolved by having findutils update to a newer version of gnulib.

Eric Blake <ericb>
Project Administrator
Sat 22 Sep 2012 12:17:23 PM UTC, original submission:


While compiling your package using our research compiler infrastructure we notice the following conflicting initialisations:

- gnulib/lib/progname.c:const char *program_name = NULL;
- tests/test-canonicalize.c:const char *program_name = "test-canonicalize";

The actual value of program_name is thus undefined as the linker is free to choose either. According to the comments in progname.c, the proper code for test-canonicalize.c would be to

1. declare proggram_name extern
2. set its value in main()




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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by ericb (Posted a comment)
  • -email is unavailable- added by None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-10-26 jay StatusNone => Fixed
        Assigned toNone => jay
        Open/ClosedOpen => Closed
        Fixed ReleaseNone => 4.5.11

    Back to the top

    Powered by Savane 3.3