Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 424581

Summary: app-admin/setools fails with >=automake-1.12
Product: Gentoo Linux Reporter: Jory A. Pratt <anarchy>
Component: Current packagesAssignee: Sven Vermeulen (RETIRED) <swift>
Status: VERIFIED FIXED    
Severity: normal CC: nathan0n5ire, selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: selinux-utils
Package list:
Runtime testing required: ---
Attachments: ebuild with Jorys fix
Support >=sys-devel/automake-1.12

Description Jory A. Pratt gentoo-dev 2012-07-03 02:56:38 UTC
When using automake-1.12 or newer it defines MKDIR_P while all the Makefile.am are using $(mkdir_p) which results in no command being passed to create dir. 

Simple solution is :

find . -name 'Makefile.*' -exec sed -i -e 's:mkdir_p:MKDIR_P:g' {} + 

which of courses replaces the calls to be compliant.
Comment 1 Jory A. Pratt gentoo-dev 2012-07-06 02:25:04 UTC
*** Bug 425000 has been marked as a duplicate of this bug. ***
Comment 2 Nathan 2012-07-06 02:55:21 UTC
Created attachment 317380 [details]
ebuild with Jorys fix
Comment 3 Jory A. Pratt gentoo-dev 2012-07-06 03:02:55 UTC
Created attachment 317382 [details, diff]
Support >=sys-devel/automake-1.12

Please use unified diffs when attaching differences between ebuilds, it makes it much easier for the maintainer to review and commit.
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2012-07-09 20:41:15 UTC
Thanks, fixed in CVS (setools rev3 currently)
Comment 5 Sven Vermeulen (RETIRED) gentoo-dev 2012-09-08 18:32:12 UTC
Stabilized