2006-09-27 09:40:42 |
Matthias Klose |
bug |
|
|
added bug |
2006-09-27 09:41:05 |
Matthias Klose |
None: status |
Unconfirmed |
Confirmed |
|
2006-09-27 09:41:05 |
Matthias Klose |
None: importance |
Undecided |
High |
|
2006-09-27 09:41:05 |
Matthias Klose |
None: statusexplanation |
|
|
|
2006-09-27 09:41:19 |
Matthias Klose |
bug |
|
|
added subscriber OpenOffice.org Scribblers |
2006-09-27 09:41:56 |
Matthias Klose |
bug |
|
|
added subscriber darkrevival |
2006-09-27 09:43:10 |
Matthias Klose |
bug |
|
|
added subscriber Ubuntu Kernel Team |
2006-09-28 12:20:29 |
Matthias Klose |
None: status |
Confirmed |
In Progress |
|
2006-09-28 12:20:29 |
Matthias Klose |
None: assignee |
|
doko |
|
2006-09-28 12:20:29 |
Matthias Klose |
None: statusexplanation |
|
not a kernel issue at all, fooled by the upgrade of davis, where the kernel *and* the /bin/sh symlink changed at the same time.
the culprit is a perl build script in OOo, leading to the obscure failure:
sub suck_setup($)
{
my $file = shift;
if (-f $file) {
print "Reading setup from $file\n";
open ($Vars, ". $file ; set|") || die "Can't find $file: $!";
while (<$Vars>) {
/([^=]*)=(.*)/ || next;
$setup_vars{$1} = $2;
}
close ($Vars);
return 1;
}
return 0;
}
apparently dash does quotes all the variables, even if quoting is unnecessary. OOo relies on that :-/ Fixing that in the script:
open ($Vars, "bash -c '. $file ; set'|") || die "Can't find $file: $!";
Apparently perl always executes shell scripts using /bin/sh and doesn't use the SHELL environment variable at all.
|
|
2006-09-28 12:21:48 |
Matthias Klose |
dash: status |
Unconfirmed |
Confirmed |
|
2006-09-28 12:21:48 |
Matthias Klose |
dash: statusexplanation |
|
not sure, if it's a bug in dash, or just different behaviour |
|
2006-09-28 12:22:30 |
Matthias Klose |
bug |
|
|
added subscriber Adam Conrad |
2006-09-28 12:23:58 |
Matthias Klose |
bug |
|
|
added subscriber Scott James Remnant |
2006-10-02 10:04:36 |
Matthias Klose |
openoffice.org: status |
In Progress |
Fix Released |
|
2006-10-02 10:04:36 |
Matthias Klose |
openoffice.org: statusexplanation |
not a kernel issue at all, fooled by the upgrade of davis, where the kernel *and* the /bin/sh symlink changed at the same time.
the culprit is a perl build script in OOo, leading to the obscure failure:
sub suck_setup($)
{
my $file = shift;
if (-f $file) {
print "Reading setup from $file\n";
open ($Vars, ". $file ; set|") || die "Can't find $file: $!";
while (<$Vars>) {
/([^=]*)=(.*)/ || next;
$setup_vars{$1} = $2;
}
close ($Vars);
return 1;
}
return 0;
}
apparently dash does quotes all the variables, even if quoting is unnecessary. OOo relies on that :-/ Fixing that in the script:
open ($Vars, "bash -c '. $file ; set'|") || die "Can't find $file: $!";
Apparently perl always executes shell scripts using /bin/sh and doesn't use the SHELL environment variable at all.
|
fixed.
|
|
2008-02-06 16:29:56 |
Matthias Klose |
dash: status |
Confirmed |
Won't Fix |
|