Discussion:
Call for vote on Xerces-C 3.2.2 release
Cantor, Scott
2018-09-12 18:05:39 UTC
Permalink
I would like to call for a vote to release the RC3 artifact built from svn revision 1840539 as V3.2.2. It's published and signed at [1].

The release notes are at [2].

The issues are build related for the most part, nothing substantive.

I'll hold the vote open through the weekend, as next week is the soonest I can do the upload of a release.

This is my +1.

-- Scott

[1] https://dist.apache.org/repos/dist/dev/xerces/c/3/sources/
[2] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=12342890

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Denis Excoffier
2018-09-12 21:21:12 UTC
Permalink
Hello,

Don't know whether it's wise or appropriate to vote +1 and also report an error (minor): on a clean and up-to-date cygwin (windows 10, x86_64, pre-2.11.2), i had to remove the two lines:
template class ArrayJanitor<XMLByte>;
template class ArrayJanitor<XMLCh>;
in
src/xercesc/util/JanitorExports.cpp
to be able to build successfully, otherwise, i don't know why, i get:
xercesc/util/JanitorExports.cpp:22:16: error: duplicate explicit instantiation of 'class xercesc_3_2::ArrayJanitor<unsigned char>' [-fpermissive]
template class ArrayJanitor<XMLByte>;
^~~~~~~~~~~~~~~~~~~~~
xercesc/util/JanitorExports.cpp:23:16: error: duplicate explicit instantiation of 'class xercesc_3_2::ArrayJanitor<char16_t>' [-fpermissive]
template class ArrayJanitor<XMLCh>;
^~~~~~~~~~~~~~~~~~~
Regards,

Denis Excoffier.
Post by Cantor, Scott
I would like to call for a vote to release the RC3 artifact built from svn revision 1840539 as V3.2.2. It's published and signed at [1].
The release notes are at [2].
The issues are build related for the most part, nothing substantive.
I'll hold the vote open through the weekend, as next week is the soonest I can do the upload of a release.
This is my +1.
-- Scott
[1] https://dist.apache.org/repos/dist/dev/xerces/c/3/sources/
[2] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=12342890
---------------------------------------------------------------------
Roger Leigh
2018-09-12 21:31:56 UTC
Permalink
Are you building with the autotools build or the cmake build?

There are two cygwin variants tested with cmake here for :

