Sticking your nose in the tinderbox

Once you tell tinderbox to build a list of ports it happily goes off and does it's work. But how do you know what it is doing? Well let's nosey around and see what we can find. Let's open a terminal and tell it to compile devel/p5-Log-Dispatch and see what happens.

[tinderbox/scripts] # compileport -B 9.0 -A amd64 -C clang -P devel/p5-Log-Dispatch ********** ********** Starting tinderbox compiles with - ***** Base versions - 9.0 ***** ARCH list - amd64 ***** Compilers - clang ***** Ports to build - devel/p5-Log-Dispatch ********** ********** Adding port/s to datastore... ********** Compiling devel/p5-Log-Dispatch in 9.0-amd64-clang ********** tinderbuild: creating makefile... tinderbuild: Creating build directory for 9.0-amd64-clang 9.0-amd64-clang: cleaning out /usr/local/tinderbox/9.0-amd64-clang makeBuild: extracting jail tarball tinderbuild: Finalizing chroot environment ================================================ building packages (phase 0) ================================================ started at Tue Oct 16 19:51:03 CST 2012 ended at Tue Oct 16 20:14:51 CST 2012 phase 0 took 00:23:48 26 packages built 15M of packages ================================================ building packages (phase 1) ================================================ started at Tue Oct 16 20:14:51 CST 2012 ended at Tue Oct 16 20:14:51 CST 2012 phase 1 took 00:00:00 26 packages built 15M of packages tinderbuild: Cleaning up after tinderbuild. Please be patient.

Well that doesn't tell me much of anything. In fact during the wait between line 26 and 27 it gives no clue as to what it is doing. It turns out if you look inside the right build dir you will get some more info. With BUILDNAME=9.0-amd64-clang

[local/tinderbox] # ls -l /usr/local/tinderbox/builds/$BUILDNAME total 142 -rw-r--r-- 1 root wheel 14862 16 Oct 19:50 Makefile -rw-r--r-- 1 root wheel 0 16 Oct 19:50 duds -rw-r--r-- 1 root wheel 0 16 Oct 19:50 lock -rw-r--r-- 1 root wheel 37211 16 Oct 20:08 make.0

That lock file tells tinderbox that this build is busy working. In case of severe breakage you will need to delete this to get started again. The duds file contains a list of ports that it won't be compiling (back to that in a sec). The Makefile has a list of dependancies for the port that is being compiled and the make.0 (and make.1 if it is there) is a log file giving a general overview of what is happening, you will see the environment settings and the current port being made (at least the distname of the source package which often matches the portname). tail -f make.0 will let you watch as things progress. make.0 logs stage0 progress while make.1 logs stage1.

If wou want to see more detail then you will find the working system installed inside /usr/local/tinderbox/$BUILDNAME Of most interest will be the tmp dir where you will find pieces of log files that will be joined into the final log that you can access later. Each step of the build is in a separate piece so you get one for extract, one for patch, one for configure...

[local/tinderbox] # ls -l /usr/local/tinderbox/$BUILDNAME/tmp total 2149 drwxr-xr-x 2 root wheel 2 16 Oct 19:51 depends drwxr-xr-x 3 root wheel 3 16 Oct 19:51 distfiles lrwxr-xr-x 1 root wheel 18 16 Oct 19:51 make.log -> perl-5.14.2_2.log2 -rw------- 1 root wheel 577 16 Oct 19:51 make.log1 -rw------- 1 root wheel 190 16 Oct 19:51 make.log2 -rw------- 1 root wheel 1433 16 Oct 19:51 make.log3 -rw------- 1 root wheel 291603 16 Oct 19:53 make.log4 -rw------- 1 root wheel 208061 16 Oct 20:04 make.log5 -rw-r--r-- 1 root wheel 217 16 Oct 19:51 mtree.buildexclude -rw-r--r-- 1 root wheel 412258 16 Oct 19:51 mtree.prebuild -rw-r--r-- 1 root wheel 258 16 Oct 19:51 mtree.preexclude -rw-r--r-- 1 root wheel 409514 16 Oct 19:51 mtree.pristine drwxr-xr-x 2 root wheel 2 16 Oct 19:51 packages -rw-r--r-- 1 root wheel 3117 16 Oct 19:51 perl-5.14.2_2.log -rw-r--r-- 1 root wheel 293831 16 Oct 19:53 perl-5.14.2_2.log2 -rw-r--r-- 1 root wheel 0 16 Oct 19:53 pkgs_post_test -rw-r--r-- 1 root wheel 0 16 Oct 19:53 pkgs_pre_test -rw-r--r-- 1 root wheel 2 16 Oct 19:51 status

