After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 641816 - Cannot compile using --without-output
Cannot compile using --without-output
Status: RESOLVED OBSOLETE
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2011-02-08 08:35 UTC by Joel Stanley
Modified: 2021-07-05 13:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joel Stanley 2011-02-08 08:35:15 UTC
In d2e62311 by Adam Spragg (shown below), 'format' has been used outside of LIBXML_OUTPUT_ENABLED.  This means the file does not compile with --without-output.

@@ -3338,6 +3344,17 @@ main(int argc, char **argv) {
 #endif /* LIBXML_OUTPUT_ENABLED */
             xmlKeepBlanksDefault(0);
        }
+       else if ((!strcmp(argv[i], "-pretty")) ||
+                (!strcmp(argv[i], "--pretty"))) {
+            i++;
+#ifdef LIBXML_OUTPUT_ENABLED
+            format = atoi(argv[i]);
+#endif /* LIBXML_OUTPUT_ENABLED */
+            if (format == 1) {
+                noblanks++;
+                xmlKeepBlanksDefault(0);
+            }
+       }
 #ifdef LIBXML_READER_ENABLED
        else if ((!strcmp(argv[i], "-stream")) ||
                 (!strcmp(argv[i], "--stream"))) {
Comment 1 Joel Stanley 2011-02-08 08:44:03 UTC
I may be mistaken in thinking the cuase is --without-output.  Here are the flags I am passing to configure:

--enable-static --disable-shared --without-c14n --without-catalog --without-debug --without-docbook --without-fexceptions --without-ftp --without-history --without-html --without-http --without-iso8859x --without-legacy --without-mem-debug --without-minimum --without-output --without-pattern --without-push --without-reader --without-regexps --without-run-debug --without-sax1 --without-schemas --without-schematron --without-threads --without-thread-alloc --without-tree --without-valid --without-writer --without-xinclude --without-xpath --without-xptr --without-modules --without-coverage --without-python
Comment 2 GNOME Infrastructure Team 2021-07-05 13:24:53 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxml2/-/issues/

Thank you for your understanding and your help.