config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[config-patches] improving support for MidnightBSD


From: Nelson H. F. Beebe
Subject: [config-patches] improving support for MidnightBSD
Date: Wed, 21 Feb 2018 16:54:32 -0700

MidnightBSD (http://www.midnightbsd.org/) is an offshoot of FreeBSD
(about the time of version FreeBSD 5.x and 6.x; the latest FreeBSD is
now 11.1).

In e-mail from November 2011, I reported that lack of support for
MidnightBSD in config.guess, and a team member quickly produced an
updated release of that file that solved the package build problem
that I was then facing.

In a project with Clisp author and maintainer Bruno Haible, we have
radically extended the number of different O/Ses on which Clisp
successfully builds (now more than 160 in our test lab), but we find
that config.sub also needs an update for MidnightBSD.

I have machines here running MidnightBSD 0.7, 0.8, 0.8.5, and 0.8.6.

When I attempt to build clisp-2.49.92 on those systems, I get
configure-time errors like these:

        checking build system type... Invalid configuration 
`amd64-unknown-midnightbsd0.7': system
        `midnightbsd0.7' not recognized
        configure: error: /bin/sh build-aux/config.sub 
amd64-unknown-midnightbsd0.7 failed

        checking build system type... Invalid configuration 
`amd64-unknown-midnightbsd0.8': system
        `midnightbsd0.8' not recognized

        configure: error: /bin/sh build-aux/config.sub 
amd64-unknown-midnightbsd0.8 failed

        checking build system type... Invalid configuration 
`amd64-unknown-midnightbsd0.8': system
        `midnightbsd0.8' not recognized

        configure: error: /bin/sh build-aux/config.sub 
amd64-unknown-midnightbsd0.8 failed

        checking build system type... Invalid configuration 
`amd64-unknown-midnightbsd0.8.5': system
        `midnightbsd0.8.5' not recognized
        configure: error: /bin/sh build-aux/config.sub 
amd64-unknown-midnightbsd0.8.5 failed

        checking build system type... Invalid configuration 
`amd64-unknown-midnightbsd0.8.6': system
        `midnightbsd0.8.6' not recognized
        configure: error: /bin/sh build-aux/config.sub 
amd64-unknown-midnightbsd0.8.6 failed

        checking build system type... Invalid configuration 
`amd64-unknown-midnightbsd0.8.6': system
        `midnightbsd0.8.6' not recognized
        configure: error: /bin/sh build-aux/config.sub 
amd64-unknown-midnightbsd0.8.6 failed

On each machine, I can add --build=amd64-unknown-freebsd11 to the
configure step, and get a successful build (though not yet a
successful "make check", but that is likely a compiler problem that
I'm investigating).

The config.* files supplied with clisp-2.49.92 are recent ones:

        % ls -l config.*
        -rwxrwxr-x 1 beebe sysstaff 44170 Jan 27 04:16 config.guess
        -rwxrwxr-x 1 beebe sysstaff 18574 Jan  9 16:42 config.rpath
        -rwxrwxr-x 1 beebe sysstaff 36111 Jan 27 04:16 config.sub

Two of them contain these timestamps:

        % grep ^time config.*
        config.guess:timestamp='2018-01-26'
        config.sub:timestamp='2018-01-15'

The config.rpath has no similar line, but it does have

        #   Copyright 1996-2018 Free Software Foundation, Inc.

There are no /etc/*release* files on MidnightBSD, nor any other
characteristic files in /etc/, but here are their typical "uname -a"
outputs:

        midnightbsd07.example.com
        MidnightBSD midnightbsd07.example.com 0.7 MidnightBSD 0.7 #0 r7306: Sat 
Sep 19 16:29:35 EDT 2015     address@hidden:/usr/obj/usr/src/sys/GENERIC amd64 
amd64 Intel Core Processor (Haswell) FreeBSD

        midnightbsd08.example.com
        MidnightBSD midnightbsd08.example.com 0.8 MidnightBSD 0.8 #1 r7652: Tue 
Aug  2 20:30:54 EDT 2016     address@hidden:/usr/obj/usr/src/sys/GENERIC amd64 
amd64 Intel Core Processor (Haswell) FreeBSD

        midnightbsd085.example.com
        MidnightBSD midnightbsd085.example.com 0.8.5 MidnightBSD 0.8.5 #4 
r9248: Thu Jan 12 23:08:25 EST 2017     
address@hidden:/usr/obj/usr/src/sys/GENERIC amd64 amd64 AMD Opteron(tm) 
Processor 6136 FreeBSD

        midnightbsd086.example.com
        MidnightBSD midnightbsd086.example.com 0.8.6 MidnightBSD 0.8.6 #0 
r9534: Sun Aug 20 23:21:11 EDT 2017     
address@hidden:/usr/obj/usr/src/sys/GENERIC amd64 amd64 AMD Opteron(tm) 
Processor 6136 FreeBSD

On the 0.7 version system, I find these subset reports:

        % uname -i
        Intel Core Processor (Haswell)

        % uname -m
        amd64

        % uname -r
        0.7

        % uname -o
        FreeBSD

        % uname -p
        amd64

        % uname -s
        MidnightBSD

        % uname -v
        MidnightBSD 0.7 #0 r7306: Sat Sep 19 16:29:35 EDT 2015     \
        address@hidden:/usr/obj/usr/src/sys/GENERIC

Please let me know if there is additional information that you need to
be able to update config.sub to recognize MidnightBSD.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]