From: zimoun <zimon.toutoune@gmail.com>
To: 48238@debbugs.gnu.org
Cc: "Nicolò Balzarotti" <anothersms@gmail.com>
Subject: bug#48238: Julia contains references to its build directory
Date: Wed, 12 May 2021 10:57:52 +0200 [thread overview]
Message-ID: <854kf88h2n.fsf@gmail.com> (raw)
In-Reply-To: <864kfh48nh.fsf@gmail.com> (zimoun's message of "Wed, 05 May 2021 15:22:58 +0200")
Hi,
In the update to v1.6.1, please give a look at some explanations:
<http://issues.guix.gnu.org/48325#4>
<http://issues.guix.gnu.org/48325#7>
<http://issues.guix.gnu.org/48325#8>
<http://issues.guix.gnu.org/48325#10>
On mer., 05 mai 2021 at 15:22, zimoun <zimon.toutoune@gmail.com> wrote:
> $ find $(guix build julia --no-grafts) -type f \
> -exec grep '/tmp/guix-build-julia-1.5.3.drv-0' {} \;
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/lib/libjulia.so.1.5 matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/lib/julia/sys.so matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/lib/julia/libccalltest.so.debug matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/lib/julia/libllvmcalltest.so matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/bin/.julia-real matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/share/julia/base.cache matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/share/julia/test/depot/compiled/v1.5/Bar/HXSAn_w3IH9.ji matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/share/julia/test/depot/compiled/v1.5/Foo/MYb1d_w3IH9.ji matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/share/julia/test/depot/compiled/v1.5/Foo/TeeT6_w3IH9.ji matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/share/julia/test/depot/compiled/v1.5/Qux/YFfiR_w3IH9.ji matches
> Binary file /gnu/store/i1dgzqfjvkkjlfhpcwc33lz17vslq50y-julia-1.5.3/share/julia/test/depot/compiled/v1.5/Baz/rONVA_w3IH9.ji matches
In addition, "guix build julia --no-grafts -K" then something ugly to
show that for some files the reference of the source file itself are
included in their object version. Maybe I miss something.
--8<---------------cut here---------------start------------->8---
$ for f in $(find /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/ -name "*.o" -type f -print | sed 's/\.o//' |sort);
do
[ -f ${f}.cpp ] \
&& echo "## grep ${f}.cpp *" \
&& find /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/ -type f -print \
| xargs -I {} grep ${f}.cpp {} ;
done
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/aotcompile.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/aotcompile.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/APInt-C.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/cgmemmgr.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/cgmemmgr.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/codegen.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/codegen.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/debuginfo.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/debuginfo.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/disasm.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/disasm.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/jitlayers.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/jitlayers.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-alloc-opt.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-alloc-opt.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-api.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-final-gc-lowering.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-final-gc-lowering.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-gc-invariant-verifier.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-late-gc-lowering.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-late-gc-lowering.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-lower-handlers.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-lower-handlers.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-muladd.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-multiversioning.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-multiversioning.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-pass-helpers.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-propagate-addrspaces.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-propagate-addrspaces.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-ptls.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-ptls.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-remove-addrspaces.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-remove-ni.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-simdloop.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/llvm-simdloop.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/processor.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/processor.o correspondant
## grep /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/runtime_ccall.cpp *
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/usr/lib/libjulia.so.1.5 correspondant
Fichier binaire /tmp/guix-build-julia-1.5.3.drv-0/julia-1.5.3/src/runtime_ccall.o correspondant
--8<---------------cut here---------------end--------------->8---
Cheers,
simon
next prev parent reply other threads:[~2021-05-12 8:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-05 13:22 bug#48238: Julia keeps build directory in the output zimoun
2021-05-12 8:57 ` zimoun [this message]
2021-09-21 10:21 ` bug#48238: Julia 'Pkg.add' is broken zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=854kf88h2n.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=48238@debbugs.gnu.org \
--cc=anothersms@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.