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.


herpes cure's picture

I like natural treatments since the cost of going to the doctor or
buying OTC drugs has just become ridiculous.

unstained teeth's picture

Hello there, just became aware of your blog through Google, and
found that it's really informative. I'm going to watch out for brussels.
I'll be grateful if you continue this in future.

Numerous people will be benefited from your writing.

Dubowitz said's picture

Just desire to say your article is as amazing.

The clarity in your put up is simply nice and i can assume you are an expert on this subject.

Well together with your permission alkow me to clutch your feed to stay up to date with coming near
near post. Thank you one million and please continue the enjoyable work.

black glaze matsuba 4's picture

Every weekend i used to go to see this website, as i
want enjoyment, as this this web page conations in fact
good funny material too.

Promuscle Fit's picture

What a material of un-ambiguity and preserveness of precious experience about
unpredicted feelings.

Joe Olujic's picture

Superb blog yyou have here but I was wanting to know if you knew of any
user discussion forums that cover the same opics discussed here?
I'd really like to be a part of group where I can get adfice from other experienced individuals that share the
same interest. If you have any suggestions, please let me know.
Bless you!

Helena's picture

He preferido engrosar la cuenta bancaria de ciertos otros escritores....

slim genix pro's picture

Hello there! Do you know if they make any plugins to safeguard against hackers?
I'm kinda paranoid about losing everything I've worked hard on.
Any tips?

Neurofuse's picture

I visited many blogs however the audio quality for
audio songs current at this website is in fact excellent.

Formula 20/20's picture

What's Taking place i'm new to this, I stumbled upon this I have discovered It absolutely helpful and it has
aided me out loads. I hope to give a contribution & help different users like
its helped me. Great job.

regula rx review's picture

This site was... how do you say it? Relevant!! Finally I've found something which
helped me. Thank you!

Tryloflex's picture

You've made some decent points there. I looked on the internet for additional information about
the issue and found most people will go along with your views
on this site.

Auralux Skin's picture

Greetings! Quick question that's entirely off topic.
Do you know how to make your site mobile friendly? My blog looks weird when viewing from my iphone
4. I'm trying to find a template or plugin that might be able to correct this problem.

If you have any suggestions, please share. Thank you!

furnace installation's picture

I couldn't refrain from commenting. Well written!

ac repair in frisco's picture

hey there and thank you for your information - I have certainly picked up
something new from right here. I did however expertise some technical issues using this web site, as I experienced to
reload the web site many times previous to I could get it to load
correctly. I had been wondering if your hosting is OK? Not that I'm complaining,
but slow loading instances times will very frequently
affect your placement in google and could damage your high-quality score if ads and
marketing with Adwords. Anyway I'm adding this RSS to my email and can look out for a
lot more of your respective intriguing content. Make sure you update this again very soon.

Http://Recoverdeletedfacebookmessages.Blogspot.Com's picture

Piece of writing writing is also a excitement, if you know then you can write otherwise it is complex
to write.

Luigi Wewege's picture

Hey there! I realize this is kind of off-topic however I had to ask.

Does building a well-established blog like yours
require a lot of work? I'm brand new to operating a blog but
I do write in my diary everyday. I'd like to start a blog so I can easily share
my personal experience and thoughts online. Please let me know if you have any suggestions or
tips for brand new aspiring blog owners. Appreciate it!

auto dealer's picture

This site definitely has all the information and facts I needed about this subject
and didn't know who to ask.

Ketone Burn REview's picture

Hmm it looks like your website ate my first comment (it was super long) so I guess I'll just sum it up what
I had written and say, I'm thoroughly enjoying your blog.
I as well am an aspiring blog writer but I'm still new to
everything. Do you have any tips for first-time blog writers?
I'd genuinely appreciate it.

tỷ lệ bóng đá ibet's picture

Juventus 33 points, 11 KNVB Cups and one goes.
Huntelaar added further goals through William da Silva Moreira, commonly known as a
teenager, he was called at the statement. The link can be the same time Jose Luis Real of Guadalajara's Youth System sent
scouts to Cancun in 2001, many clubs from all over the net.
Ronaldinho famously had his 100th goal in Mexico's first division on 10 May soi keo bong da ngoai hang
anh 2014. Beckham s loan to the eventual exit of Ronaldinho, 34,
257 Brazilian real per night.

Slimgenix Review'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

Michael Dinkins's picture

I'm not sure ahere you're getting your
info, but great topic. I needs tto spend some time learning more oor understanding
more. Thanks for magnificent info I was looking for this info for
myy mission.

Garcinia cambogia Gummies's picture

I enjoy reading an article that can make men and women think.
Also, many thanks for allowing me to comment!

Luigi Wewege's picture

Nice post. I used to be checking constantly this weblog and I am inspired!
Extremely helpful information particularly the last phase
:) I deal with such info a lot. I was seeking this particular information for a long time.

Thank you and good luck.

tree pruning's picture

Hi to all, the contents present at this web site are in fact awesome for people experience, well, keep up the nice
work fellows.

online auto insurance quotes's picture

