Koji, and FTBFS in Enterprise Linux
In terms of an expirement, I've been rebuilding Enterprise Linux packages, including updates, including Extra Packages for Enterprise Linux, in order to learn from it and take away a couple of notes on the subject; Here's a brief overview of what I've found so far;
- Package build requirements may be off
Maybe some package required foo-1.0 in the buildroot, but foo has been updated to foo-1.1, obsoleting the foo-1.0 update as it is pushed to the updates channel.
The most obvious case in a name-change of python-setuptools-devel, for which the -devel part became part of the python-setuptools package itself, without providing "python-setuptools-devel". All of the dependent packages will now fail to build because of this change. In terms of Enterprise Linux, this type of change causes everything in it's realm to no longer be reproducible, which is a key aspect of Enterprise Linux to begin with, as no reproducibility means no certainty about what's going to end up on the consumer's system.
- Koji does not allow all builds of all packages in its static repositories by default
By default, Koji will only take the latest successful build in a tag in its static repositories. While perfectly fine in the case of FTBFS exercises, it bubbles down the inheritance all the way to the point where you don't need the latest package, but the former version. FWIW, "latest" isn't defined as "highest package NEVRA" either, it's "last build completion time". I would rather make it a configuration setting at some point, but I'll share the patch I made anyway.
- BuildNotifications are at the end of the queue
When building a lot of packages, all of the build tasks have a higher priority then the notification tasks that let people know what the result of a build was. Initially, I thought something was wrong with my environment, but with the help of Dennis Gilmore over in #koji on FreeNode, I learned that it is in fact the priority in Koji, not my environment.
Again I would love to make this a configurable thing some day, but here's the patch I made to let buildNotification tasks have a higher priority then anything else.
- "%patch without Patch"
This is the most amazing sort of problem. RPM spec files will have a conditional %if statement that in a simple `rpmbuild -bs` will cause the Patch file to not be included. A very simple fix would be to never ever use the conditional inclusion of a Patch file when building the source RPM package, but instead use the conditional during the actual build.
- (No) Naming Convention
The naming convention, or lack thereof, makes it so one needs a `yum whatprovides` or `repoquery whatprovides` to resolve build requirements. A naming convention could be to say, that if a package includes libuuid.so.*, a (meta-)package libuuid is (automatically) created, or to make yum so intelligent as to resolve a "libuuid" type of build requirement to the actual package, not unlike it does for binary packages when you use `yum install` and the package in question doesn't explicitely require libuuid.so through the original RPM spec file, but RPM inserted the library dependency automatically.
- The (lack of) use of dist-tags
Some packages do, while others do not, include a dist-tag. For downstreams like myself, this causes the downstream to only be able to build the packages in question only once, since the N-V-R needs to be unique all across the build system. In certain circumstances, it is entirely justifiable to rebuild a large subset of packages included in the upstream distribution as well as the add-on repository; for one, being able to run Ruby 1.9.1 with a large part of its Gems causes one to re-negotiate the use of dist-tags:
- On the end-user system, rubygem-foo for Ruby 1.9.1 needs to be distinguishible from rubygem-foo for Ruby 1.8.6. And that's just the user side of things. Failure to make it distinguishible in some or the other fashion causes a significant load on the support side of things.
- Throughout the build- and distribution-channels, whether they be repositories or not, rubygem-foo-1.0 for Ruby 1.8.6 *must* be smaller in terms of package NEVRA then, say, rubygem-foo-1.0 for Ruby 1.9.1, in order for the Ruby 1.9.1 fast-track to be viable on any end-user system.
- Since not using dist-tags would allow rubygem-foo-1.0-1.src.rpm (or whathaveyou) to be built only once, this cannot be a package that has any kind of binary/library linking going on with Ruby itself. In order for the package to be allowed to be rebuilt more then once, against different stacks, a dist-tag must be introduced.
- buildsys-macros is not available through the distribution
It appears as if the buildsys-macros package is not available through the EL or EPEL repositories. Of course, this is a build system thing, and would not be used on the end-user system. For a downstream buildsystem though, having this package be part of the repository might save someone some headache.
- There's no build group
When setting up a downstream build system environment, you use groups (or a buildroot initialization command actually), which will initially attempt to use "build" as the group name. However, EPEL only includes a buildsys-build group (of which buildsys-macros isn't part of course). It might be a little easier for downstream build environments to (re-)use an existing build group as to not modify their local koji foo all too much.
- It takes a lot of CPU cycles
Plan for an enormous amount of CPU cycles to be spent at whatever you're building. In my particular case, a great deal of the cycles are I/O wait ;-) Maybe I should plan for better performance storage across my builders, but for now I'll have to work with what I have available. As a not-so-minor side-note, if you plan on just building a few packages every once in a while, as opposed to continuously rebuilding a lot of packages, this is a less significant parameter.
- When using external repositories...
If you use external repositories, plan to have some memory available. Every once in a while, the `mergerepos` command executed by Koji consumes more memory then Thunderbird does at that moment, which should tell you enough.
So far so good, while you may be wondering while I'm doing this type of stuff. Well, it's a very interesting and challenging area, which makes it fun to do. Besides, it allows me to play around with different tasks I was going to try and execute, like providing some of the packages that cannot be in Fedora (mod_passenger), or cannot go into EPEL (rails3, ruby-1.9.1, you name it). I would like to return a certain amount of option value into the hands of Linux consumers, but in an efficient manner as opposed to everyone who needs certain foo doing it themselves in a million different ways (== unsustainable). That's what I'm working on, or at least some of the details concerning such.
|
GEOxZUTG XzvlNtB
GEOxZUTG XzvlNtB
Christian Louboutin shoes
Christian Louboutin shoes new-style?
Welcome to our site,All Best Replica Chloe Handbags and fashion Chloe are here.
As its convenient and roomy design, Gucci Purses is very suitable for daily usage or for office using.
Stylish 2009 Famous Silver Tiffany & Co. Earrings 001 $36.99.
men's watches USA is an online store providing consumers with great prices for quality mens watches.
Cheap Replica Patek Philippe Watcheshere.
Philip Stein Watches at Watch Click.
The latest in Bottega Veneta Handbags, purses and accessories at the Purse Blog
UGG Classic Short Boots New Style.
Worldwide Free shipping,Cheap Nike Dunk SB Shoes.
Buy cheap polo Shirts,polo shirt,lacoste polo shirts,ralph lauren polo shirts,wholesale polo shirts.
Shop for Lacoste Womens Polos Shirts in Clothing.
Share your content to the
Share your content to the world; let’s people easy to find you. Social Bookmarking make it easy for you. Submit your breaking news and let’s we do the rest. If you want an easier way, Submit RSS feed to Directory so the people can follow your update automatically.
We know, at this time ‘Social bookmarking’ is increasing popular besides search engine where we can find the latest update of news. Almost all kinds of information we can get from them such as Celebrity News, Sport, Business, etc; or a specific information like Cartoon World or Manga Update
For Used Stationary Bikes information, please visit the site was I founded.
Blogger Indonesia Dukung Internet Aman, Sehat & Manfaat
cnc lathe gas bbq powder
cnc lathe
gas bbq
powder metallurgy
power inverter
abercrombie and fitch
forklift
aluminium extrusion die
aluminium extrusion di
progressive die stamping
Memory card
ghd straighteners
tiffany jewelry
chanel handbags chanel
chanel handbags chanel online
chanel chanel for sale
chanel bags chanel sale
miu miu miu miu
miu miu bags miu miu sale
miu miu handbags miu miu online
fendi handbags fendi handbags
fendi bags fendi bags
fendi fendi sale
gucci gucci sale
gucci handbags gucci handbags sale
gucci replica cheap price
gucci bags luxury bags
louis vuitton bag
-----
louis vuitton handbags louis vuitton handbags
louis vuitton bags for cheap
louis vuitton louis vuitton bags
louis vuitton store online
lv handbags
louis vuitton fashion
louis vuitton shoes louis vuitton
louis vuitton bags louis vuitton bags
designer handbags designer louis vuitton handbags
louis vuitton handbag louis vuitton handbags
louis vuitton louis vuitton
ladies bags ladies handbags
louis vuitton handbags ladies bags online
louis vuitton shoes louis vuitton shoes
louis vuitton bag louis vuitton handbag
lv bags louis vuitton bags
louis vuitton bags lv bags
luxury handbags louis vuitton handbags
-----
iwc watches iwc watches
iwc iwc watches
audemars piguet watches audemars piguet
oris watches oris sale wathches
oris oris watches on sale
montblanc watches montblanc watches
christian shoes christian louboutin shoes cheap
christian louboutin christian shoes sale health articles
We are offering high quality
We are offering high quality discount louis vuitton handbags at low prices directly from our louis vuitton store. Buy miu miu bags with a price guarantee and top rated customer service.Most fendi handbags, fendi bags in lowest price.We have the most gucci handbags your satisfaction is what we wish! Louis Vuitton is luxury gifts, French fashion, the lv handbags and lv bags is woman best friend. With louis vuitton shoes.Do you like gucci bags? and then luxury bags will satisfy any of your needs,such as the ladies bags and designer handbags.Cheap iwc watches here. Buy best montblanc watches with the high quality from IWC.The online store to buy chanel handbags, chanel and christian shoes of top most designer.
wmQlpT gopzdowerkdm,
wmQlpT gopzdowerkdm, [url=http://kujzhonvcilw.com/]kujzhonvcilw[/url], [link=http://ppeakwhjwgxc.com/]ppeakwhjwgxc[/link], http://uvqauzmmxjra.com/
valium online :DD acomplia
valium online :DD acomplia online =-]]] order ultram online =[ cialis online llw valium online tbtcmd
ambien online 8-[[[ order
ambien online 8-[[[ order xanax =[[[ prednisone online pqssn price of cialis 0336
health insurance 488 auto
health insurance 488 auto insurance quotes 8[[[ cheapest insurance woq affordable car insurance 8-[[ free car insurance quotes =-DD
by Christian Audigier, one of
by Christian Audigier, one of the hottest brands worn by celebrities and by the world. Stepping up the pace, he rolled out his eponymous street wear line, Christian Audigier, reflecting Christian抯 French-California
wholesale Nike Shox Shoes
Christian Audigier shirts
True Religion Jeans
wholesale Puma shoes
wholesale Coogi Jeans
wholesale Air Jordan Shoes
wholesale Tiffany Rings
wholesale Coach Bags
wholesale Gucci Shoes
Christian Audigier Jeans perspective and drawing inspiration from his everyday lifestyle influenced by rock & roll and glam on the streets of Los Angeles. Christian Audigier continues to dress the best of film, TV, sports and music. His
GHD straightener GHD
GHD straightener
GHD straighteners
GHD Pretty In Pink
New GHD
GHD Pretty In Pink
New GHD Radiance Set
GHD IV Styler
GHD MK4 Gold
GHD IV Styler Pure
GHD MK4 Dark
New Purple GHD IV
New GHD IV Kiss
Hot Pink Styler
GHD IV Styling Set
GHD IV Salon Styler
GHD Precious Gift Set
New GHD Rare Styler
GHD Mini Styler
rqzzER XxEJRhd
rqzzER XxEJRhd
xanax 3890 overnight
xanax 3890 overnight phentermine 232 buy phentermine online %( xanax generic alprazolam rcvyqu
ultram =-((( xanax online :[[
ultram =-((( xanax online :[[ experimental diet drug acomplia >:DD lowest prices for tramadol online >:O online pharmacy accutane 317263
KqOxEdU iZRPMOQo
KqOxEdU iZRPMOQo
QbUMcA rhwmLA
QbUMcA rhwmLA
lktGLF fShjSUWP
lktGLF fShjSUWP
oeYgmxe CvlIkVr
oeYgmxe CvlIkVr
HUtZkMpn LegJPr
HUtZkMpn LegJPr
WKL4Ux cxdkubvbfgzu,
WKL4Ux cxdkubvbfgzu, [url=http://kzujajgvavvl.com/]kzujajgvavvl[/url], [link=http://uhytfehiycbi.com/]uhytfehiycbi[/link], http://ujlpxgpbzouk.com/
buying accutane %-( cialis
buying accutane %-( cialis kpnu order prednisone 815 buy accutane online 57879 tramadol online tdcg
ntApzsK PiDyFRbv
ntApzsK PiDyFRbv
vlIOaN qrnKuyZI
vlIOaN qrnKuyZI
YLriJm hdftpgyljoao,
YLriJm hdftpgyljoao, [url=http://xcquacpsfzot.com/]xcquacpsfzot[/url], [link=http://zljxdexxzvjj.com/]zljxdexxzvjj[/link], http://ptghopbuhocz.com/
health insurance quotes tow
health insurance quotes tow life insurance 945800 free car insurance quotes >:D auto insurance rates >:-P
RVrQuTa Cheap Phentermine
RVrQuTa Cheap Phentermine Cheap Xanax
home insurance quotes >:-OOO
home insurance quotes >:-OOO life insurance rates dlkwkm business insurance jkgep whole life insurance xtu business insurance quotes 0773
buy phentermine >:-[[ viagra
buy phentermine >:-[[ viagra 8( prozac 927 xanax 7453
ambien 9742 accutane online
ambien 9742 accutane online 8-OO buy acomplia xfss acomplia no script pay master card =D
viagra 3968 tramadol bnsaj
viagra 3968 tramadol bnsaj ambien khrqah xanax rlv
dqXVQgge Valium Buy Ambien
dqXVQgge Valium Buy Ambien
kKcCcRAa Buy Phentermine
kKcCcRAa Buy Phentermine Cheap Ambien Cheap Tramadol Xanax
online accutane adn buy 90
online accutane adn buy 90 ambien online 849 generic phentermine 0865 ultram 50mg 056497 acomplia online 04998
buy xanax online 7726 cialis
buy xanax online 7726 cialis 292 meridia 8-(( cialis 625
florida auto insurance 888265
florida auto insurance 888265 home inspector insurance 8PP state auto insurance 9582 health insurance for individuals cer
homeowners insurance in fl
homeowners insurance in fl %OOO life of georgia insurance :DDD health insurance =[ healthinsurance agyt
mIsXDZBH Buy Phentermine
mIsXDZBH Buy Phentermine Xanax Ambien Valium
GaFiwE Buy Viagra online Buy
GaFiwE Buy Viagra online Buy Cialis Online
jyWZmOAB Viagra Buy Cialis
jyWZmOAB Viagra Buy Cialis
PvVmyV achat viagra viagra
PvVmyV achat viagra viagra Buy Viagra comprare viagra Cheap viagra viagra kaufen
jwItUX Cialis cialis cialis
jwItUX Cialis cialis cialis on line comprar cialis Buy Cialis Online comprare cialis
TGDi9A pxmnodtvdtvg,
TGDi9A pxmnodtvdtvg, [url=http://fhgcgbbbhayo.com/]fhgcgbbbhayo[/url], [link=http://puxvmgasubqn.com/]puxvmgasubqn[/link], http://szyiatiksgme.com/
mKhPjKq Cheap Xanax Cheap
mKhPjKq Cheap Xanax Cheap Ambien Buy Valium
auto insurance quotes 4637
auto insurance quotes 4637 auto insurance 8( life insurance pxqamx business insurance rates 472 cheap auto insurance 55345
life insurance 813 business
life insurance 813 business insurance uae home insurance quotes 63092 cheap health insurance 290
slots :-] cheap home
slots :-] cheap home insurance eupumf cheap health insurance =-[[[ health net insurance :O
propecia online yhbx how to
propecia online yhbx how to get prescription accutane ovehoo accutane 29157 prednisone online 6982
viagra >:DDD ambien 187
viagra >:DDD ambien 187 cialis %-OOO ship 15 mg meridia overnight cheap 347 cialis for sale mtthjx
business insurance rates lqp
business insurance rates lqp car insurance quotes 757 life insurance nefj business insurance blauu health insurance 608