Attempting to emerge dev-libs/poco-1.3.6_p2 fails if I have the odbc USE flag set. Reproducible: Always Steps to Reproduce: 1. USE="odbc" emerge "=dev-libs/poco-1.3.6_p2" Actual Results: make[1]: Leaving directory `/var/tmp/portage/dev-libs/poco-1.3.6_p2/work/poco-1.3.6p2-all/Net' make -C /var/tmp/portage/dev-libs/poco-1.3.6_p2/work/poco-1.3.6p2-all/Data/ODBC make[1]: Entering directory `/var/tmp/portage/dev-libs/poco-1.3.6_p2/work/poco-1.3.6p2-all/Data/ODBC' Makefile:43: *** No ODBC library found. Please install unixODBC or iODBC and try again. Stop. make[1]: Leaving directory `/var/tmp/portage/dev-libs/poco-1.3.6_p2/work/poco-1.3.6p2-all/Data/ODBC' make: *** [Data/ODBC-libexec] Error 2 ....... * ERROR: dev-libs/poco-1.3.6_p2 failed: * emake failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 3039: Called die * The specific snippet of code: * emake POCO_PREFIX=/usr GENTOO_ODBC="${odbc}" LIBDIR="$(get_libdir)" ${targets} || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-libs/poco-1.3.6_p2', * the complete build log and the output of 'emerge -pqv =dev-libs/poco-1.3.6_p2'. * The complete build log is located at '/var/tmp/portage/dev-libs/poco-1.3.6_p2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/poco-1.3.6_p2/temp/environment'. * S: '/var/tmp/portage/dev-libs/poco-1.3.6_p2/work/poco-1.3.6p2-all' Expected Results: successful merge. I have dev-db/unixODBC-2.3.0 installed.
Created attachment 240681 [details] Output of emerge --info =dev-libs/poco-1.3.6_p2
Created attachment 240683 [details] output of emerge -pqv =dev-libs/poco-1.3.6_p2
Created attachment 240685 [details] build log
Created attachment 240687 [details] environment
Seems the patch is broken for iodbc: two later checks 'ifeq (unixodbc, $(GENTOO_ODBC))' should be 'ifeq (iodbc, $(GENTOO_ODBC))'
Thanks for the report and the fix, just committed. Should be in your local rsync mirror in a few hours.