From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from msux-gh1-uea01.nsa.gov (msux-gh1-uea01.nsa.gov [63.239.67.1]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id nAHKP62j009955 for ; Tue, 17 Nov 2009 15:25:06 -0500 Received: from mail-fx0-f218.google.com (localhost [127.0.0.1]) by msux-gh1-uea01.nsa.gov (8.12.10/8.12.10) with ESMTP id nAHKO5Bs029400 for ; Tue, 17 Nov 2009 20:24:05 GMT Received: by fxm10 with SMTP id 10so400851fxm.34 for ; Tue, 17 Nov 2009 12:25:04 -0800 (PST) Message-ID: <4B0306C7.8010200@gmail.com> Date: Tue, 17 Nov 2009 12:25:43 -0800 From: "Justin P. Mattock" MIME-Version: 1.0 To: "Christopher J. PeBenito" CC: SE-Linux , tresys Subject: Re: [refpolicy] No rule to make target `/seusers', needed by `tmp/seusers'. Stop. References: <1258465270.27504.194.camel@gorn.columbia.tresys.com> In-Reply-To: <1258465270.27504.194.camel@gorn.columbia.tresys.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Christopher J. PeBenito wrote: > On Mon, 2009-11-16 at 22:44 -0800, Justin Mattock wrote: > >> I've hit something confusing to me. >> When building a Monolithic policy everything >> goes good. But as soon as I build a binary I hit this: >> >> m4 -D distro_redhat -D enable_ubac -D mls_num_sens=16 -D >> mls_num_cats=256 -D mcs_num_cats=256 -D hide_broken_symptoms -D >> users_extra support/divert.m4 policy/support/file_patterns.spt >> policy/support/ipc_patterns.spt policy/support/loadable_module.spt >> policy/support/misc_macros.spt policy/support/misc_patterns.spt >> policy/support/mls_mcs_macros.spt policy/support/obj_perm_sets.spt >> support/undivert.m4 policy/users | \ >> sed -r -n -e 's/^[[:blank:]]*//g' -e '/^user/p'> >> tmp/users_extra >> make: *** No rule to make target `/seusers', needed by `tmp/seusers'. Stop. >> >> I've looked at the Makefile to make sure >> I didn't forget anything(python,sed,awk,m4,flex) >> but still can't seem to figure out what I'm missing >> to have the policy compile the modules correctly. >> >> Keep in mind I don't want to wast any of your guy's time, >> so any quick hints are appreciated. >> > > I can't reproduce this. My guess is that either your policy sources are > corrupt or the seusers makefile variable is being changed somehow, eg. > by environmental variables. > > once again I find myself in a situation in of which I can't comprehend(the enjoyment of developing). I think I'm missing a package, or built a package without a certain package to do this correctly. positive side is I'm able to have monolithic build correctly. At this point I'll just keep with monolithic on this machine, and have binary on another machine so I can spend more time at this problem.(and to think I figured "oh yeah should be no problem with binary"). Justin P. Mattock -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message. From mboxrd@z Thu Jan 1 00:00:00 1970 From: justinmattock@gmail.com (Justin P. Mattock) Date: Tue, 17 Nov 2009 12:25:43 -0800 Subject: [refpolicy] No rule to make target `/seusers', needed by `tmp/seusers'. Stop. In-Reply-To: <1258465270.27504.194.camel@gorn.columbia.tresys.com> References: <1258465270.27504.194.camel@gorn.columbia.tresys.com> Message-ID: <4B0306C7.8010200@gmail.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com Christopher J. PeBenito wrote: > On Mon, 2009-11-16 at 22:44 -0800, Justin Mattock wrote: > >> I've hit something confusing to me. >> When building a Monolithic policy everything >> goes good. But as soon as I build a binary I hit this: >> >> m4 -D distro_redhat -D enable_ubac -D mls_num_sens=16 -D >> mls_num_cats=256 -D mcs_num_cats=256 -D hide_broken_symptoms -D >> users_extra support/divert.m4 policy/support/file_patterns.spt >> policy/support/ipc_patterns.spt policy/support/loadable_module.spt >> policy/support/misc_macros.spt policy/support/misc_patterns.spt >> policy/support/mls_mcs_macros.spt policy/support/obj_perm_sets.spt >> support/undivert.m4 policy/users | \ >> sed -r -n -e 's/^[[:blank:]]*//g' -e '/^user/p'> >> tmp/users_extra >> make: *** No rule to make target `/seusers', needed by `tmp/seusers'. Stop. >> >> I've looked at the Makefile to make sure >> I didn't forget anything(python,sed,awk,m4,flex) >> but still can't seem to figure out what I'm missing >> to have the policy compile the modules correctly. >> >> Keep in mind I don't want to wast any of your guy's time, >> so any quick hints are appreciated. >> > > I can't reproduce this. My guess is that either your policy sources are > corrupt or the seusers makefile variable is being changed somehow, eg. > by environmental variables. > > once again I find myself in a situation in of which I can't comprehend(the enjoyment of developing). I think I'm missing a package, or built a package without a certain package to do this correctly. positive side is I'm able to have monolithic build correctly. At this point I'll just keep with monolithic on this machine, and have binary on another machine so I can spend more time at this problem.(and to think I figured "oh yeah should be no problem with binary"). Justin P. Mattock