FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-09-2012, 09:38 PM
"David A. Marlin"
 
Default performing a scratch build of anaconda from git master

I wanted to do a scratch build of the current git master (head). I
tried following the instructions on:


https://fedoraproject.org/wiki/Using_Fedora_GIT

but I'm missing something in the process.

Initially I just tried:

fedpkg --dist=f18 srpm

but there was no spec file.

I then pulled down anaconda-18.3-1.fc18.src.rpm and borrowed the spec
file from there. Trying fedpkg again gave:


$ fedpkg --dist=f18 srpm
Could not make an srpm:
/discer.farm/es/scratch/dmarlin/gitfedora/anaconda is not a valid repo:
[Errno 2] No such file or directory:
'/es/scratch/dmarlin/gitfedora/anaconda/sources'


which is true, there is no 'sources' file in the repo.

I then tried the steps in the spec file:

# To generate Source0 do:
# git clone http://git.fedorahosted.org/git/anaconda.git
# git checkout -b archive-branch anaconda-%{version}-%{release}
# ./autogen.sh
# make dist

but encountered a new error:

$ make dist
make: *** No rule to make target `dist'. Stop.

because we don't have a Makefile (just Makefile.in).

What is the correct way to do a scratch build from the head of git
master (latest changes)?



Thank you,

d.marlin

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 08-09-2012, 11:17 PM
Jesse Keating
 
Default performing a scratch build of anaconda from git master

On 08/09/2012 02:38 PM, David A. Marlin wrote:

but encountered a new error:

$ make dist
make: *** No rule to make target `dist'. Stop.

because we don't have a Makefile (just Makefile.in).

What is the correct way to do a scratch build from the head of git
master (latest changes)?



Looks like you skipped the ./autogen.sh step, or had errors with it that
you aren't posting here.


--
Jesse Keating
Fedora -- Freedom˛ is a feature!

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 10:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org