gnu: strace: Check before enabling personalities.
* gnu/packages/linux.scm (strace)[arguments]: Add configure flag to check for personality support.
This commit is contained in:
		
							parent
							
								
									82402f76be
								
							
						
					
					
						commit
						1d43756107
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -961,6 +961,8 @@ Zerofree requires the file system to be unmounted or mounted read-only.")
 | 
				
			||||||
             (substitute* "strace.c"
 | 
					             (substitute* "strace.c"
 | 
				
			||||||
               (("/bin/sh") (which "sh")))
 | 
					               (("/bin/sh") (which "sh")))
 | 
				
			||||||
             #t)))
 | 
					             #t)))
 | 
				
			||||||
 | 
					       ;; Don't fail if the architecture doesn't support different personalities.
 | 
				
			||||||
 | 
					       #:configure-flags '("--enable-mpers=check")
 | 
				
			||||||
       ;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32459>.
 | 
					       ;; See <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32459>.
 | 
				
			||||||
       #:parallel-tests? #f))           ; undeterministic failures
 | 
					       #:parallel-tests? #f))           ; undeterministic failures
 | 
				
			||||||
    (native-inputs `(("perl" ,perl)))
 | 
					    (native-inputs `(("perl" ,perl)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue