From owner-freebsd-gnome Fri Jan 31 12:30:29 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43A2137B401; Fri, 31 Jan 2003 12:30:12 -0800 (PST) Received: from mail.halplant.com (ip68-98-172-73.nv.nv.cox.net [68.98.172.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC68343FC7; Fri, 31 Jan 2003 12:30:10 -0800 (PST) (envelope-from A.J.Caines@halplant.com) Received: by mail.halplant.com (Postfix, from userid 1001) id 1DBFCD; Fri, 31 Jan 2003 15:30:10 -0500 (EST) Date: Fri, 31 Jan 2003 15:30:10 -0500 From: Andrew J Caines To: FreeBSD ports Cc: gnome@FreeBSD.org Subject: scrollkeeper-0.3.11_7,1 configure error: DocBook XML V4.1.2 DTD not present in /usr/local/share/sk Message-ID: <20030131203009.GL53528@hal9000.halplant.com> Reply-To: Andrew J Caines Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2oS5YaxWCcQjTEyO" Content-Disposition: inline Organization: H.A.L. Plant X-PGP-Fingerprint: C59A 2F74 1139 9432 B457 0B61 DDF2 AA61 67C3 18A1 X-Powered-by: FreeBSD 4.7-STABLE X-URL: http://halplant.com:88/ X-Yahoo-Profile: AJ_Z0 Importance: Normal User-Agent: Mutt/1.5.3i Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Please CC me, as I'm not subscribed to -ports. I see no relevant posts in the archives] From build on my 4.7-STABLE (9 Jan) box with ports cvsup'ed on 30 Jan (nb. same error from ports cvsup'ed on 9 Jan): -----8<-------------------------------------------------------------------- ---> Upgrading 'scrollkeeper-0.3.11_5,1' to 'scrollkeeper-0.3.11_7,1' (textproc/scrollkeeper) ... ===> Extracting for scrollkeeper-0.3.11_7,1 >> Checksum OK for gnome2/scrollkeeper-0.3.11.tar.bz2. ===> scrollkeeper-0.3.11_7,1 depends on executable: intltool-extract - found ===> scrollkeeper-0.3.11_7,1 depends on file: /usr/local/share/sk/docbook/4.1.2/docbook.cat - found ===> scrollkeeper-0.3.11_7,1 depends on file: /usr/local/share/xsl/docbook/xhtml/chunk.xsl - found ===> scrollkeeper-0.3.11_7,1 depends on executable: gmake - found ===> scrollkeeper-0.3.11_7,1 depends on executable: libtool - found ===> scrollkeeper-0.3.11_7,1 depends on executable: bison - found ===> scrollkeeper-0.3.11_7,1 depends on shared library: xslt.1 - found ===> scrollkeeper-0.3.11_7,1 depends on shared library: intl.4 - found ===> Patching for scrollkeeper-0.3.11_7,1 ===> Applying FreeBSD patches for scrollkeeper-0.3.11_7,1 ===> Configuring for scrollkeeper-0.3.11_7,1 Found DocBook XML 4.1.2 DTD in /usr/local/share/sk/docbook/4.1.2 add command failed could not open /usr/local/share/sk/docbook/catalog for saving add command failed [repeat x 8] could not open /usr/local/share/sk/catalog for saving add command failed [repeat x 3] Found ISO DocBook entities in /usr/local/share/xml/docbook/4.2/ent add command failed could not open /usr/local/share/sk/docbook/catalog for saving add command failed [repeat x 18] could not open /usr/local/share/sk/catalog for saving Found DocBook XSLT stylesheets in /usr/local/share/xsl/docbook add command failed could not open /usr/local/share/sk/docbook/catalog for saving add command failed [repeat x 58] could not open /usr/local/share/sk/catalog for saving creating cache ./config.cache checking for gawk... no ... checking for xslt-config... /usr/local/bin/xslt-config checking for docbook-dtd412-xml... * ERROR * Couldn't find the DocBook XML V4.1.2 DTD. Please make sure that you have the docbook-dtd412-xml package installed. If it is installed, the package probably did not register the DTD in the catalog properly. Consult http://scrollkeeper.sourceforge.net/docbook.shtml for more information. configure: error: DocBook XML V4.1.2 DTD not present in /usr/local/share/sk. Make sure docbook-dtd412-xml is installed and registers DTD in catalog. ===> Script "configure" failed unexpectedly. Please report the problem to gnome@FreeBSD.org [maintainer] and attach the "/.disk/ports/textproc/scrollkeeper/work/scrollkeeper-0.3.11/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 -----8<-------------------------------------------------------------------- The FreeBSD package docbook-sk-4.1.2 is installed, as mentioned, however the configure check is looking in share/sk/catalog/ rather than share/sk/docbook/4.1.2/ The config.log is attached. -Andrew- -- _______________________________________________________________________ | -Andrew J. Caines- Unix Systems Engineer A.J.Caines@halplant.com | | "They that can give up essential liberty to obtain a little temporary | | safety deserve neither liberty nor safety" - Benjamin Franklin, 1759 | --2oS5YaxWCcQjTEyO Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:713: checking for gawk configure:713: checking for mawk configure:713: checking for nawk configure:745: checking for gcc configure:858: checking whether the C compiler (cc -O2 -pipe -march=pentiumpro ) works configure:874: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:900: checking whether the C compiler (cc -O2 -pipe -march=pentiumpro ) is a cross-compiler configure:905: checking whether we are using GNU C configure:914: cc -E conftest.c configure:933: checking whether cc accepts -g configure:965: checking how to run the C preprocessor configure:986: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:1075: checking for a BSD compatible install configure:1128: checking whether ln -s works configure:1149: checking whether gmake sets ${MAKE} configure:1178: checking for ANSI C header files configure:1191: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:1258: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:1284: checking for strerror in -lcposix configure:1303: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -lcposix -L/usr/local/lib -lintl 1>&5 /usr/libexec/elf/ld: cannot find -lcposix configure: failed program was: #line 1292 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char strerror(); int main() { strerror() ; return 0; } configure:1354: checking host system type configure:1375: checking target system type configure:1393: checking build system type configure:1420: checking whether build environment is sane configure:1496: checking for working aclocal configure:1509: checking for working autoconf configure:1522: checking for working automake configure:1535: checking for working autoheader configure:1548: checking for working makeinfo configure:1562: checking for Cygwin environment configure:1578: cc -c -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5 configure: In function `main': configure:1574: `__CYGWIN32__' undeclared (first use in this function) configure:1574: (Each undeclared identifier is reported only once configure:1574: for each function it appears in.) configure: failed program was: #line 1567 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:1595: checking for mingw32 environment configure:1607: cc -c -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5 configure: In function `main': configure:1603: `__MINGW32__' undeclared (first use in this function) configure:1603: (Each undeclared identifier is reported only once configure:1603: for each function it appears in.) configure: failed program was: #line 1600 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:1704: checking for ld used by GCC configure:1772: checking if the linker (/usr/libexec/elf/ld) is GNU ld GNU ld version 2.12.1 [FreeBSD] 2002-07-20 configure:1789: checking for /usr/libexec/elf/ld option to reload object files configure:1801: checking for BSD-compatible nm configure:1839: checking how to recognise dependant libraries configure:2012: checking for object suffix configure:2018: cc -c -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5 configure:2038: checking for executable suffix configure:2048: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:2079: checking command to parse /usr/bin/nm -B output configure:2155: cc -c -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5 configure:2158: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGISTW][ABCDGISTW]*\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm configure:2209: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c conftstm.o 1>&5 configure:2255: checking for dlfcn.h configure:2265: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:2433: checking for ranlib configure:2500: checking for strip configure:2736: checking for objdir configure:2763: checking for cc option to produce PIC configure:2915: checking if cc PIC flag -fPIC works configure:2929: cc -c -O2 -pipe -march=pentiumpro -fPIC -DPIC -I/usr/local/include conftest.c 1>&5 configure:2981: checking if cc static flag -static works configure:2996: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include -static conftest.c -L/usr/local/lib -lintl 1>&5 configure:3023: checking if cc supports -c -o file.o configure:3042: cc -c -O2 -pipe -march=pentiumpro -o out/conftest2.o -I/usr/local/include conftest.c 1>&5 configure:3071: checking if cc supports -c -o file.lo configure:3087: cc -c -O2 -pipe -march=pentiumpro -c -o conftest.lo -I/usr/local/include conftest.c 1>&5 configure:3136: checking if cc supports -fno-rtti -fno-exceptions configure:3149: cc -c -O2 -pipe -march=pentiumpro -fno-rtti -fno-exceptions -c conftest.c -I/usr/local/include conftest.c 1>&5 configure:3176: checking whether the linker (/usr/libexec/elf/ld) supports shared libraries configure:3792: checking how to hardcode library paths into programs configure:3820: checking whether stripping libraries is possible configure:3834: checking dynamic linker characteristics configure:4220: checking if libtool supports shared libraries configure:4713: checking whether -lc should be explicitly linked in configure:4720: cc -c -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5 configure:4733: cc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>&1 | grep -lc >/dev/null 2>&1 configure:5314: checking for working const configure:5368: cc -c -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5 configure:5389: checking for inline configure:5403: cc -c -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c 1>&5 configure:5429: checking for size_t configure:5465: checking for working alloca.h configure:5477: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:5471: alloca.h: No such file or directory configure: failed program was: #line 5470 "configure" #include "confdefs.h" #include int main() { char *p = alloca(2 * sizeof(int)); ; return 0; } configure:5498: checking for alloca configure:5531: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:5700: checking for stdlib.h configure:5710: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:5700: checking for unistd.h configure:5710: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:5700: checking for sys/stat.h configure:5710: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:5700: checking for sys/types.h configure:5710: cc -E -I/usr/local/include conftest.c >/dev/null 2>conftest.out configure:5739: checking for getpagesize configure:5767: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:5792: checking for working mmap configure:5953: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:5884: conflicting types for `malloc' /usr/include/stdlib.h:101: previous declaration of `malloc' configure: failed program was: #line 5800 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. Here is a matrix of mmap possibilities: mmap private not fixed mmap private fixed at somewhere currently unmapped mmap private fixed at somewhere already mapped mmap shared not fixed mmap shared fixed at somewhere currently unmapped mmap shared fixed at somewhere already mapped For private mappings, we should verify that changes cannot be read() back from the file, nor mmap's back from the file at a different address. (There have been systems where private was not correctly implemented like the infamous i386 svr4.0, and systems where the VM page cache was not coherent with the filesystem buffer cache like early versions of FreeBSD and possibly contemporary NetBSD.) For shared mappings, we should conversely verify that changes get propogated back to all the places they're supposed to be. Grep wants private fixed already mapped. The main things grep needs to know about mmap are: * does it exist and is it safe to write into the mmap'd area * how to use it (BSD variants) */ #include #include #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_STDLIB_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if HAVE_UNISTD_H # include #endif /* This mess was copied from the GNU getpagesize.h. */ #ifndef HAVE_GETPAGESIZE /* Assume that all systems that can run configure have sys/param.h. */ # ifndef HAVE_SYS_PARAM_H # define HAVE_SYS_PARAM_H 1 # endif # ifdef _SC_PAGESIZE # define getpagesize() sysconf(_SC_PAGESIZE) # else /* no _SC_PAGESIZE */ # ifdef HAVE_SYS_PARAM_H # include # ifdef EXEC_PAGESIZE # define getpagesize() EXEC_PAGESIZE # else /* no EXEC_PAGESIZE */ # ifdef NBPG # define getpagesize() NBPG * CLSIZE # ifndef CLSIZE # define CLSIZE 1 # endif /* no CLSIZE */ # else /* no NBPG */ # ifdef NBPC # define getpagesize() NBPC # else /* no NBPC */ # ifdef PAGESIZE # define getpagesize() PAGESIZE # endif /* PAGESIZE */ # endif /* no NBPC */ # endif /* no NBPG */ # endif /* no EXEC_PAGESIZE */ # else /* no HAVE_SYS_PARAM_H */ # define getpagesize() 8192 /* punt totally */ # endif /* no HAVE_SYS_PARAM_H */ # endif /* no _SC_PAGESIZE */ #endif /* no HAVE_GETPAGESIZE */ #ifdef __cplusplus extern "C" { void *malloc(unsigned); } #else char *malloc(); #endif int main() { char *data, *data2, *data3; int i, pagesize; int fd; pagesize = getpagesize(); /* * First, make a file with some known garbage in it. */ data = malloc(pagesize); if (!data) exit(1); for (i = 0; i < pagesize; ++i) *(data + i) = rand(); umask(0); fd = creat("conftestmmap", 0600); if (fd < 0) exit(1); if (write(fd, data, pagesize) != pagesize) exit(1); close(fd); /* * Next, try to mmap the file at a fixed address which * already has something else allocated at it. If we can, * also make sure that we see the same garbage. */ fd = open("conftestmmap", O_RDWR); if (fd < 0) exit(1); data2 = malloc(2 * pagesize); if (!data2) exit(1); data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED, fd, 0L)) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data2 + i)) exit(1); /* * Finally, make sure that changes to the mapped area * do not percolate back to the file as seen by read(). * (This is a bug on some variants of i386 svr4.0.) */ for (i = 0; i < pagesize; ++i) *(data2 + i) = *(data2 + i) + 1; data3 = malloc(pagesize); if (!data3) exit(1); if (read(fd, data3, pagesize) != pagesize) exit(1); for (i = 0; i < pagesize; ++i) if (*(data + i) != *(data3 + i)) exit(1); close(fd); unlink("conftestmmap"); exit(0); } configure:5978: checking for getcwd configure:6006: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:5978: checking for getwd configure:6006: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:5978: checking for putenv configure:6006: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:5978: checking for strdup configure:6006: cc -o conftest -O2 -pipe -march=pentiumpro -I/usr/local/include conftest.c -L/usr/local/lib -lintl 1>&5 configure:6032: checking for --with-omfdirs configure:6051: checking for intltool-extract configure:6088: checking intltool version configure:6133: checking for perl configure:6180: checking for xml2-config configure:6217: checking libxml2 version configure:6234: checking for xslt-config configure:6282: checking for docbook-dtd412-xml --2oS5YaxWCcQjTEyO-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message