Bug 71513
| Summary: | perl headers are incompletely built | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <corey> |
| Component: | perl | Assignee: | Jason Vas Dias <jvdias> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | CC: | corey, kjetilho, perl-devel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-11-01 20:34:57 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Need Real Name
2002-08-14 16:49:55 UTC
the issue in the original comment has been resolved in Red Hat 9 (perl-5.8.0-88).
however, some headers are still missing, since the list of files is filtered
against just a few directories. here's the relevant excerpt from spec-file:
# Generate *.ph files with a trick. Is this sick or what ?
make all -f - <<EOF
PKGS = glibc-devel gdbm-devel gpm-devel libgr-devel libjpeg-devel \
libpng-devel libtiff-devel ncurses-devel popt \
zlib-devel binutils libelf e2fsprogs-devel pam pwdb \
rpm-devel
STDH = \$(filter %{_includedir}/include/%%, \$(shell rpm -q --queryformat '[%
%{FILENAMES}\n]' \$(PKGS)))
STDH +=\$(wildcard %{_includedir}/linux/*.h) \
\$(wildcard %{_includedir}/bits/*.h) \
\$(wildcard %{_includedir}/sys/*.h) \
\$(wildcard %{_includedir}/scsi/*.h)
# \$(wildcard %{_includedir}/asm/*.h)
in particular, I'm missing errno.ph. however, just adding \$(wildcard
%{_includedir}/*.h) isn't sufficient since it includes bits/errno.h ->
linux/errno.h -> asm/errno.h
note that <errno.h> is the official location of the header, so substituting
require 'sys/errno.ph' in my Perl code is unportable. therefore both *.h and
asm/*.h must be added.
(actually, looking closer: the original problem has _not_ been resolved, since
bits/syscall.h assumes asm/unistd.h has been included)
List, is this still an issue? sys/syscall.ph works, errno.ph doesn't. this is with perl-5.8.6-15 |