Now why would tinderbox list ports in the duds file and how do you build a port that gets listed there? Well the duds file contains ports that are marked BROKEN or IGNORE. For the reason and a way to find a solution you probably need to look inside the Makefile for that port (within the ports tree). There are several reasons for a port to be marked as broken, sometimes it is broken for a specific ARCH, sometimes it is because it is incompatible with another installed port or that two options are incompatible with each other. This would be more likely if you are configuring options for your ports rather than just the defaults. A port may also be marked as ignore if an option is turned on but the supporting port is not installed. While normally that is handled by the ports dependencies I have found at least one port that breaks with that inside tinderbox. It appears that the Makefile is parsed before the dependencies are in place. Also if you set options and create a dependancy loop the make.0 in the builds dir will quickly grow to several gigabytes in size. Killing the make process will then start stage 1 repeating the same thing. The quick growing log size is the only way I found to spot this - well you probably notice the constant disk access slowing things down if you are using the machine at the time. If you use zfs setting a quota on the filesystem for tinderbox can be very helpful.

Inside /usr/local/tinderbox/logs/$BUILDNAME you will find log files of every build that has finished. If there was any errors you will also get a link inside /usr/local/tinderbox/errors/$BUILDNAME

find /usr/local/tinderbox/errors -name "*.log" will list all error logs.

With the default config of tinderbox the webui is turned on. If you turned it off because you don't want apache installed then choose one of the smaller web servers as the webui is helpful. The webui is accessed from http://localhost/tb - if setup on your current machine. If you setup and use tinderd then you can also get access to that through the webui. That includes adding ports to the queue.

The homepage gives a nice table listing each build name with a range of counts for number of ports, failed ports etc and a link to the packages directory. If your building to create your own packages site then you can use this link. While most descriptions for the counts are pretty obvious, unknown status is a count of ports you have added to the datastore but there is no data available for it - the data is only added to the database after the first compile runs. The remake count is how many ports are currently queued to be compiled. Using the example above - when starting to compile devel/p5-Log-Dispatch there is a total of 25 dependancies that need to be installed for that port. When you start the compile on a clean build remake will start at 25 and count down as each dependant port is completed. Ports that need to be updated will also be included in this number. While remake is only a displayed number, the others are links to a list of details.

Most of the other pages are lists that vary only in the search criteria and are pretty straight forward. The latest builds page is good to keep open while building - while a port is compiling it will refresh every minute so you can watch the progress - more helpful when you have a lot of dependancies. A green filled box for reason is no errors, red means failed build and orange means a dependancy failed. The link to show the log file with markup is also helpful - it is pretty good at locating errors in the log files and gives you a list of links at the top to each error line as well as highlighting them in red.


sleeve striped autumn business's picture

Thanks for some other great article. The place else may just anyone get that kind of
information in such an ideal means of writing? I have a presentation subsequent week, and I am at the
look for such info.

microfleece jacket port's picture

Every weekend i used to pay a visit this web page, because i wish for enjoyment, as this this site conations
truly good funny data too.

carhartt mens thermal underwear's picture

Can you tell us more about this? I'd like to find out
more details.

The Pirate Bay's picture

Extremely initial coming from all, navigate to the u - Torrent software.
You can readily spend a little extra money and outsource
your recovery must a data center, nevertheless, you should ensure that this expense is leaner than the money that you'd lose
during recovery operations on-site. Episode 19 (The Serpent's
Tooth) Air Date: 03-19-1991.

logo design's picture

First of all I want to say superb blog! I had a quick question that I'd like to ask if you do
not mind. I was interested to find out how you center yourself and clear your head prior to writing.
I have had a hard time clearing my thoughts in getting my ideas out there.
I truly do enjoy writing but it just seems like the first 10 to 15 minutes are generally lost just trying to figure out how to begin. Any ideas or tips?

derma active review's picture

Excellent pieces. Keep writing such kind of information on your page.
Im really impressed by your blog.
Hello there, You have performed a great job. I'll certainly digg it and personally suggest to my
friends. I am sure they'll be benefited from this web site.

Staci's picture

Link exchange is nothing else but itt is just placing the otyer
person's webpag link on your page at properr
place and other person will also do same in favor of

The Pirate Bay's picture

