* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
@ 2011-01-02 0:32 ` jsm28 at gcc dot gnu.org
2011-01-03 13:33 ` ktietz at gcc dot gnu.org
` (31 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2011-01-02 0:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.6.0
Summary|cross-compilation fails |[4.6 Regression]
|with "cannot check for file |cross-compilation fails
|existence when cross |with "cannot check for file
|compiling" |existence when cross
| |compiling"
--- Comment #1 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2011-01-02 00:32:34 UTC ---
I'd like to remind libstdc++ maintainers that they need to be very cautious
about any substantial changes (such as this rework of documentation build and
configuration) at this development stage.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
2011-01-02 0:32 ` [Bug libstdc++/47145] [4.6 Regression] " jsm28 at gcc dot gnu.org
@ 2011-01-03 13:33 ` ktietz at gcc dot gnu.org
2011-01-03 14:19 ` ktietz at gcc dot gnu.org
` (30 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-01-03 13:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Kai Tietz <ktietz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ktietz at gcc dot gnu.org
--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-01-03 13:32:53 UTC ---
This issue breaks cross-compile for me on cygwin
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
2011-01-02 0:32 ` [Bug libstdc++/47145] [4.6 Regression] " jsm28 at gcc dot gnu.org
2011-01-03 13:33 ` ktietz at gcc dot gnu.org
@ 2011-01-03 14:19 ` ktietz at gcc dot gnu.org
2011-01-03 14:46 ` ktietz at gcc dot gnu.org
` (29 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-01-03 14:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #3 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-01-03 14:18:45 UTC ---
The issue here is AC_CHECK_FILE, which is documented to not work for
cross-compiling scenario. By replacing this to test -f, it should working for
native and cross-compile.
The following patch should solve this. I can't regenerate at the moment the
configure for testing. I'll do it later this eveing at home. But maybe someone
else could check it before.
Index: configure.ac
===================================================================
--- configure.ac (revision 168422)
+++ configure.ac (working copy)
@@ -343,9 +343,12 @@
# Check for docbook
AC_CHECK_PROG([XSLTPROC], xsltproc, yes, no)
AC_CHECK_PROG([XMLLINT], xmllint, yes, no)
-AC_CHECK_FILE([/usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION],
- [glibcxx_stylesheets=yes], [glibcxx_stylesheets=no])
+glibcxx_stylesheets=no;
+if test -f /usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION; then
+ glibcxx_stylesheets=yes;
+fi
+
# Check for xml/html dependencies.
AM_CONDITIONAL(BUILD_XML,
test $ac_cv_prog_DOXYGEN = "yes" &&
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (2 preceding siblings ...)
2011-01-03 14:19 ` ktietz at gcc dot gnu.org
@ 2011-01-03 14:46 ` ktietz at gcc dot gnu.org
2011-01-03 15:15 ` paolo.carlini at oracle dot com
` (28 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-01-03 14:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #4 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-01-03 14:46:05 UTC ---
(In reply to comment #3)
> The issue here is AC_CHECK_FILE, which is documented to not work for
> cross-compiling scenario. By replacing this to test -f, it should working for
> native and cross-compile.
> The following patch should solve this. I can't regenerate at the moment the
> configure for testing. I'll do it later this eveing at home. But maybe someone
> else could check it before.
>
Sorry had a typo with semicolon ...
Index: configure.ac
===================================================================
--- configure.ac (revision 168422)
+++ configure.ac (working copy)
@@ -343,9 +343,12 @@
# Check for docbook
AC_CHECK_PROG([XSLTPROC], xsltproc, yes, no)
AC_CHECK_PROG([XMLLINT], xmllint, yes, no)
-AC_CHECK_FILE([/usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION],
- [glibcxx_stylesheets=yes], [glibcxx_stylesheets=no])
+glibcxx_stylesheets=no;
+if test -f /usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION; then
+ glibcxx_stylesheets=yes;
+fi
+
# Check for xml/html dependencies.
AM_CONDITIONAL(BUILD_XML,
test $ac_cv_prog_DOXYGEN = "yes" &&
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (3 preceding siblings ...)
2011-01-03 14:46 ` ktietz at gcc dot gnu.org
@ 2011-01-03 15:15 ` paolo.carlini at oracle dot com
2011-01-03 16:12 ` joseph at codesourcery dot com
` (27 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-01-03 15:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Paolo Carlini <paolo.carlini at oracle dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rwild at gcc dot gnu.org
--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-03 15:15:49 UTC ---
Let's add Ralf in CC.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (4 preceding siblings ...)
2011-01-03 15:15 ` paolo.carlini at oracle dot com
@ 2011-01-03 16:12 ` joseph at codesourcery dot com
2011-01-03 16:37 ` paolo.carlini at oracle dot com
` (26 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: joseph at codesourcery dot com @ 2011-01-03 16:12 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #6 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2011-01-03 16:11:45 UTC ---
On Mon, 3 Jan 2011, ktietz at gcc dot gnu.org wrote:
> The issue here is AC_CHECK_FILE, which is documented to not work for
> cross-compiling scenario. By replacing this to test -f, it should working for
> native and cross-compile.
There were also comments that the path is sometimes wrong. Using test -f
should fix the immediate regression - but it would be better not to
hardcode paths at all. Presumably the issue is that some particular
stylesheets are needed *in the path searched by the tools being tested
for*, which may depend on how those tools were configured and may not be
in /usr at all. So it would be better to have a feature test - run the
tools (if found) on a suitable document to see if they can find the
required stylesheets. Perhaps the libstdc++ maintainers could comment on
what the actual feature required is for which a path test is being used as
a bad proxy?
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (5 preceding siblings ...)
2011-01-03 16:12 ` joseph at codesourcery dot com
@ 2011-01-03 16:37 ` paolo.carlini at oracle dot com
2011-01-03 18:04 ` redi at gcc dot gnu.org
` (25 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-01-03 16:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-03 16:37:12 UTC ---
Benjamin knows...
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (6 preceding siblings ...)
2011-01-03 16:37 ` paolo.carlini at oracle dot com
@ 2011-01-03 18:04 ` redi at gcc dot gnu.org
2011-01-03 21:44 ` rguenth at gcc dot gnu.org
` (24 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-03 18:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-03 18:04:04 UTC ---
There's a suggestion at http://gcc.gnu.org/ml/libstdc++/2011-01/msg00001.html
to use a URL and let the catalog resolve that to a local file, which would mean
no need to test for the file (I'm not sure how to test for the feature in that
case though)
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (7 preceding siblings ...)
2011-01-03 18:04 ` redi at gcc dot gnu.org
@ 2011-01-03 21:44 ` rguenth at gcc dot gnu.org
2011-01-04 13:03 ` paolo.carlini at oracle dot com
` (23 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-01-03 21:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (8 preceding siblings ...)
2011-01-03 21:44 ` rguenth at gcc dot gnu.org
@ 2011-01-04 13:03 ` paolo.carlini at oracle dot com
2011-01-04 13:28 ` ktietz at gcc dot gnu.org
` (22 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-01-04 13:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-04 13:02:50 UTC ---
Kai, in order to help people actually using cross-compilation a lot, please
install your patchlet. Actual patch pre-approved. Then we can figure out
something better...
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (9 preceding siblings ...)
2011-01-04 13:03 ` paolo.carlini at oracle dot com
@ 2011-01-04 13:28 ` ktietz at gcc dot gnu.org
2011-01-04 17:27 ` bkoz at gcc dot gnu.org
` (21 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-01-04 13:28 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #10 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-01-04 13:28:11 UTC ---
(In reply to comment #9)
> Kai, in order to help people actually using cross-compilation a lot, please
> install your patchlet. Actual patch pre-approved. Then we can figure out
> something better...
Ok, I'll do. It will do so in a couple of hours as I don't have at office
proper autoconf tools version (and for some stupid reasons I am not able to
install it here).
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (10 preceding siblings ...)
2011-01-04 13:28 ` ktietz at gcc dot gnu.org
@ 2011-01-04 17:27 ` bkoz at gcc dot gnu.org
2011-01-04 17:43 ` redi at gcc dot gnu.org
` (20 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bkoz at gcc dot gnu.org @ 2011-01-04 17:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bkoz at gcc dot gnu.org
--- Comment #11 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-01-04 17:27:36 UTC ---
Kai looks good, sorry about the cross breakage: please check in your fix. My
connectivity is somewhat flaky till the 5th.
What's being checked for (pure form) is xsltproc + specific version of the HTML
style sheets, which should be local and vendor supplied if possible so that the
toolchain doesn't fall down later in the process.
What's being checked for now is the existence of the stylesheet file. This
seems reasonable at present time to get over the hump wrt doc rules, but should
be made more robust later.
FWIW, Doc patches for release are reasonable for stage 3 or whatever we call
right after stage 1 now, just like spec patches. Chill.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (11 preceding siblings ...)
2011-01-04 17:27 ` bkoz at gcc dot gnu.org
@ 2011-01-04 17:43 ` redi at gcc dot gnu.org
2011-01-04 18:00 ` ktietz at gcc dot gnu.org
` (19 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-04 17:43 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-04 17:43:01 UTC ---
(In reply to comment #11)
> What's being checked for (pure form) is xsltproc + specific version of the HTML
> style sheets, which should be local and vendor supplied if possible so that the
> toolchain doesn't fall down later in the process.
How about something like:
echo '<title/>' | xsltproc --param sf-relid "'CURRENT'" --noout --nonet
--xinclude http://docbook.sourceforge.net/release/xsl-ns/current/VERSION -
The --nonet switch ensures it will only use a local file, but the XML catalog
is still used to translate the canonical URL to a local file, so doesn't depend
on a a specific path for the local file
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (12 preceding siblings ...)
2011-01-04 17:43 ` redi at gcc dot gnu.org
@ 2011-01-04 18:00 ` ktietz at gcc dot gnu.org
2011-01-04 18:23 ` paolo.carlini at oracle dot com
` (18 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: ktietz at gcc dot gnu.org @ 2011-01-04 18:00 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #13 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-01-04 17:59:45 UTC ---
Author: ktietz
Date: Tue Jan 4 17:59:39 2011
New Revision: 168474
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168474
Log:
2011-01-04 Kai Tietz <kai.tietz@onevision.com>
PR libstdc++/47145
* configure.ac (AC_CHECK_FILE): Replaced by test -f.
* configure: Regenerated.
Unbreaking cross-compiling ...
Modified:
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.ac
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (13 preceding siblings ...)
2011-01-04 18:00 ` ktietz at gcc dot gnu.org
@ 2011-01-04 18:23 ` paolo.carlini at oracle dot com
2011-01-04 18:57 ` jakub at gcc dot gnu.org
` (17 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-01-04 18:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-04 18:23:23 UTC ---
Kai, thanks. Please commit the ChangeLog entry too.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (14 preceding siblings ...)
2011-01-04 18:23 ` paolo.carlini at oracle dot com
@ 2011-01-04 18:57 ` jakub at gcc dot gnu.org
2011-01-04 20:10 ` doko at ubuntu dot com
` (16 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-01-04 18:57 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P1 |P4
CC| |jakub at gcc dot gnu.org
--- Comment #15 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-01-04 18:57:04 UTC ---
The P1 issue is fixed, leaving open for tracking the better approach mentioned
in #c12.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (15 preceding siblings ...)
2011-01-04 18:57 ` jakub at gcc dot gnu.org
@ 2011-01-04 20:10 ` doko at ubuntu dot com
2011-01-05 5:09 ` dongsheng.song at gmail dot com
` (15 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: doko at ubuntu dot com @ 2011-01-04 20:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Matthias Klose <doko at ubuntu dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |doko at ubuntu dot com
--- Comment #16 from Matthias Klose <doko at ubuntu dot com> 2011-01-04 20:10:26 UTC ---
doc/Makefile.am has hardcoded SCHEMA_FLAGS and XSL_STYLE_DIR
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (16 preceding siblings ...)
2011-01-04 20:10 ` doko at ubuntu dot com
@ 2011-01-05 5:09 ` dongsheng.song at gmail dot com
2011-01-05 5:31 ` dongsheng.song at gmail dot com
` (14 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dongsheng.song at gmail dot com @ 2011-01-05 5:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Dongsheng Song <dongsheng.song at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dongsheng.song at gmail dot
| |com
--- Comment #17 from Dongsheng Song <dongsheng.song at gmail dot com> 2011-01-05 05:08:48 UTC ---
Hi Kai, please fix for Debian too:
Index: trunk/libstdc++-v3/configure.ac
===================================================================
--- trunk/libstdc++-v3/configure.ac (revision 168503)
+++ trunk/libstdc++-v3/configure.ac (working copy)
@@ -349,6 +349,10 @@
glibcxx_stylesheets=yes
fi
+if test -f /usr/share/xml/docbook/stylesheet/docbook-xsl-ns/VERSION; then
+ glibcxx_stylesheets=yes
+fi
+
# Check for xml/html dependencies.
AM_CONDITIONAL(BUILD_XML,
test $ac_cv_prog_DOXYGEN = "yes" &&
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (17 preceding siblings ...)
2011-01-05 5:09 ` dongsheng.song at gmail dot com
@ 2011-01-05 5:31 ` dongsheng.song at gmail dot com
2011-01-05 10:08 ` redi at gcc dot gnu.org
` (13 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: dongsheng.song at gmail dot com @ 2011-01-05 5:31 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #18 from Dongsheng Song <dongsheng.song at gmail dot com> 2011-01-05 05:31:08 UTC ---
This xml catalog testing passed on Debian and RHEL:
echo '<article/>' | xsltproc --noout --nonet \
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl -
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (18 preceding siblings ...)
2011-01-05 5:31 ` dongsheng.song at gmail dot com
@ 2011-01-05 10:08 ` redi at gcc dot gnu.org
2011-01-05 11:46 ` ramana at gcc dot gnu.org
` (12 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-05 10:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-05 10:07:40 UTC ---
(In reply to comment #18)
> This xml catalog testing passed on Debian and RHEL:
>
> echo '<article/>' | xsltproc --noout --nonet \
> http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl -
We use the xsl-ns stylesheets for Docbook 5 support and I think xsl-ns is less
widely-installed than the older stylesheets. We also generate xhtml 1.1 so a
better test would be
http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (19 preceding siblings ...)
2011-01-05 10:08 ` redi at gcc dot gnu.org
@ 2011-01-05 11:46 ` ramana at gcc dot gnu.org
2011-01-05 11:50 ` paolo.carlini at oracle dot com
` (11 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: ramana at gcc dot gnu.org @ 2011-01-05 11:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.01.05 11:46:14
CC| |ramana at gcc dot gnu.org
Ever Confirmed|0 |1
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with "cannot check for file existence when cross compiling"
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (20 preceding siblings ...)
2011-01-05 11:46 ` ramana at gcc dot gnu.org
@ 2011-01-05 11:50 ` paolo.carlini at oracle dot com
2011-01-05 12:23 ` [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path redi at gcc dot gnu.org
` (10 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-01-05 11:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #20 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-01-05 11:50:08 UTC ---
Note: somebody should now change the subject to something more meaningful,
about hard coded paths and such, because the original P1 issue is resolved.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (21 preceding siblings ...)
2011-01-05 11:50 ` paolo.carlini at oracle dot com
@ 2011-01-05 12:23 ` redi at gcc dot gnu.org
2011-03-01 21:32 ` bkoz at gcc dot gnu.org
` (9 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: redi at gcc dot gnu.org @ 2011-01-05 12:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.6 Regression] |configure test for
|cross-compilation fails |docbook-xsl-ns stylesheets
|with "cannot check for file |uses hardcoded path
|existence when cross |
|compiling" |
--- Comment #21 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-01-05 12:22:09 UTC ---
summary changed
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (22 preceding siblings ...)
2011-01-05 12:23 ` [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path redi at gcc dot gnu.org
@ 2011-03-01 21:32 ` bkoz at gcc dot gnu.org
2011-03-02 17:44 ` bkoz at gcc dot gnu.org
` (8 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bkoz at gcc dot gnu.org @ 2011-03-01 21:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #22 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-03-01 21:31:57 UTC ---
Here's a plan.
Remove as per #4
-AC_CHECK_FILE([/usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION],
- [glibcxx_stylesheets=yes], [glibcxx_stylesheets=no])
replace with new
_GLIBCXX_ENABLE_DOCS
in acinclude.m4 that
sets
XSL_STYLE_DIR, SCHEMA_FLAGS
and conditionally exports them in
doc/Makefile.am
as per #12, #18, #19
echo '<article/>' | xsltproc --noout --nonet \
http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl -
is the enable flag
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (23 preceding siblings ...)
2011-03-01 21:32 ` bkoz at gcc dot gnu.org
@ 2011-03-02 17:44 ` bkoz at gcc dot gnu.org
2011-03-08 0:04 ` bkoz at gcc dot gnu.org
` (7 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bkoz at gcc dot gnu.org @ 2011-03-02 17:44 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #23 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-03-02 17:43:54 UTC ---
Created attachment 23517
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23517
what debian is currently using
from Matthias Klose
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (24 preceding siblings ...)
2011-03-02 17:44 ` bkoz at gcc dot gnu.org
@ 2011-03-08 0:04 ` bkoz at gcc dot gnu.org
2011-03-17 22:01 ` doko at ubuntu dot com
` (6 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bkoz at gcc dot gnu.org @ 2011-03-08 0:04 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #24 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-03-08 00:04:10 UTC ---
Author: bkoz
Date: Tue Mar 8 00:04:05 2011
New Revision: 170763
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170763
Log:
2011-03-07 Benjamin Kosnik <bkoz@redhat.com>
Matthias Klose <doko@ubuntu.com>
Jonathan Wakely <redi@gcc.gnu.org>
PR libstdc++/47145
* acinclude.m4 (GLIBCXX_CONFIGURE_DOCBOOK): Define.
* configure.ac: Use it.
* doc/Makefile.am (XSL_STYLE_DIR): Set at configure time.
* configure: Regenerate.
* doc/Makefile.in: Regenerate.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/Makefile.in
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.ac
trunk/libstdc++-v3/doc/Makefile.am
trunk/libstdc++-v3/doc/Makefile.in
trunk/libstdc++-v3/include/Makefile.in
trunk/libstdc++-v3/libsupc++/Makefile.in
trunk/libstdc++-v3/po/Makefile.in
trunk/libstdc++-v3/python/Makefile.in
trunk/libstdc++-v3/src/Makefile.in
trunk/libstdc++-v3/testsuite/Makefile.in
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (25 preceding siblings ...)
2011-03-08 0:04 ` bkoz at gcc dot gnu.org
@ 2011-03-17 22:01 ` doko at ubuntu dot com
2011-03-22 9:38 ` bkoz at gcc dot gnu.org
` (5 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: doko at ubuntu dot com @ 2011-03-17 22:01 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #25 from Matthias Klose <doko at ubuntu dot com> 2011-03-17 22:00:16 UTC ---
builds on a non-networked machine succeed
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (26 preceding siblings ...)
2011-03-17 22:01 ` doko at ubuntu dot com
@ 2011-03-22 9:38 ` bkoz at gcc dot gnu.org
2011-03-22 9:50 ` doko at ubuntu dot com
` (4 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: bkoz at gcc dot gnu.org @ 2011-03-22 9:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #26 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-03-22 08:59:02 UTC ---
Matthias, this should allow you to remove the current debian docs patch. Does
it?
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (27 preceding siblings ...)
2011-03-22 9:38 ` bkoz at gcc dot gnu.org
@ 2011-03-22 9:50 ` doko at ubuntu dot com
2011-03-25 19:59 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: doko at ubuntu dot com @ 2011-03-22 9:50 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
--- Comment #27 from Matthias Klose <doko at ubuntu dot com> 2011-03-22 09:09:26 UTC ---
yes, thanks! already done.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (28 preceding siblings ...)
2011-03-22 9:50 ` doko at ubuntu dot com
@ 2011-03-25 19:59 ` jakub at gcc dot gnu.org
2011-04-28 17:22 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
32 siblings, 0 replies; 34+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-03-25 19:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.0 |4.6.1
--- Comment #28 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-25 19:52:44 UTC ---
GCC 4.6.0 is being released, adjusting target milestone.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (29 preceding siblings ...)
2011-03-25 19:59 ` jakub at gcc dot gnu.org
@ 2011-04-28 17:22 ` rguenth at gcc dot gnu.org
2012-02-02 20:25 ` bkoz at gcc dot gnu.org
2012-02-16 20:09 ` bkoz at gcc dot gnu.org
32 siblings, 0 replies; 34+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-04-28 17:22 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.6.1 |---
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (30 preceding siblings ...)
2011-04-28 17:22 ` rguenth at gcc dot gnu.org
@ 2012-02-02 20:25 ` bkoz at gcc dot gnu.org
2012-02-16 20:09 ` bkoz at gcc dot gnu.org
32 siblings, 0 replies; 34+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-02-02 20:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.7.0
--- Comment #29 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-02-02 20:24:45 UTC ---
I thought this was fixed. Please confirm this is an issue in 4.7.0
^ permalink raw reply [flat|nested] 34+ messages in thread
* [Bug libstdc++/47145] configure test for docbook-xsl-ns stylesheets uses hardcoded path
2011-01-01 15:23 [Bug libstdc++/47145] New: cross-compilation fails with "cannot check for file existence when cross compiling" John.Tytgat at aaug dot net
` (31 preceding siblings ...)
2012-02-02 20:25 ` bkoz at gcc dot gnu.org
@ 2012-02-16 20:09 ` bkoz at gcc dot gnu.org
32 siblings, 0 replies; 34+ messages in thread
From: bkoz at gcc dot gnu.org @ 2012-02-16 20:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145
Benjamin Kosnik <bkoz at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
AssignedTo|unassigned at gcc dot |bkoz at gcc dot gnu.org
|gnu.org |
--- Comment #30 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2012-02-16 19:49:12 UTC ---
Marking as fixed.
^ permalink raw reply [flat|nested] 34+ messages in thread