Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649188 - =dev-db/myodbc-5.3.10 my_byteorder.h not found
Summary: =dev-db/myodbc-5.3.10 my_byteorder.h not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-01 13:50 UTC by Francesco Riosa
Modified: 2018-03-01 16:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
myodbc-5.3.10:20180301-123335.log.gz (myodbc-5.3.10:20180301-123335.log.gz,12.86 KB, application/gzip)
2018-03-01 13:54 UTC, Francesco Riosa
Details
emerge --info (emerge.info,7.03 KB, text/plain)
2018-03-01 13:55 UTC, Francesco Riosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Riosa 2018-03-01 13:50:17 UTC
dev-db/mariadb-10.2.12 install /usr/include/mysql/server/my_byteorder.h
which myodbc-5.3.10 cannot find. Notice that myodbc-5.3.9 still build fine


Scanning dependencies of target myodbc-util
make[2]: Leaving directory '/var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src-abi_x86_32.x86'
make -f util/CMakeFiles/myodbc-util.dir/build.make util/CMakeFiles/myodbc-util.dir/build
make[2]: Entering directory '/var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src-abi_x86_32.x86'
[  1%] Building C object util/CMakeFiles/myodbc-util.dir/stringutil.c.o
cd /var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src-abi_x86_32.x86/util && /usr/bin/x86_64-pc-linux-gnu-gcc -m32 -DDBUG_OFF -DDISABLE_ALL_PSI -DHAVE_LIBDL
-DHAVE_LPCWSTR -DTHREAD -DUSE_SQLCOLATTRIBUTE_SQLLEN_PTR -DUSE_SQLPARAMOPTIONS_SQLULEN_PTR -DUSE_UNIXODBC -D_UNIX_ -I/usr/include/mysql -I/var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src   -DNDEBUG -O3 -march=corei7 -pipe -mindirect-branch=thunk -flto=4 -fuse-linker-plugin -fno-fat-lto-objects  -grecord-gcc-switches -frecord-gcc-switches   -fPIC -w -o CMakeFiles/myodbc-util.dir/stringutil.c.o -c /var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src/util/stringutil.c
In file included from /var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src/util/../MYODBC_MYSQL.h:41:0,
                 from /var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src/util/stringutil.h:37,
                 from /var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src/util/stringutil.c:32:
/var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src/util/../include/sys/my_global.h:580:10: fatal error: my_byteorder.h: No such file or directory
 #include <my_byteorder.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [util/CMakeFiles/myodbc-util.dir/build.make:63: util/CMakeFiles/myodbc-util.dir/stringutil.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src-abi_x86_32.x86'
make[1]: *** [CMakeFiles/Makefile2:86: util/CMakeFiles/myodbc-util.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-db/myodbc-5.3.10/work/mysql-connector-odbc-5.3.10-src-abi_x86_32.x86'
make: *** [Makefile:152: all] Error 2
 * ERROR: dev-db/myodbc-5.3.10::gentoo failed (compile phase):
 *   emake failed
Comment 1 Francesco Riosa 2018-03-01 13:54:30 UTC
Created attachment 521556 [details]
myodbc-5.3.10:20180301-123335.log.gz

full build log
Comment 2 Francesco Riosa 2018-03-01 13:55:58 UTC
Created attachment 521558 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2018-03-01 16:01:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1208f74321fb98369588e328ec27952f6518c09

commit c1208f74321fb98369588e328ec27952f6518c09
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2018-03-01 16:01:17 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2018-03-01 16:01:17 +0000

    dev-db/myodbc: Fix dependencies that do not work with 5.3.10
    
    Closes: https://bugs.gentoo.org/649188
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-db/myodbc/{myodbc-5.3.10.ebuild => myodbc-5.3.10-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)