On Wed, Jun 3, 2009 at 5:20 AM, Willy Sudiarto Raharjo
<[email protected]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>> You need to use "RPM=LD_PRELOAD=/path/to/system//libnss3.so rpmbuild"
>> or use the patch from issuezilla
>> http://qa.openoffice.org/issues/show_bug.cgi?id=84787
>
> It still failed on my build

You did not properly apply the patch.

> Here's the output of the log
> Systemcall: rpm --version |

-       my $systemcall = "rpm --version |";
+
+       $ldpreloadstring = redhat_get_ld_preload_string() . " ";
+
+       my $systemcall = $ldpreloadstring . "rpm --version |";

Even with ldpreloadstring being emty, there still should be the
additional space that is added in your logs, same for the actual
rpmbuild call
-               my $systemcall = "$rpmcommand -bb $specfilename --target 
$target 2\>\&1 |";
+
+               $ldpreloadstring = redhat_get_ld_preload_string() . " ";
+
+               my $systemcall = $ldpreloadstring . "$rpmcommand -bb 
$specfilename
--target $target 2\>\&1 |";

But your log contains:
Try 1 : Could not execute "rpmbuild -bb RPMS/ooobasis3.1-core01.spec
- --target i586  2>&1 |"!

So check whether you did completely apply the patch, or export it manually.

ciao
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to