Hello, I see some traffic today on this issue and it reminded me that I reported it to the autoconf mailing list as requested. However, I received a response that indicated the problem is indeed not in autoconf.
Nick Bowler <nbow...@draconx.ca <mailto:nbow...@draconx.ca>>: This code does not come from Autoconf, so I'm unsure why you were asked to report it here. The code comes from the global package itself (in their configure.ac file): AC_RUN_IFELSE([AC_LANG_SOURCE([[ main(){ (void)realpath("/./tmp", (void *)0); return 0; } ]])],[ac_cv_posix1_2008_realpath=yes], [ac_cv_posix1_2008_realpath=no]) This is the where the problem needs to be corrected. -Mike > On Jan 16, 2021, at 3:35 AM, Shigio YAMAGUCHI <shi...@gnu.org> wrote: > > Hello, > Thank you for the report. > > Could you please send this report to the autoconf bug mailing > list? Since this bug seems to be a autoconf's bug. > I cannot do anything, because I don't have a reproduction > environment for this problem. > > Thank you in advance. > > Regards, > Shigio > > 2021年1月15日(金) 13:22 Michael Labbé <mla...@gmail.com>: >> >> Package global failed to compile on my arm 11.1 system. This is due to an >> error because realpath cannot be found. The fix is to modify configure to >> include stdlib.h. >> >> Line 14291 of configure on global-6.6.5: >> >> main(){ (void)realpath("/./tmp", (void *)0); return 0; } >> >> Insert one line before that: >> >> #include<stdlib.h> >> main(){ (void)realpath("/./tmp", (void *)0); return 0; } >> >> configure now succeeds. > > > > -- > Shigio YAMAGUCHI <shi...@gnu.org> > PGP fingerprint: > 26F6 31B4 3D62 4A92 7E6F 1C33 969C 3BE3 89DD A6EB