[tlbuild] TeX Live builds -- second summary [updated sources]

Angelo Graziosi angelo.graziosi at alice.it
Thu Apr 30 12:36:53 CEST 2009


Angelo Graziosi wrote:

> On current Cygwin (1.5.25-15) it fails, without applying any *patches*, 
> as follow:
 > CC='gcc-4' CXX='g++-4' CPP='cpp-4' CFLAGS='-Wno-write-strings
 > -Wno-attributes' CXXFLAGS='-Wno-write-strings -Wno-attributes'
 > LDFLAGS='-Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc'
 > TL_CONFIGURE_ARGS='--disable-xetex --without-graphite' ./Build
 > [...]
> g++-4 -W -Wall -DHAVE_CONFIG_H -I. -I../../../../texk/lcdf-typetools/liblcdf -I.. -I../../../../texk/lcdf-typetools/include    -Wno-write-strings -Wno-attributes -MT string.o -MD -MP -MF .deps/string.Tpo -c -o string.o ../../../../texk/lcdf-typetools/liblcdf/string.cc
> ../../../../texk/lcdf-typetools/liblcdf/string.cc:535: error: prototype for 'uint32_t String::hashcode(const char*, const char*)' does not match any in class 'String'
> ../../../../texk/lcdf-typetools/include/lcdf/string.hh:261: error: candidates are: unsigned int String::hashcode() const
> ../../../../texk/lcdf-typetools/include/lcdf/string.hh:250: error:                 static unsigned int String::hashcode(const unsigned char*, const unsigned char*)
> ../../../../texk/lcdf-typetools/include/lcdf/string.hh:246: error:                 static unsigned int String::hashcode(const char*, const char*)
> make[6]: *** [string.o] Error 1
[...]

Applying only this patch, seems to solve many problems...
=======================================
diff -Naur 
texlive-source.orig/texk/lcdf-typetools/include/lcdf/string.hh 
texlive-source/texk/lcdf-typetools/include/lcdf/string.hh
--- texlive-source.orig/texk/lcdf-typetools/include/lcdf/string.hh 
2009-03-20 10:50:07.000000000 +0100
+++ texlive-source/texk/lcdf-typetools/include/lcdf/string.hh 
2009-04-30 10:16:19.328125000 +0200
@@ -243,10 +243,10 @@
       * @invariant If end1 - begin1 == end2 - begin2 and memcmp(begin1, 
begin2,
       * end1 - begin1) == 0, then hashcode(begin1, end1) == 
hashcode(begin2,
       * end2). */
-    static unsigned hashcode(const char *begin, const char *end);
+    static uint32_t hashcode(const char *begin, const char *end);

      /** @overload */
-    static inline unsigned hashcode(const unsigned char *begin,
+    static inline uint32_t hashcode(const unsigned char *begin,
                                     const unsigned char *end) {
         return hashcode(reinterpret_cast<const char *>(begin),
                         reinterpret_cast<const char *>(end));
@@ -258,7 +258,7 @@
       * "SuperFastHash."
       *
       * @invariant  If s1 == s2, then s1.hashcode() == s2.hashcode(). */
-    inline unsigned hashcode() const {
+    inline uint32_t hashcode() const {
         return length() ? hashcode(begin(), end()) : 0;
      }
=======================================

...but it still fails after installing 274 executables. The only errors
I find in the log are these:

> rmdir: failed to remove `/home/pippo/work/texlive-source/Work/libs/freetype2/freetype2/freetype/internal': No such file or directory
> make[5]: [install] Error 1 (ignored)
> [...]
> strip:/home/pippo/work/texlive-source/inst/bin/i686-pc-cygwin/_inst.2912_: No such file or directory
> make[4]: *** [install-binPROGRAMS] Error 1
> make[4]: Leaving directory `/home/pippo/work/texlive-source/Work/utils/dialog'
> make[3]: *** [install-am] Error 2
> make[3]: Leaving directory `/home/pippo/work/texlive-source/Work/utils/dialog'
> Making install in pdfopen
 > [...]
> Making install in vlna
> make[3]: Entering directory `/home/pippo/work/texlive-source/Work/utils/vlna'
> make[4]: Entering directory `/home/pippo/work/texlive-source/Work/utils/vlna'
> test -z "/home/pippo/work/texlive-source/inst/bin/i686-pc-cygwin" || /usr/bin/mkdir -p "/home/pippo/work/texlive-source/inst/bin/i686-pc-cygwin"
>  STRIPPROG='strip' /bin/sh /home/pippo/work/texlive-source/build-aux/install-sh -c -s 'vlna.exe' '/home/pippo/work/texlive-source/inst/bin/i686-pc-cygwin/vlna.exe'
> test -z "/home/pippo/work/texlive-source/inst/texmf/doc/man/man1" || /usr/bin/mkdir -p "/home/pippo/work/texlive-source/inst/texmf/doc/man/man1"
>  /usr/bin/install -c -m 644 '../../../utils/vlna/vlna.man' '/home/pippo/work/texlive-source/inst/texmf/doc/man/man1/vlna.1'
> make[4]: Leaving directory `/home/pippo/work/texlive-source/Work/utils/vlna'
> make[3]: Leaving directory `/home/pippo/work/texlive-source/Work/utils/vlna'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/home/pippo/work/texlive-source/Work/utils'
> Making install in texk
> [...]
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/pippo/work/texlive-source/Work'
> make: *** [install-strip] Error 2
> 
> real	66m36.583s
> user	77m31.124s
> sys	30m40.731s
> + echo 2
> 
> ./Build: 274 executables in /home/pippo/work/texlive-source/inst/bin.
> done Thu Apr 30 12:00:48 2009

The source is rev.12881.

Note that, regarding the error:

> strip:/home/pippo/work/texlive-source/inst/bin/i686-pc-cygwin/_inst.2912_: No such file or directory
> make[4]: *** [install-binPROGRAMS] Error 1

I find, in inst/bin/i686-pc-cygwin/, the file '_inst.2912_.exe'.

Still an error for $(EXE)...?

Any ideas?


Cheers,
    Angelo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: texlive_build-2-cygwin-1.5.25.log.bz2
Type: application/octet-stream
Size: 69223 bytes
Desc: not available
Url : http://tug.org/pipermail/tlbuild/attachments/20090430/2e6a28bf/attachment-0001.obj 


More information about the tlbuild mailing list