hpctoolkit: adjust dependency and conflict for xz (#35950)
Hpctoolkit doesn't build cleanly with xz 5.2.7 and 5.2.8 due to a misuse of the symver attribute. This is now fixed in 5.2.9 and later.
This commit is contained in:
		@@ -131,7 +131,7 @@ class Hpctoolkit(AutotoolsPackage):
 | 
				
			|||||||
    depends_on("libunwind@1.4: +xz+pic")
 | 
					    depends_on("libunwind@1.4: +xz+pic")
 | 
				
			||||||
    depends_on("mbedtls+pic", when="@:2022.03")
 | 
					    depends_on("mbedtls+pic", when="@:2022.03")
 | 
				
			||||||
    depends_on("xerces-c transcoder=iconv")
 | 
					    depends_on("xerces-c transcoder=iconv")
 | 
				
			||||||
    depends_on("xz+pic@:5.2.6", type="link")
 | 
					    depends_on("xz+pic libs=static", type="link")
 | 
				
			||||||
    depends_on("yaml-cpp@0.7.0: +shared", when="@2022.10:")
 | 
					    depends_on("yaml-cpp@0.7.0: +shared", when="@2022.10:")
 | 
				
			||||||
    depends_on("zlib+shared")
 | 
					    depends_on("zlib+shared")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -163,6 +163,7 @@ class Hpctoolkit(AutotoolsPackage):
 | 
				
			|||||||
    conflicts("%gcc@:4", when="@:2020", msg="hpctoolkit requires gnu gcc 5.x or later")
 | 
					    conflicts("%gcc@:4", when="@:2020", msg="hpctoolkit requires gnu gcc 5.x or later")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    conflicts("^binutils@2.35:2.35.1", msg="avoid binutils 2.35 and 2.35.1 (spews errors)")
 | 
					    conflicts("^binutils@2.35:2.35.1", msg="avoid binutils 2.35 and 2.35.1 (spews errors)")
 | 
				
			||||||
 | 
					    conflicts("xz@5.2.7:5.2.8", msg="avoid xz 5.2.7:5.2.8 (broken symbol versions)")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    conflicts("+cray", when="@2022.10.01", msg="hpcprof-mpi is not available in 2022.10.01")
 | 
					    conflicts("+cray", when="@2022.10.01", msg="hpcprof-mpi is not available in 2022.10.01")
 | 
				
			||||||
    conflicts("+mpi", when="@2022.10.01", msg="hpcprof-mpi is not available in 2022.10.01")
 | 
					    conflicts("+mpi", when="@2022.10.01", msg="hpcprof-mpi is not available in 2022.10.01")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user