Trying to build any ebuild using 'ebuild $FILE rpm' fails with Unknown tag: Copyright: GPL A quick search reveals http://www.epmhome.org/forums.php?gepm.bugs+v:261 (and a few other hits) which suggest that ebuild is outputting .spec files with long-disused metadata. Changing line 1178 in Portage 2.1.11.24 of /usr/lib/portage/bin/misc-functions.sh from Copyright: GPL to License: GPL fixes that immediate problem (there are other problems stemming from RPM expecting a source directory named *-ro.x86_64 which I have yet to find an incantation of /etc/rpm/macros to fix). I was hoping to use ebuilds as a lingua-fraca for generating RPM and Debian packages; however, it seems like this feature has been unmaintained for some time. Reproduced on x86_64 kernel-3.6.1-gentoo: Portage 2.1.11.24 RPM version 4.10.0 and x86 kernel-3.0.17-tuxonice-r1 Portage 2.1.10.49
Thanks, this is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ae5d657a2c7e5fcf23607e8b061f049e56f8137f
This is fixed in 2.1.11.25 and 2.2.0_alpha136.