[R-repo-dev] Setup for build Was: Re: Update
Dan Bolser
dan.bolser at gmail.com
Tue May 4 17:49:10 EDT 2010
The topic of this thread has drifted, so I renamed it.
About the build instructions here:
http://www.bioinformatics.org/wiki/R-repo/setup_for_build
Should I create the directory structure (somewhere) to match what you
have? (Section beginning "There is the tree structure of ~/repo:"). I
see later on you say 'Create the folder ~/repo/RPMS'... I'll return to
this in a question below.
I'm confused by the section 'Configure mock'. What's mock? (And where
is its configuration file?) What's all that stuff under /etc/mock/? I
don't know which file I should edit :-(
ls /etc/mock/
centos-3-i386.cfg fedora-4-ppc-core.cfg
centos-3-ia64.cfg fedora-4-ppc-epel.cfg
centos-3-x86_64.cfg fedora-4-x86_64-core.cfg
centos-4-i386.cfg fedora-4-x86_64-epel.cfg
centos-4-ia64.cfg fedora-5-i386-core.cfg
centos-4-x86_64.cfg fedora-5-ppc-core.cfg
centos-5-i386.cfg fedora-5-x86_64-core.cfg
centos-5-x86_64.cfg fedora-6-i386-core.cfg
default.cfg fedora-6-ppc-core.cfg
defaults.cfg fedora-6-x86_64-core.cfg
fedora-1-i386-core.cfg fedora-devel-i386-core.cfg
fedora-2-i386-core.cfg fedora-devel-ppc-core.cfg
fedora-3-i386-core.cfg fedora-devel-x86_64-core.cfg
fedora-3-x86_64-core.cfg redhat-73-i386.cfg
fedora-4-i386-core.cfg redhat-8-i386.cfg
fedora-4-i386-epel.cfg redhat-9-i386.cfg
I'm not saying the instructions need to explain all details, just give
a clear path to dummies like me ;-)
Section "Retrieve the srpm". You use the bioinformatics.org folder
relative to your home dir on that box. The full path would be better
here. (D'oh... I see what you're doing now!)
Seems the files are not owned by the r-repo group?
ls /userroot/pingou/r-repo/rpms/SRPMS/
ls: /userroot/pingou/r-repo/rpms/SRPMS/: Permission denied
??
drwxr-xr-x 2 pingou users 77824 Apr 27 05:39 ../pingou/r-repo/rpms/SRPMS
I'm a users!
OK, I'm rsyncing those files now (I found an alternative path that worked):
[dan-local at box SRPMS]$ rsync -av --progress
me at bioinformatics.org:/.../r-repo/rpms/SRPMS/ ./
I'm syncing directly into the directory 'SRPMS' that I created by
copying the tree structure of the repo in your diagram. Is that
correct? It isn't clear from your notes. If I'm doing it right, let me
know, and I'll edit the page.
Now for a more general question... Does the above apply to Centos? I
notice that all the SRPM are tagged ".fc12.src.rpm". Is this just an
error? How come source is vendor specific?
Sorry for the beginner questions!
rsync took longer than this email (it's still running).
Dan.
On 4 May 2010 20:45, Pierre-Yves <pingou at pingoured.fr> wrote:
> On Tue, 2010-05-04 at 07:51 +0200, Pierre-Yves wrote:
>> The idea is:
>> - Rsync all the srpm
>> - Get the script smock.pl
>> - configure correctly the files for the repository:
>> - the smock.pl (one line to adjust)
>> - the mock config file
>> - run smock
>>
>> I will try to be more precise tonight :)
>>
> So tonight it is and there are the instruction:
> http://www.bioinformatics.org/wiki/R-repo/setup_for_build
>
> I hope I have not forgotten anything, if so feel free to ask and/or edit
> the page.
>
> Pierre
>
> _______________________________________________
> R-repo-dev mailing list
> R-repo-dev at bioinformatics.org
> http://www.bioinformatics.org/mailman/listinfo/r-repo-dev
>
More information about the R-repo-dev
mailing list