Summary: | Mk/bsd.fpc.mk and editors/lazarus: not remove /root/.cache/instantfpc/ | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Andrey Fesenko <andrey> | ||||
Component: | Ports Framework | Assignee: | Port Management Team <portmgr> | ||||
Status: | Closed Not A Bug | ||||||
Severity: | Affects Only Me | CC: | acm, ports-bugs, robak | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200808 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201218 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201219 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201220 |
||||||
Attachments: |
|
Description
Andrey Fesenko
2015-06-20 19:37:57 UTC
Could you try respecting MAKE_ENV in your ports ? some commands are launched without ${SETENV} ${MAKE_ENV} I believe this would solve the problem (default cache is $HOME/.cache/instantfpc and MAKE_ENV has HOME=${WRKDIR}) Created attachment 157904 [details]
poudriere bulk -t log
Yes set ${SETENV} ${MAKE_ENV} remove this error
- @cd ${WRKSRC} && \
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${LAZBUILD_CMD} --ws="${LCL_PLATFORM}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE}
So, can this PR be closed? Is it possible to correct this error is centralized or each port should monitor these variables on their own? Each port should respect MAKE_ENV. If your port has custom do-build, it must include the MAKE_ENV variable in it. Thank you for the clarification, I will offer patches to ports where discovered his absence, leading to errors. This I think should be closed |