Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 464800

Summary: dev-libs/poco-1.4.5 USE=iodbc - ODBC.make:49: *** No ODBC library found. Please install unixODBC or iODBC or specify ODBCLIBDIR and try again. Останов.
Product: Gentoo Linux Reporter: Alexandr Oleinik <alexandr.812>
Component: [OLD] LibraryAssignee: Thomas Sachau <tommy>
Status: RESOLVED OBSOLETE    
Severity: normal CC: cpp+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz
emerge --info output
environment of dev-libs/poco

Description Alexandr Oleinik 2013-04-06 04:44:49 UTC
Created attachment 344592 [details]
build.log.xz

Reproducible: Always

Steps to Reproduce:
1.  USE="iodbc" emerge "=dev-libs/poco-1.4.5-r1"

Actual result:
** Compiling src/Node.cpp (release, shared)
x86_64-pc-linux-gnu-g++  -Iinclude -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Foundation/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/XML/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Util/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Net/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Data/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Zip/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/PageCompiler/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/PageCompiler/File2Page/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/NetSSL_OpenSSL/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Crypto/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Data/ODBC/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Data/SQLite/include -I/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Data/MySQL/include -O2 -pipe -march=amdfam10 -msse4.2 -m3dnow -ftree-vectorize -Wno-all -mstackrealign -fstack-protector -I/usr/include/iodbc -Wall -Wno-sign-compare -DPOCO_BUILD_HOST=alexpc -DPOCO_UNBUNDLED -DXML_NS -DXML_DTD -DHAVE_EXPAT_CONFIG_H -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DPOCO_HAVE_FD_EPOLL  -DNDEBUG -fPIC -c src/Node.cpp -o /repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/XML/obj/Linux/x86_64/release_shared/Node.o
make[1]: Вход в каталог `/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Data/ODBC'
ODBC.make:49: *** No ODBC library found. Please install unixODBC or iODBC or specify ODBCLIBDIR and try again.  Останов.
make[1]: Выход из каталога `/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Data/ODBC'
make: *** [Data/ODBC-libexec] Ошибка 2
make: *** Ожидание завершения заданий...
make[1]: Вход в каталог `/repos/tmp/portage/dev-libs/poco-1.4.5-r1/work/poco-1.4.5-all/Data/SQLite'
** Compiling src/NodeFilter.cpp (release, shared)

Expected Results:  
successful merge.

It merge successful with USE="-iodbc odbc"

Compiling with iodbc requied patch:
two later checks 'ifeq (unixodbc, $(GENTOO_ODBC))'
should be 'ifeq (iodbc, $(GENTOO_ODBC))'

from https://bugs.gentoo.org/show_bug.cgi?id=330493
Comment 1 Alexandr Oleinik 2013-04-06 04:48:43 UTC
Created attachment 344594 [details]
emerge --info output
Comment 2 Alexandr Oleinik 2013-04-06 04:50:00 UTC
Created attachment 344596 [details]
environment of dev-libs/poco
Comment 3 Pacho Ramos gentoo-dev 2017-07-03 07:40:14 UTC
dev-libs/poco-1.4.6_p4 builds ok