Xerces-C++
  1. Xerces-C++
  2. XERCESC-1882

Xerces-C++ 3.0.1 fails to build with ICU 4.2

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      Affects any platform with ICU 4.2, but I reproduced on OS X.

      Description

      Xerces-C++ 3.0.1 fails to build with ICU 4.2 because of a dependency on pkgdata's command line that apparently broke.

      The error is "pkgdata no longer supports -M option".

      make all-recursive
      make[1]: Entering directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1'
      Making all in src
      make[2]: Entering directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src'
      Making all in xercesc/util/MsgLoaders/ICU/resources
      make[3]: Entering directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src/xercesc/util/MsgLoaders/ICU/resources'
      /usr/bin/genrb root.txt
      /usr/bin/pkgdata -name xercesc_messages_3_0 --mode dll -d . -M '"CC=x86_64-pc-linux-gnu-gcc" "CXX=x86_64-pc-linux-gnu-g++" "AR=x86_64-pc-linux-gnu-ar" "RANLIB=x86_64-pc-linux-gnu-ranlib" "CPPFLAGS=" "CFLAGS=-march=core2 -pipe -O2" "CXXFLAGS=-march=core2 -pipe -O2 " "LDFLAGS=-Wl,-O1,as-needed,gc-sections,hash-style=gnu,-sort-common"' ./res-file-list.txt
      /usr/bin/pkgdata: error in command line argument "-M"
      Run '/usr/bin/pkgdata --help' for help.
      make[3]: *** [xercesc_messages.lo] Error 1
      make[3]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src/xercesc/util/MsgLoaders/ICU/resources'
      make[2]: *** [all-recursive] Error 1
      make[2]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src'
      make[1]: *** [all-recursive] Error 1
      make[1]: Leaving directory `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1'
      make: *** [all] Error 2

      1. pkgdata.patch
        5 kB
        Jay Berkenbilt

        Activity

        Scott Cantor created issue -
        Jay Berkenbilt made changes -
        Field Original Value New Value
        Attachment pkgdata.patch [ 12417087 ]
        Boris Kolpackov made changes -
        Fix Version/s 3.1.0 [ 12313294 ]
        Boris Kolpackov made changes -
        Assignee Boris Kolpackov [ bsk ]
        Boris Kolpackov made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Workflow jira [ 12471962 ] Default workflow, editable Closed status [ 12573905 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12573905 ] jira [ 12595727 ]

          People

          • Assignee:
            Boris Kolpackov
            Reporter:
            Scott Cantor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development