When USE_LINUX=yes and PREFIX!=LINUXBASE, bsd.stage.mk creates a BSD local hierarchy in LINUXBASE This looks inapropriate and create lots of stage orphaned directories. I don't know what those lines are supposed to fix but the fix is not good. Fix: With patch below, no orphans (and no problem) building games/dsnake emulators/rtc and www/linux-f10-flashplugin11 How-To-Repeat: poudriere bulk -t games/dsnake emulators/rtc www/linux-f10-flashplugin11 and watch the failures: =======================<phase: deinstall >============================ ====>> Checking for orphaned files and directories in stage directory (missing from plist) ====>> Files or directories orphaned: /compat/linux/etc/devd /compat/linux/etc/man.d /compat/linux/etc/rc.d ...
Responsible Changed From-To: freebsd-ports-bugs->portmgr Over to maintainer
Approved Bapt
Author: antoine Date: Wed Dec 4 17:48:26 2013 New Revision: 335625 URL: http://svnweb.freebsd.org/changeset/ports/335625 Log: Do not create a BSD local hierarchy under ${STAGEDIR}${LINUXBASE} when USE_LINUX=yes and PREFIX!=LINUXBASE. This is not needed and creates a bunch of stage orphaned directories. PR: ports/184477 Approved by: portmgr (bapt) Tested by: poudriere bulk -t games/dsnake emulators/rtc www/linux-f10-flashplugin11 (no error, no orphans) Modified: head/Mk/bsd.stage.mk Modified: head/Mk/bsd.stage.mk ============================================================================== --- head/Mk/bsd.stage.mk Wed Dec 4 16:24:20 2013 (r335624) +++ head/Mk/bsd.stage.mk Wed Dec 4 17:48:26 2013 (r335625) @@ -28,10 +28,6 @@ stage-dir: @${MKDIR} ${STAGEDIR}${PREFIX} .if !defined(NO_MTREE) @${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${PREFIX} > /dev/null -.if defined(USE_LINUX) && ${PREFIX} != ${LINUXBASE} - @${MKDIR} ${STAGEDIR}${LINUXBASE} - @${MTREE_CMD} ${MTREE_ARGS} ${STAGEDIR}${LINUXBASE} > /dev/null -.endif .endif .endif _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Patch committed