Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2001 16:26:36 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        stable@freebsd.org
Subject:   buildworld fails in Perl ("Your Makefile has been rebuilt.")
Message-ID:  <200103112126.f2BLQaR62202@aldan.algebra.com>

next in thread | raw e-mail | index | archive | help
Will this non-sense ever end?

After a fresh cvsup:

mkdir: build: File exists
Extracting config.h (with variable substitutions)
Extracting cflags (with variable substitutions)
Extracting writemain (with variable substitutions)
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=freebsd, osvers=4.0-current, archname=i386-freebsd
    uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current #0: $Date$'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='', gccversion=2.95.2 19991024 (release)
    cppflags=''
    ccflags =''
    stdchar='char', d_stdstdio=undef, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-E -lperl -lm '
    libpth=/usr/lib
    libs=-lm -lc -lcrypt
    libc=, so=so, useshrplib=true, libperl=libperl.so.3
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-R/usr/lib'
    cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '

/usr/obj/ccd/src/gnu/usr.bin/perl/perl/../miniperl/miniperl -I/usr/obj/ccd/src/gnu/usr.bin/perl/perl/lib  -e 'use AutoSplit; autosplit_lib_modules(@ARGV)'  lib/*.pm lib/*/*.pm
AutoSplitting lib/Getopt/Long.pm (lib/auto/Getopt/Long)
sh writemain lib/auto/DynaLoader/DynaLoader.a > perlmain.c
cc -O -pipe -march=i686 -fomit-frame-pointer -march=pentiumpro -I/ccd/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5 -I/usr/obj/ccd/src/gnu/usr.bin/perl/perl   -I/usr/obj/ccd/src/i386/usr/include -c perlmain.c
Writing Makefile for DynaLoader
Warning: /usr/obj/ccd/src/gnu/usr.bin/perl/perl/lib/Config.pm may be out of date with /usr/obj/ccd/src/gnu/usr.bin/perl/perl/config.sh
cd /usr/obj/ccd/src/gnu/usr.bin/perl/perl && make lib/Config.pm
`lib/Config.pm' is up to date.
Warning: /usr/obj/ccd/src/gnu/usr.bin/perl/perl/config.h out of date with /usr/obj/ccd/src/gnu/usr.bin/perl/perl/config.sh
Makefile out-of-date with respect to /usr/obj/ccd/src/gnu/usr.bin/perl/perl/lib/Config.pm /usr/obj/ccd/src/gnu/usr.bin/perl/perl/config.h
Cleaning current config before rebuilding Makefile...
*** Error code 1 (ignored)
make -f Makefile.old clean > /dev/null 2>&1 || /bin/sh -c true
/usr/obj/ccd/src/gnu/usr.bin/perl/perl/../miniperl/miniperl "-I/usr/obj/ccd/src/gnu/usr.bin/perl/perl/lib" "-I/usr/obj/ccd/src/gnu/usr.bin/perl/perl/lib" Makefile.PL "INSTALLDIRS=perl" "PERL_SRC=/usr/obj/ccd/src/gnu/usr.bin/perl/perl" "INSTALLMAN3DIR=/usr/obj/ccd/src/i386/usr/share/perl/man3" "PERL=/usr/obj/ccd/src/gnu/usr.bin/perl/perl/../miniperl/miniperl" "FULLPERL=perl" "DEFINE=-I/usr/obj/ccd/src/i386/usr/include" "DEFINE=-DPERL_CORE" "LINKTYPE=static" "LIBS=-lperl -lm"
Writing Makefile for DynaLoader
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
*** Error code 1

Stop in /ccd/obj/ccd/src/gnu/usr.bin/perl/perl/ext/DynaLoader.
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
[...]

Why does it think, the file is out of date? Because make looks at the
ctime of the link instead of the link's target?

# ls -l /usr/obj/ccd/src/gnu/usr.bin/perl/perl/config.sh
lrwxr-xr-x  1 root  wheel  60 Mar 11 14:49 /usr/obj/ccd/src/gnu/usr.bin/perl/perl/config.sh -> /ccd/src/gnu/usr.bin/perl/perl/../libperl/config.SH-elf.i386
# ls -l /ccd/src/gnu/usr.bin/perl/perl/../libperl/config.SH-elf.i386
-rw-r--r--  1 mi  wheel  12987 Oct 31  2000 /ccd/src/gnu/usr.bin/perl/perl/../libperl/config.SH-elf.i386
# ls -l /ccd/obj/ccd/src/gnu/usr.bin/perl/perl/ext/DynaLoader/Makefile*
-rw-r--r--  1 root  wheel  22095 Mar 11 14:49 /ccd/obj/ccd/src/gnu/usr.bin/perl/perl/ext/DynaLoader/Makefile
lrwxr-xr-x  1 root  wheel     83 Mar 11 14:49 /ccd/obj/ccd/src/gnu/usr.bin/perl/perl/ext/DynaLoader/Makefile.PL -> /ccd/src/gnu/usr.bin/perl/perl/../../../../contrib/perl5/ext/DynaLoader/Makefile.PL
-rw-r--r--  1 root  wheel  22091 Mar 11 14:49 /ccd/obj/ccd/src/gnu/usr.bin/perl/perl/ext/DynaLoader/Makefile.old

	-mi

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




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