Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2002 13:57:53 +0200
From:      Valentin Nechayev <netch@netch.kiev.ua>
To:        dirk@freebsd.org, ports@freebsd.org
Cc:        sobomax@freebsd.org
Subject:   mysql323-server 3.23.54 is totally broken and unbuildable
Message-ID:  <20021216115752.GC36865@netch.kiev.ua>

next in thread | raw e-mail | index | archive | help
System: FreeBSD 4.7-RELEASE
Port cvsup date: 2002.12.16.00.00.00
Port Makefile version: 1.152

Problem:

1. On i386, CONFIGURE_ARGS contains --with-berkeley-db,
but none berkeley DB version is listed in dependencies.
With installed db-3.3.1 from port, mysql's configure can't find it.

2. With workaround of par.1 (disabled --with-berkeley-db),
configure falls into eternal cycle:

Configuring MIT Pthreads
cd: can't cd to mit-pthreads
checking build system type... i386-unknown-freebsd4.7
[...]
Configuring MIT Pthreads
cd: can't cd to mit-pthreads
checking build system type... i386-unknown-freebsd4.7
[...]

This is because configure contains:
    echo ""
    echo "Configuring MIT Pthreads"
    # We will never install so installation paths are not needed.
    (cd mit-pthreads && sh ./configure)

but subdirectory `mit-pthreads' doesn't exist in mysql tarball,
and script runs the same top-level configure again and again.
Adding --with-posix-threads to configure arguments doesn't help.

This wasn't changed by port patches, hence problem is from stock vendor.

It seems to me that new port was totally untested :(
And stock mysql 3.23.54 also was untested even for simple compiling :(

The host in question has no non-standard items, /etc/make.conf follows.

=== make.conf ===
CFLAGS= -O -pipe -march=i486 -mcpu=i586 -mpreferred-stack-boundary=2
NOPROFILE=      true
NOSUIDPERL=     true
NO_SENDMAIL=    true
COMPAT22=       yes
COMPAT3X=       yes
COMPAT4X=       yes
USA_RESIDENT=           NO
MASTER_SITE_BACKUP?=    \
        ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
MASTER_SITE_OVERRIDE?=  \
        ftp://ftp.lucky.net/pub/FreeBSD/ports/distfiles/${DIST_SUBDIR}/
NO_MAILWRAPPER=true     # do not build the mailwrapper(8) MTA selector
NO_MODULES=     true    # do not build modules with the kernel
MAKE_IDEA=      YES     # IDEA (128 bit symmetric encryption)
NO_OBJC=        true    # do not build Objective C support
NOGAMES=        true    # do not build games (games/ subdir)
INSTALL=install -C

SKIP_INSTALL_DB=yes
=== end ===

To sobomax@: I can give you login here if it is needed.


-netch-

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?20021216115752.GC36865>