Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2001 02:50:58 +0100
From:      Palle Girgensohn <girgen@partitur.se>
To:        ports@FreeBSD.ORG
Subject:   What's this? all ports broken: "don't know how to make real-build"
Message-ID:  <197270000.1008381058@elbas.partitur.se>

next in thread | raw e-mail | index | archive | help
Hi ports list,

I have a problem on one of our machines. We have a bunch of FreeBSD 
systems, all running 4.4-RELEASE. After a fresh cvsup on all machines, 
*one* of them fails to build ports. All fail with the message:

===>  Building for curl-7.9.2
`configure' is up to date.
make: don't know how to make real-build. Stop
*** Error code 2

make configure is fine. make build fails.

On this machine, the output from make -dl is quite different:

host:curl$ make -dl
cd /usr/local/ports/ftp/curl && make 'CKSUMFILES+=curl-7.9.2.tar.bz2 
curl-lib-sendf.c.patch' configure
cd /usr/local/ports/ftp/curl && make 'CKSUMFILES+=curl-7.9.2.tar.bz2 
curl-lib-sendf.c.patch' real-build
echo "===>  Building for curl-7.9.2"
===>  Building for curl-7.9.2
cd /usr/local/ports/ftp/curl && make 'CKSUMFILES+=curl-7.9.2.tar.bz2 
curl-lib-sendf.c.patch' pre-build
true
if [ -f /usr/local/ports/ftp/curl/scripts/pre-build ]; then  cd 
/usr/local/ports/ftp/curl && /usr/bin/env PORTOBJFORMAT=elf 
BSD_INSTALL_PROGRAM="install -C -c -s -o root -g wheel -m 555" 
BSD_INSTALL_SCRIPT="install -C -c -o root -g wheel -m 555" 
BSD_INSTALL_DATA="install -C -c -o root -g wheel -m 444" 
BSD_INSTALL_MAN="install -C -c -o root -g wheel -m 444" 
CURDIR=/usr/local/ports/ftp/curl DISTDIR=/usr/ports/distfiles 
WRKDIR=/usr/local/obj/foo/usr/local/ports/ftp/curl/work 
WRKSRC=/usr/local/obj/foo/usr/local/ports/ftp/curl/work/curl-7.9.2 
PATCHDIR=/usr/local/ports/ftp/curl/files 
SCRIPTDIR=/usr/local/ports/ftp/curl/scripts 
FILESDIR=/usr/local/ports/ftp/curl/files  PORTSDIR=/usr/ports DEPENDS="" 
PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 /bin/sh 
/usr/local/ports/ftp/curl/scripts/pre-build;  fi
cd /usr/local/ports/ftp/curl && make 'CKSUMFILES+=curl-7.9.2.tar.bz2 
curl-lib-sendf.c.patch' do-build
(cd /usr/local/obj/foo/usr/local/ports/ftp/curl/work/curl-7.9.2; 
/usr/bin/env SHLIB_VER="2" OPENSSLLIB=/usr/lib OPENSSLINC=/usr/include 
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl PORTOBJFORMAT=elf PREFIX=/usr/local 
LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm 
-lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe " CXXFLAGS=" -O -pipe 
-fmemoize-lookups -fsave-memoized" BSD_INSTALL_PROGRAM="install -C -c -s -o 
root -g wheel -m 555"  BSD_INSTALL_SCRIPT="install -C -c -o root -g wheel 
-m 555"  BSD_INSTALL_DATA="install -C -c -o root -g wheel -m 444" 
BSD_INSTALL_MAN="install -C -c -o root -g wheel -m 444" make -f 
/usr/local/ports/ftp/curl/Makefile OPENSSL_CFLAGS="-DNO_IDEA" all)
cd /usr/local/obj/foo/usr/local/ports/ftp/curl/work/curl-7.9.2 && make 
'CKSUMFILES+=curl-7.9.2.tar.bz2 curl-lib-sendf.c.patch' configure
`configure' is up to date.
cd /usr/local/obj/foo/usr/local/ports/ftp/curl/work/curl-7.9.2 && make 
'CKSUMFILES+=curl-7.9.2.tar.bz2 curl-lib-sendf.c.patch' real-build
make: don't know how to make real-build. Stop
*** Error code 2

=================================================================

GOOD example:

otherhost:curl$ make -dl
cd /usr/ports/ftp/curl && make 'CKSUMFILES+=curl-7.9.2.tar.bz2 
curl-lib-sendf.c.patch' configure
cd /usr/ports/ftp/curl && make 'CKSUMFILES+=curl-7.9.2.tar.bz2 
curl-lib-sendf.c.patch' real-build
echo "===>  Building for curl-7.9.2"
===>  Building for curl-7.9.2
cd /usr/ports/ftp/curl && make 'CKSUMFILES+=curl-7.9.2.tar.bz2 
curl-lib-sendf.c.patch' pre-build
true
if [ -f /usr/ports/ftp/curl/scripts/pre-build ]; then  cd 
/usr/ports/ftp/curl && /usr/bin/env PORTOBJFORMAT=elf 
BSD_INSTALL_PROGRAM="install -C -c -s -o root -g wheel -m 555" 
BSD_INSTALL_SCRIPT="install -C -c -o root -g wheel -m 555" 
BSD_INSTALL_DATA="install -C -c -o root -g wheel -m 444" 
BSD_INSTALL_MAN="install -C -c -o root -g wheel -m 444" 
CURDIR=/usr/ports/ftp/curl DISTDIR=/usr/ports/distfiles 
WRKDIR=/usr/local/obj/foo/usr/ports/ftp/curl/work 
WRKSRC=/usr/local/obj/foo/usr/ports/ftp/curl/work/curl-7.9.2 
PATCHDIR=/usr/ports/ftp/curl/files  SCRIPTDIR=/usr/ports/ftp/curl/scripts 
FILESDIR=/usr/ports/ftp/curl/files  PORTSDIR=/usr/ports DEPENDS="" 
PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 /bin/sh 
/usr/ports/ftp/curl/scripts/pre-build;  fi
cd /usr/ports/ftp/curl && make 'CKSUMFILES+=curl-7.9.2.tar.bz2 
curl-lib-sendf.c.patch' do-build
(cd /usr/local/obj/foo/usr/ports/ftp/curl/work/curl-7.9.2; /usr/bin/env 
SHLIB_VER="2" OPENSSLLIB=/usr/lib OPENSSLINC=/usr/include  OPENSSLBASE=/usr 
OPENSSLDIR=/etc/ssl PORTOBJFORMAT=elf PREFIX=/usr/local 
LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm 
-lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe " CXXFLAGS=" -O -pipe 
-fmemoize-lookups -fsave-memoized" BSD_INSTALL_PROGRAM="install -C -c -s -o 
root -g wheel -m 555"  BSD_INSTALL_SCRIPT="install -C -c -o root -g wheel 
-m 555"  BSD_INSTALL_DATA="install -C -c -o root -g wheel -m 444" 
BSD_INSTALL_MAN="install -C -c -o root -g wheel -m 444" make -f Makefile 
OPENSSL_CFLAGS="-DNO_IDEA" all)
make  all-recursive
set fnord  -d l; amf=$2;  dot_seen=no;  target=`echo all-recursive | sed 
s/-recursive//`;  list='docs lib src include tests packages'; for subdir in 
$list; do  echo "Making $target in $subdir";  if test "$subdir" = "."; then 
dot_seen=yes;  local_target="$target-am";  else  local_target="$target"; 
fi;  (cd $subdir && make  $local_target)  || case "$amf" in *=*) exit 1;; 
*k*) fail=yes;; *) exit 1;; esac;  done;  if test "$dot_seen" = "no"; then 
make  "$target-am" || exit 1;  fi; test -z "$fail"
Making all in docs
set fnord  -d l; amf=$2;  dot_seen=no;  target=`echo all-recursive | sed 
s/-recursive//`;  list='examples'; for subdir in $list; do  echo "Making 
$target in $subdir";  if test "$subdir" = "."; then  dot_seen=yes; 
local_target="$target-am";  else  local_target="$target";  fi;  (cd $subdir 
&& make  $local_target)  || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) 
exit 1;; esac;  done;  if test "$dot_seen" = "no"; then  make  "$target-am" 
|| exit 1;  fi; test -z "$fail"
Making all in examples
echo "done"


I tried building as different users, use a copy of the same make.conf, 
/etc/defaults/make.confs are identical as are the contents of /usr/share/mk 
and /usr/ports/Mk.

Note that I use a PORTSDIR separate from /usr/ports and separarate from 
WRKDIRPREFIX, but they also identical on the two machines. So are the make 
binaries.

All are SMP machines.

IF someone can shed som light over this, I'l be very happy. I found one 
identical issue long time ago on this list 
<http://docs.freebsd.org/cgi/getmsg.cgi?fetch=895016+0+archive/2000/freebsd
-ports/20000827.freebsd-ports>, but no solution.

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?197270000.1008381058>