pkg postflight

Jeremy Lavergne jeremy at lavergne.gotdns.org
Thu Jan 30 14:15:52 PST 2014


geekosaur helpfully pointed out error code 8’s definition:

#define	ENOEXEC	 8	 /* Exec format error */

So, hopefully, all I’ve forgotten is the shebang for the postflight script.

On Jan 30, 2014, at 17:12, Jeremy Lavergne <jeremy at lavergne.gotdns.org> wrote:

> Only significant tweak: I forgot global on the reinplace for postflight.
> 
> When I try to install the package, I get a failure when running the postflight (/var/log/install.log). Apparently, it can’t posix_spawn and gives error 8. This is strange because everything appears to be setup the same way MacPorts does things.
> 
> I also can’t figure out what error 8 is. That is probably the golden key for the next step but I’m lost without it.
> 
> On Jan 30, 2014, at 14:46, Jeremy Lavergne <jeremy at lavergne.gotdns.org> wrote:
> 
>> I’m presently seeing if I can do PSPP’s post-activate (update GTK caches) during pkg install:
>> 
>> <pspp-postflight.diff.xz>
>> 
>> Does this approach look reasonable to you?
>> 
> 
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev



More information about the macports-dev mailing list