Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-29-2011, 11:26 AM   #1
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
[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 11:34 AM.
Old 03-29-2011, 11:51 AM   #2
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2018 CentOS6.10 CentOS7.5 + 50+ other Linux OS, for test only.
Posts: 17,084

Rep: Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486Reputation: 3486
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, 12:10 PM   #3
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
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:
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 12:21 PM.


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 12:50 PM
group mockbuild does not exist ameetsaha Linux - Software 5 01-25-2010 01:26 AM
warning:user mock build doesn't exist-using root ??? IndianMaverick Fedora 1 09-30-2006 07:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 AM.

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