Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-1396

build issues: 'make distclean' leaves created files and directories + invalid printing of library-name before linking

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • Build
    • None
    • suse-linux 9.2, but affects other platforms, too

    Description

      1. 'make distclean' leaves created files and directories

      Running 'make distclean' after building xerces-c leaves a non-clean source tree, as can be seen from the following scenario:

      axel@rantanplan:~> cp -R xml-xerces xml-xerces-test
      axel@rantanplan:~> cd xml-xerces-test/c
      axel@rantanplan:~/xml-xerces-test/c> export XERCESCROOT=`pwd`
      axel@rantanplan:~/xml-xerces-test/c> cd src/xercesc
      axel@rantanplan:~/xml-xerces-test/c/src/xercesc> ./runConfigure -p linux -c gcc -x g++
      ( 8< )
      axel@rantanplan:~/xml-xerces-test/c/src/xercesc> make
      ( 8< )
      axel@rantanplan:~/xml-xerces-test/c/src/xercesc> make distclean
      ( 8< )
      axel@rantanplan:~/xml-xerces-test/c/src/xercesc> cd
      axel@rantanplan:~> diff -r xml-xerces xml-xerces-test
      Nur in xml-xerces-test/c: include.
      Nur in xml-xerces-test/c: lib.
      Nur in xml-xerces-test/c/obj: libxerces-c.so.26.map.
      Nur in xml-xerces-test/c/obj: libxerces-depdom.so.26.map.

      2. invalid printing of library-name before linking

      Starting the linking step, the toplevel Makefile produces the following output:
      Building /home/axel/xml-xerces-test/c/lib/.so.26.0
      This is invalid, as the actual library to be made is /home/axel/xml-xerces-test/c/lib/libxerces-c.so.26.0.

      I'll attach a patch that fixes both issues.

      Axel

      Attachments

        1. xml-xerces-fixed.patch
          2 kB
          Axel Weiß

        Activity

          People

            Unassigned Unassigned
            axel-weiss Axel Weiß
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: