Bug 192040 - xorg-x11-resutils fails to build with mock
Summary: xorg-x11-resutils fails to build with mock
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-resutils
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: BuildReqBlocker
TreeView+ depends on / blocked
 
Reported: 2006-05-16 23:55 UTC by Michael J Knox
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-23 05:49:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
mdomsch's mock buildlog (7.94 KB, text/plain)
2006-05-16 23:55 UTC, Michael J Knox
no flags Details
configure log (11.43 KB, text/plain)
2006-06-22 20:09 UTC, Michael J Knox
no flags Details

Description Michael J Knox 2006-05-16 23:55:01 UTC
Description of problem:

SRPM failed to rebuild inside of a mock chroot. 

Version-Release number of selected component (if applicable):

xorg-x11-resutils-1.0.1-1.2.src.rpm

How reproducible:

mock xorg-x11-resutils-1.0.1-1.2.src.rpm

Steps to Reproduce:
1. mock xorg-x11-resutils-1.0.1-1.2.src.rpm
2. wait for a while. 
3.
  
Actual results:

Not a successful rebuild

Expected results:

To successfully rebuild


Additional info:

checking pkg-config is at least version 0.9.0... yes
checking for TMP_XAW... configure: error: No suitable version of Xaw found
error: Bad exit status from /var/tmp/rpm-tmp.61101 (%build)

Comment 1 Michael J Knox 2006-05-16 23:55:02 UTC
Created attachment 129286 [details]
mdomsch's mock buildlog

Comment 2 Mike A. Harris 2006-05-23 14:44:52 UTC
Changing state to ASSIGNED.

Comment 3 Mike A. Harris 2006-06-06 12:00:55 UTC
The resutils spec file contains the following for a long time now:

BuildRequires: pkgconfig
BuildRequires: libX11-devel
BuildRequires: libXt-devel
BuildRequires: libXmu-devel
BuildRequires: libXext-devel
BuildRequires: libSM-devel
BuildRequires: libICE-devel
BuildRequires: libXaw-devel
# FIXME: appres has 'x11 xt' as a dependency check, which fails.  While it
# does not check for Xdmcp, installing libXdmcp-devel resolves the problem.
# This implies that one of the other library devel packages should probably
# have a Requires: libXdmcp-devel instead, but it isn't completely clear
# what the best solution is yet, so I'm putting this here.
BuildRequires: libXdmcp-devel


Both pkgconfig and libXaw-devel are listed there.  However, I just tried
to build the package in brew, and the package fails to build the same
way as reported above.  Examination of the build logs shows that mock in
fact did not install libXaw-devel, even though the rpm package states
that it is a dependency.

This appears to be a bug in mock.





Comment 4 Mike A. Harris 2006-06-06 12:54:19 UTC
I seem to have misread brew's build logs.  It turns out that libXaw is
getting installed afterall.  It appears that the ./configure test for
XAW is somehow not working in rawhide, but works fine in FC4 and FC1.

Presumeably this is breakage local to rawhide.


Comment 5 Mike A. Harris 2006-06-14 17:35:01 UTC
I totally can't reproduce this on my local test build systems whatsoever,
however it is completely reproduceable in our brew buildsystem.  It
was believed initially to be caused by libXaw not requiring "ed" at
build time, which caused libXaw to be built with incorrect soname,
but that has been fixed now aparently, and this problem still occurs.

There are more critical bugs to be working on currently, so I'm leaving
this one for now, however in the mean time, if anyone feels up to the
task of figuring out WTF is happening inside brew/mock, feel free to
fix this.

Otherwise, we'll eventually get around to it...




Comment 6 Michael J Knox 2006-06-22 20:00:16 UTC
You need to add a BuildRequires: libXpm-devel

Wrote: /builddir/build/RPMS/xorg-x11-resutils-1.0.1-1.2.i386.rpm
Wrote: /builddir/build/RPMS/xorg-x11-resutils-debuginfo-1.0.1-1.2.i386.rpm



Comment 7 Michael J Knox 2006-06-22 20:09:35 UTC
Created attachment 131382 [details]
configure log

The configure log is from editres

Comment 8 Mike A. Harris 2006-06-23 05:49:23 UTC
Thanks again Michael.  I've fixed the issue by updating the libXpm package
with a "Requires: libXpm-devel" in its devel subpackage, and rebuilding
resutils.

Should be fixed now in rawhide.


Note You need to log in before you can comment on or make changes to this bug.