Discussion:
[gentoo-alt] Re: More on bootstrap-rap.sh issues
Benda Xu
2018-03-18 01:41:45 UTC
Permalink
Hi Martin,

Shall we discuss technical issues and bugs in the public mailing list?
Yeah, but your scripts should also call bash with those two options,
IMHO, your system has a bogus /ete/profile. And you can undo the
system-wide hacks in your $HOME/.profile and/or $HOME/.bash_profile on
your own.

It is hard for me to regard this as a bug of bootstrap-prefix.sh.

Some users will later need to add some customization in their profile to
achieve something with the bootstrap script. Your proposed modification
will be a regression for them.
How about the following?
https://wiki.gentoo.org/wiki/Project:Prefix/Bootstrap
- ./bootstrap-bash.sh /var/tmp/bash
+ ~/bash-4.4/bash ./bootstrap-bash.sh --noprofile --norc /var/tmp/bash
I hesitate to do changes like this. Because it might introduce
unpredicted regressions, and our build farm need more work to function
perfectly to guard against these regressions.

Yours,
Benda
Connecting to distfiles.gentoo.org|64.50.233.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1319 (1.3K)
Saving to: `/apps/gentoo/usr/portage/distfiles/bash44-018'
0K . 100% 68.7M=0s
2018-03-12 05:31:47 (68.7 MB/s) - `/apps/gentoo/usr/portage/distfiles/bash44-018' saved [1319/1319]
* bash44-018 BLAKE2B SHA512 size ;-) ... [ ok ]
Downloading 'http://distfiles.gentoo.org/distfiles/bash44-019'
--2018-03-12 05:31:48-- http://distfiles.gentoo.org/distfiles/bash44-019
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 140.211.166.134, ...
Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1671 (1.6K) [text/plain]
Saving to: `/apps/gentoo/usr/portage/distfiles/bash44-019'
0K . 100% 161M=0s
2018-03-12 05:31:48 (161 MB/s) - `/apps/gentoo/usr/portage/distfiles/bash44-019' saved [1671/1671]
* bash44-019 BLAKE2B SHA512 size ;-) ... [ ok ]
[app-shells/bash-4.4_p19] bash: BASH_FUNC_module(): line 0: syntax error near unexpected token `)'
[app-shells/bash-4.4_p19] bash: error importing function definition for `BASH_FUNC_module'
[app-shells/bash-4.4_p19] bash: BASH_FUNC_ml(): line 0: syntax error near unexpected token `)'
[app-shells/bash-4.4_p19] bash: error importing function definition for `BASH_FUNC_ml'
Unpacking source...
Unpacking bash-4.4.tar.gz to /apps/gentoo/tmp/var/tmp/portage/app-shells/bash-4.4_p19/work
Source unpacked in /apps/gentoo/tmp/var/tmp/portage/app-shells/bash-4.4_p19/work
Preparing source in /apps/gentoo/tmp/var/tmp/portage/app-shells/bash-4.4_p19/work/bash-4.4 ...
* Applying bash44-001 ...
[ ok ]
* Applying bash44-002 ...
[ ok ]
* Applying bash44-003 ...
[ ok ]
[sys-libs/ncurses-6.1-r1] bash: BASH_FUNC_ml(): line 0: syntax error near unexpected token `)'
[sys-libs/ncurses-6.1-r1] bash: error importing function definition for `BASH_FUNC_ml'
[sys-libs/ncurses-6.1-r1] bash: BASH_FUNC_module(): line 0: syntax error near unexpected token `)'
[sys-libs/ncurses-6.1-r1] bash: error importing function definition for `BASH_FUNC_module'
This seems to me the same polu
Loading...