Quoting "Anatoly Borodin" <[EMAIL PROTECTED]> (Sun, 30 Mar 2008 14:58:31 +0300):
> Hi! > > > The whole week passed, and no further results. What should I do? Sorry, I was taking care about something else... I noticed something below in the script (not tested)... > On Thu, Mar 20, 2008 at 4:34 PM, Anatoly Borodin > <[EMAIL PROTECTED]> wrote: > > Hi! > > > > > > On Thu, Mar 20, 2008 at 8:36 AM, Alexander Leidinger > > <[EMAIL PROTECTED]> wrote: > > > Can you please try this without your settings in make.conf (empty > > > make.conf, or at least the smallest possible make.conf you can use)? > > > > I've found that make.conf is irrelevant, but some other thing matters > > > > # cat /root/testl.sh > > #!/bin/sh > > > > WRKDIRPREFIX=/usr/obj > > PORT=/usr/ports/emulators/linux_base-fc6 > > CONTENTS=/var/db/pkg/linux_base-fc6*/+CONTENTS > > P=`pwd`; > > LOG=/root/testl.log > > > > echo -n > ${LOG} > > rm -rf ${WRKDIRPREFIX}${PORT}; > > > > echo 'make clean' >> ${LOG} > > for i in 1 2 3 4 5; > > do > > cd ${PORT}; > > make clean; The make clean is wrong. It tries to clean in PORTSDIR, not in WRKDIRPREFIX. You need to specify WRKDIRPREFIX at every make invocation. > > make -DFORCE_PKG_REGISTER WRKDIRPREFIX=${WRKDIRPREFIX} install; > > make clean; > > cd ${P}; > > wc -l ${CONTENTS} >> ${LOG}; > > done > > > > echo 'rm -rf' >> $LOG > > for i in 1 2 3 4 5; > > do > > cd ${PORT}; > > rm -rf ${WRKDIRPREFIX}${PORT}; > > make -DFORCE_PKG_REGISTER WRKDIRPREFIX=${WRKDIRPREFIX} install; > > rm -rf ${WRKDIRPREFIX}${PORT}; > > cd ${P}; > > wc -l ${CONTENTS} >> ${LOG}; > > done > > > > clear; > > less ${LOG}; > > > > # sh /root/testl.sh; cat /root/testl.log > > make clean > > 20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > > > 6 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS Here you haven't cleaned the port, it is still available in WRKDIRPREFIX. Is seems there's a difference in the current directory when the port is already installed. I played a little bit around, it seems we can remove the PLIST= from linux_base. If Boris is not faster than me in committing the fix, I will do it for fc4, fc6 and f7 (f8 has no PLIST=) as my time permits... Bye, Alexander. > > 6 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > 6 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > 6 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > rm -rf > > 20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > 20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > 20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > 20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > 20067 /var/db/pkg/linux_base-fc6-6_5/+CONTENTS > > > -- I just had my entire INTESTINAL TRACT coated with TEFLON! http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"