[
https://issues.apache.org/jira/browse/HDDS-12893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang reopened HDDS-12893:
------------------------------------
> cp: warning: behavior of -n is non-portable and may change in future; use
> --update=none instead
> -----------------------------------------------------------------------------------------------
>
> Key: HDDS-12893
> URL: https://issues.apache.org/jira/browse/HDDS-12893
> Project: Apache Ozone
> Issue Type: Improvement
> Components: build
> Reporter: Wei-Chiu Chuang
> Assignee: Huang Guan Hao
> Priority: Minor
> Labels: newbie, pull-request-available
> Fix For: 2.1.0
>
>
> See:
> https://github.com/apache/ozone/actions/runs/14605790253/job/40974439000?pr=8226
> The test has a lot of log spews like this :
> {noformat}
> cp: warning: behavior of -n is non-portable and may change in future; use
> --update=none instead
> '/home/runner/work/ozone/ozone/hadoop-hdds/server-scm/target/classes/hdds-server-scm.classpath'
> -> 'share/ozone/classpath/hdds-server-scm.classpath'
> cp: warning: behavior of -n is non-portable and may change in future; use
> --update=none instead
> '/home/runner/work/ozone/ozone/hadoop-ozone/cli-shell/target/classes/ozone-cli-shell.classpath'
> -> 'share/ozone/classpath/ozone-cli-shell.classpath'
> cp: warning: behavior of -n is non-portable and may change in future; use
> --update=none instead
> '/home/runner/work/ozone/ozone/hadoop-ozone/csi/target/classes/ozone-csi.classpath'
> -> 'share/ozone/classpath/ozone-csi.classpath'
> cp: warning: behavior of -n is non-portable and may change in future; use
> --update=none instead
> '/home/runner/work/ozone/ozone/hadoop-ozone/datanode/target/classes/ozone-datanode.classpath'
> -> 'share/ozone/classpath/ozone-datanode.classpath'
> cp: warning: behavior of -n is non-portable and may change in future; use
> --update=none instead
> '/home/runner/work/ozone/ozone/hadoop-ozone/httpfsgateway/target/classes/ozone-httpfsgateway.classpath'
> -> 'share/ozone/classpath/ozone-httpfsgateway.classpath'
> .....
> {noformat}
> Looks like the problem is in here:
> https://github.com/apache/ozone/blob/ffa097f98af6960beb679d667d1dad9506b3ea69/hadoop-ozone/dist/dev-support/bin/dist-layout-stitching#L138
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]