Steps to reproduce
With an existing build cache (pool of several months of spack use) enabled, I get many duplicate packages when I concretize a large environment (cont'd below):
> ./util/show_duplicate_packages.py log.concretize.unified-en4.001 -d
c4obm3r autoconf@2.69%apple-clang@13.1.6 build_system=autotools patches=35c4492,7793209,a49dd5b arch=darwin-monterey-m1
sabr2cs autoconf@2.69%apple-clang@13.1.6 build_system=autotools patches=35c4492,7793209,a49dd5b arch=darwin-monterey-m1
z3tk7pc automake@1.16.5%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
gttsq2m automake@1.16.5%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
cjzv52p base-env@1.0.0%apple-clang@13.1.6 build_system=bundle arch=darwin-monterey-m1
rxaftrt base-env@1.0.0%apple-clang@13.1.6 build_system=bundle arch=darwin-monterey-m1
sd3ghwp boost@1.78.0%apple-clang@13.1.6~atomic+chrono~clanglibcpp~container~context~contract~coroutine+date_time~debug+exception~fiber+filesystem~graph~graph_parallel~icu~iostreams~json~locale~log~math~mpi+multithreaded~nowide~numpy+pic+program_options+python~random+regex+serialization+shared~signals~singlethreaded~stacktrace+system~taggedlayout+test+thread+timer~type_erasure~versionedlayout~wave build_system=generic cxxstd=14 patches=a440f96,b8569d7 visibility=hidden arch=darwin-monterey-m1
2vs4dwl boost@1.78.0%apple-clang@13.1.6~atomic+chrono~clanglibcpp~container~context~contract~coroutine+date_time~debug+exception~fiber+filesystem~graph~graph_parallel~icu~iostreams~json~locale~log~math~mpi+multithreaded~nowide~numpy+pic+program_options+python~random+regex+serialization+shared~signals~singlethreaded~stacktrace+system~taggedlayout+test+thread+timer~type_erasure~versionedlayout~wave build_system=generic cxxstd=14 patches=a440f96,b8569d7 visibility=hidden arch=darwin-monterey-m1
koskcxf bufr@12.0.0%apple-clang@13.1.6~ipo+python+shared~tests build_system=cmake build_type=Release generator=make patches=7158b80 arch=darwin-monterey-m1
igis5mm bufr@12.0.0%apple-clang@13.1.6~ipo+python+shared~tests build_system=cmake build_type=Release generator=make patches=7158b80 arch=darwin-monterey-m1
is4w5gi c-blosc@1.21.4%apple-clang@13.1.6+avx2~ipo build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
7e5ihv5 c-blosc@1.21.4%apple-clang@13.1.6+avx2~ipo build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
ukhdphg cmake@3.27.0%apple-clang@13.1.6~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=darwin-monterey-m1
xp3cpa3 cmake@3.23.1%apple-clang@13.1.6~doc+ncurses+ownlibs~qt build_system=generic build_type=Release arch=darwin-monterey-m1
tgoi5dr crtm@v2.4.1-jedi%apple-clang@13.1.6+fix~ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=darwin-monterey-m1
l2lo6vj crtm@2.4.0%apple-clang@13.1.6+fix~ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=darwin-monterey-m1
wljbwkn crtm@v2.4-jedi.2%apple-clang@13.1.6+fix~ipo build_system=cmake build_type=RelWithDebInfo generator=make arch=darwin-monterey-m1
bmeot2b ecbuild@3.7.2%apple-clang@13.1.6~fismahigh~ipo build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
7frexi6 ecbuild@3.7.2%apple-clang@13.1.6~fismahigh~ipo build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
t57j3no eckit@1.23.1%apple-clang@13.1.6+admin+aio~curl~fismahigh~ipo~jemalloc+mpi+openmp+shared+sql~ssl+tools+unicode+xxhash build_system=cmake build_type=RelWithDebInfo compression=bzip2,lz4 generator=make linalg=eigen,lapack arch=darwin-monterey-m1
ivn7c53 eckit@1.23.1%apple-clang@13.1.6+admin+aio~curl~fismahigh~ipo~jemalloc+mpi+openmp+shared+sql~ssl+tools+unicode+xxhash build_system=cmake build_type=RelWithDebInfo compression=bzip2,lz4 generator=make linalg=eigen,lapack arch=darwin-monterey-m1
7x6g575 ecmwf-atlas@0.33.0%apple-clang@13.1.6+eigen+fckit+fftw~fismahigh~ipo+openmp+shared+trans build_system=cmake build_type=RelWithDebInfo generator=make patches=569103b arch=darwin-monterey-m1
aytl536 ecmwf-atlas@0.33.0%apple-clang@13.1.6+eigen+fckit+fftw~fismahigh~ipo+openmp+shared+trans build_system=cmake build_type=RelWithDebInfo generator=make patches=569103b arch=darwin-monterey-m1
7y67asq ectrans@1.2.0%apple-clang@13.1.6+double_precision+fftw~ipo~mkl+mpi+openmp+single_precision+transi build_system=cmake build_type=RelWithDebInfo generator=make arch=darwin-monterey-m1
mdjanwc ectrans@1.2.0%apple-clang@13.1.6+double_precision+fftw~ipo~mkl+mpi+openmp+single_precision+transi build_system=cmake build_type=RelWithDebInfo generator=make arch=darwin-monterey-m1
2rkfaxd fckit@0.10.1%apple-clang@13.1.6+eckit~fismahigh~ipo+openmp+shared build_system=cmake build_type=RelWithDebInfo finalize_ddts=auto generator=make arch=darwin-monterey-m1
nozkhmm fckit@0.10.1%apple-clang@13.1.6+eckit~fismahigh~ipo+openmp+shared build_system=cmake build_type=RelWithDebInfo finalize_ddts=auto generator=make arch=darwin-monterey-m1
3vpossi fftw@3.3.10%apple-clang@13.1.6+mpi~openmp~pfft_patches+shared build_system=autotools precision=double,float arch=darwin-monterey-m1
c7v2x2x fftw@3.3.10%apple-clang@13.1.6+mpi~openmp~pfft_patches+shared build_system=autotools precision=double,float arch=darwin-monterey-m1
epff4js fiat@1.1.0%apple-clang@13.1.6+fckit~ipo+mpi+openmp build_system=cmake build_type=RelWithDebInfo generator=make patches=402bd27 arch=darwin-monterey-m1
ijg3enh fiat@1.1.0%apple-clang@13.1.6+fckit~ipo+mpi+openmp build_system=cmake build_type=RelWithDebInfo generator=make patches=402bd27 arch=darwin-monterey-m1
bxvg4fm fms@release-jcsda%apple-clang@13.1.6+gfs_phys~ipo+openmp+quad_precision build_system=cmake build_type=Release generator=make precision=64 arch=darwin-monterey-m1
fu7jjwo fms@2023.01%apple-clang@13.1.6+gfs_phys~ipo+openmp+pic+quad_precision~yaml build_system=cmake build_type=Release constants=GFS generator=make precision=32,64 arch=darwin-monterey-m1
p47xixf git@2.40.0%apple-clang@13.1.6+man+nls+perl+subtree~svn~tcltk build_system=autotools arch=darwin-monterey-m1
pe6xtys git@2.40.0%apple-clang@13.1.6+man+nls+perl+subtree~svn~tcltk build_system=autotools arch=darwin-monterey-m1
6v3mohg gsibec@1.1.2%apple-clang@13.1.6~ipo~mkl build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
cu5tvgw gsibec@1.1.2%apple-clang@13.1.6~ipo~mkl build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
gaffql3 hdf5@1.14.0%apple-clang@13.1.6~cxx+fortran+hl~ipo~java~map+mpi+shared+szip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make patches=0b5dd6f arch=darwin-monterey-m1
red2nhy hdf5@1.14.0%apple-clang@13.1.6~cxx+fortran+hl~ipo~java~map+mpi+shared+szip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make patches=0b5dd6f arch=darwin-monterey-m1
l5q4jns hdf5@1.14.0%apple-clang@13.1.6~cxx+fortran+hl~ipo~java~map+mpi+shared+szip~threadsafe+tools api=default build_system=cmake build_type=Release generator=make patches=0b5dd6f arch=darwin-monterey-m1
ualj2hd jedi-base-env@1.0.0%apple-clang@13.1.6+fftw+hdf4+python build_system=bundle arch=darwin-monterey-m1
imoylu4 jedi-base-env@1.0.0%apple-clang@13.1.6+fftw+hdf4+python build_system=bundle arch=darwin-monterey-m1
aojjrzx krb5@1.20.1%apple-clang@13.1.6+shared build_system=autotools arch=darwin-monterey-m1
xruubqh krb5@1.20.1%apple-clang@13.1.6+shared build_system=autotools arch=darwin-monterey-m1
ncxqrit libaec@1.0.6%apple-clang@13.1.6~ipo+shared build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
ho4mm6r libaec@1.0.6%apple-clang@13.1.6~ipo+shared build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
kfb5xvd libbacktrace@2020-02-19%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
stp6nv6 libbacktrace@2020-02-19%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
dcwlfbf libevent@2.1.12%apple-clang@13.1.6+openssl build_system=autotools arch=darwin-monterey-m1
nyfa3ey libevent@2.1.12%apple-clang@13.1.6+openssl build_system=autotools arch=darwin-monterey-m1
quzjs5s libx11@1.8.4%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
tfjxax2 libx11@1.8.4%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
opa3nt7 libxaw@1.0.13%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
xdk2pb3 libxaw@1.0.13%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
qnjvjms libxcb@1.14%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
afaptx3 libxcb@1.14%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
nwwdbvf libxcrypt@4.4.35%apple-clang@13.1.6~obsolete_api build_system=autotools patches=4885da3 arch=darwin-monterey-m1
akkccwj libxcrypt@4.4.35%apple-clang@13.1.6~obsolete_api build_system=autotools patches=4885da3 arch=darwin-monterey-m1
miul5jq libxext@1.3.3%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
4rrpiml libxext@1.3.3%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
nsd7bnv libxmu@1.1.4%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
ppnbi7m libxmu@1.1.4%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
k7cofmx libxpm@3.5.12%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
bikovc6 libxpm@3.5.12%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
ztzsstk libxt@1.1.5%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
otkeaw6 libxt@1.1.5%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
myrepuv meson@1.1.0%apple-clang@13.1.6 build_system=python_pip patches=0f0b1bd arch=darwin-monterey-m1
426xaue meson@1.1.0%apple-clang@13.1.6 build_system=python_pip patches=0f0b1bd arch=darwin-monterey-m1
zukj3eq nccmp@1.9.0.1%apple-clang@13.1.6~ipo build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
54dctir nccmp@1.9.0.1%apple-clang@13.1.6~ipo build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
4nz7mv7 ncview@2.1.8%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
6wesas4 ncview@2.1.8%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
5oop6b2 netcdf-c@4.9.2%apple-clang@13.1.6+blosc~byterange+dap~fsync~hdf4~jna+mpi~nczarr_zip+optimize~parallel-netcdf+pic+shared+szip+zstd build_system=autotools patches=0161eb8 arch=darwin-monterey-m1
uczvd6b netcdf-c@4.9.2%apple-clang@13.1.6+blosc~byterange+dap~fsync~hdf4~jna+mpi~nczarr_zip+optimize~parallel-netcdf+pic+shared+szip+zstd build_system=autotools patches=0161eb8 arch=darwin-monterey-m1
5zczaee netcdf-c@4.9.2%apple-clang@13.1.6+blosc~byterange+dap~fsync~hdf4~jna+mpi~nczarr_zip+optimize~parallel-netcdf+pic+shared+szip+zstd build_system=autotools patches=0161eb8 arch=darwin-monterey-m1
u2dhkfz netcdf-cxx4@4.3.1%apple-clang@13.1.6~doc+pic+shared build_system=autotools arch=darwin-monterey-m1
zzzu46h netcdf-cxx4@4.3.1%apple-clang@13.1.6~doc+pic+shared build_system=autotools arch=darwin-monterey-m1
4wltw5h netcdf-fortran@4.6.0%apple-clang@13.1.6~doc+pic+shared build_system=autotools arch=darwin-monterey-m1
yrlyy64 netcdf-fortran@4.6.0%apple-clang@13.1.6~doc+pic+shared build_system=autotools arch=darwin-monterey-m1
q4lqwbs netcdf-fortran@4.6.0%apple-clang@13.1.6~doc+pic+shared build_system=autotools arch=darwin-monterey-m1
jvkjjqn ninja@1.11.1%apple-clang@13.1.6+re2c build_system=generic arch=darwin-monterey-m1
76xbzc3 ninja@1.11.1%apple-clang@13.1.6+re2c build_system=generic arch=darwin-monterey-m1
3hdbeee odc@1.4.6%apple-clang@13.1.6~fortran~ipo build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
36n5m6g odc@1.4.6%apple-clang@13.1.6~fortran~ipo build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
koncxxs openmpi@4.1.5%apple-clang@13.1.6~atomics~cuda~cxx~cxx_exceptions~gpfs+internal-hwloc~internal-pmix~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=darwin-monterey-m1
rtoyfdn openmpi@4.1.5%apple-clang@13.1.6~atomics~cuda~cxx~cxx_exceptions~gpfs+internal-hwloc~internal-pmix~java~legacylaunchers~lustre~memchecker~orterunprefix+romio+rsh~singularity+static+two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics=none schedulers=none arch=darwin-monterey-m1
z4id5lp openssh@9.3p1%apple-clang@13.1.6+gssapi build_system=autotools arch=darwin-monterey-m1
yw2peiv openssh@9.3p1%apple-clang@13.1.6+gssapi build_system=autotools arch=darwin-monterey-m1
p4xqmag openssl@3.1.1%apple-clang@13.1.6~docs+shared build_system=generic certs=mozilla arch=darwin-monterey-m1
qfk3ojr openssl@3.1.1%apple-clang@13.1.6~docs+shared build_system=generic certs=mozilla arch=darwin-monterey-m1
v3uz7z5 parallel-netcdf@1.12.2%apple-clang@13.1.6~burstbuffer+cxx+fortran+pic+shared build_system=autotools arch=darwin-monterey-m1
hcgxn5r parallel-netcdf@1.12.2%apple-clang@13.1.6~burstbuffer+cxx+fortran+pic+shared build_system=autotools arch=darwin-monterey-m1
n6wdlnh parallelio@2.5.9%apple-clang@13.1.6+fortran~ipo~logging+mpi+pnetcdf+shared~timing build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
xyec6pm parallelio@2.5.9%apple-clang@13.1.6+fortran~ipo~logging+mpi+pnetcdf+shared~timing build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
pn3tfx3 perl@5.36.1%apple-clang@13.1.6~cpanm+open+shared+threads build_system=generic arch=darwin-monterey-m1
lqisn6c perl@5.30.3%apple-clang@13.1.6~cpanm+open+shared+threads build_system=generic arch=darwin-monterey-m1
t4komeq pmix@4.2.3%apple-clang@13.1.6~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=darwin-monterey-m1
vk3u53u pmix@4.2.3%apple-clang@13.1.6~docs+pmi_backwards_compatibility~python~restful build_system=autotools arch=darwin-monterey-m1
wqkrhqp py-attrs@23.1.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
ipxuq6a py-attrs@23.1.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
agizywq py-beniget@0.4.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
msf37ie py-beniget@0.4.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
ajdwizy py-bottleneck@1.3.7%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
znmii6j py-bottleneck@1.3.7%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
aulkybo py-build@0.10.0%apple-clang@13.1.6~virtualenv build_system=python_pip arch=darwin-monterey-m1
7hkhudj py-build@0.10.0%apple-clang@13.1.6~virtualenv build_system=python_pip arch=darwin-monterey-m1
chtsx7m py-calver@2022.6.26%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
p4hh3no py-calver@2022.6.26%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
q27mmi2 py-cffi@1.15.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
ny2aqcx py-cffi@1.15.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
7yb2ims py-cftime@1.0.3.4%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
73bgzyk py-cftime@1.0.3.4%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
7m3s6o7 py-cython@0.29.35%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
hg5w3kd py-cython@0.29.35%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
6mmgsvj py-eccodes@1.4.2%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
t7q27r6 py-eccodes@1.4.2%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
arozrzc py-editables@0.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
higf72w py-editables@0.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
w3fuhs7 py-f90nml@1.4.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
6uob54n py-f90nml@1.4.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
omivftx py-findlibs@0.0.2%apple-clang@13.1.6 build_system=python_pip patches=6701e0e arch=darwin-monterey-m1
ycdtiga py-findlibs@0.0.2%apple-clang@13.1.6 build_system=python_pip patches=6701e0e arch=darwin-monterey-m1
g5pywrm py-flit-core@3.7.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
jvitnex py-flit-core@3.7.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
kbiafoz py-gast@0.5.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
je7pbl3 py-gast@0.5.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
khgf7kv py-h5py@3.7.0%apple-clang@13.1.6~mpi build_system=python_pip patches=e94c55d arch=darwin-monterey-m1
z6qm2l2 py-h5py@3.7.0%apple-clang@13.1.6~mpi build_system=python_pip patches=e94c55d arch=darwin-monterey-m1
76mi7zk py-hatch-fancy-pypi-readme@23.1.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
hxb7yfy py-hatch-fancy-pypi-readme@23.1.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
ynhtact py-hatch-vcs@0.3.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
py52zqf py-hatch-vcs@0.3.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
lgkic5t py-hatchling@1.17.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
5gx2gsj py-hatchling@1.17.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
ysh55ux py-meson-python@0.13.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
qziweno py-meson-python@0.13.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
5rbq5qa py-netcdf4@1.5.3%apple-clang@13.1.6~mpi build_system=python_pip patches=255b5ae arch=darwin-monterey-m1
ptzapg5 py-netcdf4@1.5.3%apple-clang@13.1.6~mpi build_system=python_pip patches=255b5ae arch=darwin-monterey-m1
a4gmlm3 py-numexpr@2.8.4%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
q5hkvg3 py-numexpr@2.8.4%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
cg5nq4n py-numpy@1.25.0%apple-clang@13.1.6+blas+lapack build_system=python_pip patches=873745d arch=darwin-monterey-m1
uner6xq py-numpy@1.25.0%apple-clang@13.1.6+blas+lapack build_system=python_pip patches=873745d arch=darwin-monterey-m1
dhb7n2j py-packaging@23.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
kf7snml py-packaging@23.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
tsq5b3u py-pandas@1.5.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
5wj4p66 py-pandas@1.5.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
havky3e py-pathspec@0.11.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
l2c2myi py-pathspec@0.11.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
rtfkhff py-pip@23.1.2%apple-clang@13.1.6 build_system=generic arch=darwin-monterey-m1
tpf6jog py-pip@23.1.2%apple-clang@13.1.6 build_system=generic arch=darwin-monterey-m1
qx63aei py-pkgconfig@1.5.5%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
w4emd4t py-pkgconfig@1.5.5%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
brrcb53 py-pluggy@1.0.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
fdxbrte py-pluggy@1.0.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
dz4djlw py-ply@3.11%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
dgijznp py-ply@3.11%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
5s3rrrl py-poetry-core@1.0.8%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
lbbgz32 py-poetry-core@1.0.8%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
gobaj7f py-pybind11@2.8.1%apple-clang@13.1.6~ipo build_system=cmake build_type=Release generator=ninja arch=darwin-monterey-m1
vjdedr7 py-pybind11@2.8.1%apple-clang@13.1.6~ipo build_system=cmake build_type=Release generator=ninja arch=darwin-monterey-m1
7nwhfld py-pycodestyle@2.8.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
jimiug4 py-pycodestyle@2.8.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
tchozf4 py-pycparser@2.21%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
er5fpxe py-pycparser@2.21%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
656lj3l py-pyhdf@0.10.4%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
edrpcqe py-pyhdf@0.10.4%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
wxxrgiw py-pyproject-hooks@1.0.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
5f5gb55 py-pyproject-hooks@1.0.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
tlz6njt py-pyproject-metadata@0.7.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
xqf7evj py-pyproject-metadata@0.7.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
x6bdaol py-python-dateutil@2.8.2%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
thlaylg py-python-dateutil@2.8.2%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
du62ahl py-pythran@0.12.2%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
q5pxjcw py-pythran@0.12.2%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
egpid6p py-pytz@2023.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
mik4knu py-pytz@2023.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
ra4xlwv py-pyyaml@6.0%apple-clang@13.1.6+libyaml build_system=python_pip arch=darwin-monterey-m1
alissrh py-pyyaml@6.0%apple-clang@13.1.6+libyaml build_system=python_pip arch=darwin-monterey-m1
yq7juft py-scipy@1.9.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
uj7mutz py-scipy@1.9.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
orzl34h py-setuptools@59.4.0%apple-clang@13.1.6 build_system=generic arch=darwin-monterey-m1
xfaflsq py-setuptools@59.4.0%apple-clang@13.1.6 build_system=generic arch=darwin-monterey-m1
t25qqmn py-setuptools-scm@7.0.5%apple-clang@13.1.6+toml build_system=python_pip arch=darwin-monterey-m1
rrnseqq py-setuptools-scm@7.0.5%apple-clang@13.1.6+toml build_system=python_pip arch=darwin-monterey-m1
xy2ivj6 py-setuptools-scm-git-archive@1.4%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
k6jwyq7 py-setuptools-scm-git-archive@1.4%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
zbmzfjk py-six@1.16.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
7igmkhl py-six@1.16.0%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
rpyvlrq py-tomli@2.0.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
hnahpiq py-tomli@2.0.1%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
tkdvadu py-trove-classifiers@2023.3.9%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
y4y7etk py-trove-classifiers@2023.3.9%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
mcfswai py-typing-extensions@4.6.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
ovkxxem py-typing-extensions@4.6.3%apple-clang@13.1.6 build_system=python_pip arch=darwin-monterey-m1
svuf5aw py-versioneer@0.28%apple-clang@13.1.6+toml build_system=python_pip arch=darwin-monterey-m1
ioxnpgf py-versioneer@0.28%apple-clang@13.1.6+toml build_system=python_pip arch=darwin-monterey-m1
hxibjgm py-wheel@0.37.1%apple-clang@13.1.6 build_system=generic arch=darwin-monterey-m1
qhibilq py-wheel@0.37.1%apple-clang@13.1.6 build_system=generic arch=darwin-monterey-m1
s3gakjg py-xarray@2022.3.0%apple-clang@13.1.6~io~parallel build_system=python_pip arch=darwin-monterey-m1
2wxhjn7 py-xarray@2022.3.0%apple-clang@13.1.6~io~parallel build_system=python_pip arch=darwin-monterey-m1
d4gsgnb python@3.10.8%apple-clang@13.1.6+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=darwin-monterey-m1
jlgwsdu python@3.10.8%apple-clang@13.1.6+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=darwin-monterey-m1
vgw7bsl python@3.10.8%apple-clang@13.1.6+bz2+crypt+ctypes+dbm~debug+libxml2+lzma~nis~optimizations+pic+pyexpat+pythoncmd+readline+shared+sqlite3+ssl~tkinter+uuid+zlib build_system=generic patches=0d98e93,7d40923,f2fd060 arch=darwin-monterey-m1
o25swen snappy@1.1.10%apple-clang@13.1.6~ipo+pic+shared build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
t3sjyrk snappy@1.1.10%apple-clang@13.1.6~ipo+pic+shared build_system=cmake build_type=Release generator=make arch=darwin-monterey-m1
y5rl257 wget@1.21.2%apple-clang@13.1.6~libpsl~pcre~python+zlib build_system=autotools ssl=openssl arch=darwin-monterey-m1
6nitqan wget@1.21.2%apple-clang@13.1.6~libpsl~pcre~python+zlib build_system=autotools ssl=openssl arch=darwin-monterey-m1
dff2z3v xcb-proto@1.15.2%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
nbp56o2 xcb-proto@1.15.2%apple-clang@13.1.6 build_system=autotools arch=darwin-monterey-m1
===
Duplicates found!
When I remove the build cache mirror and rerun the concretizer, I get only the two valid/expected duplicates (3 different versions of crtm, 2 different versions of fms).
Error message
See above
Information on your system
*** **Spack:** 0.21.0.dev0 (98957cf32aa809e831bee4af2bf642e2bd038c04)
* **Python:** 3.8.9
* **Platform:** darwin-monterey-m1
* **Concretizer:** clingo
I have not run the failing commands in debug yet, running out of time.
General information
Steps to reproduce
With an existing build cache (pool of several months of spack use) enabled, I get many duplicate packages when I concretize a large environment (cont'd below):
When I remove the build cache mirror and rerun the concretizer, I get only the two valid/expected duplicates (3 different versions of crtm, 2 different versions of fms).
Error message
See above
Information on your system
I have not run the failing commands in debug yet, running out of time.
General information
spack debug reportand reported the version of Spack/Python/Platform