Packaging ScriptBot for Fedora, a continuing adventure

You mostly likely know that I’m  a proud contributor to the Fedora Project. I helped out a bit on blogs.fedoraproject.org and I generally also keep the wiki clean. However, I haven’t ever made a package.

So my first packaging adventure is packaging the IRC bot library that ScriptBot uses.

One word: pain.

There’s a few nuances with PircBot. It comes as a jar with source inside it as well as the compiled classes. I extracted the source, made it usable for RPM to build. I scrapped the binaries, and put it into a traditional tarball. So apparently that doesn’t work.

Next, I found RPM wasn’t making a buildroot correctly. So I had to make a hack around that.

Then, it came to the install path. There’s a page on the Fedora Project Wiki apparently. But I didn’t know that! It’s not linked from the frequently visited Packaging pages.

After getting it to build, it went through a scratch build on Koji, then I filed for review on Bugzilla.

That’s when I found the page for Fedora’s Java packaging guidelines. I apparently did need documentation (although all I can put is a link, the documentation isn’t really pullable from the website). So I ended marking the bug for my request as CLOSED DEFERRED.

Expect a part two post when I actually get Pircbot into the repos.  Also likely is a part three when ScriptBot itself gets in.

See the ScriptBot project page at scriptbot.theoks.net.

Funny quips

There are some really funny quips on some Bugzilla installations. I will be focusing on bugzilla.mozilla.org and bugs.webkit.org.

bugs.webkit.org:

BSD is for people who love UNIX. Linux is for those who hate Microsoft.
“XML is like violence: if it doesn’t solve your problem, you aren’t using enough of it.” – Chris Maden
UNIX is user friendly, it just picks its friends carefully.
Programming is like sex: One mistake and you have to support it for life. — Michael Sinz
Get me a 16-inch rotary debugger (extra cheese)
Our OS who art in CPU, UNIX be thy name. Thy programs run, thy syscalls done, In kernel as it is in user!
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. – Dennis Ritchie
khtml/html/htmlparser.cpp:998: // support for really broken html. Can’t believe I’m supporting such crap (lars)

the above quip is true. at line 998, it really says that. See here for proof.

bugzilla.mozilla.org:

“…One ring to bring them all and in the darkness bind them…” JRR Tolkien
“640K ought to be enough for anyone.” – Bill Gates, 1981
“Black holes are where God divided by zero.”
“Is an IDONTCARE resolution in Bugzilla too much to ask?” — pavlov@pavlov.net
“Houston, we have a problem…” — James Lovell, Apollo 13
“Software is like sex: it’s better when it’s free” — Linus Torvalds
+++OUT OF CHEESE ERROR: REDO FROM START+++
303 Keyboard error, press F1 to continue.
404. File not found. Should I fake it? (Y/N)
How could I break the Mac? I don’t even BUILD on the Mac!
A Communicator access a day helps keep micro$oft’s fury at bay…
And the beast shall come forth surrounded by a roiling cloud of
vengeance. The house of the unbelievers shall be razed and they shall
be scorched to the earth. Their tags shall blink until the end of
days.- Mozilla, 12:10
Area = Pi*r^2 — No no!! Pie are round, cornbread are square!
Do I have to pay the RIAA licensing fees for music I have stuck in my head?
Don’t make me bust a CAPS LOCK on your ASCII!!!
ERROR IN BRAIN.VXD: Thought Halted
Hey, can I use “background-colour:” in my stylesheets?
How to make COBOL a great language? Remove “OBOL”.
How to make COBOL a great language? Select “COBO” then Type “Per”.
Windows NT crashed. I am the Blue Screen of Death. No-one hears your screams.

Well, I’m done.

If you need more funny quips:
bugzilla.mozilla.org quips
bugs.webkit.org quips