Bugzilla

Bugzilla is a web application for tracking bugs.

Emerge
You may want first to emerge  and configure it to your liking. Then emerge

MySQL
Install but prefer a 5.x version, then create a user for the bugzilla database :

Postgresql
Install bugzilla with the  use flag on, then create a user and a database for bugzilla to use :

Next, edit the following configuration file and add the following line

Then restart the database server

Checksetup
Change directory to, then execute.

The first execution produces a file, in which you have to put the information about the database you use. The comments in that files are self-explanatory. Next, re-run, which will create the database, configure bugzilla and create the admin user.

Apache
Add bugzilla to the default vhost

Or alternatively define another vhost, which will make bugzilla directly available at http://127.0.0.1

Then restart the web server.

Web end
Finally, point a web browser to http://127.0.0.1/bugzilla/ or http://127.0.0.1 depending on your configuration. Log in with your admin account and bugzilla will invite you to proceed to the essential post-installation configuration.

Upgrading
Before upgrading, one should make backup the application and its database. Note that one cannot downgrade bugzilla. To upgrade a web application, one can use. This supposes to emerge bugzilla with the  flag on.

Before emerging bugzilla, move your bugzilla directory

Then emerge bugzilla

Next, copy the directories, (may be empty) and  (may not exist) from your previous installation to your new installation, together with the previous  file. Then run.

After having ascertained that the new installation works as expected, you may delete your old bugzilla directory.

Troubleshooting
If after executing checksetup.pl you get something like

Try and comment this line.

Then re-execute

More documentation
You can find more documentation on the official bugzilla documentation page.