Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 19:10:04 +0200 (CEST)
From:      Philippe CASIDY <pcasidy@casidy.com>
To:        freebsd-ports@freebsd.org
Subject:   Part3: problem building devel/imaje-4 (was Part2: devel/imake-4: can everybody build it under a 4.6-RC?)
Message-ID:  <200206111707.g5BH7XNI081677@gueway.home>

next in thread | raw e-mail | index | archive | help
Hi!

I have finally decided to set up another machine with 4.6-RC. I can
build this port correctly on this one. But on the other machine, it
keeps trying to build it!

Therefore the problem seems to be in my environment but i cannot find
where!

I really need your help on this issue.

I have started to dig in the bsd.port.mk and try to understand where my
environnemnt makes the makefile going crazy.

I have change the following target as:
extract-message:
        @${ECHO_MSG} "===>  Extracting for ${PKGNAME} in WRKSRC ${WRKSRC}"
        @${ECHO_MSG} "===>  Extracting for ${PKGNAME} in WRKDIR ${WRKDIR}"
        @${ECHO_MSG} "===>  Extracting for ${PKGNAME} in WRKDIRPREFIX ${WRKDIRPREFIX}"
        @${ECHO_MSG} "===>  Extracting for ${PKGNAME} in CURDIR ${.CURDIR}"

So when I make the port, I have the following behavior:

$ make  
===>  Extracting for imake-4.2.0_1 in WRKSRC /home/updater/usr/ports/devel/imake-4/work/xc/config  
===>  Extracting for imake-4.2.0_1 in WRKDIR /home/updater/usr/ports/devel/imake-4/work  
===>  Extracting for imake-4.2.0_1 in WRKDIRPREFIX /home/updater  
===>  Extracting for imake-4.2.0_1 in CURDIR /usr/ports/devel/imake-4  
>> Checksum OK for xc/X420src-1.tgz.  
===>  Patching for imake-4.2.0_1  
===>  Applying FreeBSD patches for imake-4.2.0_1  
===>  Configuring for imake-4.2.0_1  
cd ./config/imake && make   -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"  
making imake with BOOTSTRAPCFLAGS= in config/imake  
<snip>
including in config/pswrap...  
===>  Building for imake-4.2.0_1
===>  Extracting for imake-4.2.0_1 in WRKSRC /home/updater/home/updater/usr/ports/devel/imake-4/work/xc/config/work/xc/config  
===>  Extracting for imake-4.2.0_1 in WRKDIR /home/updater/home/updater/usr/ports/devel/imake-4/work/xc/config/work  
===>  Extracting for imake-4.2.0_1 in WRKDIRPREFIX /home/updater  
===>  Extracting for imake-4.2.0_1 in CURDIR /home/updater/usr/ports/devel/imake-4/work/xc/config  
>> No MD5 checksum file.  
===>  Patching for imake-4.2.0_1  
===>  Configuring for imake-4.2.0_1  
===>  Building for imake-4.2.0_1
===>  Extracting for imake-4.2.0_1 in WRKSRC /home/updater/home/updater/home/updater/usr/ports/devel/imake-4/work/xc/config/work/xc/config/work/xc/config  
===>  Extracting for imake-4.2.0_1 in WRKDIR /home/updater/home/updater/home/updater/usr/ports/devel/imake-4/work/xc/config/work/xc/config/work  
===>  Extracting for imake-4.2.0_1 in WRKDIRPREFIX /home/updater  
===>  Extracting for imake-4.2.0_1 in CURDIR /home/updater/home/updater/usr/ports/devel/imake-4/work/xc/config/work/xc/config  
>> No MD5 checksum file.  
^C$ 

like this until my filesystem is full.

on both machines:
- 4-6 RC sharing the same /usr/ports other nfs
- /usr/ports is updated twice a day
- /usr/ports nfs mounted therefore another user than root must make it
- WRKDIRPREFIX is set to /home/updater (specific for each machine) in
  their own /etc/make.conf

I ssh to each machine and I do 
su -
su - updater
cd /usr/ports/devel/imake-4
make

One is ok, but the ports keeps extracting forever on the other.

Note:
Using another user than root it twofold:
- /usr/ports can be nfs mounted without allowing root to access it
- the less root does the less he can break ;)

Thanks for your help!

Phil.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206111707.g5BH7XNI081677>