Skip to content

Re-building into existing build output gives strange output (with unexpected file sizes) #86

Description

@topolarity

First build:

┌ Warning: The project dependencies or compat requirements have changed since the manifest was last resolved.
│ It is recommended to `Pkg.resolve()` or consider `Pkg.update()` if necessary.
└ @ Pkg.API ~/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/share/julia/stdlib/v1.12/Pkg/src/API.jl:1255
┌ Warning: The project dependencies or compat requirements have changed since the manifest was last resolved.
│ It is recommended to `Pkg.resolve()` or consider `Pkg.update()` if necessary.
└ @ Pkg.API ~/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/share/julia/stdlib/v1.12/Pkg/src/API.jl:1255
✓ Compiling...
PackageCompiler: bundled libraries:
  ├── Base:
  │    ├── libLLVM.so.18.1jl - 105.521 MiB
  │    ├── libatomic.so.1.2.0 - 159.875 KiB
  │    ├── libdSFMT.so - 21.602 KiB
  │    ├── libgcc_s.so.1 - 892.930 KiB
  │    ├── libgfortran.so.5.0.0 - 9.553 MiB
  │    ├── libgmp.so.10.5.0 - 707.688 KiB
  │    ├── libgmpxx.so.4.7.0 - 36.445 KiB
  │    ├── libgomp.so.1.0.0 - 1.469 MiB
  │    ├── libjulia-codegen.so.1.12.2 - 77.409 MiB
  │    ├── libjulia-internal.so.1.12.2 - 14.130 MiB
  │    ├── libmpfr.so.6.2.2 - 2.406 MiB
  │    ├── libopenlibm.so.4.0 - 248.109 KiB
  │    ├── libpcre2-8.so.0.13.0 - 663.234 KiB
  │    ├── libquadmath.so.0.0.0 - 966.984 KiB
  │    ├── libssp.so.0.0.0 - 35.555 KiB
  │    ├── libstdc++.so.6.0.33 - 20.357 MiB
  │    ├── libunwind.so.8.1.0 - 504.258 KiB
  │    ├── libuv.so.2.0.0 - 656.695 KiB
  │    ├── libz.so.1.3.1 - 116.062 KiB
  │    ├── libjulia.so.1.12.2 - 246.195 KiB
  ├── Stdlibs:
  │   ├── libblastrampoline_jll
  │   │   ├── libblastrampoline.so.5 - 3.418 MiB
  │   ├── OpenBLAS_jll
  │   │   ├── libopenblas64_.0.3.29.so - 34.150 MiB
  │   ├── SuiteSparse_jll
  │   │   ├── libamd.so.3.3.3 - 38.696 KiB
  │   │   ├── libbtf.so.2.3.2 - 12.875 KiB
  │   │   ├── libcamd.so.3.3.3 - 43.366 KiB
  │   │   ├── libccolamd.so.3.3.4 - 46.604 KiB
  │   │   ├── libcholmod.so.5.3.0 - 2.056 MiB
  │   │   ├── libcolamd.so.3.3.4 - 30.685 KiB
  │   │   ├── libklu.so.2.3.5 - 209.385 KiB
  │   │   ├── libldl.so.3.3.2 - 12.974 KiB
  │   │   ├── librbio.so.4.3.4 - 64.807 KiB
  │   │   ├── libspqr.so.4.3.4 - 425.119 KiB
  │   │   ├── libsuitesparseconfig.so.7.8.3 - 14.906 KiB
  │   │   ├── libumfpack.so.6.3.5 - 805.230 KiB
  Total library file size: 277.268 MiB

subsequently:

~/.julia/bin/juliac --output-exe app_test_exe --bundle build --trim=safe --experimental test/AppProject/
┌ Warning: The project dependencies or compat requirements have changed since the manifest was last resolved.
│ It is recommended to `Pkg.resolve()` or consider `Pkg.update()` if necessary.
└ @ Pkg.API ~/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/share/julia/stdlib/v1.12/Pkg/src/API.jl:1255
┌ Warning: The project dependencies or compat requirements have changed since the manifest was last resolved.
│ It is recommended to `Pkg.resolve()` or consider `Pkg.update()` if necessary.
└ @ Pkg.API ~/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/share/julia/stdlib/v1.12/Pkg/src/API.jl:1255
✓ Compiling...
PackageCompiler: bundled libraries:
  ├── Base:
  │    ├── libLLVM.so.18.1jl - 105.521 MiB
  │    ├── libjulia-codegen.so.1.12.2 - 77.409 MiB
  ├── Stdlibs:
  Total library file size: 182.930 MiB

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbundlingRelated to --bundle and library packaging

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions