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.


Atwood xpa's picture


cable sanyo 3 5mm's picture

With havin so much written content do you ever run into any issues of plagorism or copyright infringement?

My blog has a lot of completely unique content
I've either authored myself or outsourced but it looks like a lot of
it is popping it up all over the web without my permission. Do
you know any methods to help stop content from
being ripped off? I'd genuinely appreciate it.

true garcinia cambogia trial's picture

Very shortly this web site will be famous among
all blogging and site-building visitors, due to it's fastidious articles

Emerson's picture

I enjoy reading an article that can make men and women think.
Also, thank you for permitting me to comment!

Luigi Wewege's picture

May I simply say what a relief to uncover someone who actually knows what they're discussing over the internet.
You actually know how to bring a problem to light and make it important.
A lot more people have to check this out
and understand this side of the story. I was surprised
that you aren't more popular given that you most certainly have the gift.

dj anniversaire Drummondville's picture

I am now not positive where you're getting your info, but great topic.
I must spend a while studying more or understanding more. Thanks for great information I used to be looking for
this information for my mission.

honestly fuck this's picture

Finally copy & paste the description in the area captioned 'Add a message to your video' also, making sure to get this right since it gets grayed out after the first save and you won't be able to edit it again. At the very bottom of this menu is
a button entitled Power - Point Options. What sets this uploader from Mooi Quae Application apart from all
the options.

Luigi Wewege's picture

Hey just wanted to give you a quick heads up. The text in your article
seem to be running off the screen in Opera.
I'm not sure if this is a format issue or something to do
with browser compatibility but I thought I'd
post to let you know. The stye and design look great though!

Hoope you get the problem resolved soon. Thanks

Chief Executive Office Luke Weil's picture

hi!,I love your writing very a lot! proportion we be in contact more approximately your
article on AOL? I need a specialist in this area to resolve my problem.

Maybe that's you! Taking a look forward to see you.

Cleanse Body Pro's picture

My partner and I absolutely love your blog and find many of
your post's to be exactly I'm looking for. Do you offer guest writers to write content to suit your
needs? I wouldn't mind publishing a post or elaborating on a few
of the subjects you write about here. Again, awesome blog!

Natisha's picture

This can generally be viewed on the bodies of women who are eighteen years old and above.
Exercising is a new cellulite treatment that can do wonders on your skin for good.
It uses rollers and gentle suctioning to seriously
rub the impacted areas, increasing circulation.

Karl Jobst's picture

Howdy! I could have sworn I've been to this site before but after reading through some of the post I
realized it's new to me. Nonetheless, I'm definitely glad I found
it and I'll be book-marking and checking back frequently!

make your own t shirt design's picture

Hello there! I know this is kinda off topic however I'd figured I'd ask.

Would you be interested in trading links or maybe guest authoring a
blog article or vice-versa? My blog covers a lot of the same subjects
as yours and I feel we could greatly benefit from each other.
If you're interested feel free to shoot me an e-mail.
I look forward to hearing from you! Superb blog by the way!

Ageless Eye Cream's picture

Great site. Plenty of helpful information here.

I'm sending it to some friends ans also sharing in delicious.
And naturally, thanks to your sweat!

ultra garcinia cambogia reviews's picture

Great goods from you, man. I have take note your stuff previous to and
you are simply too magnificent. I really like what you have got here,
certainly like what you're saying and the way in which wherein you are saying it.
You make it enjoyable and you still care for
to stay it wise. I can not wait to read much more from you.

That is really a wonderful site.

debbie gibson youtube foolish beat's picture

All Gibson USA Les Pauls characteristic a
mahogany body with maple prime, mahogany neck, and
a rosewood fretboard until in any other case specified.

cna jobs in md's picture

Basically phrases, if in case you have violent crimes in your previous, this may preclude you from CNA employment or even enrolling in a
CNA coaching class.

in opposition Mark Dubowitz's picture

Now I am ready to do my breakfast, after having my breakfast coming over again to read
additional news.

best buy's picture

Hi there! I could have sworn I've been to this blog before
but after browsing through some of the posts I realized it's new to me.

Regardless, I'm certainly delighted I came across it and I'll be book-marking it and checking
back regularly!

oxygenius eye serum's picture

Sweet blog! I found it while surfing around on Yahoo News.
Do you have any suggestions on how to get listed
in Yahoo News? I've been trying for a while but I never seem to get there!
Thank you

pure green coffee's picture

Wow, this post is good, my younger sister is analyzing these things, so
I am going to let know her.

dien dan rao vat mien phi's picture

Pretty section of content. I just stumbled upon your weblog and in
accession capital to assert that I get actually enjoyed account your blog
posts. Anyway I will be subscribing to your augment and even I
achievement you access consistently quickly.

aircon servicing charges's picture

A thorough chemical overhaul of the air conditioning singapore unit is
necessary when a chemical wash of the unit does not result in any improvements.

Therefore, I posed Ken Minn, CEO and Founder this question: 'Will having my phone
by an air vent, in my car affect its performance or damage the phone in any way shape or form'.

For leak detection purposes, you will generally need at least 50
psi of pressure for the system to operate.

Trylo Flex Review's picture

Hello colleagues, its impressive article regarding teachingand completely defined, keep it
up all the time.

