Opened 2 years ago

Last modified 2 years ago

#65435 assigned defect

coreutils @9.x: fix implicit declaration warnings

Reported by: mascguy (Christopher Nielsen) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: implicit pending Cc: acjones8 (Alex Jones)
Port: coreutils coreutils-devel

Description

Specifically:

  re_search: found in coreutils-9.1/config.log
  re_compile_pattern: found in coreutils-9.1/config.log
  re_set_syntax: found in coreutils-9.1/config.log
  MIN: found in coreutils-9.1/config.log
  __fpending: found in coreutils-9.1/config.log
  free: found in coreutils-9.1/config.log
  strchr: found in coreutils-9.1/config.log
  re_match: found in coreutils-9.1/config.log

Change History (7)

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Port: coreutils-devel added

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

Keywords: implicit added

comment:3 Changed 2 years ago by acjones8 (Alex Jones)

Ran into this issue today while upgrading coreutils on 10.5.8. If I try to do it with gcc-4.2, it fails and gets stuck trying to recreate the same directory inside itself until it eventually hits the limit for the longest possible filename and fails. This probably isn't a proper fix, but as a short term workaround, using gcc-7.5.0 instead gets through the compile without any problems.

comment:4 Changed 2 years ago by acjones8 (Alex Jones)

Cc: acjones8 added

comment:5 in reply to:  3 Changed 2 years ago by mascguy (Christopher Nielsen)

Replying to acjones8:

Ran into this issue today while upgrading coreutils on 10.5.8. If I try to do it with gcc-4.2, it fails and gets stuck trying to recreate the same directory inside itself until it eventually hits the limit for the longest possible filename and fails. This probably isn't a proper fix, but as a short term workaround, using gcc-7.5.0 instead gets through the compile without any problems.

This ticket simply covers fixing implicit declaration errors.

But I believe the directory creation behavior you speak of, is covered by issue:62994.

comment:6 Changed 2 years ago by mascguy (Christopher Nielsen)

Keywords: pending added

comment:7 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

In 00461b59e05039c16a0cda04485ae34045607f32/macports-ports (master):

coreutils*: Suppress strchr warning

See: #65435

Note: See TracTickets for help on using tickets.