Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 11:13:08 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        John Hay <jhay@icomtek.csir.co.za>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src Makefile Makefile.inc1 src/secure Makefile src/share/man/man7 release.7 src/kerberos5 Makefile Makefile.inc
Message-ID:  <20020726081308.GA15068@sunbay.com>
In-Reply-To: <200207260359.g6Q3xuv04277@zibbi.icomtek.csir.co.za>
References:  <20020725162109.GA32393@sunbay.com> <200207260359.g6Q3xuv04277@zibbi.icomtek.csir.co.za>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Fri, Jul 26, 2002 at 05:59:56AM +0200, John Hay wrote:
> > > > 
> > > > I don't specifically set TARGET_ARCH, I just do a make release on a
> > > > i386 box to get an i386 release.
> > > 
> > > This patch work around the problem. It gets my box past building
> > > the doc tools at least.
> > > 
> > As I said, the real problem is probably with bsd.port.mk.
> > 
> > The problem is demonstrated like this:
> > 
> > $ touch foo.c
> > $ gmake -f /dev/null foo TARGET_ARCH=bar
> > cc    bar foo.c   -o foo
> > cc: bar: No such file or directory
> > gmake: *** [foo] Error 1
> > $
> > 
> ...
> > 
> > I would prefer the "cd /usr/ports/$$i && env -i make all ..." version,
> > if it works, FWIW.
> > 
> 
> I have tried your env -i version, but then make release on both -stable
> and -current dies like this:
> 
> ######################
> ===>  Patching for jade-1.2.1_1
> ===>  Applying distribution patches for jade-1.2.1_1
> ===>  Applying FreeBSD patches for jade-1.2.1_1
> ===>  Configuring for jade-1.2.1_1
> libtool: not found
> creating cache ./config.cache
> saving distribution makefiles...
> ...
> checking for cthread_fork in -lthreads... no
> checking for ANSI template instantiation... yes
> checking host system type... i386-portbld-freebsd4.5
> checking for ranlib... ranlib
> checking for ld used by GCC... /usr/libexec/elf/ld
> checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
> checking for BSD-compatible nm... /usr/bin/nm -B
> /ltconfig: Can't open /ltconfig: No such file or directory
> configure: error: libtool configure failed
> ===>  Script "configure" failed unexpectedly.
>       Please report the problem to kuriyama@FreeBSD.org [maintainer] and attach
>       the "/usr/ports/textproc/jade/work/jade-1.2.1/config.log" including the
>       output of the failure of your make command. Also, it might be a good idea
>       to provide an overview of all packages installed on your system (e.g. an
>       `ls /var/db/pkg`).
> *** Error code 1
> 
> Stop in /usr/ports/textproc/jade.
> *** Error code 1
> 
Yep, I saw that too.  I'm currently trying the ``env -i PATH=$${PATH} ...''
patch and will commit it if it works.  Should be clear within 15 minutes.


Cheers,
-- 
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9QQSUUkv4P6juNwoRAjsdAJ4t7iFJ9cpmq6gDrir8kDe9H9g88ACfdx5J
dtqzQS4COSfgBkmvARmID8I=
=nf0r
-----END PGP SIGNATURE-----
help

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