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.


** Changed in: Ubuntu
Sourcepackagename: None => openoffice.org
     Assignee: (unassigned) => Matthias Klose
       Status: Confirmed => In Progress

-- 
openoffice.org FTBFS, when built on edgy's kernel
https://launchpad.net/bugs/62590

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to