Hey fantastic blog! Does running a blog like this require a large
amount of work? I have absolutely no understanding of
coding however I had been hoping to start my own blog in the
near future. Anyhow, if you have any ideas or tips for
new blog owners please share. I understand this is off subject but I just wanted
to ask. Many thanks!

defender of democracy Mark Dubowitz's picture

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

John's picture

I found the entire Software Tailor team to very helpful and

knowledgeable. You help me understand the differences

between the other systems on the market and the Software

Tailor system.
Please find Software Development (go to

creative gifts genuine crystal's picture

What i don't understood is in reality how you are not actually much more smartly-liked than you might be now.
You are very intelligent. You know therefore significantly relating to this
topic, produced me personally believe it from so many varied angles.
Its like men and women aren't interested until it is one thing to do with Woman gaga!
Your personal stuffs outstanding. All the time deal with it up!

My profits Club Review's picture

I was wondering if you ever considered changing the structure of your website?

Its very well written; I love what youve got
to say. But maybe you could a little more in the way of content so people could
connect with it better. Youve got an awful lot of
text for only having one or two images. Maybe you could space
it out better?

mn seo's picture

Usually I don't learn article on blogs, however I wish to say that this write-up
very compelled me to try and do so! Your writing style has been surprised me.

Thanks, very nice post.

ankara avukat's picture

It's perfect time to make some plans for the future and
it's time to be happy. I have read this post and if
I could I desire to suggest you some interesting things or
advice. Perhaps you could write next articles referring to
this article. I desire to read more things about it!

Beyond Human Testosterone's picture

Hi, I wish for to subscribe for this blog to obtain newest updates, therefore where can i do it please help.

testerone XL's picture

Hi there I am so thrilled I found your webpage,
I really found you by error, while I was looking on Bing for something else, Regardless I am here now and would just like to say kudos for a incredible post
and a all round interesting blog (I also love the theme/design), I don't
have time to look over it all at the minute but I have saved it and also included your RSS feeds, so when I have time I will be back to
read much more, Please do keep up the awesome job.

Hip Hop beats for mixtapes's picture

I need to to thank you for this wonderful read!!
I certainly enjoyed every bit of it. I have got you saved as a favorite to
check out new things you post...

pro collagen's picture

You made some decent points there. I checked on the web for more info about
the issue and found most people will go along with your views on this site.'s picture

Thanks for a marvelous posting! I really enjoyed reading
it, you can be a great author.I will be sure to bookmark your blog
and will often come back in the foreseeable future.
I want to encourage that you continue your great job,
have a nice weekend!

TPB Proxy's picture

Groups such as the Brady Campaign are using Judge Sonia Sotomayor's confirmation on the U.
Download speed increase over as compared to last version. So thither are loads supplementary Replacement ready to be used for Limewire the ultimate p2p
software regardless to start over or up close, you can employ
your options of Limewire p2p which bear the identical features of
it together with will be proficient to employ.

Proxy's picture

Now that's all fine and dandy if it target cyber criminals, hackers,
and true thieves. Sit along with your palms from your body facing down towards the floor, your spine straight,
your feet flat around the floor. From their email list, learn the registry entry that's linked to
the Trojan virus files.'s picture

Hoezo tik jij tot nu toe niets over trap

xoa kem tan mo hieu qua's picture

Hello friends, how is the whole thing, and what you desire to say about this piece
of writing, in my view its actually amazing for me.

Derma C's picture

It's a shame you don't have a donate button! I'd without a doubt donate to this fantastic
blog! I suppose for now i'll settle for bookmarking and adding your RSS feed to my Google account.
I look forward to new updates and will talk about this site with my Facebook group.
Chat soon!

Cambogia xtreme's picture

Hurrah! Finally I got a web site from where I
be able to truly get helpful data regarding my study and knowledge.

Nerve Renew's picture

I couldn't refrain from commenting. Exceptionally well written!

aloe cleanse scam's picture

Good answer back in return of this query with solid arguments and describing everything concerning that.

Zonecore garcinia cambogia's picture

Quality articles is the key to interest the visitors to go
to see the web site, that's what this website is providing.

Watch Ex Machina Online's picture

Currently it sounds like Movable Type is the top blogging platform out there right
now. (from what I've read) Is that what you are using on your blog?
Watch Ex Machina Online

Daily Fantasy Sports's picture

My programmer is trying to convince me to move to .net from PHP.
I have always disliked the idea because of the expenses.

But he's tryiong none the less. I've been using WordPress on a number of websites for about a year and am
anxious about switching to another platform. I have
heard fantastic things about
Is there a way I can transfer all my wordpress posts into it?
Any help would be really appreciated!

1285 muscle review's picture

Hi this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML.
I'm starting a blog soon but have no coding experience so I wanted to get
guidance from someone with experience. Any help would be enormously appreciated!

Dermolyte Skincare's picture

Magnificent items from you, man. I have take into accout your stuff previous to and you are just extremely excellent.
I actually like what you have obtained here, really like what you are stating and the best
way during which you are saying it. You're making it entertaining and you continue to take care
of to keep it sensible. I can not wait to read far more from you.
This is really a wonderful site.


Add new comment