Bug 144617 - X.org SRPM rebuild fails: mkallcomposecaches creates no cache files
Summary: X.org SRPM rebuild fails: mkallcomposecaches creates no cache files
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: X.Org (show other bugs)
Version: unspecified
Hardware: i686 SuSE Linux 10.0
: P5 - None : Critical
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2006-01-21 15:36 UTC by Joachim Schnitter
Modified: 2006-01-21 16:38 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Schnitter 2006-01-21 15:36:15 UTC
Rebuilding xorg-x11-6.8.2-100.2.src.rpm fails. mkallcomposecaches or mkcomposecache, respectively, do not produce any outout files during the %install phase of the RPM package rebuild. I could not manage mkcomposecache to output anything when called manually, not even an error message.

This but was entered with severity set to critical because it affects patching and further development by the community.

I tried to rebuild with different settings of LANG and LC_CTYPE but to no avail. Rebuild failed with LANG set to de_DE.UTF-8, en_US.UTF-8, and unset. LC_CTYPE settings did not affect he outcome of the procedure.

Here are the last few lines from the log file:
--
/usr/src/packages/BUILD/xc
+ install -m 755 /usr/src/packages/SOURCES/mkallcomposecaches.sh /var/tmp/xorg-x11-6.8.2-build/usr/X11R6/bin/mkallcomposecaches
+ /var/tmp/xorg-x11-6.8.2-build/usr/X11R6/bin/mkallcomposecaches /var/tmp/xorg-x11-6.8.2-build
/var/tmp/xorg-x11-6.8.2-build /usr/src/packages/BUILD/xc
/usr/src/packages/BUILD/xc
chmod: cannot access `/var/tmp/xorg-x11-6.8.2-build/var/X11R6/compose-cache/*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.32871 (%install)


RPM build errors:
    Unknown option ? in verify_permissions(:-:)
    Unknown option ? in verify_permissions(:-:)
    Bad exit status from /var/tmp/rpm-tmp.32871 (%install)

--
Please contact me in case more information is necessary.
Comment 1 Stefan Dirsch 2006-01-21 16:38:51 UTC
Good catch! For whatever reason this problem does *not* happen when using SUSE's (auto)build. I've fixed this now for 10.1 Beta2 by disabling Xvfb's authentication in mkallcomposecaches.

--- mkallcomposecaches.sh.old
+++ mkallcomposecaches.sh
@@ -12,7 +12,7 @@
 mkdir -p $RPM_BUILD_ROOT/var/X11R6/compose-cache
 
 tmpfile=$(mktemp /tmp/Xvfb.log.XXXXXXXXXX)
-$RPM_BUILD_ROOT/usr/X11R6/bin/Xvfb \
+$RPM_BUILD_ROOT/usr/X11R6/bin/Xvfb -ac \
   -fp $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc/ \
   -sp $RPM_BUILD_ROOT/etc/X11/xserver/SecurityPolicy \
   -co $RPM_BUILD_ROOT/usr/X11R6/lib/X11/rgb \