You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Wei-Chiu Chuang (Jira)" <ji...@apache.org> on 2025/04/23 15:02:00 UTC

[jira] [Created] (HDDS-12893) cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead

Wei-Chiu Chuang created HDDS-12893:
--------------------------------------

             Summary: 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
            Reporter: Wei-Chiu Chuang


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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org