Re: [Fink-devel] automake1.12-1.12.3-1 fails tests on 10.7 (and10.6/*)

2012-09-05 Thread Max Horn

On 04.09.2012, at 14:43, Daniel Macks wrote:

> On Tue, 04 Sep 2012 16:31:00 -0400, Hanspeter Niederstrasser 
>  wrote:
>>  install-info 
>> --info-dir='/sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar'
>>  --remove 
>> '/sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar/main.info'
>> install-info(/sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar/main.info):
>>  no entry for file `main'. cp: /sw/share/info/dir.bak: Permission denied
>> install-info(/sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar/main.info):
>>  couldn't backup 
>> /sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar/dir
>>  in /sw/share/info/dir.bak: Inappropriate ioctl for device
>> 
>> Again, an info/dir problem. 
> 
> This might be a bug in install-info. Looks like it's hardcoding 
> /sw/share/info as the dir.bak location even for dir files in other 
> locations--a shared central backup location that overwrites (and possibly 
> races) for all --info-dir locations rather than "adjacent to the dir file 
> being backed up". 

Yes, that's right. So we could adjust our dpkg.patch, changing
  +$backup='@PREFIX@/share/info/dir.bak';
to
  +$backup="$infodir/dir.bak";
which would fix that particular error.

However, this is *not* what is tripping up the automake tests. Rather, this is:

ERROR: files left after uninstall:
./share/info/dir
./share/info/dir.old

*sigh*. I don't have a good idea right now how to fix that, short of making 
major changes to our install-info (e.g. removing the dir file altogether...), 
or replacing it entirely with the one from texinfo. Huh, well, I guess I could 
insert a fake install-info into the PATH of the TestScript... But for now, I'll 
just disable those tests.


Cheers,
Max
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] automake1.12-1.12.3-1 fails tests on 10.7 (and10.6/*)

2012-09-05 Thread Daniel Macks
On Wed, 05 Sep 2012 08:55:24 -0400, Hanspeter Niederstrasser 
 wrote:
> As a user, I would be annoyed if all those TestDepends were added 
> (most especially coreutils-default) since they take over system 
> provided programs. 

For the specific case of "coreutils-default", which fills /sw/bin, one 
can instead depend on "coreutils", which has everything buried 
/sw/lib/coreutils/bin that can be prepended to PATH to make visible for 
the tests. 

dan

  --
Daniel Macks
dma...@netspace.org



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] automake1.12-1.12.3-1 fails tests on 10.7 (and10.6/*)

2012-09-04 Thread Daniel Macks
On Tue, 04 Sep 2012 16:31:00 -0400, Hanspeter Niederstrasser 
 wrote:
>   install-info 
> --info-dir='/sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar'
>  --remove 
> '/sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar/main.info'
> install-info(/sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar/main.info):
>  no entry for file 
> `main'. 
> cp: /sw/share/info/dir.bak: Permission denied
> install-info(/sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar/main.info):
>  couldn't backup 
> /sw/build.build/automake1.12-1.12.3-1/automake-1.12.3/t/distcheck-override-infodir.dir/distcheck-override-infodir-1.0/_inst/blah/blah/foobar/dir
>  in /sw/share/info/dir.bak: Inappropriate ioctl for 
> device
>
> Again, an info/dir problem. 

This might be a bug in install-info. Looks like it's hardcoding 
/sw/share/info as the dir.bak location even for dir files in other 
locations--a shared central backup location that overwrites (and 
possibly races) for all --info-dir locations rather than "adjacent to 
the dir file being backed up". 

dan

  --
Daniel Macks
dma...@netspace.org



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel