Hello, Ludovic Courtès <[email protected]> skribis:
> Edouard Klein <[email protected]> skribis: > >> Because of the subtle consequences of editing a package are hard to keep >> track of, I wrote the attached script (you need sharness to run it, but >> with slight modification it can become a standalone script). >> >> This script goes beyond the instructions of the manual on two fronts: >> - First, it not only tries to build the packages, but also to install >> them, > > I think this is probably the first time we have this problem (that I > remember of), probably because the Jupyter dependency graph has so many > propagated inputs. > > However, this is definitely something ‘guix lint’ could check with > something along the lines of the patch below. I pushed something like that in 993023a28e52c87647fb78a5aa94a524f42ceb71. It returns what ‘guix install’ would show, only more concisely (so one has to investigate to find out what the problem is): --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix lint -c profile-collisions gnu/packages/check.scm:2051:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:2023:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:1003:4: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:1678:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:823:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:888:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:704:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:1009:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:2028:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/check.scm:1603:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/django.scm:251:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide gnu/packages/java.scm:7161:2: [email protected]: propagated inputs [email protected] and [email protected] collide gnu/packages/java.scm:7275:2: [email protected]: propagated inputs [email protected] and [email protected] collide gnu/packages/machine-learning.scm:1808:2: [email protected]: propagated inputs /gnu/store/lpmaa64rpw9a15kh8nw33w51g7qzlsyk-python-matplotlib-3.1.2 and /gnu/store/1155r6fr4s7hnjk30gsaz352084hj830-python-matplotlib-3.1.2 collide gnu/packages/openstack.scm:132:2: [email protected]: propagated inputs [email protected] and [email protected] collide gnu/packages/openstack.scm:132:2: [email protected]: propagated inputs [email protected] and [email protected] collide gnu/packages/python-web.scm:1492:2: [email protected]: propagated inputs [email protected] and [email protected] collide gnu/packages/python-xyz.scm:8998:2: [email protected]: propagated inputs /gnu/store/p7lqxmqskrg7l5fyxpmqvg30f0jhmgxb-python-mistune-0.8.4 and /gnu/store/1cgc6k1m0z6ip2adyllsnshix467ggir-python-mistune-0.8.4 collide gnu/packages/python-xyz.scm:9215:2: [email protected]: propagated inputs /gnu/store/nba08r6mygpmnrwj1wm01p8fcfgw7sq7-python-ipython-7.9.0 and /gnu/store/y0yc4kqgmdipzrqjxjrv98x7rg7bw3rx-python-ipython-7.9.0 collide gnu/packages/python-xyz.scm:9026:2: [email protected]: propagated inputs /gnu/store/p7lqxmqskrg7l5fyxpmqvg30f0jhmgxb-python-mistune-0.8.4 and /gnu/store/1cgc6k1m0z6ip2adyllsnshix467ggir-python-mistune-0.8.4 collide gnu/packages/web.scm:5901:2: [email protected]: propagated inputs /gnu/store/36kb1hx24f819569rpxanj5b9lfl58b3-python2-zipp-1.0.0 and /gnu/store/ak123dzl1kv5hb6hp00ga36h65mlvmn3-python2-zipp-1.0.0 collide --8<---------------cut here---------------end--------------->8--- As you can see, there are quite a few similar cases to fix. Let me know what you think! Ludo’.
