Bug 575165 - RPM build failing -- use of non-existent macro
Summary: RPM build failing -- use of non-existent macro
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: openais
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ryan O'Hara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 575877
TreeView+ depends on / blocked
 
Reported: 2010-03-19 16:19 UTC by Mark Drayton
Modified: 2010-05-19 17:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 575877 (view as bug list)
Environment:
Last Closed: 2010-05-19 17:15:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
initrddir, not initddir (255 bytes, patch)
2010-03-19 16:19 UTC, Mark Drayton
no flags Details | Diff

Description Mark Drayton 2010-03-19 16:19:45 UTC
Created attachment 401281 [details]
initrddir, not initddir

Description of problem:

RPM fails to build due to referencing missing macro (%{_initddir} vs %{_initrddir})

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

1.1.2

How reproducible:

Always

Steps to Reproduce:
1. ./configure && make openais.spec
2. rpmbuild -bb openais.spec
  
Actual results:

Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/openais-1.1.2-2.r-r14582
error: Installed (but unpackaged) file(s) found:
  /%{_initddir}/openais


RPM build errors:
   File not found: /var/tmp/openais-1.1.2-2.r-r14582/etc/rc.d/init.d/openais
   Installed (but unpackaged) file(s) found:
  /%{_initddir}/openais

Expected results:

Error-free build and binary RPM.

Additional info:

Patch attached.

Comment 1 Fabio Massimo Di Nitto 2010-03-19 17:56:52 UTC
On which distribution are you building?

This macro exists in Fedora at least for the past 3 or 4 releases.

Comment 2 Mark Drayton 2010-03-19 18:38:18 UTC
RHEL 5.4:

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
# rpm --showrc | grep init
-14: _initrddir	%{_sysconfdir}/rc.d/init.d

Comment 3 Fabio Massimo Di Nitto 2010-03-22 15:50:38 UTC
Looks like a sensible change, interesting enough you didn´t see the same problem with corosync.

I´ll just clone this one.

Comment 4 Ryan O'Hara 2010-05-19 17:15:53 UTC
Fixed upstream in both trunk and openais 1.1.3 release.


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