Opened 7 years ago

Last modified 6 years ago

#55490 assigned defect

mysql57 +universal: mysql_config syntax error

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mysql57

Description

$ port -v installed mysql57
The following ports are currently installed:
  mysql57 @5.7.17_0+universal (active) platform='darwin 16' archs='i386 x86_64' date='2017-02-05T17:34:56-0600'
$ /opt/local/lib/mysql57/bin/mysql_config --help
/opt/local/lib/mysql57/bin/mysql_config: line 119: -Os: command not found
Usage: /opt/local/lib/mysql57/bin/mysql_config [OPTIONS]
Options:
        --cflags         []
        --cxxflags       []
        --include        [-I/opt/local/include/mysql57/mysql]
        --libs           [-L/opt/local/lib/mysql57/mysql -lmysqlclient -lz]
        --libs_r         [-L/opt/local/lib/mysql57/mysql -lmysqlclient -lz]
        --plugindir      [/opt/local/lib/mysql57/plugin]
        --socket         [/opt/local/var/run/mysql57/mysqld.sock]
        --port           [0]
        --version        [5.7.17]
        --libmysqld-libs [-L/opt/local/lib/mysql57/mysql -lmysqld -lz]
        --variable=VAR   VAR is one of:
                pkgincludedir [/opt/local/include/mysql57/mysql]
                pkglibdir     [/opt/local/lib/mysql57/mysql]
                plugindir     [/opt/local/lib/mysql57/plugin]

Lines 118-119 of mysql_config are:

cflags="-I$pkgincludedir -Os -fno-omit-frame-pointer 
cxxflags="-I$pkgincludedir -Os -stdlib=libc++ -fno-omit-frame-pointer 

Note the missing closing quote on each line.

This only happens with the universal variant.

mysql56 doesn't have this problem.

Change History (1)

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Owner: pixilla deleted
Status: newassigned

See #57827

Note: See TracTickets for help on using tickets.