[Bug 713313] Review Request: msktutil - Program for interoperability with Active Directory

bugzilla at redhat.com bugzilla at redhat.com
Fri Nov 4 00:18:16 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=713313

Jonathan <jnilsson at uci.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jnilsson at uci.edu

--- Comment #22 from Jonathan <jnilsson at uci.edu> 2011-11-03 20:18:14 EDT ---
(In reply to comment #7)

I've helped test msktutil for Ken before, so I thought I would add these
results from RHEL 5.7 32-bit.

I expected to be able to build the package with this command (correct me if I
am wrong):
rpmbuild --rebuild msktutil-0.4-5.el5.src.rpm
or:
rpm -ivh msktutil-0.4-5.el5.src.rpm
rpmbuild -ba /usr/src/redhat/SPECS/msktutil.spec

> The problem is related to com_err:

Even with the latest "-5" version, I still get the following error messages:

<SNIP>
checking com_err.h usability... no
checking com_err.h presence... no
checking for com_err.h... no
...
checking whether com_err.h needs extern "C"... configure: error: Couldn't get
error_message to work.
error: Bad exit status from /var/tmp/rpm-tmp.71871 (%build)
</SNIP>

If I symlink com_err.h into /usr/include/ then the above rpmbuild works:
ln -s /usr/include/et/com_err.h /usr/include/

I notice in your msktutil.spec file that you do set CPPFLAGS in include
/usr/include/et/:
<SNIP>
%build
# Have to set CPPFLAGS per https://bugzilla.redhat.com/550889
# Confirmed fixed in F17.
%if (0%{?fedora} && 0%{?fedora} <= 16) || (0%{?rhel} && 0%{?rhel} <= 6)
export CPPFLAGS="-I/usr/include/et/"
%endif
</SNIP>

but here the output of my rpmbuild command shows that it skips the "export
CPPFLAGS" statement:
<SNIP>
cd 'msktutil-0.4'
# Have to set CPPFLAGS per https://bugzilla.redhat.com/550889
# Confirmed fixed in F17.

export KRB5_CONFIG="/usr/bin/krb5-config"
</SNIP>

I have no real experience building packages, so I'm not sure what I can do to
help at this point. But if there is anything I can do, let me know!

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list