Here's some answers to the questions raised by my HP-UX 11 issues with
texinfo 5.0:

* The compiler I'm using is HP's optional ANSI C (located as /opt/ansic/bin/cc)
  with a revision number of B.11.11.20 (PA-RISC) or A.06.26 (Itanium).
  The __HP_cc macro therefore returns 111120 (PA-RISC) or 62600 (Itanium). 

* If I omit the gnulib/lib/xalloc.h change I suggested, I get this sort of
  error message when compiling/linking makedoc:

cc  -O -I/usr/local/include  -Wl,+b -Wl,/usr/local/lib/hpux32 
-L/usr/local/lib/hpux32 -o makedoc makedoc.o ../gnulib/lib/libgnu.a -lncurses 
/usr/local/lib/hpux32/libintl.so /usr/local/lib/hpux32/libiconv.so -Wl,+b 
-Wl,/usr/local/lib/hpux32 
ld: Duplicate symbol "xnmalloc" in files makedoc.o and 
../gnulib/lib/libgnu.a[xmalloc.o]
ld: Duplicate symbol "xnrealloc" in files makedoc.o and 
../gnulib/lib/libgnu.a[xmalloc.o]
ld: Duplicate symbol "xcharalloc" in files makedoc.o and 
../gnulib/lib/libgnu.a[xmalloc.o]
ld: Duplicate symbol "xnmalloc" in files makedoc.o and 
../gnulib/lib/libgnu.a[xalloc-die.o]
ld: Duplicate symbol "xnrealloc" in files makedoc.o and 
../gnulib/lib/libgnu.a[xalloc-die.o]
ld: Duplicate symbol "xcharalloc" in files makedoc.o and 
../gnulib/lib/libgnu.a[xalloc-die.o]
6 errors.

   This is because the functions have been declared globally in more than
   one source file and it's why I suggested static compilation of the
   function instead.

* HP-UX 11's diff doesn't support -u, but does support -c if you wanted to
  include that flag instead of -u. I've attached a patch showing the removal
  of GNU diff-only flags from various test scripts.

Richard K. Lloyd,           E-mail: richard.ll...@connectinternetsolutions.com
Connect Internet Solutions,    WWW: http://www.connectinternetsolutions.com/
4th Floor, New Barratt House,
47, North John Street,
Liverpool,
Merseyside, UK. L2 6SG



-- 
This e-mail (and any attachments) is private and confidential. If you have 
received it in error, please notify the sender immediately and delete it 
from your system. Do not use, copy or disclose the information in any way 
nor act in reliance on it.

Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Connect
Internet Solutions Ltd. This e-mail and any attachments are believed to be
virus free but it is the recipient's responsibility to ensure that they are.

Connect Internet Solutions Ltd
(A company registered in England No: 04424350)
Registered Office: 4th Floor, New Barratt House, 47 North John Street,
Liverpool, L2 6SG
Telephone: +44 (0) 151 282 4321
Fax: +44 (0) 151 282 4322
VAT registration number: 758 2838 85
*** ./tp/maintain/all_tests.sh.cln      Sun Dec  9 08:25:52 2012
--- ./tp/maintain/all_tests.sh  Mon Feb 18 10:38:29 2013
***************
*** 21,39 ****
  elif [ "$command" = 'diff' ]; then
    if [ z"$test_name" = 'z' ]; then
      for result in t/results/*/*.pl; do
!       diff -a -U 3 $result $result.new
      done
      for result in t/results/*/*/res*/; do
        out=`echo $result | sed 's;res\([^/]*/\)$;out\1;'`
!       diff -a -u --exclude=CVS -r $result $out
      done
    else
      for result in t/results/$test_name/*.pl; do
!       diff -a -u $result $result.new
      done
      for result in t/results/$test_name/*/res*/; do
        out=`echo $result | sed 's;res\([^/]*/\)$;out\1;'`
!       diff -a -u --exclude=CVS -r $result $out
      done
    fi 
  else
--- 21,39 ----
  elif [ "$command" = 'diff' ]; then
    if [ z"$test_name" = 'z' ]; then
      for result in t/results/*/*.pl; do
!       diff $result $result.new
      done
      for result in t/results/*/*/res*/; do
        out=`echo $result | sed 's;res\([^/]*/\)$;out\1;'`
!       diff -r $result $out
      done
    else
      for result in t/results/$test_name/*.pl; do
!       diff $result $result.new
      done
      for result in t/results/$test_name/*/res*/; do
        out=`echo $result | sed 's;res\([^/]*/\)$;out\1;'`
!       diff -r $result $out
      done
    fi 
  else
*** ./tp/tests/many_input_files/indices.sh.cln  Fri Nov 16 02:06:55 2012
--- ./tp/tests/many_input_files/indices.sh      Mon Feb 18 10:48:34 2013
***************
*** 41,47 ****
      cp -pr "$srcdir/${dir}_res" $staging_dir
      chmod -R u+w "$staging_dir/${dir}_res"
      rm -rf $staging_dir/${dir}_res/CVS
