#30070 perl-5.8.1-r1 failes on h2ph / gnome-xml/libxml #49541 perl-5.8.2-r1 pkg_postinstall() failed due to h2ph problems #68177 h2ph handling in dev-lang/perl ebuilds is incorrect #177833 app-admin/perl-cleaner: won't do h2ph for asm-generic/ #194600 dev-lang/perl-5.8.8-r2 won't do h2ph for asm-generic/ perl-5.8.8 ebuilds: =========== in src_install: --------------- | LD_LIBRARY_PATH=. ./perl -Ilib utils/h2ph_patched \ | -a -d "${D}"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading} <<EOF | asm/termios.h | syscall.h | syslimits.h | syslog.h | sys/ioctl.h | sys/socket.h | sys/time.h | wait.h | EOF in pkg_postinst: ---------------- | cd /usr/include; | h2ph * | h2ph -r sys/* arpa/* netinet/* bits/* security/* asm/* gnu/* linux/* gentoo* perl-cleaner ============ also converts what's in pkg_postinst What should we do? ================== - Convert asm-generic/* too? Any problems with old linux-headers (like 2.4.*)? - Minimise the converted headers ie only h2ph -a asm/termios.h..wait.h ? Debian and Fedora do this. - <http://search.cpan.org/dist/perl/INSTALL#cd_/usr/include;_h2ph_*.h_sys/*.h>: | Some perl scripts need to be able to obtain information | from the system header files. | This command will convert the most commonly used header files | in /usr/include into files that can be easily interpreted by perl.
(In reply to comment #0) > in src_install: > --------------- > > | LD_LIBRARY_PATH=. ./perl -Ilib utils/h2ph_patched \ > | -a -d "${D}"/usr/$(get_libdir)/perl5/${MY_PV}/${myarch}${mythreading} <<EOF > | asm/termios.h > | syscall.h > | syslimits.h > | syslog.h > | sys/ioctl.h > | sys/socket.h > | sys/time.h > | wait.h > | EOF This doesn't even work.
dev-lang/perl-5.12.1 and app-admin/perl-cleaner-2.2 convert (recursively) Perl header files for: | asm/termios.h | syscall.h | syslimits.h | syslog.h | sys/ioctl.h | sys/socket.h | sys/time.h | wait.h | sysexits.h Fixed for now