public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/107607] New: tools-src/calcpath uses unportable realpath(1)
@ 2022-11-10 9:24 ro at gcc dot gnu.org
2022-11-10 9:24 ` [Bug modula2/107607] " ro at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2022-11-10 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607
Bug ID: 107607
Summary: tools-src/calcpath uses unportable realpath(1)
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: modula2
Assignee: gaius at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
When trying to build the devel/modula-2 branch on Mac OS X 10.7/Darwin 11, it
failed when executing gcc/m2/tools-src/calcpath since that Darwin version
doesn't
have realpath(1) at all. It isn't mentioned in the Autoconf docs which are a
good source for portability advice. The possible alternative readlink -f
cannot be used either because, while the command exists, the native version
doesn't support the -f option.
I'm currently cheating by using the coreutils 9.1 version, but building that
on Darwin 11 is sort of a nightmare and seems way overkill just to run a single
script.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug modula2/107607] tools-src/calcpath uses unportable realpath(1)
2022-11-10 9:24 [Bug modula2/107607] New: tools-src/calcpath uses unportable realpath(1) ro at gcc dot gnu.org
@ 2022-11-10 9:24 ` ro at gcc dot gnu.org
2022-12-15 8:35 ` arsen at aarsen dot me
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2022-11-10 9:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug modula2/107607] tools-src/calcpath uses unportable realpath(1)
2022-11-10 9:24 [Bug modula2/107607] New: tools-src/calcpath uses unportable realpath(1) ro at gcc dot gnu.org
2022-11-10 9:24 ` [Bug modula2/107607] " ro at gcc dot gnu.org
@ 2022-12-15 8:35 ` arsen at aarsen dot me
2022-12-15 8:43 ` iains at gcc dot gnu.org
2022-12-15 14:28 ` gaius at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: arsen at aarsen dot me @ 2022-12-15 8:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607
Arsen Arsenović <arsen at aarsen dot me> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |arsen at aarsen dot me
--- Comment #1 from Arsen Arsenović <arsen at aarsen dot me> ---
Created attachment 54101
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54101&action=edit
m2: Remove bdepend on realpath, cut and echo
I've already written a patch that removes the realpath invocation.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug modula2/107607] tools-src/calcpath uses unportable realpath(1)
2022-11-10 9:24 [Bug modula2/107607] New: tools-src/calcpath uses unportable realpath(1) ro at gcc dot gnu.org
2022-11-10 9:24 ` [Bug modula2/107607] " ro at gcc dot gnu.org
2022-12-15 8:35 ` arsen at aarsen dot me
@ 2022-12-15 8:43 ` iains at gcc dot gnu.org
2022-12-15 14:28 ` gaius at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: iains at gcc dot gnu.org @ 2022-12-15 8:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607
Iain Sandoe <iains at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2022-12-15
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
CC| |iains at gcc dot gnu.org
Host| |*-*-darwin*
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug modula2/107607] tools-src/calcpath uses unportable realpath(1)
2022-11-10 9:24 [Bug modula2/107607] New: tools-src/calcpath uses unportable realpath(1) ro at gcc dot gnu.org
` (2 preceding siblings ...)
2022-12-15 8:43 ` iains at gcc dot gnu.org
@ 2022-12-15 14:28 ` gaius at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: gaius at gcc dot gnu.org @ 2022-12-15 14:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107607
Gaius Mulley <gaius at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Gaius Mulley <gaius at gcc dot gnu.org> ---
LGTG
I've tested it on amd64 both in tree and out of tree with and absolute and
relative paths to configure. No extra failures.
Thanks for the patch!
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-12-15 14:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10 9:24 [Bug modula2/107607] New: tools-src/calcpath uses unportable realpath(1) ro at gcc dot gnu.org
2022-11-10 9:24 ` [Bug modula2/107607] " ro at gcc dot gnu.org
2022-12-15 8:35 ` arsen at aarsen dot me
2022-12-15 8:43 ` iains at gcc dot gnu.org
2022-12-15 14:28 ` gaius at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).