Right, I've narrowed this down to the install call on the accounting.info file.

What seems to be happening is that on moblin, install just copies the file to the destination setting ownership/permissions etc as expected.

On Fedora11, install seems to be calling install-info, which is making the /usr/share/info/dir file.

test -z "/usr/share/info" || mkdir -p -- "/home/glen/rpmbuild/ BUILDROOT/acct-6.4pre1-2.6.moblin2.i386/usr/share/info" /usr/bin/install -c -m 644 './accounting.info' '/home/glen/rpmbuild/ BUILDROOT/acct-6.4pre1-2.6.moblin2.i386/usr/share/info/accounting.info' install-info --info-dir='/home/glen/rpmbuild/BUILDROOT/ acct-6.4pre1-2.6.moblin2.i386/usr/share/info' '/home/glen/rpmbuild/ BUILDROOT/acct-6.4pre1-2.6.moblin2.i386/usr/share/info/accounting.info' install-info: warning: no info dir entry in `/home/glen/rpmbuild/ BUILDROOT/acct-6.4pre1-2.6.moblin2.i386/usr/share/info/accounting.info'


Anyone any suggestions ? I don't want to go down the route of editing the .spec files.

On 3 Jun 2009, at 09:20, Wang, Jing J wrote:

Right! I am building the src rpm on Moblin environment.

-----Original Message-----
From: Glen Gray [mailto:[email protected]]
Sent: 2009年6月3日 16:03
To: Wang, Jing J
Cc: [email protected]
Subject: Re: [Moblin Dev] Compiling the source rpms

Thanks Jing,

I assume you're building the rpm on Moblin itself. If that's the case
then there's something I possibly missing in my setup, I was building
Fedora11 workstation.

Hence my question about some rpm macro foo. I'll have to investigate
further.

Cheers,

On 3 Jun 2009, at 08:55, Wang, Jing J wrote:

I tried the latest acct-6.4pre1-2.6.moblin2.src.rpm on moblin repo.
Sounds it works for me to build. Below are my steps,
1. wget acct src rpm
2. rpm -ivh acct-6.4pre1-2.6.moblin2.src.rpm
3. cd /root/rpmbuild/SPEC
4. rpmbuild -bb acct.spec

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Glen Gray
Sent: 2009年6月2日 23:29
To: [email protected]
Subject: [Moblin Dev] Compiling the source rpms

Hey Guys,

noticed that the acct-6.4 source rpm released under the Beta doesn't
fully built. I'm getting an installed but unpackaged error for /usr/
share/info/dir.

Is this a known issue or are errors like that avoided with some rpm
macro foo ?

Cheers,
--
Glen Gray <[email protected]>         Digital Depot, Thomas Street
Software Engineering Manager                        Dublin 8, Ireland
Lincor Solutions Ltd.                          Ph: +353 (0) 1 4893682


_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account
on http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

--
Glen Gray <[email protected]>         Digital Depot, Thomas Street
Software Engineering Manager                        Dublin 8, Ireland
Lincor Solutions Ltd.                          Ph: +353 (0) 1 4893682


--
Glen Gray <[email protected]>         Digital Depot, Thomas Street
Software Engineering Manager                        Dublin 8, Ireland
Lincor Solutions Ltd.                          Ph: +353 (0) 1 4893682

_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to