The rpm-4.0.4-r1.ebuild files duing the compile with the following error message:
make: *** No rule to make target `../popt/popt.h', needed by `files.lo'. Stop.
make: Leaving directory `/var/tmp/portage/rpm-4.0.4-r1/work/rpm-4.0.4/build'
make: *** [all-recursive] Error 1
make: Leaving directory `/var/tmp/portage/rpm-4.0.4-r1/work/rpm-4.0.4'
make: *** [all-recursive-am] Errot 2
Updated the patch to use /usr/include/popt.h. Please try now. PS: I hope having /usr/include/popt.h as a dep in the makefile won't make it do anything nasty, since it doesn't have any actual rule about it. Anyway, if it tried the sandbox would stop it.
merge worked. closing.