https://ci.appveyor.com/project/ApacheSoftwareFoundation/xerces-c/build/1.0.66
for the latest commit
(https://github.com/apache/xerces-c/commits/trunk), which are building
without error at present, at least within the AppVeyor build
environment. It's possible there may be some system-specific cause of
the failure, but it would require further details and investigation to
try and reproduce.

If you didn't try building with cmake on cygwin, could you possibly try
that out? You'll need the libcurl-devel and cmake cygwin packages
installing.


Regards,
Roger
Post by Denis Excoffier
Hello,
Don't know whether it's wise or appropriate to vote +1 and also report
an error (minor): on a clean and up-to-date cygwin (windows 10, x86_64,
*template class ArrayJanitor<XMLByte>;*
*template class ArrayJanitor<XMLCh>;*
in
*src/xercesc/util/JanitorExports.cpp*
*xercesc/util/JanitorExports.cpp:22:16: error: duplicate explicit
instantiation of 'class xercesc_3_2::ArrayJanitor<unsigned char>'
[-fpermissive]*
* template class ArrayJanitor<XMLByte>;*
*                ^~~~~~~~~~~~~~~~~~~~~*
*xercesc/util/JanitorExports.cpp:23:16: error: duplicate explicit
instantiation of 'class xercesc_3_2::ArrayJanitor<char16_t>' [-fpermissive]*
* template class ArrayJanitor<XMLCh>;*
*                ^~~~~~~~~~~~~~~~~~~*
Regards,
Denis Excoffier.
Post by Cantor, Scott
I would like to call for a vote to release the RC3 artifact built from
svn revision 1840539 as V3.2.2. It's published and signed at [1].
The release notes are at [2].
The issues are build related for the most part, nothing substantive.
I'll hold the vote open through the weekend, as next week is the
soonest I can do the upload of a release.
This is my +1.
-- Scott
[1] https://dist.apache.org/repos/dist/dev/xerces/c/3/sources/
[2]
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=12342890
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Denis Excoffier
2018-09-12 21:45:11 UTC
Permalink
Post by Roger Leigh
Are you building with the autotools build or the cmake build?
I don't know. I run ./configure --disable-network --enable-transcoder-iconv. No cmake around (although the cmake and libcurl-devel packages are present).

Regards,

Denis Excoffier.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Cantor, Scott
2018-09-12 21:51:08 UTC
Permalink
Post by Denis Excoffier
Post by Roger Leigh
Are you building with the autotools build or the cmake build?
I don't know. I run ./configure --disable-network --enable-transcoder-iconv. No
cmake around (although the cmake and libcurl-devel packages are present).
That's autotools and since I maintain those scripts and don't support cygwin, you shouldn't expect them to work there. You'd best use cmake, whether it fixes this particular case or not.

-- Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Roger Leigh
2018-09-12 22:06:32 UTC
Permalink
Post by Denis Excoffier
Post by Roger Leigh
Are you building with the autotools build or the cmake build?
I don't know. I run ./configure --disable-network --enable-transcoder-iconv. No cmake around (although the cmake and libcurl-devel packages are present).
The equivalent for testing would be:

mkdir build
cd build
cmake -Dnetwork=OFF -Dtranscoder=iconv /path/to/xerces/source
make
ctest


Regards,
Roger

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Denis Excoffier
2018-09-14 04:50:33 UTC
Permalink
This build (with make as indicated, plus -DCMAKE_INSTALL_PREFIX) is ok. However, after 'make install', there is a dangling libxerces-c.so symlink towards cygxerces-c-3-2.dll not installed (but present in build directory).
Trying to use this installation fails with many many missing references (transcode etc.). I need to figure out what is wrong.
Post by Roger Leigh
Post by Denis Excoffier
Post by Roger Leigh
Are you building with the autotools build or the cmake build?
I don't know. I run ./configure --disable-network --enable-transcoder-iconv. No cmake around (although the cmake and libcurl-devel packages are present).
mkdir build
cd build
cmake -Dnetwork=OFF -Dtranscoder=iconv /path/to/xerces/source
make
ctest
Regards,
Roger
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Denis Excoffier
2018-09-12 21:35:27 UTC
Permalink
Forgot to mention that i also tried to build on Linux 32bits (Debian 7), solaris 2.10 and darwin 17.7.0, and succeeded with no problem.
Post by Denis Excoffier
Hello,
template class ArrayJanitor<XMLByte>;
template class ArrayJanitor<XMLCh>;
in
src/xercesc/util/JanitorExports.cpp
xercesc/util/JanitorExports.cpp:22:16: error: duplicate explicit instantiation of 'class xercesc_3_2::ArrayJanitor<unsigned char>' [-fpermissive]
template class ArrayJanitor<XMLByte>;
^~~~~~~~~~~~~~~~~~~~~
xercesc/util/JanitorExports.cpp:23:16: error: duplicate explicit instantiation of 'class xercesc_3_2::ArrayJanitor<char16_t>' [-fpermissive]
template class ArrayJanitor<XMLCh>;
^~~~~~~~~~~~~~~~~~~
Regards,
Denis Excoffier.
Post by Cantor, Scott
I would like to call for a vote to release the RC3 artifact built from svn revision 1840539 as V3.2.2. It's published and signed at [1].
The release notes are at [2].
The issues are build related for the most part, nothing substantive.
I'll hold the vote open through the weekend, as next week is the soonest I can do the upload of a release.
This is my +1.
-- Scott
[1] https://dist.apache.org/repos/dist/dev/xerces/c/3/sources/ <https://dist.apache.org/repos/dist/dev/xerces/c/3/sources/>
[2] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=12342890 <https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=12342890>
---------------------------------------------------------------------
Cantor, Scott
2018-09-17 20:39:16 UTC
Permalink
I haven't gotten any votes, but given that and the fact that there was at least one complaint, I'll declare a "mistrial" and await further instructions.

I have no dog in the hunt due to there being no fixes of relevance to my work so just give a shout and I'll restart another vote and/or upload another try.

-- Scott


B�KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB��[��X��ܚX�KK[XZ[��Y]�][��X��ܚX�P\��\˘\X�K�ܙ�B��܈Y][ۘ[��[X[��K[
Gareth Reakes
2018-09-17 20:57:57 UTC
Permalink
I am ready to vote but wanted to see a resolution to the build issue.

G

Sent from my iPhone
Post by Cantor, Scott
I haven't gotten any votes, but given that and the fact that there was at least one complaint, I'll declare a "mistrial" and await further instructions.
I have no dog in the hunt due to there being no fixes of relevance to my work so just give a shout and I'll restart another vote and/or upload another try.
-- Scott
B‹KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB•È[œÝXœØÜšX™KK[XZ[ˆËY]‹][œÝXœØÜšX™P\˜Ù\˘\XÚK›Ü™ÃB‘›ÜˆY][Û˜[ÛÛ[X[™ËK[XZ[ˆËY]‹Z[\˜Ù\˘\XÚK›Ü™ÃBƒ
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Roger Leigh
2018-09-17 21:56:28 UTC
Permalink
Post by Gareth Reakes
I am ready to vote but wanted to see a resolution to the build issue.
I thought Scott addressed this in his earlier reply: "That's autotools
and since I maintain those scripts and don't support cygwin, you
shouldn't expect them to work there. You'd best use cmake, whether it
fixes this particular case or not."

Looking at the configure logic, the Cygwin-specific bits appear to have
been touched last in 2005 and 2008. There isn't any testing in place
for it, and what support there is quite possibly bitrotted. Any
regressions to the Autotools Cygwin support were not introduced in this
point release.

The CMake support for Cygwin and MinGW is routinely tested and verified
to work.
https://ci.appveyor.com/project/ApacheSoftwareFoundation/xerces-c/build/1.0.66
is the latest test for the 3.2.2 release candidate, and you can see it's
building and passing all the tests with both. So all the sources are
working fine with Cygwin and MinGW and we do properly support these
platforms. But not with the Autotools.

Given that it's possible to build on Cygwin and MinGW with CMake, I'm
loath to spend further time on the Autotools build for these platforms
given that they are a bit niche and there's little additional benefit to
be gained. If anyone really cares for it, I would hope they would do
the work and provide the patches.


Kind regards,
Roger

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Cantor, Scott
2018-09-17 22:06:53 UTC
Permalink
Post by Roger Leigh
Given that it's possible to build on Cygwin and MinGW with CMake, I'm
loath to spend further time on the Autotools build for these platforms
given that they are a bit niche and there's little additional benefit to
be gained. If anyone really cares for it, I would hope they would do
the work and provide the patches.
I obviously favor that perspective, I just wanted to allow anybody else to weigh in (and since nobody had voted, I was stuck anyway).

I'm still comfortable with my +1 and if you're satisfied I wouldn't see any reason to change out the artifact.

-- Scott



---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-m
Gareth Reakes
2018-09-18 05:36:09 UTC
Permalink
If you guys are happy then I am. +1

G

Sent from my iPhone
Post by Cantor, Scott
Post by Roger Leigh
Given that it's possible to build on Cygwin and MinGW with CMake, I'm
loath to spend further time on the Autotools build for these platforms
given that they are a bit niche and there's little additional benefit to
be gained. If anyone really cares for it, I would hope they would do
the work and provide the patches.
I obviously favor that perspective, I just wanted to allow anybody else to weigh in (and since nobody had voted, I was stuck anyway).
I'm still comfortable with my +1 and if you're satisfied I wouldn't see any reason to change out the artifact.
-- Scott
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Thomas Krebs
2018-09-18 07:15:03 UTC
Permalink
I would also vote +1.
I'm surprised so few Xerces-C users are out there :-(
Post by Gareth Reakes
If you guys are happy then I am. +1
G
Sent from my iPhone
Post by Cantor, Scott
Post by Roger Leigh
Given that it's possible to build on Cygwin and MinGW with CMake, I'm
loath to spend further time on the Autotools build for these platforms
given that they are a bit niche and there's little additional benefit to
be gained. If anyone really cares for it, I would hope they would do
the work and provide the patches.
I obviously favor that perspective, I just wanted to allow anybody else to weigh in (and since nobody had voted, I was stuck anyway).
I'm still comfortable with my +1 and if you're satisfied I wouldn't see any reason to change out the artifact.
-- Scott
---------------------------------------------------------------------
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Cantor, Scott
2018-09-18 13:13:10 UTC
Permalink
Post by Thomas Krebs
I'm surprised so few Xerces-C users are out there :-(
Once a project reaches this state, it's self-fulfilling because it's obviously not sensible to jump onto a dying library with new applications. If I could feasibly jump I would, but I have too much code, and an entire XML Security library with a dependency on it. And luckily for others that means I have to maintain it, to a limited degree.

I'll hold the vote open until EOB Eastern Time for any objections.

Thanks,
-- Scott


Т���������������������������������������������������������������������ХF�V�7V'67&�&R�R���â2�FWb�V�7V'67&�&T�W&6W2�6�R��&pФf�"FF�F����6����G2�R�
Michael Glavassevich
2018-09-18 17:16:20 UTC
Permalink
Adding my +1. Thanks Scott.

Michael Glavassevich
XML Technologies and WAS Development
IBM Toronto Lab
Date: 09/12/2018 02:08 PM
Subject: Call for vote on Xerces-C 3.2.2 release
I would like to call for a vote to release the RC3 artifact built
from svn revision 1840539 as V3.2.2. It's published and signed at [1].
The release notes are at [2].
The issues are build related for the most part, nothing substantive.
I'll hold the vote open through the weekend, as next week is the
soonest I can do the upload of a release.
This is my +1.
-- Scott
[1] INVALID URI REMOVED
u=https-3A__dist.apache.org_repos_dist_dev_xerces_c_3_sources_&d=DwIFAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=KSsQtaTrbQnz98UqasbfUccVGXxb9hHxwso62zJ-
DKI&m=6PysFfixRZZXvGZdzL4M3oHSqpdQY0jBR1pWizhcZ0I&s=rt2lg8j6BQEEOzp8PF6sXizh8gVKxX0jgap1l1eB77w&e=
[2] INVALID URI REMOVED
u=https-3A__issues.apache.org_jira_secure_ReleaseNote.jspa-3FprojectId-3D10510-26version-3D12342890&d=DwIFAg&c=jf_iaSHvJObTbx-
siA1ZOg&r=KSsQtaTrbQnz98UqasbfUccVGXxb9hHxwso62zJ-
DKI&m=6PysFfixRZZXvGZdzL4M3oHSqpdQY0jBR1pWizhcZ0I&s=iHIw8qq-
S0G7ZxVgsFc6rNGEmJAYMNv41lrPucwwftw&e=
---------------------------------------------------------------------
Ivo Schenk
2018-09-19 12:42:45 UTC
Permalink
Maybe I'm a bit late to the party, but configure fails when configuring for a cross-compile platform:

Running

export CROSS_COMPILE=armv7a-hf-
./configure CFLAGS=-O3 CXXFLAGS=-O3 -host=arm-linux-gnueabi --enable-transcoder-iconv

fails with

checking for wcsrtombs... configure: error: in `/home/user/cross/xerces-c':
configure: error: cannot run test program while cross compiling

because the lines 231 and 253

AC_RUN_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>

try to *run* the code compiled with the target gcc on the host system, which is apparently failing.

Replacing both AC_RUN_IFELSE by AC_COMPILE_IFELSE was a workaround for me.
--
Ivo Schenk

-----Ursprüngliche Nachricht-----
Von: Cantor, Scott [mailto:***@osu.edu]
Gesendet: Mittwoch, 12. September 2018 20:06
An: c-***@xerces.apache.org
Betreff: Call for vote on Xerces-C 3.2.2 release

I would like to call for a vote to release the RC3 artifact built from svn revision 1840539 as V3.2.2. It's published and signed at [1].

The release notes are at [2].

The issues are build related for the most part, nothing substantive.

I'll hold the vote open through the weekend, as next week is the soonest I can do the upload of a release.

This is my +1.

-- Scott

[1] https://dist.apache.org/repos/dist/dev/xerces/c/3/sources/
[2] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=12342890

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


Delphin Technology AG
Sitz der Gesellschaft: Bergisch Gladbach
Registergericht: Amtsgericht Koeln, HRB 47544
Vorstand: Claudia Zimmer
Vorsitzender des Aufsichtsrats: Peter Renner

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Ivo Schenk
2018-09-19 12:49:54 UTC
Permalink
... well, nevermind, saw the WONTFIX at https://issues.apache.org/jira/browse/XERCESC-2009

Otherwise: +1
--
Ivo Schenk
Senior Manager Hardware-Entwicklung

Delphin Technology AG
Lustheide 81 | 51427 Bergisch Gladbach
Telefon +49 (0) 2204/97685 - 0 | Fax -85
***@delphin.de
www.delphin.de

Intelligente Messtechnik


-----Ursprüngliche Nachricht-----
Von: Ivo Schenk [mailto:***@delphin.de]
Gesendet: Mittwoch, 19. September 2018 14:43
An: c-***@xerces.apache.org
Betreff: AW: Call for vote on Xerces-C 3.2.2 release

Maybe I'm a bit late to the party, but configure fails when configuring for a cross-compile platform:

Running

export CROSS_COMPILE=armv7a-hf-
./configure CFLAGS=-O3 CXXFLAGS=-O3 -host=arm-linux-gnueabi --enable-transcoder-iconv

fails with

checking for wcsrtombs... configure: error: in `/home/user/cross/xerces-c':
configure: error: cannot run test program while cross compiling

because the lines 231 and 253

AC_RUN_IFELSE( [AC_LANG_PROGRAM([[#include <wchar.h>

try to *run* the code compiled with the target gcc on the host system, which is apparently failing.

Replacing both AC_RUN_IFELSE by AC_COMPILE_IFELSE was a workaround for me.
--
Ivo Schenk

-----Ursprüngliche Nachricht-----
Von: Cantor, Scott [mailto:***@osu.edu]
Gesendet: Mittwoch, 12. September 2018 20:06
An: c-***@xerces.apache.org
Betreff: Call for vote on Xerces-C 3.2.2 release

I would like to call for a vote to release the RC3 artifact built from svn revision 1840539 as V3.2.2. It's published and signed at [1].

The release notes are at [2].

The issues are build related for the most part, nothing substantive.

I'll hold the vote open through the weekend, as next week is the soonest I can do the upload of a release.

This is my +1.

-- Scott

[1] https://dist.apache.org/repos/dist/dev/xerces/c/3/sources/
[2] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10510&version=12342890

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


Delphin Technology AG
Sitz der Gesellschaft: Bergisch Gladbach
Registergericht: Amtsgericht Koeln, HRB 47544
Vorstand: Claudia Zimmer
Vorsitzender des Aufsichtsrats: Peter Renner

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


Delphin Technology AG
Sitz der Gesellschaft: Bergisch Gladbach
Registergericht: Amtsgericht Koeln, HRB 47544
Vorstand: Claudia Zimmer
Vorsitzender des Aufsichtsrats: Peter Renner

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-***@xerces.apache.org
For additional commands, e-mail: c-dev-***@xerces.apache.org
Cantor, Scott
2018-09-19 13:18:47 UTC
Permalink
Post by Ivo Schenk
... well, nevermind, saw the WONTFIX at https://issues.apache.org/jira/browse/XERCESC-2009
More to the point, I don't support or care about cross compiles either, and wouldn't hold a release for them.

In any case, having gotten > 3 +1 votes and no objections, I'll call this approved and release it today. I'll give Roger the green light to update the site when I get the upload done.

-- Scott


Т���������������������������������������������������������������������ХF�V�7V'67&�&R�R���â2�FWb�V�7V'67&�&T�W&6W2�6�R��&pФf�"FF�F����6����G2�R
Loading...