$ koji list-targets --name dist-f14-perltest Name Buildroot Destination --------------------------------------------------------------------------------------------- dist-f14-perltest dist-f14-perltest dist-f14-perltest $ koji list-buildroot dist-f14-perltest ValueError: invalid literal for int() with base 10: 'dist-f14-perltest' koji does not expect number in place of buildroot obviously. This is insufficient as dedicated targets have its own special buildroot ID. Using "14" for "dist-f14-build" works: $ koji list-buildroot 14 |head MAKEDEV-3.23-1.2.i386 SysVinit-2.86-14.i386 audit-libs-1.2.8-1.fc6.i386 basesystem-8.0-5.1.1.noarch bash-3.1-16.1.i386 beecrypt-4.1.2-10.1.1.i386 binutils-2.17.50.0.3-6.i386 buildsys-macros-6-1.fc6.noarch bzip2-1.0.3-3.i386 bzip2-libs-1.0.3-3.i386
Unfortunately koji deals with a number of overloaded terms. We try to be internally consistent, but can cannot control how others chose to talk about koji or build tools in general. In Koji, a buildroot is the chroot environment on a build host that is used to perform various tasks (mainly builds). Since Koji generates fresh buildroots for each build there are a *lot* of buildroots. Buildroots do not have any sort of name. They only have a numeric id. You seem to want to refer to a build root by a tag name, but a tag can correspond to many, many buildroots (or none at all). While the list-buildroot command could certainly use a few improvements, the one you're asking for is nonsensical.