To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=44853





------- Additional comments from [EMAIL PROTECTED] Sat Mar 12 08:57:12 -0800 
2005 -------
>>On the Debian buildds you are *not* allowed to change anything in $HOME 
>>>*except*
>>the buildir, tmp and so on. You you *can't* add a hack like this.
>
>What does this have to do with rpm?
>This is not a hack. This is how you configure rpm.

The problem is that we DO NOT have access to the rpm config there.

>>Why not call rpm with that var set to unxlngi4.pro/whatever and create BUILD
>>etc, there? (see obrs somment about $(MISC))
>
>Did you read my comment?
>|So either:
>|configure rpm properly (using ~/.rpmmacros file)
>|pass --define "_builddir some/unxlngidir" to rpm (as already the case with
>_rpmdir)

I did. then do it. Should be a trivial patch.

> Exactly. It uses the rpm you already have. If you did not configure it 
> properly,
> it is not the fault of the specfile.
> The spec does /not/ contain: "use /usr/src/rpm/BUILD" - it uses the builddir 
> as
> defined in your rpm-configuration (rpm --showrc will tell you the current
> values) It will use whatever you tell it to use.

Yes, but you should not brequire builders to configure their rpm first, this can
not be done on some systems.

> Everyone who ever has sucessfully built a rpm before will be able to build the
> freedesktop-rpm with exactly the same account.
> (Emphasis on "build" - not "package files from the disk into a rpm")

This isn't true. I always could build rpms fine on my Debian box - just as root.
I can configure it to use another dir, but AGAIN, not everyone can do this or is
allowed to do this.

>> And no, I don't consider Debian's rpm env broken, sorry. OOo should be fixed.
>
>It is not only debian's rpm. It is a general "error" of rpm to have the topdir
>default to /usr/something. It is the configuration that is broken.

Right. You should then work around it. See above. This fix *has* to be in m86 
IMHO.

> You cannot build any rpm with your environment. (again: "build", that involves
> %setup and %build).

I can, if I'm root.

> If you cannot build other rpms, you won't be able to build the freedesktop 
> rpm.

Wrong. See above.

You normally need root rights anyhow to get the file permissions right. Or how
do you set permissions if you (and rpm) are not allowed to chmod?

> Note that the apporach with the redhat and other specs is not the way rpms are
> built. In fact, the other specs don't "build" anything they only list files to
> include in the rpm.

OK, this is broken also, but it at least builds and works :-)

Regards,

Rene

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to