Home > Error Bad > Error Bad Owner/group Spec

Error Bad Owner/group Spec

I guess the rpm was originally built by user 502 on a different system, but I'm still puzzled as to why the rpm build should enforce that they are the same. Contact Sales USA: +1-866-221-0634 Canada: +1-866-221-0634 Germany: +49 89 143 01280 France: +33 1 57 60 83 57 Italy: +39 02 249 59 120 UK: +44 207 553 8447 Japan: 0120-065556 Thanks. > > Regards, > Jeff Stephens > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > -- - -- ---- ----------------------------------------- --- One problem I've been running into is that the uid and/or gids that own the spec files and source files won't always correspond to a user within the build environment. useful reference

Change owner your source file. It has been closed. Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi! How do Ispecify that I want to do a forced upgrade of the package in the C API?Thanks in advance..Regards,Ram Prakash. https://www.redhat.com/archives/rpm-list/2003-June/msg00330.html

J. You signed in with another tab or window. RHello,I have written an application in C which upgrades already runningrpmtsCreate()rpmtsAddInstallElement () /* with the upgrade flag set to 1 */rpmtsCheck()rpmtsOrder()rpmtsRun()The rpmtsRun function fails saying the package is already installed. Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc.

If you are not the intended recipient,you are notified that you are strictly prohibited from using,copying, altering, or disclosing the contents of this message.FSL accepts no responsibility for loss or damage changed all those attributesto root/root. Pour en savoir plus, veuillez cliquer sur « Préférences de cookies » ci-dessous afin de définir vos préférences de cookies.Continuer vers le site Skip to content Ignore Learn more Please drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./BUILD drwxr-xr-x 5 399 399 4096 Aug 23 15:21 ./RPMS drwxr-xr-x 2 399 399 4096 Aug 23 15:21 ./RPMS/i386 drwxr-xr-x 2 399 399

Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Rpm-list mailing list Confidentialité- FranceNotre réseau a détecté que vous êtes localisé Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 2 Star 2 Fork 2 sheepkiller/rbd-docker-plugin-rpm Code Issues 0 Pull requests 0 Projects I didn't think that was a fatal error. http://lists.rpm.org/pipermail/rpm-list/2015-April/001738.html Can't it just take the userid and group of the person doing the compiling?

directories. > > After poking through the source for rpmbuild, I didn't see any reason why the uid/gid mapping needs to be checked (it looks like it's checked once during prep this means that i have a pre-built "rpmbuild" executable thati don't have the source for at the moment, so i'm kind of limited in thatrespect.as part of the rebuild process, the but i've tried variouscombinations -- i've unloaded the tarball, changed the owner and groupof the contents, and zipped it up again. It goes through the process and gives the following error at the end.

Thank you.Inet Technologies, Inc.------------------------------------------------------------------------ Robert P. If you are not theintended recipient, you are hereby notified that any disclosure,copying, distribution or reliance upon the contents of this e-mailmessage is strictly prohibited. Dayi *know* this has come up before, and i've already skimmed what googlefound for me.i have a cross-compile toolchain that i'm trying to use to cross compilea src rpm. powered by phorum Content reproduced on this site is the property of the respective copyright holders.

Kaiser) References: Having problems with rpm --rebuild From: David Stuart Re: Having problems with rpm --rebuild From: David Stuart Re: Having problems with rpm --rebuild From: Jim Knoble see here Free forum by Nabble Edit this page [email protected] Discussion: "Error: Bad owner/group" while rebuilding src rpm (too old to reply) Robert P. I do the following:rpmtsCreate()rpmtsAddInstallElement () /* with the upgrade flag set to 1 */rpmtsCheck()rpmtsOrder()rpmtsRun()The rpmtsRun function fails saying the package is already installed. As long as rpmbuild has the access it needs at the filesystem level, it doesn't seem to have any issues. > > Here is the patch for the changes I made

thanks for any pointers.rday Eli Carter 2004-01-15 19:56:31 UTC PermalinkRaw Message Post by Robert P. Regards, Jeff Stephens Najib Ninaba-2 Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Trouble using latest source to build R***************************************************************************This message is proprietary to Future Software Limited (FSL)and is intended solely for the use of the individual to whom itis addressed. this page Best regards rastaman closed this Sep 15, 2015 Sign up for free to join this conversation on GitHub.

