On 08/17/12 10:03 AM, [email protected] wrote:
> Alan Coopersmith <[email protected]> wrote:
> 
>> On 08/17/12 09:25 AM, [email protected] wrote:
>>> BTW: the IPS meta data was also in an inconstsient state but IPS silently 
>>> ignores missing files....so the package creation did not abort. Did you fix 
>>> that for Illumos?
>>
>> That bug does not occur for anyone but your distro, so it must be something
>> you broke on your end.   IPS in all other distros refuses to build packages
>> if it can't find all the files needed for the package, as otherwise it would
>> be quite insane.
> 
> This is a really strange claim - given the fact that I did not change related 
> software. It is obvious that this behavior is caused by the IPS delivered by 
> Sun/Oracle.

Then either I'm misunderstanding you, or you're misunderstanding some failure
you saw - because I've had to fix or help others fix dozens of broken builds
where developer error caused a file not to be built and IPS publication aborted
and refused to build the packages.

It's easy to reproduce the case I'm claiming is what everyone else sees:

% cat test-manifest.p5m
set name=pkg.fmri [email protected]
set name=pkg.summary value="Test of package system"
file group=bin mode=0755 owner=root path=bin/foo
file group=bin mode=0755 owner=root path=bin/bar

% mkdir proto
% mkdir proto/bin
% touch proto/bin/foo

% pkgrepo create repo
% pkgrepo set -s repo publisher/prefix=test-pub
% pkgsend -s repo publish -d proto test-manifest.p5m
pkgsend: Action payload '/bin/bar' was not found in any of the provided 
locations:
proto
% touch proto/bin/bar
% pkgsend -s repo publish -d proto test-manifest.p5m
pkg://test-pub/[email protected],5.11:20120817T201847Z
PUBLISHED

Though most build systems like ON will actually fail earlier than that, when
"pkgdepend generate" can't find the files to gather dependencies from.

Can you show the case you're claiming you see?   Are you sure it wasn't a bug
that was fixed already?    I'm seeing no obvious failure how no matter how much
you want to claim it's obviously not your fault.

-- 
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to