Players immediately react upon dangerous situations and protect the ball in any way cost.
A person with the first points to think about previous to making a
torrent is which site it will be uploaded too.

Minimap Mod's picture

you may need to possess some stone, that you may mine making use of your fists.
And additionally you need heaps of assets to be ready to build
weapons to battle them. ' Private Match supports 2 to 12 players, with
1 to 6 players on each team.

bookkeeping and payroll services's picture

It was not introduced as an accounting discipline but as part of
mathematical procedures, which merchants could utilize in monitoring their assets, liabilities and investment exposure (capital).
The biggest advantages of outsourcing bookkeeping services for businesses is that
they don't have to worry about hiring trained and efficient accountants and further create
an in-house bookkeeping department. If your Micro Small Business Australia is ever
audited by the ATO you will need to produce these Tax Invoices to
verify the GST Credits you have claimed back in your BAS Statements.
Accounting and Bookkeeping also interprets the recorded classified and summarized transaction and events.

auto title loans's picture

I'm amazed, I have to admit. Seldom do I encounter a blog
that's both equally educative and amusing, and without
a doubt, you've hit the nail on the head. The problem
is something that not enough people are speaking intelligently about.
I'm very happy that I came across this during my search for something regarding this.

banking's picture

Instead of investing precious personal resources, Bootstrappers can launch Google Adwords campaigns for pennies to
find valuable insight into which words, phrases and concepts customers will key into.

If you're thinking of making an offer on a property without an actual rent roll or financials - see
if you can get the "average" rent per unit and number of
units. Opportunities vary by area and other factors,
so visit their website to determine which grants, tax credits, or loans you are eligible for.
The expense of a kitchen remodeling project can be pretty high and many people wonder how
they can afford it.'s picture

Very nice post. I just stumbled upon your blog and wished to say that I've truly enjoyed
surfing around your blog posts. After all I will be subscribing to
your rss feed and I hope you write again very soon!

Dermal Meds's picture

What's Happening i am new to this, I stumbled upon this I have discovered It positively helpful
and it has aided me out loads. I hope to contribute & aid
different customers like its helped me. Good job.

what is google authorship's picture

Appreciate the recommendation. Let me try
it out.

Yeast Infection's picture

Have you ever considered creating an ebook or guest authoring on other
blogs? I have a blog based upon on the same subjects you
discuss and would really like to have you share
some stories/information. I know my audience would enjoy your
work. If you are even remotely interested, feel free to
send me an e mail.

crimsonchilla's picture

If you aren't home much, have children under the age of ten, don't enjoy chaos, or have a busy lifestyle
which would prevent a ferret from roaming freely,
then these pet are not for you. Instead of courting athlete's foot, you should at least try
to train your ferret to use a litter box. Spa Presents - Take care of her
to a day at a beauty spa exactly where she can loosen up and rejuvenate.

Madison's picture

What do I get for being loyal and sticking with your business for years.
The first scenario involves you as the celebrity character preparing to
attend a movie premier where paparazzi and the press will
be present. It tends to make me better understand their
courage and commitment.'s picture

Howdy would you mind letting me know which web host you're working with?
I've loaded your blog in 3 different browsers
and I must say this blog loads a lot faster then most.
Can you recommend a good hosting provider at a
reasonable price? Cheers, I appreciate it!

Eminem songs's picture

Thanks for finally talking about > Add new comment | < Loved it!'s picture

I really like it when individuals come together and share opinions.
Great website, stick with it!'s picture

Greetings! Veryy useful advioce within this post! It's the litle changes that
will make the greatest changes. Many thanks for sharing!

dfs dsfke's picture

Thedze are actually wonderful ideas in concernin blogging.
You have touched some nice factors here. Anny way keer up wrinting.

Master Cleanse Detoxification Diet's picture

Touche. Outstanding arguments. Keep up the amazing

green coffee pure cleanse diet's picture

Can I just say what a comfort to discover a person that actually understands what they are talking about on the web.
You actually realize how to bring a problem to light
and make it important. More people really need to read this
and understand this side of the story. I can't believe you are not more popular given that you definitely possess the

BANDAR's picture

I will immediately snatch your rss feed as I can't find your e-mail subscription hyperlink or newsletter service.
Do you have any? Kindly let me understand in order that I
may just subscribe. Thanks.

Optimum Garcinia Cambogia's picture

Superb site you have here but I was curious about if you knew of any user discussion forums that cover the same topics
talked about in this article? I'd really like to be a part of group
where I can get feedback from other experienced people
that share the same interest. If you have any recommendations, please let me know.

