1 |
Hi Martin,
|
2 |
|
3 |
Shall we discuss technical issues and bugs in the public mailing list?
|
4 |
|
5 |
Martin MOKREJŠ <mmokrejs@×××××.com> writes:
|
6 |
|
7 |
> Yeah, but your scripts should also call bash with those two options, |
8 |
|
9 |
IMHO, your system has a bogus /ete/profile. And you can undo the
|
10 |
system-wide hacks in your $HOME/.profile and/or $HOME/.bash_profile on
|
11 |
your own.
|
12 |
|
13 |
It is hard for me to regard this as a bug of bootstrap-prefix.sh.
|
14 |
|
15 |
Some users will later need to add some customization in their profile to
|
16 |
achieve something with the bootstrap script. Your proposed modification
|
17 |
will be a regression for them.
|
18 |
|
19 |
> Martin MOKREJŠ napsal(a): |
20 |
> How about the following? |
21 |
> |
22 |
> https://wiki.gentoo.org/wiki/Project:Prefix/Bootstrap |
23 |
> |
24 |
> - ./bootstrap-bash.sh /var/tmp/bash |
25 |
> + ~/bash-4.4/bash ./bootstrap-bash.sh --noprofile --norc /var/tmp/bash |
26 |
|
27 |
I hesitate to do changes like this. Because it might introduce
|
28 |
unpredicted regressions, and our build farm need more work to function
|
29 |
perfectly to guard against these regressions.
|
30 |
|
31 |
Yours,
|
32 |
Benda
|
33 |
|
34 |
> as I am still getting: |
35 |
> |
36 |
> Connecting to distfiles.gentoo.org|64.50.233.100|:80... connected. |
37 |
> HTTP request sent, awaiting response... 200 OK |
38 |
> Length: 1319 (1.3K) |
39 |
> Saving to: `/apps/gentoo/usr/portage/distfiles/bash44-018' |
40 |
> |
41 |
> 0K . 100% 68.7M=0s |
42 |
> |
43 |
> 2018-03-12 05:31:47 (68.7 MB/s) - `/apps/gentoo/usr/portage/distfiles/bash44-018' saved [1319/1319] |
44 |
> |
45 |
> * bash44-018 BLAKE2B SHA512 size ;-) ... [ ok ] |
46 |
>>>> Downloading 'http://distfiles.gentoo.org/distfiles/bash44-019' |
47 |
> --2018-03-12 05:31:48-- http://distfiles.gentoo.org/distfiles/bash44-019 |
48 |
> Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 140.211.166.134, ... |
49 |
> Connecting to distfiles.gentoo.org|216.165.129.135|:80... connected. |
50 |
> HTTP request sent, awaiting response... 200 OK |
51 |
> Length: 1671 (1.6K) [text/plain] |
52 |
> Saving to: `/apps/gentoo/usr/portage/distfiles/bash44-019' |
53 |
> |
54 |
> 0K . 100% 161M=0s |
55 |
> |
56 |
> 2018-03-12 05:31:48 (161 MB/s) - `/apps/gentoo/usr/portage/distfiles/bash44-019' saved [1671/1671] |
57 |
> |
58 |
> * bash44-019 BLAKE2B SHA512 size ;-) ... [ ok ] |
59 |
> [app-shells/bash-4.4_p19] bash: BASH_FUNC_module(): line 0: syntax error near unexpected token `)' |
60 |
> [app-shells/bash-4.4_p19] bash: BASH_FUNC_module(): line 0: `BASH_FUNC_module() () { eval $($LMOD_CMD bash "$@");' |
61 |
> [app-shells/bash-4.4_p19] bash: error importing function definition for `BASH_FUNC_module' |
62 |
> [app-shells/bash-4.4_p19] bash: BASH_FUNC_ml(): line 0: syntax error near unexpected token `)' |
63 |
> [app-shells/bash-4.4_p19] bash: BASH_FUNC_ml(): line 0: `BASH_FUNC_ml() () { eval $($LMOD_DIR/ml_cmd "$@")' |
64 |
> [app-shells/bash-4.4_p19] bash: error importing function definition for `BASH_FUNC_ml' |
65 |
>>>> Unpacking source... |
66 |
>>>> Unpacking bash-4.4.tar.gz to /apps/gentoo/tmp/var/tmp/portage/app-shells/bash-4.4_p19/work |
67 |
>>>> Source unpacked in /apps/gentoo/tmp/var/tmp/portage/app-shells/bash-4.4_p19/work |
68 |
>>>> Preparing source in /apps/gentoo/tmp/var/tmp/portage/app-shells/bash-4.4_p19/work/bash-4.4 ... |
69 |
> * Applying bash44-001 ... |
70 |
> [ ok ] |
71 |
> * Applying bash44-002 ... |
72 |
> [ ok ] |
73 |
> * Applying bash44-003 ... |
74 |
> [ ok ] |
75 |
> |
76 |
> |
77 |
> |
78 |
> |
79 |
> Benda Xu napsal(a): |
80 |
>> Martin MOKREJŠ <mmokrejs@×××××.com> writes: |
81 |
>> |
82 |
>>> [sys-libs/ncurses-6.1-r1] bash: BASH_FUNC_ml(): line 0: syntax error near unexpected token `)' |
83 |
>>> [sys-libs/ncurses-6.1-r1] bash: BASH_FUNC_ml(): line 0: |
84 |
>>> `BASH_FUNC_ml() () { eval $($LMOD_DIR/ml_cmd "$@")' |
85 |
>>> [sys-libs/ncurses-6.1-r1] bash: error importing function definition for `BASH_FUNC_ml' |
86 |
>>> [sys-libs/ncurses-6.1-r1] bash: BASH_FUNC_module(): line 0: syntax error near unexpected token `)' |
87 |
>>> [sys-libs/ncurses-6.1-r1] bash: BASH_FUNC_module(): line 0: |
88 |
>>> `BASH_FUNC_module() () { eval $($LMOD_CMD bash "$@");' |
89 |
>>> [sys-libs/ncurses-6.1-r1] bash: error importing function definition for `BASH_FUNC_module' |
90 |
>> |
91 |
>> This seems to me the same polution by modules. |