Summary: | bootstrap-prefix.sh: freadahead.c:83:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Xuewei <18800136075> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=663924 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | line 60713 |
Description
Xuewei
2020-04-02 07:50:40 UTC
Created attachment 628932 [details]
line 60713
I try to bootstrap again under Ubuntu 18.04LTS, and encounter this problem again. A temporary solution is to patch the m4-1.4.18 with this: https://github.com/easybuilders/easybuild-easyconfigs/files/2737214/M4_glibc_2.28.patch.txt (From https://github.com/easybuilders/easybuild-easyconfigs/issues/7383) However, the problem doesn't appear in Arch. (In reply to Xuewei from comment #0) > Bootstrap encounter the problem in stage1. I can't reproduce the bug anymore. Could you confirm? (In reply to Benda Xu from comment #3) > (In reply to Xuewei from comment #0) > > Bootstrap encounter the problem in stage1. > > I can't reproduce the bug anymore. Could you confirm? Yes. And I also tried it at Ubuntu 20.04. The same problem occurred again. stage1.log: freadahead.c: In function 'freadahead': freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." 92 | #error "Please port gnulib freadahead.c to your platform! Look at the definition of fflush, fread, ungetc on your system, then report this to bug-gnulib." | ^~~~~ make[3]: *** [Makefile:1910: freadahead.o] Error 1 make[3]: *** Waiting for unfinished jobs.... fseeko.c: In function 'rpl_fseeko': fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." 110 | #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." | ^~~~~ make[3]: *** [Makefile:1910: fseeko.o] Error 1 make[3]: Leaving directory '/home/xuewei/gentoo/var/tmp/m4-1.4.18/m4-1.4.18/lib' make[2]: *** [Makefile:1674: all] Error 2 make[2]: Leaving directory '/home/xuewei/gentoo/var/tmp/m4-1.4.18/m4-1.4.18/lib' make[1]: *** [Makefile:1572: all-recursive] Error 1 make[1]: Leaving directory '/home/xuewei/gentoo/var/tmp/m4-1.4.18/m4-1.4.18' (In reply to Xuewei from comment #4) > (In reply to Benda Xu from comment #3) > > (In reply to Xuewei from comment #0) > > > Bootstrap encounter the problem in stage1. > > > > I can't reproduce the bug anymore. Could you confirm? > > Yes. > > And I also tried it at Ubuntu 20.04. The same problem occurred again. > > stage1.log: > > freadahead.c: In function 'freadahead': > freadahead.c:92:3: error: #error "Please port gnulib freadahead.c to your > platform! Look at the definition of fflush, fread, ungetc on your system, > then report this to bug-gnulib." > 92 | #error "Please port gnulib freadahead.c to your platform! Look at > the definition of fflush, fread, ungetc on your system, then report this to > bug-gnulib." > | ^~~~~ > make[3]: *** [Makefile:1910: freadahead.o] Error 1 > make[3]: *** Waiting for unfinished jobs.... > fseeko.c: In function 'rpl_fseeko': > fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! > Look at the code in fseeko.c, then report this to bug-gnulib." > 110 | #error "Please port gnulib fseeko.c to your platform! Look at the > code in fseeko.c, then report this to bug-gnulib." > | ^~~~~ > make[3]: *** [Makefile:1910: fseeko.o] Error 1 > make[3]: Leaving directory > '/home/xuewei/gentoo/var/tmp/m4-1.4.18/m4-1.4.18/lib' > make[2]: *** [Makefile:1674: all] Error 2 > make[2]: Leaving directory > '/home/xuewei/gentoo/var/tmp/m4-1.4.18/m4-1.4.18/lib' > make[1]: *** [Makefile:1572: all-recursive] Error 1 > make[1]: Leaving directory '/home/xuewei/gentoo/var/tmp/m4-1.4.18/m4-1.4.18' Can you reproduce it on Ubuntu 18.04 again? > Can you reproduce it on Ubuntu 18.04 again?
Strangely, now I can't reproduce it on 18.04.
But I can still reproduce it on Ubuntu 20.04 and Arch.
I don't know why.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=487ddf6654a5d25ef22f1d0a98e78d6acf0878ac commit 487ddf6654a5d25ef22f1d0a98e78d6acf0878ac Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2020-05-12 14:41:15 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2020-05-12 14:41:15 +0000 bootstrap-prefix.sh: bootstrap m4 on glibc-2.28 and newer. Take the patch from Gentoo tree for Stage 1, to cope with hosts having glibc-2.28 and newer. Closes: https://bugs.gentoo.org/715880 Reported-By: Xuewei Liu <18800136075@163.com> Signed-off-by: Benda Xu <heroxbd@gentoo.org> scripts/bootstrap-prefix.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) |