Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437588 - ebuild rpm broken
Summary: ebuild rpm broken
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Ebuild Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 431026
  Show dependency tree
 
Reported: 2012-10-08 07:45 UTC by Tim Boudreau
Modified: 2012-10-08 23:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Boudreau 2012-10-08 07:45:48 UTC
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
Comment 2 Zac Medico gentoo-dev 2012-10-08 23:30:05 UTC
This is fixed in 2.1.11.25 and 2.2.0_alpha136.