pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure for mail/procmail



On Tue, 15 Sep 2015, Paul Goyette wrote:

On Mon, 14 Sep 2015, Paul Goyette wrote:

Having gotten past my earlier issues with cmake, I now turn to procmail!

A quick check in the Makefile shows that it includes MAKE_JOBS_SAFE=no yet the error message would imply that it is still doing a parallel make:

...
Determining the maximum number of 16 byte arguments execv() takes
Whoeaaa!  This actually can't happen.
You have a look and see if you detect anything uncanny:
*******************************************************
A failure has been detected in another branch of the parallel make
*******************************************************
I suggest you take a look at the definition of LDFLAGS*
in the Makefile before you try make again.
*** [../autoconf.h] Error code 1
...

The entire log file is attached to this Email...


I've rerun this build with PKG_DEBUG_LEVEL=2 and I still cannot figure out why it is running make with -j2

The entire log is attached. Hopefully someone can figure out why the MAKE_JOBS_SAFE=no (from procmail's Makefile) isn't working?


Problem solved!   :)

It seems that /etc/mk.conf is read and processed _after_ the package's Makefile. As a result, the MAKE_JOBS_SAFE=yes in my /etc/mk.conf file overrides the MAKE_JOBS_SAFE=no in the package's Makefile.

Removing the line from /etc/mk.conf allows the build to proceed!



+------------------+--------------------------+-------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:       |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com    |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
+------------------+--------------------------+-------------------------+


Home | Main Index | Thread Index | Old Index