!     diff -u -r $staging_dir/${dir}_res ${dir} 2>>$logfile > 
$diffs_dir/$dir.diff
      dif_ret=$?
      if [ $dif_ret != 0 ]; then
        echo "D: $diffs_dir/$dir.diff"
--- 41,47 ----
      cp -pr "$srcdir/${dir}_res" $staging_dir
      chmod -R u+w "$staging_dir/${dir}_res"
      rm -rf $staging_dir/${dir}_res/CVS
!     diff -r $staging_dir/${dir}_res ${dir} 2>>$logfile > $diffs_dir/$dir.diff
      dif_ret=$?
      if [ $dif_ret != 0 ]; then
        echo "D: $diffs_dir/$dir.diff"
*** ./tp/tests/many_input_files/tex_l2h.sh.cln  Sun Dec  2 23:11:48 2012
--- ./tp/tests/many_input_files/tex_l2h.sh      Mon Feb 18 10:48:57 2013
***************
*** 76,82 ****
      chmod -R u+w "$staging_dir/${dir}_res"
      rm -rf $staging_dir/${dir}_res/CVS
      #diff -u --exclude=CVS --exclude='*.png' -r "$srcdir/${dir}_res" "${dir}" 
2>>$logfile > "$diffs_dir/$dir.diff"
!     diff -u -r "$staging_dir/${dir}_res" "$outdir" 2>>$logfile > 
"$diffs_dir/$dir.diff"
      dif_ret=$?
      if [ $dif_ret != 0 ]; then
        echo "D: $diffs_dir/$dir.diff"
--- 76,82 ----
      chmod -R u+w "$staging_dir/${dir}_res"
      rm -rf $staging_dir/${dir}_res/CVS
      #diff -u --exclude=CVS --exclude='*.png' -r "$srcdir/${dir}_res" "${dir}" 
2>>$logfile > "$diffs_dir/$dir.diff"
!     diff -r "$staging_dir/${dir}_res" "$outdir" 2>>$logfile > 
"$diffs_dir/$dir.diff"
      dif_ret=$?
      if [ $dif_ret != 0 ]; then
        echo "D: $diffs_dir/$dir.diff"
*** ./tp/tests/many_input_files/tex_t4ht.sh.cln Sun Dec  2 23:11:48 2012
--- ./tp/tests/many_input_files/tex_t4ht.sh     Mon Feb 18 10:49:15 2013
***************
*** 55,61 ****
      chmod -R u+w "$staging_dir/${dir}_res"
      rm -rf $staging_dir/${dir}_res/CVS
      #diff -u --exclude=CVS --exclude='*.png' -r "$srcdir/${dir}_res" "${dir}" 
2>>$logfile > "$diffs_dir/$dir.diff"
!     diff -u -r "$staging_dir/${dir}_res" "${outdir}" 2>>$logfile > 
"$diffs_dir/$dir.diff"
      dif_ret=$?
      if [ $dif_ret != 0 ]; then
        echo "D: $diffs_dir/$dir.diff"
--- 55,61 ----
      chmod -R u+w "$staging_dir/${dir}_res"
      rm -rf $staging_dir/${dir}_res/CVS
      #diff -u --exclude=CVS --exclude='*.png' -r "$srcdir/${dir}_res" "${dir}" 
2>>$logfile > "$diffs_dir/$dir.diff"
!     diff -r "$staging_dir/${dir}_res" "${outdir}" 2>>$logfile > 
"$diffs_dir/$dir.diff"
      dif_ret=$?
      if [ $dif_ret != 0 ]; then
        echo "D: $diffs_dir/$dir.diff"
*** ./tp/tests/run_parser_all.sh.cln    Mon Feb 11 01:17:27 2013
--- ./tp/tests/run_parser_all.sh        Mon Feb 18 10:36:55 2013
***************
*** 356,362 ****
          fi
  
          #diff -a -u --exclude=CVS --exclude='*.png' --exclude='*_l2h.css' 
--exclude='*_1' --exclude='*_2' -r "$res_dir_used" "${outdir}$dir" 2>>$logfile 
> "$diffs_dir/$diff_base.diff"
!         diff -a -u -r "${staging_dir_res}$dir" "${outdir}$dir" 2>>$logfile > 
"$diffs_dir/$diff_base.diff"
          dif_ret=$?
          if [ $dif_ret != 0 ]; then
            echo "D: ${mydir}$diffs_dir/$diff_base.diff"
--- 356,362 ----
          fi
  
          #diff -a -u --exclude=CVS --exclude='*.png' --exclude='*_l2h.css' 
--exclude='*_1' --exclude='*_2' -r "$res_dir_used" "${outdir}$dir" 2>>$logfile 
> "$diffs_dir/$diff_base.diff"
!         diff -r "${staging_dir_res}$dir" "${outdir}$dir" 2>>$logfile > 
"$diffs_dir/$diff_base.diff"
          dif_ret=$?
          if [ $dif_ret != 0 ]; then
            echo "D: ${mydir}$diffs_dir/$diff_base.diff"

Reply via email to