You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Alexey N. Solofnenko" <A....@mdl.com> on 2005/10/18 03:07:59 UTC

Bootstrapping on Solaris does not work because of

I found the reason why I cannot build on Solaris - <chmod> does nothing.
I added "-v" option into bootstrap.sh and this is what was printed:

Current OS is SunOS
Current OS is SunOS
Current OS is SunOS


That is it. The scripts do not have executable permission and the
following test fails with error. Does <chmod> work for somebody on Solaris?

- Alexey.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 17 Oct 2005, Alexey N. Solofnenko <A....@mdl.com>
wrote:

> I found the reason why I cannot build on Solaris - <chmod> does
> nothing.  I added "-v" option into bootstrap.sh and this is what was
> printed:

-d might be better since you'll see the results of DirectoryScanner.

One thing I noticed while working on <tar>'s resource collection
support (gonna raise it in a different thread) is that
FileUtils.iterator() doesn't return directories (by design) - maybe
this is a hint.

Gump does bootstrap on Solaris[1], but it never uses the wrapper scripts,
so we wouldn't notice when chmod fails.

Stefan

Footnotes: 
[1]  http://gump.zones.apache.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by "Alexey N. Solofnenko" <A....@mdl.com>.
No, just regular joe.

- Alexey.

Martin Gainty wrote:
> Dumb Question but I have to ask it
> You logged in as root ?
> Martin
> ----- Original Message ----- From: "Alexey N. Solofnenko" 
> <A....@mdl.com>
> To: <de...@ant.apache.org>
> Sent: Monday, October 17, 2005 9:07 PM
> Subject: Bootstrapping on Solaris does not work because of <chmod>
>
>
>> I found the reason why I cannot build on Solaris - <chmod> does nothing.
>> I added "-v" option into bootstrap.sh and this is what was printed:
>>
>> Current OS is SunOS
>> Current OS is SunOS
>> Current OS is SunOS
>>
>>
>> That is it. The scripts do not have executable permission and the
>> following test fails with error. Does <chmod> work for somebody on 
>> Solaris?
>>
>> - Alexey.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by Steve Loughran <st...@apache.org>.
Matt Benson wrote:
> hmmm... I'm fresh out of *nix boxes at the moment.
>  :(  I will try to research starting with attrib.
> 
> -Matt

I will think about creating a solaris image under vmware, to sit by the 
win98 image

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by Matt Benson <gu...@yahoo.com>.
hmmm... I'm fresh out of *nix boxes at the moment.
 :(  I will try to research starting with attrib.

-Matt

--- "Alexey N. Solofnenko" <A....@mdl.com>
wrote:

> I can add executable permission on my files from
> command line. However 
> ANT does not do it during bootstrapping. I guess
> <chmod> is broken at 
> the moment. Since it used to work, resource
> collection support seems 
> like a likely reason.
> 
> - Alexey.
> 
> Martin Gainty wrote:
> > Alexey-
> >
> > I have no knowledge of resource collection code
> could you provide any 
> > documentation please?
> > I do know that executing the same chmod at shell
> command prompt 
> > without log into root will not change permission
> of file/directory
> > Take a look at
> http://ant.apache.org/manual/CoreTasks/chmod.html
> >
> > благодарность,
> > Martin-
> > ----- Original Message ----- From: "Alexey N.
> Solofnenko" 
> > <A....@mdl.com>
> > To: "Ant Developers List" <de...@ant.apache.org>
> > Sent: Tuesday, October 18, 2005 3:08 PM
> > Subject: Re: Bootstrapping on Solaris does not
> work because of <chmod>
> >
> >
> >> I think it may be related to new resource
> collection code. Was 
> >> <chmod> retrofitted to use them?
> >>
> >> - Alexey.
> >>
> >> Martin Gainty wrote:
> >>> Dumb Question but I have to ask it
> >>> You logged in as root ?
> >>> Martin
> >>> ----- Original Message ----- From: "Alexey N.
> Solofnenko" 
> >>> <A....@mdl.com>
> >>> To: <de...@ant.apache.org>
> >>> Sent: Monday, October 17, 2005 9:07 PM
> >>> Subject: Bootstrapping on Solaris does not work
> because of <chmod>
> >>>
> >>>
> >>>> I found the reason why I cannot build on
> Solaris - <chmod> does 
> >>>> nothing.
> >>>> I added "-v" option into bootstrap.sh and this
> is what was printed:
> >>>>
> >>>> Current OS is SunOS
> >>>> Current OS is SunOS
> >>>> Current OS is SunOS
> >>>>
> >>>>
> >>>> That is it. The scripts do not have executable
> permission and the
> >>>> following test fails with error. Does <chmod>
> work for somebody on 
> >>>> Solaris?
> >>>>
> >>>> - Alexey.
> >>>>
> >>>>
> >>>>
>
---------------------------------------------------------------------
> >>>> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> >>>> For additional commands, e-mail:
> dev-help@ant.apache.org
> >>>>
> >>>>
> >>>
> >>>
>
---------------------------------------------------------------------
> >>> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> >>> For additional commands, e-mail:
> dev-help@ant.apache.org
> >>
> >>
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> >> For additional commands, e-mail:
> dev-help@ant.apache.org
> >>
> >>
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> dev-help@ant.apache.org
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by "Alexey N. Solofnenko" <A....@mdl.com>.
I can add executable permission on my files from command line. However 
ANT does not do it during bootstrapping. I guess <chmod> is broken at 
the moment. Since it used to work, resource collection support seems 
like a likely reason.

- Alexey.

Martin Gainty wrote:
> Alexey-
>
> I have no knowledge of resource collection code could you provide any 
> documentation please?
> I do know that executing the same chmod at shell command prompt 
> without log into root will not change permission of file/directory
> Take a look at http://ant.apache.org/manual/CoreTasks/chmod.html
>
> благодарность,
> Martin-
> ----- Original Message ----- From: "Alexey N. Solofnenko" 
> <A....@mdl.com>
> To: "Ant Developers List" <de...@ant.apache.org>
> Sent: Tuesday, October 18, 2005 3:08 PM
> Subject: Re: Bootstrapping on Solaris does not work because of <chmod>
>
>
>> I think it may be related to new resource collection code. Was 
>> <chmod> retrofitted to use them?
>>
>> - Alexey.
>>
>> Martin Gainty wrote:
>>> Dumb Question but I have to ask it
>>> You logged in as root ?
>>> Martin
>>> ----- Original Message ----- From: "Alexey N. Solofnenko" 
>>> <A....@mdl.com>
>>> To: <de...@ant.apache.org>
>>> Sent: Monday, October 17, 2005 9:07 PM
>>> Subject: Bootstrapping on Solaris does not work because of <chmod>
>>>
>>>
>>>> I found the reason why I cannot build on Solaris - <chmod> does 
>>>> nothing.
>>>> I added "-v" option into bootstrap.sh and this is what was printed:
>>>>
>>>> Current OS is SunOS
>>>> Current OS is SunOS
>>>> Current OS is SunOS
>>>>
>>>>
>>>> That is it. The scripts do not have executable permission and the
>>>> following test fails with error. Does <chmod> work for somebody on 
>>>> Solaris?
>>>>
>>>> - Alexey.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>>> For additional commands, e-mail: dev-help@ant.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by Martin Gainty <mg...@hotmail.com>.
Alexey-

I have no knowledge of resource collection code could you provide any 
documentation please?
I do know that executing the same chmod at shell command prompt without log 
into root will not change permission of file/directory
Take a look at http://ant.apache.org/manual/CoreTasks/chmod.html

благодарность,
Martin-
----- Original Message ----- 
From: "Alexey N. Solofnenko" <A....@mdl.com>
To: "Ant Developers List" <de...@ant.apache.org>
Sent: Tuesday, October 18, 2005 3:08 PM
Subject: Re: Bootstrapping on Solaris does not work because of <chmod>


>I think it may be related to new resource collection code. Was <chmod> 
>retrofitted to use them?
>
> - Alexey.
>
> Martin Gainty wrote:
>> Dumb Question but I have to ask it
>> You logged in as root ?
>> Martin
>> ----- Original Message ----- From: "Alexey N. Solofnenko" 
>> <A....@mdl.com>
>> To: <de...@ant.apache.org>
>> Sent: Monday, October 17, 2005 9:07 PM
>> Subject: Bootstrapping on Solaris does not work because of <chmod>
>>
>>
>>> I found the reason why I cannot build on Solaris - <chmod> does nothing.
>>> I added "-v" option into bootstrap.sh and this is what was printed:
>>>
>>> Current OS is SunOS
>>> Current OS is SunOS
>>> Current OS is SunOS
>>>
>>>
>>> That is it. The scripts do not have executable permission and the
>>> following test fails with error. Does <chmod> work for somebody on 
>>> Solaris?
>>>
>>> - Alexey.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>>> For additional commands, e-mail: dev-help@ant.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by Matt Benson <gu...@yahoo.com>.
Stefan modified apply IIRC.  So yes.

-Matt

--- "Alexey N. Solofnenko" <A....@mdl.com>
wrote:

> I think it may be related to new resource collection
> code. Was <chmod> 
> retrofitted to use them?
> 
> - Alexey.
> 
> Martin Gainty wrote:
> > Dumb Question but I have to ask it
> > You logged in as root ?
> > Martin
> > ----- Original Message ----- From: "Alexey N.
> Solofnenko" 
> > <A....@mdl.com>
> > To: <de...@ant.apache.org>
> > Sent: Monday, October 17, 2005 9:07 PM
> > Subject: Bootstrapping on Solaris does not work
> because of <chmod>
> >
> >
> >> I found the reason why I cannot build on Solaris
> - <chmod> does nothing.
> >> I added "-v" option into bootstrap.sh and this is
> what was printed:
> >>
> >> Current OS is SunOS
> >> Current OS is SunOS
> >> Current OS is SunOS
> >>
> >>
> >> That is it. The scripts do not have executable
> permission and the
> >> following test fails with error. Does <chmod>
> work for somebody on 
> >> Solaris?
> >>
> >> - Alexey.
> >>
> >>
> >>
>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> >> For additional commands, e-mail:
> dev-help@ant.apache.org
> >>
> >>
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> > For additional commands, e-mail:
> dev-help@ant.apache.org
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by "Alexey N. Solofnenko" <A....@mdl.com>.
I think it may be related to new resource collection code. Was <chmod> 
retrofitted to use them?

- Alexey.

Martin Gainty wrote:
> Dumb Question but I have to ask it
> You logged in as root ?
> Martin
> ----- Original Message ----- From: "Alexey N. Solofnenko" 
> <A....@mdl.com>
> To: <de...@ant.apache.org>
> Sent: Monday, October 17, 2005 9:07 PM
> Subject: Bootstrapping on Solaris does not work because of <chmod>
>
>
>> I found the reason why I cannot build on Solaris - <chmod> does nothing.
>> I added "-v" option into bootstrap.sh and this is what was printed:
>>
>> Current OS is SunOS
>> Current OS is SunOS
>> Current OS is SunOS
>>
>>
>> That is it. The scripts do not have executable permission and the
>> following test fails with error. Does <chmod> work for somebody on 
>> Solaris?
>>
>> - Alexey.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
>> For additional commands, e-mail: dev-help@ant.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by Martin Gainty <mg...@hotmail.com>.
Dumb Question but I have to ask it
You logged in as root ?
Martin
----- Original Message ----- 
From: "Alexey N. Solofnenko" <A....@mdl.com>
To: <de...@ant.apache.org>
Sent: Monday, October 17, 2005 9:07 PM
Subject: Bootstrapping on Solaris does not work because of <chmod>


>I found the reason why I cannot build on Solaris - <chmod> does nothing.
> I added "-v" option into bootstrap.sh and this is what was printed:
>
> Current OS is SunOS
> Current OS is SunOS
> Current OS is SunOS
>
>
> That is it. The scripts do not have executable permission and the
> following test fails with error. Does <chmod> work for somebody on 
> Solaris?
>
> - Alexey.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by Alexey Solofnenko <tr...@gmail.com>.
Bootstrapping is working now. Thank you.

- Alexey.

On 10/20/05, Stefan Bodewig <bo...@apache.org> wrote:
>
> On Wed, 19 Oct 2005, Stefan Bodewig <bo...@apache.org> wrote:
> > On Mon, 17 Oct 2005, Alexey N. Solofnenko <A....@mdl.com>
> > wrote:
> >
> >> I found the reason why I cannot build on Solaris - <chmod> does
> >> nothing.
> >
> > Happens on my Linux box as well.
>
> should work now.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


--
Alexey N. Solofnenko trelony at gmail.com <http://gmail.com>
home: http://trelony.cjb.net/
Pleasant Hill, CA (GMT-8 hours usually)

Re: Bootstrapping on Solaris does not work because of

Posted by Stefan Bodewig <bo...@apache.org>.
On Wed, 19 Oct 2005, Stefan Bodewig <bo...@apache.org> wrote:
> On Mon, 17 Oct 2005, Alexey N. Solofnenko <A....@mdl.com>
> wrote:
> 
>> I found the reason why I cannot build on Solaris - <chmod> does
>> nothing.
> 
> Happens on my Linux box as well.

should work now.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Bootstrapping on Solaris does not work because of

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 17 Oct 2005, Alexey N. Solofnenko <A....@mdl.com>
wrote:

> I found the reason why I cannot build on Solaris - <chmod> does
> nothing.

Happens on my Linux box as well.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org