[debian-mysql] Bug#841585: Bug#841585: mysql-connector-c++: FTBFS: c++: error: unrecognized command line option '-map=/build/mysql-5.7-ClWLeg/mysql-5.7-5.7.15=.'

Rene Engelhard rene at debian.org
Fri Oct 21 15:22:32 UTC 2016


Hi,

clone 841585 -1
reassign -1 libmysqlclient-dev
found -1 5.7.15-1
block 841585 by -1
found 841585 1.1.7-2
thanks

Hi,

On Fri, Oct 21, 2016 at 03:51:16PM +0200, Lucas Nussbaum wrote:
> > /usr/bin/c++  -fPIC -DLIBMYSQLCLIENT_SONAME=\"/usr/lib/x86_64-linux-gnu/libmysqlclient_r_r.so\"    -map=/build/mysql-5.7-ClWLeg/mysql-5.7-5.7.15=. -fabi-version=2 -fno-omit-frame-pointer -shared -Wl,-soname,libmysqlcppconn.so.7 -o libmysqlcppconn.so.7.1.1.3 CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_art_rset_metadata.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_connection.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_debug.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_driver.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_metadata.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_parameter_metadata.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_prepared_statement.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_ps_resultset.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_ps_resultset_metadata.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_resultbind.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_resultset.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_resultset_metadata.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_statement.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_util.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_warning.cpp.o CMakeFiles/mysqlcppconn.dir/mysql_uri.cpp.o CMakeFiles/mysqlcppconn.dir/nativeapi/mysql_client_api.cpp.o CMakeFiles/mysqlcppconn.dir/nativeapi/library_loader.cpp.o CMakeFiles/mysqlcppconn.dir/nativeapi/mysql_native_driver_wrapper.cpp.o CMakeFiles/mysqlcppconn.dir/nativeapi/mysql_native_connection_wrapper.cpp.o CMakeFiles/mysqlcppconn.dir/nativeapi/mysql_native_statement_wrapper.cpp.o CMakeFiles/mysqlcppconn.dir/nativeapi/mysql_native_resultset_wrapper.cpp.o -lmysqlclient -lpthread -lz -lm -lrt -latomic -ldl -map=/build/mysql-5.7-ClWLeg/mysql-5.7-5.7.15=. -fabi-version=2 -fno-omit-frame-pointer 
> > c++: error: unrecognized command line option '-map=/build/mysql-5.7-ClWLeg/mysql-5.7-5.7.15=.'
> > c++: error: unrecognized command line option '-map=/build/mysql-5.7-ClWLeg/mysql-5.7-5.7.15=.'
> > driver/CMakeFiles/mysqlcppconn.dir/build.make:666: recipe for target 'driver/libmysqlcppconn.so.7.1.1.3' failed
> > make[3]: *** [driver/libmysqlcppconn.so.7.1.1.3] Error 1

# mysql_config --cflags
-I/usr/include/mysql -fdebug-prefix-map=/build/mysql-5.7-Qw1sUd/mysql-5.7-5.7.15=. -fabi-version=2 -fno-omit-frame-pointer

While that one is syntactically correct the question is why mysql_config
returns this at all and the packaging doesn't filter this debian-specific,
package build specific flag not out of the what mysql_config returns?

Would not cause breakage in other software.

Regards,

Rene



More information about the pkg-mysql-maint mailing list