Bug 67189
Summary: | sawfish-1.9.0-2.src.rpm fails to build (7.3-everything upgrade to Milan beta-2) | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux Beta | Reporter: | Glen A. Foster <glen.foster> |
Component: | sawfish | Assignee: | Havoc Pennington <hp> |
Status: | CLOSED RAWHIDE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | beta2 | CC: | katzj |
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: | 2002-08-13 20:24:43 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: | |||
Bug Depends On: | |||
Bug Blocks: | 67217 |
Description
Glen A. Foster
2002-06-20 18:52:21 UTC
Seems to work for me with latest. With a fresh Milan-re0717.nightly tree, I am getting the same LANG=C message as pointed out above. This is for sawfish-1.9.0-3. 1.9.0-5 has a random stab at a fix, but if it doesn't work I'd guess this is an RPM bug. I take it back, the build system is horked so there's no 1.9.0-5 yet. *** Bug 69305 has been marked as a duplicate of this bug. *** #69305 argues it's an RPM issue. I think it's pretty obviously a change in RPM behavior, if nothing else. It's because the spec file references %install in a comment instead of using %%install. The spec file parser always expands macros when it sees them and so %install gets expanded to a multiline bash script in a place where you can't just randomly expand bash. I still see the same behavior with Limbo, except that the only single line now is reported with the error on line _26_ (used to be #24). After editing the lines: ## If you add themes, be sure to add the tarball to the list ## down below in %install to: ## If you add themes, be sure to add the tarball to the list ## down below in %%install and recompiling sawfish.spec. You get the following error: RPM build errors: File not found: /var/tmp/sawfish-1.9.0-root/usr/libexec/rep/i386-redhat-linux-gnu/sawfish In the %files section of the spec file, the macro %_target_platform expands properly in the line --> %{_libexecdir}/sawfish/*/%{_target_platform} but does not expand properly in --> %{_libexecdir}/rep/%{_target_platform}/sawfish fixed in 2.0-2 and later. Fix confirmed with sawfish-2.0-4. |