Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476362 - app-crypt/heimdal fails with sys-libs/db:6.0
Summary: app-crypt/heimdal fails with sys-libs/db:6.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: db:6.0
  Show dependency tree
 
Reported: 2013-07-10 09:18 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2013-07-19 13:04 UTC (History)
0 users

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


Attachments
heimdal-1.5.3-db6.patch (heimdal-1.5.3-db6.patch,1.07 KB, patch)
2013-07-10 09:18 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
heimdal-1.5.3-db6.patch (heimdal-1.5.3-db6.patch,1.39 KB, patch)
2013-07-18 15:42 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-07-10 09:18:26 UTC
Created attachment 352988 [details, diff]
heimdal-1.5.3-db6.patch

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I../../lib/roken -I../asn1 -I./../asn1 -DHDB_DB_DIR=\"/var/heimdal\" -I./../krb5 -I/usr/include -I/usr/include/db6.0 -I/usr/include/et -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -march=barcelona -mtune=barcelona -O2 -pipe -fno-strict-aliasing -c db3.c  -fPIC -DPIC -o .libs/db3.o
db3.c: In function 'DB_open':
db3.c:282:5: warning: passing argument 2 of 'd->open' from incompatible pointer type [enabled by default]
db3.c:282:5: note: expected 'struct DB_TXN *' but argument is of type 'char *'
db3.c:282:5: warning: passing argument 4 of 'd->open' makes pointer from integer without a cast [enabled by default]
db3.c:282:5: note: expected 'const char *' but argument is of type 'int'
db3.c:282:5: error: too few arguments to function 'd->open'
db3.c:292:5: warning: passing argument 2 of 'd->open' from incompatible pointer type [enabled by default]
db3.c:292:5: note: expected 'struct DB_TXN *' but argument is of type 'char *'
db3.c:292:5: warning: passing argument 4 of 'd->open' makes pointer from integer without a cast [enabled by default]
db3.c:292:5: note: expected 'const char *' but argument is of type 'int'
db3.c:292:5: error: too few arguments to function 'd->open'
db3.c: In function 'DB_rename':
db3.c:159:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
db3.c:160:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
db3.c: In function 'DB_open':
db3.c:267:13: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
make[3]: *** [db3.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/app-crypt/heimdal-1.5.3/work/heimdal-1.5.3/lib/hdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-crypt/heimdal-1.5.3/work/heimdal-1.5.3/lib/hdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-crypt/heimdal-1.5.3/work/heimdal-1.5.3/lib'
make: *** [all-recursive] Error 1
 * ERROR: app-crypt/heimdal-1.5.3 failed (compile phase):
 *   emake failed


The attached patch (which replaces the heimdal_db5.patch file) fixes this problem.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-07-18 15:42:34 UTC
Created attachment 353598 [details, diff]
heimdal-1.5.3-db6.patch

Official upstream fix.
Comment 2 Eray Aslan gentoo-dev 2013-07-19 13:04:55 UTC
+*heimdal-1.5.3-r1 (19 Jul 2013)
+
+  19 Jul 2013; Eray Aslan <eras@gentoo.org> +files/heimdal_db6.patch,
+  +heimdal-1.5.3-r1.ebuild:
+  Add support for db-6 thanks to Lars Wendler bug #476362
+