It may contain privileged or confidential informationand should not be circulated or used for any purpose other than forwhat it is intended.If you have received this message in error, please notify What does this mean? flp->gname) { > + flp->gname = ""; > } > > fl.files.used++; > diff -uNr rpm-4.11.1/build/parsePrep.c rpm-4.11.1.new/build/parsePrep.c > --- rpm-4.11.1/build/parsePrep.c 2012-11-18 01:21:06.000000000 -0700 > +++ rpm-4.11.1.new/build/parsePrep.c 2015-04-10 11:16:28.217096498 -0600 > @@

If you have received this e-mailtransmission in error, please reply to the sender, so that properdelivery can be arranged, and please delete the message from yourcomputer.

Create a .rpmmacros file in your home directory that contains the following: [snip] Then create the following directory structure under your home directory: [snip] Then do 'rpm --rebuild' as yourself. I didn't think that was a fatal error. J. Anyway, here is my question, reprinted from the above link: > > I've been working on a automated rpm build system for my organization (similar to mock, but with some key

what did thiserror message used to represent? Is this a local problem, or a build server problem? I tested my patched rpmbuild in environments with good uid/gid mappings and bad uid/gid mappings and it seems to build just fine in both cases. http://axishost.net/error-bad/error-bad-owner-group-usr-src-redhat-specs.php HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/yp-engineering/rbd-docker-plugin/tar.gz/0.1.9 [following] --2015-05-03 17:32:59-- https://codeload.github.com/yp-engineering/rbd-docker-plugin/tar.gz/0.1.9 ... 2015-05-03 17:32:59 (154 KB/s) - '/root/rpmbuild/SOURCES/0.1.9.tar.gz' saved [17967] .... --2015-05-03 17:32:59-- https://raw.githubusercontent.com/sheepkiller/rbd-docker-plugin/master/logrotate.d/rbd-docker-plugin_logrotate ... 2015-05-03 17:33:00 (22.7 MB/s)

Day 2004-01-15 20:09:23 UTC PermalinkRaw Message -----Original Message-----From: Eli Carter <***@inet.com>Sent: Jan 15, 2004 2:56 PMTo: rpm-***@redhat.comSubject: Re: "Error: Bad owner/group" while rebuilding src rpmPost by Robert P. J. I changed to root and issued the > command: > > # rpm -ba wxPythonGTK.spec > > Everything went along fine for a while, and then I get the following error: Dayi *know* this has come up before, and i've already skimmed what googlefound for me....Hmm....

I'm assuming you are doing:rpmbuild -bp SPECS/mypackage.specand getting some sort of "Error: Bad owner/group" message.You might check your %files section. This causes rpmbuild to throw a "Bad owner/group" error and quit without building. Reload to refresh your session. Dayi *know* this has come up before, and i've already skimmed what googlefound for me....Hmm....

If you're using rpm v4, you should begin getting used to: rpmbuild --rebuild this didn't seem to make a difference... Terms Privacy Security Status Help You can't perform that action at this time. Florian On 04/15/2015 09:11 PM, Jay Hendren wrote: > Hey folks, > > I've cross-posted this same question to the RPM GitHub issue tracker (https://github.com/rpm-software-management/rpm/issues/2), but given that there appears to Reload to refresh your session.

Anyway, thanks for this package it will help a lot to build containers with persistent storage. The file is readable by all... Alternatively, use rpm2cpio and cpio to determine what the bad user or group is: [snip] [[email protected] downloads]$ rpm2cpio NVIDIA_kernel-1.0-2960.src.rpm | cpio -tv -rw-rw-r-- 1 curt 502 416410 May 14 11:26 NVIDIA_kernel-1.0-2960.tar.gz Thanks for your help, BTW.

Has anyone seen this before? + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip + /usr/lib/rpm/brp-strip-static-archive + /usr/lib/rpm/brp-strip-comment-note error: Bad owner/group: /home/.users/112/admin//mysql-4.1.9/mysql-4.1.9.spec Navigate:Previous Message•Next Message Options:Reply•Quote Subject Written By Posted Bad owner/group rpm problem Paul Aviles How do Ispecify that I want to do a forced upgrade of the package in the C API?The equivalent of --force in the C API is setting the right rpm problemfilter I downloaded the latest source, wxPythonSrc-, unzipped and untarred it, cd'd to the wxPythonSrc- directory, and edited wxPythonGTK.spec changing "%define builtin_libs 1" to "%define builtin_libs 0" as suggested.