You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Axel Weiß (JIRA)" <xe...@xml.apache.org> on 2005/04/03 22:05:16 UTC

[jira] Created: (XERCESC-1396) build issues: 'make distclean' leaves created files and directories + invalid printing of library-name before linking

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

         Key: XERCESC-1396
         URL: http://issues.apache.org/jira/browse/XERCESC-1396
     Project: Xerces-C++
        Type: Bug
  Components: Build  
    Versions: 2.6.0    
 Environment: suse-linux 9.2, but affects other platforms, too
    Reporter: Axel Weiß
 Attachments: xml-xerces-fixed.patch

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


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


[jira] Resolved: (XERCESC-1396) build issues: 'make distclean' leaves created files and directories + invalid printing of library-name before linking

Posted by "Gareth Reakes (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1396?page=history ]
     
Gareth Reakes resolved XERCESC-1396:
------------------------------------

    Resolution: Fixed

I have applied your patch. xml-xerces/c/obj/Makefile.in is not in CVS. Is this the file you meant to patch? If not reopen the bug.

> build issues: 'make distclean' leaves created files and directories + invalid printing of library-name before linking
> ---------------------------------------------------------------------------------------------------------------------
>
>          Key: XERCESC-1396
>          URL: http://issues.apache.org/jira/browse/XERCESC-1396
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: 2.6.0
>  Environment: suse-linux 9.2, but affects other platforms, too
>     Reporter: Axel Weiß
>  Attachments: xml-xerces-fixed.patch
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org


[jira] Updated: (XERCESC-1396) build issues: 'make distclean' leaves created files and directories + invalid printing of library-name before linking

Posted by "Axel Weiß (JIRA)" <xe...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XERCESC-1396?page=history ]

Axel Weiß updated XERCESC-1396:
-------------------------------

    Attachment: xml-xerces-fixed.patch

cd xml-xerces
patch -p1 < ../xml-xerces-fixed.patch

> build issues: 'make distclean' leaves created files and directories + invalid printing of library-name before linking
> ---------------------------------------------------------------------------------------------------------------------
>
>          Key: XERCESC-1396
>          URL: http://issues.apache.org/jira/browse/XERCESC-1396
>      Project: Xerces-C++
>         Type: Bug
>   Components: Build
>     Versions: 2.6.0
>  Environment: suse-linux 9.2, but affects other platforms, too
>     Reporter: Axel Weiß
>  Attachments: xml-xerces-fixed.patch
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org