<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body vlink="#551A8B" text="#000000" link="#0B6CDA" bgcolor="#ffffff"
    alink="#EE0000">
    <p>I'm making progress ;-). The only remaining problems I still have
      are:</p>
    <p><font face="monospace">builduser@userland:/usr/src/myoi-userland/components/developer/rust$
        make REQUIRED_PACKAGES                                 <br>
      </font></p>
    <p><font face="monospace">/usr/bin/python3.9 RESOLVE_DEPS=
        /usr/src/myoi-userland/components/developer/rust/build/.resolved-i386<br>
        /usr/bin/python3.9: can't open file
        '/usr/share/src/myoi-userland/components/developer/rust/RESOLVE_DEPS=':
        [Errno 2] No such file or directory<br>
        make: *** [/usr/share/src/myoi-userland/make-rules/ips.mk:516:
        REQUIRED_PACKAGES] Error 2<br>
      </font></p>
    <p><font face="monospace"><br>
      </font></p>
    <p><font face="monospace">builduser@userland:/usr/src/myoi-userland/components/developer/rust$
        make publish<br>
        /usr/bin/pkgdepend resolve -e
        /usr/src/myoi-userland/components/developer/rust/build/resolve.deps
        -m
/usr/src/myoi-userland/components/developer/rust/build/manifest-i386-rustc.depend<br>
/usr/src/myoi-userland/components/developer/rust/build/manifest-i386-rustc.depend
        has unresolved dependency '<br>
            depend type=require fmri=__TBD
        pkg.debug.depend.file=libLLVM-13.so \<br>
               
        pkg.debug.depend.reason=usr/lib/librustc_driver-3267f80155f8cead.so
        \<br>
                pkg.debug.depend.type=elf \<br>
                pkg.debug.depend.path=lib/64 \<br>
                pkg.debug.depend.path=usr/gcc/7/lib/amd64 \<br>
                pkg.debug.depend.path=usr/lib \<br>
                pkg.debug.depend.path=usr/lib/64'.<br>
        make: *** [/usr/share/src/myoi-userland/make-rules/ips.mk:503:
        /usr/src/myoi-userland/components/developer/rust/build/.resolved-i386]
        Error 1<br>
builduser@userland:/usr/src/myoi-userland/components/developer/rust$</font><br>
    </p>
    <p>rust is now build against openssl 1.1. What I don't understand is
      the dependency error above because if I check the runpath of <font
        face="monospace">usr/lib/librustc_driver-3267f80155f8cead.so:</font></p>
    <p><font face="monospace">builduser@userland:/usr/src/myoi-userland/components/developer/rust$
        objdump -p
        build/prototype/i386/usr/lib/librustc_driver-3267f80155f8cead.so<br>
        <br>
build/prototype/i386/usr/lib/librustc_driver-3267f80155f8cead.so:    
        file format elf64-x86-64-sol2<br>
        <br>
        Program Header:<br>
            LOAD off    0x0000000000000000 vaddr 0x0000000000000000
        paddr 0x0000000000000000 align 2**16<br>
                 filesz 0x00000000063da434 memsz 0x00000000063da434
        flags r-x<br>
            LOAD off    0x00000000063da438 vaddr 0x00000000063ea438
        paddr 0x0000000000000000 align 2**16<br>
                 filesz 0x00000000001b72e8 memsz 0x00000000001b7920
        flags rw-<br>
         DYNAMIC off    0x0000000000000158 vaddr 0x0000000000000158
        paddr 0x0000000000000000 align 2**0<br>
                 filesz 0x0000000000000380 memsz 0x0000000000000000
        flags rw-<br>
             TLS off    0x0000000006591720 vaddr 0x00000000065a1720
        paddr 0x0000000000000000 align 2**3<br>
                 filesz 0x0000000000000000 memsz 0x0000000000000008
        flags rw-<br>
        0x6464e550 off    0x00000000000004d8 vaddr 0x00000000000004d8
        paddr 0x0000000000000000 align 2**3<br>
                 filesz 0x0000000000118f44 memsz 0x0000000000118f44
        flags r--<br>
        <br>
        Dynamic Section:<br>
          NEEDED               libstd-fa3bb391599a6115.so<br>
          NEEDED               libLLVM-13.so<br>
          NEEDED               libstdc++.so.6<br>
          NEEDED               librt.so.1<br>
          NEEDED               libpthread.so.1<br>
          NEEDED               libumem.so.1<br>
          NEEDED               libgcc_s.so.1<br>
          NEEDED               libm.so.2<br>
          NEEDED               libc.so.1<br>
          INIT                 0x0000000005f531c0<br>
          FINI                 0x0000000005f531d0<br>
          <font color="#ff0000">RUNPATH             
          /usr/clang/13.0/lib:/usr/gcc/7/lib/amd64<br>
            RPATH               
          /usr/clang/13.0/lib:/usr/gcc/7/lib/amd64</font><br>
          HASH                 0x0000000000715ed0<br>
      </font></p>
    <p>then there shouldn't be a problem. Again any idea appreciated.</p>
    <p>Fritz<br>
      <font face="monospace"></font></p>
    <div class="moz-cite-prefix">Am 18.06.2022 um 15:49 schrieb
      Friedrich Kink via oi-dev:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2ce27459-f81d-8d70-f856-e85bf9a1b25e@fkink.de">Dear all,
      <br>
      <br>
      I try to prepare new rustc package with current version 1.61.0. So
      far building and installing is already working. But publishing
      respectively make REQUIRED_PACKAGES immediately bails out with the
      following error message:
      <br>
      <br>
      make REQUIRED_PACKAGES
      <br>
      /usr/bin/python3.9 RESOLVE_DEPS=
      /usr/src/myoi-userland/components/developer/rust/build/.resolved-i386
      <br>
      /usr/bin/python3.9: can't open file
      '/usr/share/src/myoi-userland/components/developer/rust/RESOLVE_DEPS=':
      [Errno 2] No such file or directory
      <br>
      make: *** [/usr/share/src/myoi-userland/make-rules/ips.mk:516:
      REQUIRED_PACKAGES] Error 2
      <br>
      <br>
      truss shows that make REQUIRED_PACKAGE really tries to open the
      file
      /usr/share/src/myoi-userland/components/developer/rust/RESOLVE_DEPS=
      Any idea what goes wrong here? To simplify things I just used
      sample manifest p5m file to exclude home made errors.
      <br>
      <br>
      Any hints are welcome.
      <br>
      <br>
      kind regards,
      <br>
      <br>
        Fritz
      <br>
      <br>
      <br>
      _______________________________________________
      <br>
      oi-dev mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:oi-dev@openindiana.org">oi-dev@openindiana.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="https://openindiana.org/mailman/listinfo/oi-dev">https://openindiana.org/mailman/listinfo/oi-dev</a>
      <br>
      <br>
    </blockquote>
  </body>
</html>