Garcinia world's picture

Thank you for another informative web site. The place else could I get that type of information written in such an ideal approach?
I've a venture that I am just now running on, and I've been on the look out for such info.

hydravella anti-aging's picture

If you are going for most excellent contents like I do, simply visit this web
site daily since it offers feature contents, thanks

flawless elite's picture

This info is invaluable. Where can I find out more?'s picture

If you are going for most excellent contents like myself, only go to see this site daily since it presents quality contents, thanks

dien dan rao vat mien tay's picture

There's certainly a lot to learn about this issue.
I love all the points you have made.

amazing trance music's picture

This website truly has all of the info I wanted about this subject and didn't
know who to ask.

Andre's picture

It's no wonder that women never look "available" or "single" to us.
Just creating a personal profile and start searching for Asian girls online
in your area. I can't tension this enough, it is a
very poor concept to stroll about the fitness center and hit on ladies.

casino bonus's picture

I'm curious to find out what blog platform
you have been working with? I'm having some minor
security issues with my latest site and I would like to find something
more safe. Do you have any solutions?

Slim Wise Cleanse Review's picture

I just could not depart your site before suggesting that I really loved the usual
info a person provide for your visitors? Is going
to be back ceaselessly in order to investigate cross-check new posts

lesbian actress linda hunt and karen klein's picture

There is nothing as demoralizing as being rejected while
in the midst of people. “Gay and lesbian couples are a lot
more mature, more considerate in trying to improve a
relationship and have a greater awareness of equality in a
relationship than straight couples. They are shocked if you tell
them about the "other gays", the people who have been in decades long, committed
relationships, who struggle with day to day issues like who forgot to replace
the toilet paper again and whether or not the
dog is going to get neutered on Thursday or Friday of next week
because the machine garbled the date again. The day afterward, a
despairing man who lives an only mile away from me
perpetrated the most prolific slaughter in the history
of Orange County. Right from the most happening urban cities,
coastal areas to breathtaking views, beaches, islands Europe has everything at its best.

Ken Fisher Inc.'s picture

Great website you have here but I was curious about if you knew of any community forums
that cover the same topics talked about here? I'd really
like to be a part of online community where I can get
feedback from other knowledgeable people that share the same interest.
If you have any suggestions, please let me know.

Stone Cleaning and Polishing's picture

Do you mind if I quote a couple of your posts as long as I provide credit
and sources back to your blog? My website is in the exact same area of interest as
yours and my users would definitely benefit from a lot of the information you present here.
Please let me know if this alright with you.
Thanks a lot!'s picture

I've heard a wide range of opinions regarding this speakeasy; but,
none truly specific the progressive design of The Gibson.

animals's picture

Thanks for sharing your thoughts about animals.

Lilly's picture

This is the perfect blog for everyone who hopes to understand
this topic. You realize so much its almost hard to argue with you (not that I
really would want to...HaHa). You definitely put a brand new spin on a topic that's been discussed for ages.
Excellent stuff, just excellent!

no2 maxiums review's picture

I am not sure where you're getting your info, but good
topic. I needs to spend some time learning more or understanding more.
Thanks for magnificent information I was looking for this information for
my mission.

endure beauty system reviews's picture

This is really interesting, You're a very skilled blogger.

I have joined your feed and look forward to seeking more of your magnificent post.
Also, I've shared your site in my social networks!

nu cambogia extract's picture

What's Going down i am new to this, I stumbled upon this I have
found It positively helpful and it has aided me out loads.

I'm hoping to contribute & help other customers like its helped me.
Great job.

revlante reviews's picture

I am really enjoying the theme/design of your weblog.
Do you ever run into any internet browser compatibility issues?
A handful of my blog audience have complained about my blog not working correctly in Explorer
but looks great in Safari. Do you have any advice to help fix this

recording studios's picture

Thanks for another informative web site. The place else could I am getting that type of info written in such a
perfect method? I have a venture that I am just now running on, and I have been on the glance out for such information.

dermallure reviews's picture

What you wrote made a lot of sense. But, what about this?
what if you were to write a awesome headline? I ain't suggesting
your information is not good, but suppose you added a title that makes people want more?
I mean Add new comment | is kinda boring.
You should peek at Yahoo's home page and watch how they create news
titles to get people to click. You might try adding a video or a
pic or two to grab people interested about everything've written. Just my opinion, it would bring your website a little bit more interesting.

garcinia cambogia diet reviews's picture

Good day! This is my first comment here so I just wanted
to give a quick shout out and tell you I really enjoy reading your posts.
Can you suggest any other blogs/websites/forums that cover the same subjects?
Appreciate it!

tickle's picture

Hi there, I enjoy reading all of your article.
I wanted to write a little comment to support you.

dermology's picture

Incredible story there. What happened after? Thanks!

cell phone greeting's picture

You could certainly see your skills within the work you write.
The arena hopes for even more passionate writers like you who
aren't afraid to mention how they believe. At all times follow your heart.'s picture

Fantastic goods from you, man. I've remember your stuff previous
to and you're just extremely great. I actually like what you've bought here, really like what you're saying and the way byy which
you are saying it. You are making it enjoyable and you still care for to keep it sensible.
I can not wait to read far more from you. This is actually
a terrific website.


Add new comment