Thanks Smith for reminder. I use HP-UX and can use --numeric-owner option for tar command to let tar use numeric owner, not to use the original owner.
Thanks Herta for your suggestion. I should ask administrator for help to add uid in the /etc/passwd file since I do not have the super user right. Best regards. carl 2009/9/9 <[email protected]> > Send Help-make mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gnu.org/mailman/listinfo/help-make > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Help-make digest..." > > > Today's Topics: > > 1. Re: tar: couldn't get uname for uid 70099 (Herta Van den Eynde) > 2. Re: tar: couldn't get uname for uid 70099 (Paul Smith) > 3. make- target specific variables (Venkata Rajasekharu) > 4. Re: make- target specific variables (CHEN Cheng) > 5. Re: make- target specific variables (Paul Smith) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 7 Sep 2009 23:43:39 +0200 > From: Herta Van den Eynde <[email protected]> > Subject: Re: tar: couldn't get uname for uid 70099 > To: xiangfeng shen <[email protected]>, [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Carl, > > Are these files on a filesystem you share with another computer? (nfs, > samba, ...) Then the best way to proceed probably is to create an account > with uid 70099, similar to the one on the other system. > > If you do not share the files with another computer, then the account that > originally owned the files may have been deleted. You can then either > again > create an account with uid 70099, or change the ownership of the files to > an > exitsing account. > > Kind regards, > > Herta > > 2009/9/7 xiangfeng shen <[email protected]> > > > Hi Herta, > > > > There is no uid 70099 in /etc/passwd. > > En, I try to fix it as it complains every time when I build. > > I tried several methods, but do know how to:-( > > Any suggestion? > > > > Best regards. > > carl > > > > 2009/9/7 Herta Van den Eynde <[email protected]> > > > > Hi Carl Shen, > >> > >> Is there a uid 70099 in /etc/passwd? > >> > >> Kind regards, > >> > >> Herta > >> > >> > >> 2009/9/6 xiangfeng shen <[email protected]> > >> > >>> HI, > >>> > >>> I encounter an issue when buillding. > >>> tar: couldn't get uname for uid 70099 > >>> I google it for a suggestion: > >>> #chown -R <username>:<groupname> /xxx > >>> But I can't get the $uid and $gid in make file. > >>> Could any guys can help me? > >>> > >>> Best regards. > >>> carl shen > >>> > >>> Next is the detail log: > >>> tar cfh opc_pkg/cc.tar cc/bin/checkCCports > cc/bin/checkCCprocs > >>> cc/bin/cleanDb.sh cc/bin/delPartialLogData cc/bin/exportDB > >>> cc/bin/importDB cc/bin/installCron.sh cc/bin/installDB > cc/bin/installGUI > >>> cc/bin/installsnmpv3.sh cc/bin/opc_pgsql cc/bin/reloadDB > >>> cc/bin/runBICserver cc/bin/runConfig cc/bin/runEvent > cc/bin/runPGserver > >>> cc/bin/runPm cc/bin/runSession cc/bin/runSnmpAgent > cc/bin/startApache > >>> cc/bin/startCC cc/bin/startPostmaster cc/bin/startTomcat > >>> cc/bin/stopApache cc/bin/stopBICserver cc/bin/stopCC > cc/bin/stopPGserver > >>> cc/bin/stopPostmaster cc/bin/stopSnmpAgent cc/bin/stopTomcat > >>> cc/bin/updatessl.sh cc/bin/updateCCports cc/bin/updateGUIdelay > >>> cc/bin/vacuumDB cc/conf cc/libs > >>> tar: couldn't get uname for uid 70099 > >>> tar: couldn't get uname for uid 70099 > >>> tar: couldn't get uname for uid 70099 > >>> *** Error code 5 > >>> clearmake: Error: Build script failed for "CC_PKG" > >>> > >>> _______________________________________________ > >>> Help-make mailing list > >>> [email protected] > >>> http://lists.gnu.org/mailman/listinfo/help-make > >>> > >>> > >> > >> > >> -- > >> "Life on Earth may be expensive, > >> but it comes with a free ride around the Sun." > >> > > > > > > > -- > "Life on Earth may be expensive, > but it comes with a free ride around the Sun." > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.gnu.org/pipermail/help-make/attachments/20090907/3225d0fe/attachment.html > > ------------------------------ > > Message: 2 > Date: Tue, 08 Sep 2009 01:00:31 -0400 > From: Paul Smith <[email protected]> > Subject: Re: tar: couldn't get uname for uid 70099 > To: Herta Van den Eynde <[email protected]> > Cc: [email protected], xiangfeng shen <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain > > On Mon, 2009-09-07 at 23:43 +0200, Herta Van den Eynde wrote: > > > 2009/9/6 xiangfeng shen <[email protected]> > > > > HI, > > > > I encounter an issue when buillding. > > tar: couldn't get uname for uid 70099 > > I google it for a suggestion: > > #chown -R <username>:<groupname> /xxx > > But I can't get the $uid and $gid in make > > file. > > Could any guys can help me? > > > > Best regards. > > carl shen > > > > Next is the detail log: > > tar cfh opc_pkg/cc.tar > > cc/bin/checkCCports cc/bin/updateGUIdelay > > cc/bin/vacuumDB cc/conf cc/libs > > tar: couldn't get uname for uid 70099 > > tar: couldn't get uname for uid 70099 > > tar: couldn't get uname for uid 70099 > > *** Error code 5 > > clearmake: Error: Build script failed for > > "CC_PKG" > > First, this question has nothing to do with GNU make. This mailing list > is for help with using and writing makefiles for GNU make, not generic > questions related to any package that uses a makefile. > > Second, your problem cannot be solved without know what operating system > you're running this on, etc. Different versions of tar have different > options that can be used to force the unpacked files to have the local > uid/gid rather than the one that was contained in the tar file; see the > man page for tar on your system. > > If you can't figure it out, please contact someone who knows about the > software you're trying to build: only they can help you solve this > problem. > > Good luck! > > -- > > ------------------------------------------------------------------------------- > Paul D. Smith <[email protected]> Find some GNU make tips at: > http://www.gnu.org http://make.mad-scientist.net > "Please remain calm...I may be mad, but I am a professional." --Mad > Scientist > > > > > ------------------------------ > > Message: 3 > Date: Tue, 8 Sep 2009 10:12:52 +0530 > From: Venkata Rajasekharu <[email protected]> > Subject: make- target specific variables > To: [email protected], [email protected] > Message-ID: > <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi all, > > makefile: > --------------------- > > VAR = 1 $< 1 > all : VAR += 2 $< 2 > > all: makefile > echo $(VAR) > > ------------------- > > bash-3.00$ make > 1 1 2 makefile 2 > > Since VAR is a recursively defined variable its value should be evaluated > during the command execution. > > But why it is not > "1 makefile 1 2 makefile 2 " > > > - Regards, > Rajasekhar. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.gnu.org/pipermail/help-make/attachments/20090908/50e85560/attachment.html > > ------------------------------ > > Message: 4 > Date: Tue, 8 Sep 2009 20:38:29 +0800 > From: CHEN Cheng <[email protected]> > Subject: Re: make- target specific variables > To: Venkata Rajasekharu <[email protected]> > Cc: [email protected], [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > On Tue, Sep 08, 2009 at 10:12:52AM +0530, Venkata Rajasekharu wrote: > > Hi all, > > > > makefile: > > --------------------- > > > > VAR = 1 $< 1 > > all : VAR += 2 $< 2 > > > > all: makefile > > echo $(VAR) > > > > ------------------- > > > > bash-3.00$ make > > 1 1 2 makefile 2 > > > > Since VAR is a recursively defined variable its value should be evaluated > > during the command execution. > > > > But why it is not > > "1 makefile 1 2 makefile 2 " > > > > I get "1 makefile 1 2 makefile 2" as expected. > > My gmake version is 3.81. Which version do you use? > > > Best, > Cheng > > > > > ------------------------------ > > Message: 5 > Date: Tue, 08 Sep 2009 09:11:04 -0400 > From: Paul Smith <[email protected]> > Subject: Re: make- target specific variables > To: Venkata Rajasekharu <[email protected]> > Cc: [email protected], [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain > > On Tue, 2009-09-08 at 10:12 +0530, Venkata Rajasekharu wrote: > > Hi all, > > > > makefile: > > --------------------- > > VAR = 1 $< 1 > > all : VAR += 2 $< 2 > > > > all: makefile > > echo $(VAR) > > ------------------- > > > > bash-3.00$ make > > 1 1 2 makefile 2 > > > > Since VAR is a recursively defined variable its value should be > > evaluated during the command execution. > > > > But why it is not > > "1 makefile 1 2 makefile 2 " > > I get "1 makefile 1 2 makefile 2", using GNU make 3.81. > > BTW, please choose either bug-make OR help-make, but not both, when > asking questions. Thanks! > > -- > > ------------------------------------------------------------------------------- > Paul D. Smith <[email protected]> Find some GNU make tips at: > http://www.gnu.org http://make.mad-scientist.net > "Please remain calm...I may be mad, but I am a professional." --Mad > Scientist > > > > > ------------------------------ > > _______________________________________________ > Help-make mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-make > > > End of Help-make Digest, Vol 82, Issue 4 > **************************************** >
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
