http://qa.mandrakesoft.com/show_bug.cgi?id=4207
Product: rpm
Component: program
Summary: BuildRequires parsing (rpm -qpR) incorrect
Product: rpm
Version: 4.2-12mdk
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: program
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
I think there is a bug in the mechanism to get the BuildRequires out of a
package with rpm -qpR.
Where is gd-devel?:
$ rpm -qpR /mirrors/cooker/SRPMS/glibc-2.3.2-5mdk.src.rpm | sort
binutils >= 2.13.90.0.18-2mdk
gcc >= 2.96-0.50mdk
gettext
patch
perl
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(VersionedDependencies) <= 3.0.3-1
tetex
tetex-latex
texinfo
But there in glibc.spec:
# Define to bootstrap new glibc
%define build_bootstrap 0
%define build_profile 1
%define build_nscd 1
%define build_doc 1
%define build_utils 1
%define build_i18ndata 1
%define build_timezone 1
# Disable a few defaults when cross-compiling a glibc
%if "%{name}" != "glibc"
%define build_doc 0
%define build_pdf_doc 0
%define build_biarch 0
%define build_check 0
%define build_debug 0
%define build_nscd 0
%define build_profile 0
%define build_utils 0
%define build_i18ndata 0
%define build_timezone 0
%endif
# Allow --with[out] <feature> at rpm command line build
%{expand: %{?_without_PDF: %%global build_pdf_doc 0}}
%{expand: %{?_without_CHECK: %%global build_check 0}}
%{expand: %{?_without_UTILS: %%global build_utils 0}}
%{expand: %{?_without_BOOTSTRAP:%%global build_bootstrap 0}}
%{expand: %{?_with_PDF: %%global build_pdf_doc 1}}
%{expand: %{?_with_CHECK: %%global build_check 1}}
%{expand: %{?_with_UTILS: %%global build_utils 1}}
%{expand: %{?_with_BOOTSTRAP: %%global build_bootstrap 1}}
I guess rpm -qpR takes the define from the cross-compiling section...
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.