Rapid Repair SKin's picture

Hmm is anyone else having problems with the images on this blog loading?

I'm trying to figure out if its a problem on my end
or if it's the blog. Any feed-back would be greatly appreciated.

cleanse plus's picture

I am sure this article has touched all the internet viewers,
its really really good paragraph on building up new web site.

The Lemonade Diet - Cleanse With Care's picture

Highly energetic article, I enjoyed that a lot.

Will there be a part 2?

read books internetowego's picture

is about a Greek Princess who is saved by Ilanchezhiyan, from the Chola
Empire. lrz formats some of the other sites that have free e -
Books might not be immediately compatible. As a result of this revolutionary technology,
readers are given a relatively enticing experience of
reading a book or any publication.

RodneysKr's picture

lzmgoreedpmqxnvyjxvuc vybgyve iunxmuk ifbsfag

implosion never lose hope hack's picture

A vital difference between a 7-and 10-inch Velocity tablets is wide variety life.
There is still the finger print out issue compelling you to have
around a micro fiber material. Playing from mobile phones, players can enjoy the same
benefits as that when playing in a computer.

web site's picture

Wow, wonderful blog layout! How long have you been blogging for?

you make blogging look easy. The overall look of your web
site is excellent, as well as the content!

england payday loans's picture

I know this website offers quality dependent articles
or reviews and extra stuff, is there any other site which provides these kinds of information inn quality?

arthur falcone's picture

Hi everyone, it's my first go to see at this site, and
piece of writing is in fact fruitful in support
of me, keep up posting these posts.'s picture

These are truly great ideas in on the topic of blogging.
You have touched some nice things here. Any way keep up wrinting.

make your own shirts's picture

Wow, this piece of writing is nice, my sister is analyzing such things, so
I am going to let know her.'s picture

It is completely free from any ad and does not face any kind of download restrictions like how you will
see in the free version of Lime Wire. For many years
Lazarus lived on a different continent than his grandkids and simple activities like reading
a story face to face and assembling puzzles were an impossibility.
The application has software that will allow you to record your workouts and
track your progress from day to day and week to week.

make your own t shirts's picture

May I just say what a relief to uncover a person that genuinely understands what they
are discussing online. You certainly realize how to bring a problem to light and make
it important. More people ought to check this out and understand this side of the story.
I was surprised you're not more popular since you most
certainly have the gift.

tampa fl painter's picture

It's going to be end of mine day, but before end I am reading this enormous piece of writing to improve my knowledge.

payday loans's picture

Hi there! Do you know if they make any plugins to protect against hackers?
I'm kinda paranoid about losing everything I've worked had on. Any recommendations?

customizable shirts's picture

Because the admin of this web site is working, no doubt very rapidly it will be
famous, due to its quality contents.

garcinia direct weight loss's picture

Thankfulness to my father who told me on the topic of this website,
this webpage is truly awesome.

Pristine Derma's picture

Oh my goodness! Amazing article dude! Many thanks, However I am
going through difficulties with your RSS. I don't understand why I
cannot subscribe to it. Is there anybody else getting the same RSS problems?
Anyone that knows the solution will you kindly respond?

Slim XO Clitramine Review's picture

Hello there, I discovered your web site by the use of Google at the same time as looking
for a similar subject, your site came up, it appears to be like good.
I've bookmarked it in my google bookmarks.
Hi there, simply became alert to your weblog through Google, and found that it's truly informative.
I'm going to be careful for brussels. I'll be grateful when you
continue this in future. Numerous other people can be benefited from
your writing. Cheers!

clitramine review's picture

Hi I am so happy I found your site, I really found you by mistake, while I was looking on Yahoo for something else, Nonetheless I
am here now and would just like to say kudos for a marvelous post and
a all round enjoyable blog (I also love the theme/design), I don't have time to look over it all at the moment but
I have bookmarked it and also included your RSS feeds, so when I have time I will be back to read more, Please do keep up the
superb work.

cheat tool for Mission Impossible Rogue Nation's picture

Trust me, if no one was steadily responding to your crazy posts, or playing those ridiculous
games, you wouldn't be playing them either. In many of these games, babies simply appear and demand a specific item.

Make a negative comment about anyone, and it is
extremely easy to find.'s picture

There is certainly a great deal to find out about this subject.
I like all of the points you made.

Lashawnda's picture

Thiss website was... how do yos say it? Relevant!!
Winally I have found something which helped me. T'hank you!


Add new comment