LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-29-2011, 12:26 PM   #1
e3399
Member
 
Registered: Nov 2010
Location: China
Distribution: Fedora12
Posts: 54

Rep: Reputation: 0
warning: group mockbuild does not exist - using root


I'm running fedora 14.I want to see the source code of uname.After googling,I find a way.But a problem happens.


[root@localhost usr]# whereis uname
uname: /bin/uname /usr/share/man/man1/uname.1.gz /usr/share/man/man2/uname.2.gz /usr/share/man/man1p/uname.1p.gz /usr/share/man/man3p/uname.3p.gz
[root@localhost usr]# rpm -qf /bin/uname
coreutils-8.5-7.fc14.i686
[workhard@localhost Downloads]$ yumdownloader --source coreutils-8.5-7.fc14.i686

[workhard@localhost Downloads]$ rpm -i coreutils-8.5-7.fc14.src.rpm
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root


Why I got this warning.
After installing coreutils-8.5-7.fc14.src.rpm,where can I see the source code of uname.

Last edited by e3399; 03-29-2011 at 12:34 PM.
 
Old 03-29-2011, 12:51 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153Reputation: 3153
An information message is very often named "warning".

Here the message is, that the package builder is "mockbuild".

This information is from the cpio archive,
and not necessarily readable in any file.
 
Old 03-29-2011, 01:10 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Look in /usr/src/redhat/SPECS/ for the SPEC file. Cd to this directory. Notice the coreutils.spec file.

Run the command "rpmbuild -bp coreutils.spec" to patch the source. This will uncompress the tarball(s) in /usr/src/redhat/SOURCE/, apply the patches, and the resultant source will be in /usr/src/redhat/BUILE/coreutils-<version>/.

My system is rpm based, and running "zypper si coreutils" also installed "libcap-devel". You may have some dependencies to install as well before being able to patch the source code.

---

recommendation. Since you have the source code at the ready, inside the coreutils directory, run:
./configure
make pdf

This will produce a print worthy book documenting the around 100 commands this package supplies. It will make an excellent reference.

Last edited by jschiwal; 03-29-2011 at 01:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mockbuild does not exist - installing rpm package ukwho Linux - Software 1 04-28-2010 01:50 PM
group mockbuild does not exist ameetsaha Linux - Software 5 01-25-2010 02:26 AM
warning:user mock build doesn't exist-using root ??? IndianMaverick Fedora 1 09-30-2006 08:13 AM


All times are GMT -5. The time now is 12:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration