Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2003 21:59:45 +0400
From:      =?koi8-r?B?587J1Mmj1yD3ycvUz9I=?= <gnitiev@nashe.ru>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: make buildworld failed
Message-ID:  <E4FD83669B56D849A405CA8EBA7FA36C0AC441@exsite.nashe.ru>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_003C_01C3351B.C3543250
Content-Type: text/plain;
	charset="koi8-r"
Content-Transfer-Encoding: quoted-printable

$ grep mktemp /usr/include/*.h
/usr/include/unistd.h:char      *mktemp __P((char *));

$ nm /usr/lib/libc.so.* | grep mktemp
/usr/libexec/elf/nm: /usr/lib/libc.so.4: no symbols

$ cat /var/cvsup/src/contrib/binutils/libiberty/choose-temp.c
/* Utility to pick a temporary filename prefix.
   Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc.

This file is part of the libiberty library.
Libiberty is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

Libiberty is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with libiberty; see the file COPYING.LIB.  If not,
write to the Free Software Foundation, Inc., 59 Temple Place - Suite
330,
Boston, MA 02111-1307, USA.  */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <stdio.h>      /* May get P_tmpdir.  */
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#endif

#include "libiberty.h"
extern char *choose_tmpdir PARAMS ((void));

/* Name of temporary file.
   mktemp requires 6 trailing X's.  */
#define TEMP_FILE "ccXXXXXX"
#define TEMP_FILE_LEN (sizeof(TEMP_FILE) - 1)

/*

@deftypefn Extension char* choose_temp_base (void)

Return a prefix for temporary file names or @code{NULL} if unable to
find one.  The current directory is chosen if all else fails so the
program is exited if a temporary directory can't be found (@code{mktemp}
fails).  The buffer for the result is obtained with @code{xmalloc}.

This function is provided for backwards compatability only.  Its use is
not recommended.

@end deftypefn

*/

char *
choose_temp_base ()
{
  const char *base =3D choose_tmpdir ();
  char *temp_filename;
  int len;

  len =3D strlen (base);
  temp_filename =3D xmalloc (len + TEMP_FILE_LEN + 1);
  strcpy (temp_filename, base);
  strcpy (temp_filename + len, TEMP_FILE);

  mktemp (temp_filename);
  if (strlen (temp_filename) =3D=3D 0)
    abort ();
  return temp_filename;
}

----------------------------------
Viktor M. Gnitiyov
e-mail: gnitiyov@nashe.ru


