<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 02/02/21 12:27, Carsten Grzemba via
      oi-dev wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:bf4ea271347.60194529@contac-dt.de">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      I get a strange error message on rustc install target:<br>
      <br>
      running:
"/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/x86_64-sun-solaris/stage0-tools-bin/fabricate"
      "generate" "--product-name=Rust" "--rel-manifest-dir=rustlib"
      "--success-message=Awesome-Source." "--image-dir"
"/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/tmp/dist/rust-src-1.44.1-image"
      "--work-dir"
"/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/tmp/dist"
      "--output-dir"
"/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/dist"
      "--package-name=rust-src-1.44.1" "--component-name=rust-src"
      "--legacy-manifest-dirs=rustlib,cargo"<br>
      Error: Custom { kind: Other, error: "provided value is too long
      when setting link name for " }<br>
      <br>
         0: failure::backtrace::internal::InternalBacktrace::new<br>
         1: failure::backtrace::Backtrace::new<br>
         2: installer::tarballer::append_path<br>
         3: rayon_core::thread_pool::ThreadPool::install::{{closure}}<br>
         4: <rayon_core::job::StackJob<L,F,R> as
      rayon_core::job::Job>::execute<br>
         5: rayon_core::registry::WorkerThread::wait_until_cold<br>
         6: rayon_core::registry::ThreadBuilder::run<br>
         7: std::sys_common::backtrace::__rust_begin_short_backtrace<br>
         8: core::ops::function::FnOnce::call_once{{vtable.shim}}<br>
         9: std::sys::unix::thread::Thread::new::thread_start<br>
        10: <unknown><br>
        11: <unknown><br>
      <br>
      <br>
      failed to tar file
'/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/tmp/dist/rust-src-1.44.1/rust-src/lib/rustlib/src/rust/src/stdarch/LICENSE-APACHE'<br>
      <br>
      failed to generate installer<br>
      <br>
      the related link:<br>
'/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/tmp/dist/rust-src-1.44.1/rust-src/lib/rustlib/src/rust/src/stdarch/LICENSE-APACHE'<br>
      has target<br>
      <br>
       ls -l 
'/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/tmp/dist/rust-src-1.44.1/rust-src/lib/rustlib/src/rust/src/stdarch/LICENSE-APACHE'<br>
      lrwxrwxrwx   1 builder  staff        106 Feb  2 08:20
/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/tmp/dist/rust-src-1.44.1/rust-src/lib/rustlib/src/rust/src/stdarch/LICENSE-APACHE
      ->
/code/github/openindiana/oi-userland/components/developer/rust/rustc-1.44.1-src/src/stdarch/LICENSE-APACHE<br>
      <br>
       ls -lL 
'/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/tmp/dist/rust-src-1.44.1/rust-src/lib/rustlib/src/rust/src/stdarch/LICENSE-APACHE'<br>
      -rw-r--r--   1 builder  staff      10847 Jun 17  2020
/code/github/openindiana/oi-userland/components/developer/rust/build/amd64/build/tmp/dist/rust-src-1.44.1/rust-src/lib/rustlib/src/rust/src/stdarch/LICENSE-APACHE<br>
      <br>
      I know that replace the symlink whith copy helps, but why should
      the symlink not working? 107 chars for a target name too long?...<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
oi-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a>
<a class="moz-txt-link-freetext" href="https://openindiana.org/mailman/listinfo/oi-dev">https://openindiana.org/mailman/listinfo/oi-dev</a>
</pre>
    </blockquote>
    <p>Hello!</p>
    <p>use the E flag for tar, as file names are limited to 100 chars.</p>
    <p>see <br>
    </p>
    <p>man tar</p>
    <p>Greetings,</p>
    <p>Stephan</p>
    <p><br>
    </p>
  </body>
</html>