Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330493 - dev-libs/poco-1.3.6_p2 fails to compile with USE="odbc"
Summary: dev-libs/poco-1.3.6_p2 fails to compile with USE="odbc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Thomas Sachau
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-30 12:20 UTC by Jeremy Stent
Modified: 2010-08-01 11:16 UTC (History)
1 user (show)

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


Attachments
Output of emerge --info =dev-libs/poco-1.3.6_p2 (poco_info,39.74 KB, text/plain)
2010-07-30 12:27 UTC, Jeremy Stent
Details
output of emerge -pqv =dev-libs/poco-1.3.6_p2 (poco_pqv,95 bytes, text/plain)
2010-07-30 12:28 UTC, Jeremy Stent
Details
build log (poco_buildlog,1.58 MB, text/plain)
2010-07-30 12:28 UTC, Jeremy Stent
Details
environment (poco_environment,121.27 KB, text/plain)
2010-07-30 12:29 UTC, Jeremy Stent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Stent 2010-07-30 12:20:44 UTC
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.
Comment 1 Jeremy Stent 2010-07-30 12:27:53 UTC
Created attachment 240681 [details]
Output of emerge --info =dev-libs/poco-1.3.6_p2
Comment 2 Jeremy Stent 2010-07-30 12:28:39 UTC
Created attachment 240683 [details]
output of emerge -pqv =dev-libs/poco-1.3.6_p2
Comment 3 Jeremy Stent 2010-07-30 12:28:55 UTC
Created attachment 240685 [details]
build log
Comment 4 Jeremy Stent 2010-07-30 12:29:15 UTC
Created attachment 240687 [details]
environment
Comment 5 Rafał Mużyło 2010-07-30 18:23:40 UTC
Seems the patch is broken for iodbc:
two later checks 'ifeq (unixodbc, $(GENTOO_ODBC))'
should be 'ifeq (iodbc, $(GENTOO_ODBC))'
Comment 6 Thomas Sachau gentoo-dev 2010-08-01 11:16:16 UTC
Thanks for the report and the fix, just committed. Should be in your local rsync mirror in a few hours.