> -----Original Message-----
> From: Joshua Oreman [mailto:oremanj@www.get-linux.org]
> Sent: Tuesday, June 17, 2003 8:48 PM
> To: =E7=CE=C9=D4=C9=A3=D7 =F7=C9=CB=D4=CF=D2
> Cc: questions@freebsd.org
> Subject: Re: make buildworld failed
>=20
>=20
> On Tue, Jun 17, 2003 at 03:50:41PM +0400 or thereabouts,=20
> ??????? ?????? seemed to write:
> > Hi, All.
> >=20
> > On my machine with FreeBSD 4.4-RELEASE I was done next steps:
> >=20
> > Edit /usr/local/etc/CVSUP.conf for next settings:
> >=20
> > *default host=3Dcvsup4.ru.FreeBSD.org
> > *default base=3D/var/cvsup
> > *default prefix=3D/var/cvsup
> > *default release=3Dcvs tag=3DRELENG_4
> > *default delete use-rel-suffix
> > #*default compress
> > src-all
> >=20
> > REM: "/var/cvsup" is selected because it (/var) has free=20
> space (3Gb).
> >=20
> > File /etc/make.conf have next special strings (other strings is
> > default):
> > NO_MAILWRAPPER=3Dtrue
> > NO_OPENSSH=3D     true
> > NO_OPENSSL=3D     true
> > NO_SENDMAIL=3D    true
> > NO_X=3D           true
> > NOGAMES=3D        true
> > NOUUCP=3D true
> >=20
> > # cd /var/cvsup/src
> > # make cleandir
> > # make cleandir
> > # cvsup -g -L 2 /usr/local/etc/CVSUP.conf
> > # script /var/log/mk_bworld.log
> > # make buildworld
> > # exit
> >=20
> > "make buildworld" was fail with errors. Latest string in
> > /var/log/mk_bworld.log is:
> >=20
> > =3D=3D=3D> gnu/usr.bin/binutils
> > =3D=3D=3D> gnu/usr.bin/binutils/libiberty
> > cc -O -pipe -march=3Dpentiumpro -D_GNU_SOURCE -I.
> > -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty
> > -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
> >=20
> -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../co
> ntrib/binu
> > tils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
> > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror  -c
> >=20
> /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../cont
> rib/binuti
> > ls/libiberty/argv.c -o argv.o
> > cc -O -pipe -march=3Dpentiumpro -D_GNU_SOURCE -I.
> > -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty
> > -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../libbfd/i386
> >=20
> -I/var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../co
> ntrib/binu
> > tils/include -DHAVE_CONFIG_H -W -Wall -Wstrict-prototypes
> > -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror  -c
> >=20
> /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../cont
> rib/binuti
> > ls/libiberty/choose-temp.c -o choose-temp.o
> > cc1: warnings being treated as errors
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Well, that's why it=20
> errored :-)
> >=20
> /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../cont
> rib/binuti
> > ls/libiberty/choose-temp.c: In function `choose_temp_base':
> >=20
> /var/cvsup/src/gnu/usr.bin/binutils/libiberty/../../../../cont
> rib/binuti
> > ls/libiberty/choose-temp.c:68: warning: implicit=20
> declaration of function
> > `mktemp'
>=20
> Send us the output of these commands:
> $ grep mktemp /usr/include/*.h
> $ nm /usr/lib/libc.so.* | grep mktemp
> $ cat /var/cvsup/src/contrib/binutils/libiberty/choose-temp.c
>=20
> -- Josh
>=20
> > *** Error code 1
> >=20
> > Stop in /var/cvsup/src/gnu/usr.bin/binutils/libiberty.
> > *** Error code 1
> >=20
> > Stop in /var/cvsup/src/gnu/usr.bin/binutils.
> > *** Error code 1
> >=20
> > Stop in /var/cvsup/src/gnu/usr.bin.
> > *** Error code 1
> >=20
> > Stop in /var/cvsup/src/gnu.
> > *** Error code 1
> >=20
> > Stop in /var/cvsup/src.
> > *** Error code 1
> >=20
> > Stop in /var/cvsup/src.
> > *** Error code 1
> >=20
> > Stop in /var/cvsup/src.
> >=20
> > Full log file on http://www.nashe.ru/mk_bworld.log (~6 Mb)
> > /etc/make.conf is on http://www.nashe.ru/make.conf
> >=20
> > Any ideas welcome...
> > What and Why I need to resolve this problem?
> >=20
> > ----------------------------------
> > Viktor M. Gnitiyov
> > e-mail: gnitiyov@nashe.ru
>=20
>=20
>=20

------=_NextPart_000_003C_01C3351B.C3543250
Content-Type: application/x-pkcs7-signature;
	name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="smime.p7s"

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFlzCCBZMw
ggU9oAMCAQICCmIiHrUAAAAAABAwDQYJKoZIhvcNAQEFBQAwgZkxIDAeBgkqhkiG9w0BCQEWEWdu
aXRpeW92QG5hc2hlLnJ1MQswCQYDVQQGEwJSVTEMMAoGA1UECBMDLS0tMQ8wDQYDVQQHEwZNb3Nj
b3cxFDASBgNVBAoTC05BU0hFIFJhZGlvMRkwFwYDVQQLExBDb3Jwb3JhdGUgZG9tYWluMRgwFgYD
VQQDEw9OQVNIRSBDQS1TRVJWRVIwHhcNMDIwNzExMTEyMjQzWhcNMDMwNzExMTEyMjQzWjBIMR8w
HQYJKoZIhvcNAQkBFhBn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Ib3DQIFMIG5BgkrBgEEAYI3EAQxgasw
gagwgZkxIDAeBgkqhkiG9w0BCQEWEWduaXRpeW92QG5hc2hlLnJ1MQswCQYDVQQGEwJSVTEMMAoG
A1UECBMDLS0tMQ8wDQYDVQQHEwZNb3Njb3cxFDASBgNVBAoTC05BU0hFIFJhZGlvMRkwFwYDVQQL
ExBDb3Jwb3JhdGUgZG9tYWluMRgwFgYDVQQDEw9OQVNIRSBDQS1TRVJWRVICCmIiHrUAAAAAABAw
DQYJKoZIhvcNAQEBBQAEQGTfMk/mZw/rOaq0f9Claz96k8+Y7g0aeKli1YjA7EQql97qNZsiiAE2
mXtGjbxG0toIg0ZpAJ+fUeuiTOgmylEAAAAAAAA=

------=_NextPart_000_003C_01C3351B.C3543250--



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