Bug 61027 - BUILD FAILED: the associated path '%s' does not support the PosixFileAttributeView
Summary: BUILD FAILED: the associated path '%s' does not support the PosixFileAttribut...
Status: REOPENED
Alias: None
Product: Ant
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 1.10.1
Hardware: PC All
: P2 normal (vote)
Target Milestone: 1.10.2
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-23 02:43 UTC by Vitaly Kiselev
Modified: 2017-08-24 08:00 UTC (History)
1 user (show)



Attachments
Output with errors stream from the windows cmd-console (7.44 KB, text/plain)
2017-04-23 02:43 UTC, Vitaly Kiselev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Kiselev 2017-04-23 02:43:52 UTC
Created attachment 34941 [details]
Output with errors stream from the windows cmd-console

Overview
-----------
Failed to build ant-1.10.1 from the source.


Steps to Reproduce
-----------
1) unpack the source archive "apache-ant-1.10.1-src.zip"
2) go to newly created directory "apache-ant-1.10.1" in the cmd-console
3) run "build install" command


Actual Results
-----------
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

BUILD FAILED
D:\distr\jvm\dev\java\tools\ant\apache-ant-1.10.1\build.xml:1086: The following error occurred while executing this line:
D:\distr\jvm\dev\java\tools\ant\apache-ant-1.10.1\build.xml:927: the associated path 'D:\distr\jvm\dev\java\tools\ant\apache-ant-1.10.1\bootstrap' does not support the PosixFileAttributeView

Total time: 7 seconds

BUILD FAILED
D:\distr\jvm\dev\java\tools\ant\apache-ant-1.10.1\build.xml:1420: The following error occurred while executing this line:
D:\distr\jvm\dev\java\tools\ant\apache-ant-1.10.1\build.xml:927: the associated path 'C:\soft\jvm\dev\java\tools\ant\apache-ant-1.10.1' does not support the PosixFileAttributeView

Total time: 9 seconds


Expected Results
-----------
Build successful was expected.


Build Date & Hardware
-----------
Build 2017-04-23 on Windows 7 Professional SP1 x64
Oracle JDK 8u131 x64


Additional Builds and Platforms
-----------
Bug takes place on Windows XP Professional SP3 x86
Oracle JDK 8u131 x86


Additional Information
-----------
ANT_HOME=C:\soft\jvm\dev\java\tools\ant\apache-ant-1.10.1
Comment 1 Stefan Bodewig 2017-04-23 14:10:49 UTC
the current master branch should work, now. Many thanks Vitaly!

You may want to modify the setpermissions tasks by adding nonPosixMode="tryDosOrFail" to make 1.10.1's bootstrap work for you.

It seems we are not properly trying to bootstrap Ant within our Windows Jenkins builds.
Comment 2 Stefan Bodewig 2017-04-23 14:12:09 UTC
(In reply to Stefan Bodewig from comment #1)

> nonPosixMode="tryDosOrFail"

should have been nonPosixMode="tryDosOrPass"
Comment 3 Julio D W. 2017-08-23 12:28:18 UTC
Today I encountered this same issue on my computer. Would you mind help me to fix this problem???

Build Date & Hardware
-----------
Build 2017-04-23 on Windows 7 Professional SP1 x64
Oracle JDK 8u131 x64


Additional Information
-----------
ANT_HOME=e:\ant
Comment 4 Jaikiran Pai 2017-08-24 08:00:44 UTC
Julio, do you mean you are trying to build Ant from source and running into this error? Can you provide more details and steps and the exact error/exception stacktrace to explain what issue you are running into?