I tried reverting Aidan's commit "01970033faa6", and as expected the
build succeeds. bdb4 build support is pretty fragile if it doesn't
even work on an unpatched Gentoo system.
steve@uwakimon /playpen/src/XEmacs/xemacs $ hg diff -r 4400 -r 4401
diff -r 555e21a66d51 -r 01970033faa6 ChangeLog
--- a/ChangeLog Thu Jan 17 10:18:05 2008 +0100
+++ b/ChangeLog Thu Jan 17 11:52:45 2008 +0100
@@ -1,3 +1,17 @@ 2008-01-01 Stephen J. Turnbull <stephe
+2008-01-17 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * configure.ac:
+ If using a version of the gdbm library that sticks dbm_open in
+ libgdbm_compat.so, also link to that library.
+ Correct a thinko with DBM version 4 checks. Both from Hans de
+ Graaff, in
+
http://mid.gmane.org/20050812092756.6850.qmail@graaff.xs4all.nl
+ and
+
http://mid.gmane.org/pan.2007.06.24.10.10.57@gentoo.org; thank you
+ Hans!
+ * configure:
+ Regenerate.
+
Build chokes with
/playpen/src/XEmacs/xemacs/src/database.c:432: warning: passing arg 3 of pointer to
function from incompatible pointer type
/playpen/src/XEmacs/xemacs/src/database.c:432: warning: passing arg 4 of pointer to
function from incompatible pointer type
/playpen/src/XEmacs/xemacs/src/database.c:473: warning: passing arg 3 of pointer to
function from incompatible pointer type
/playpen/src/XEmacs/xemacs/src/database.c:473: warning: passing arg 4 of pointer to
function from incompatible pointer type
/playpen/src/XEmacs/xemacs/src/database.c:496: warning: passing arg 3 of pointer to
function from incompatible pointer type
/playpen/src/XEmacs/xemacs/src/database.c:542: warning: passing arg 2 of pointer to
function from incompatible pointer type
/playpen/src/XEmacs/xemacs/src/database.c:542: warning: passing arg 3 of pointer to
function from incompatible pointer type
/playpen/src/XEmacs/xemacs/src/database.c:544: warning: passing arg 2 of pointer to
function from incompatible pointer type
/playpen/src/XEmacs/xemacs/src/database.c:544: warning: passing arg 3 of pointer to
function from incompatible pointer type
XEmacs Build Report generated by emacs-version
21.5 (beta28) "fuki" (+CVS-20071205) XEmacs Lucid
with system-configuration
x86_64-unknown-linux
follows:
Contents of /playpen/src/XEmacs/xemacs/+optimized/Installation:
(Output from most recent run of ./configure)
uname -a: Linux uwakimon 2.6.20.7 #2 SMP PREEMPT Tue Apr 24 21:32:05 JST 2007 x86_64 Dual
Core AMD Opteron(tm) Processor 265 AuthenticAMD GNU/Linux
../configure '--with-mule' '--with-widgets=athena'
'--with-dialogs=athena' '--with-athena=3d' '--with-bignum=gmp'
'--with-debug' '--with-error-checking=none'
'--with-xft=emacs,tabs,gauges,menubars' '--with-union-type'
'--with-system-packages=/usr/local/lib/xemacs'
XEmacs 21.5-b28 "fuki" (+CVS-20071205) configured for
`x86_64-unknown-linux'.
Compilation Environment and Installation Defaults:
Source code location: /playpen/src/XEmacs/xemacs
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Not using any machine description file
Compiler version: gcc (GCC) 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0,
pie-8.7.9)
- GCC specs file: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/specs
- Compiler command: gcc -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wunused-parameter -g
libc version: 2.7
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/X11R6/include
- X Windows libraries location: /usr/X11R6/lib
- Handling WM_COMMAND properly.
- Using fontconfig to manage fonts.
- Compiling in support for Xft antialiased fonts (EXPERIMENTAL).
Compiling in support for the Athena widget set:
- Athena headers location: X11/Xaw3d
- Athena library to link: Xaw3d
Using Lucid menubars.
- Using Xft to render antialiased fonts in menubars.
WARNING: This feature will be replaced with a face.
Using Lucid scrollbars.
Using Athena dialog boxes.
Using Athena native widgets.
- Using Xft to render antialiased fonts in tab controls.
WARNING: This feature will be replaced with a face.
- Using Xft to render antialiased fonts in progress bars.
WARNING: This feature will be replaced with a face.
WARNING: This feature not yet implemented; setting ignored.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Compiling in support for ALSA (Advanced Linux Sound Architecture).
Databases:
Compiling in support for Berkeley database.
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
Compiling in support for Mule (multi-lingual Emacs).
Compiling in support for XIM (X11R5+ I18N input method).
- Using raw Xlib to provide XIM support.
Compiling in support for Canna on Mule.
Mail:
Compiling in support for "file" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Compiling in support for more number types using the GNU MP library.
Using the union type for Lisp_Objects.
WARNING: ---------------------------------------------------------
WARNING: This tends to trigger compiler bugs, especially when
WARNING: combined with MULE and ERROR_CHECKING. Crashes have
WARNING: been seen with various versions of GCC (up to about 2.95),
WARNING: and recently with Visual C++ as well (mid-2003).
WARNING: More recent versions may be safer, or not.
WARNING: ---------------------------------------------------------
Using the new GC mark algorithms (KKCC).
WARNING: ---------------------------------------------------------
WARNING: The new algorithms are experimental. They are enabled by
WARNING: default for this release. Use `--disable-kkcc' to
WARNING: turn it off.
WARNING: ---------------------------------------------------------
Using the new portable dumper.
Dumping into executable.
Compiling in support for extra debugging code.
Contents of /playpen/src/XEmacs/xemacs/+optimized/beta.err
keeping lines matching
"^--\[\[\|\]\]$\|^\(cd\|n?make\)\s-\|errors?\|warnings?\|pure.*\(space\|size\)\|hides\b\|strange\|shadowings\|^Compil\(ing\s-+in\|ation\)\|^Using\|not\s-+found\|^While\s-+compiling.*\(
\s-+.+\)*\|^Note:\|Installing\|[Ff]ile(s) copied\|\s-+tests\s-+\|^[A-Z] [^
]+$\|^Wrong number of arguments:\|^ \*\* \|^\(FAIL\|SKIP\):"
and then deleting lines matching
"confl.*with.*auto-inlining\|^Formatting:\|^\s-*0
.*\(failure\|error\)s?\|^PASS:\|(100%) tests successful"
Using configure-time autodetection only.
checking for preferred warning flags for XEMACS_CC... -Wall -Wno-switch -Wundef
-Wsign-compare -Wno-char-subscripts -Wpacked -Wunused-parameter
checking for preferred warning flags for CC... -Wall -Wno-switch -Wundef -Wsign-compare
-Wno-char-subscripts -Wpacked -Wdeclaration-after-statement -Wshadow
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
checking for dlerror... yes
checking for _dlerror... no
checking for ldap_result2error... yes
checking for strerror in -lintl... no
checking for perror... yes
checking for strerror... yes
Compilation Environment and Installation Defaults:
cd ./lib-src && make all
cd ./lwlib && make all
cd ./src && make all
/playpen/src/XEmacs/xemacs/src/bytecode.c:290: warning: comparison is always true due to
limited range of data type
/playpen/src/XEmacs/xemacs/src/bytecode.c:290: warning: comparison is always true due to
limited range of data type
/playpen/src/XEmacs/xemacs/src/bytecode.c:291: warning: comparison is always true due to
limited range of data type
/playpen/src/XEmacs/xemacs/src/bytecode.c:291: warning: comparison is always true due to
limited range of data type
/playpen/src/XEmacs/xemacs/src/data.c:2474: warning: comparison is always true due to
limited range of data type
/playpen/src/XEmacs/xemacs/src/data.c:2474: warning: comparison is always true due to
limited range of data type
/playpen/src/XEmacs/xemacs/src/data.c:2518: warning: comparison is always true due to
limited range of data type
/playpen/src/XEmacs/xemacs/src/data.c:2518: warning: comparison is always true due to
limited range of data type
/usr/include/db1/db.h:77: error: conflicting types for 'DBT'
/usr/include/db.h:136: error: previous declaration of 'DBT' was here
/usr/include/db1/db.h:92: error: redeclaration of enumerator `DB_BTREE'
/usr/include/db.h:1289: error: previous definition of 'DB_BTREE' was here
/usr/include/db1/db.h:92: error: redeclaration of enumerator `DB_HASH'
/usr/include/db.h:1290: error: previous definition of 'DB_HASH' was here
/usr/include/db1/db.h:92: error: redeclaration of enumerator `DB_RECNO'
/usr/include/db.h:1291: error: previous definition of 'DB_RECNO' was here
/usr/include/db1/db.h:92: error: conflicting types for 'DBTYPE'
/usr/include/db.h:1294: error: previous declaration of 'DBTYPE' was here
/usr/include/db1/db.h:118: error: redefinition of `struct __db'
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta