ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@altlinux.org>
To: ALTLinux-devel <devel@lists.altlinux.org>
Subject: [devel] Java SE 5 в Sisyphus [Fwd: xerces-j-2.7.1-alt1:	rebuild failed]
Date: Tue, 21 Feb 2006 12:00:58 +0300
Message-ID: <1140512458.4173.17.camel@localhost.localdomain> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1110 bytes --]

Доброго времени суток.

После неожиданного залива j2se1.5-sun в Sisyphus перестал собираться ряд
пакетов. Требуемые изменения в большинстве из них выглядят достаточно
тривиальными, но, например, с Xerces и Xalan возникает проблема. В JAXP
добавились методы в некоторых базовых абстрактных классах, и Impl для
этих абстрактных классов в Xerces и Xalan оказались неработоспособными.
В trunk-е Apache SVN никаких модификаций для совместимости JDK 1.5 не
замечено.
И Xerces, и Xalan включены в модифицированном виде "под капот" Java SE
5.0, но это не повод выбрасывать их из дистрибутива сейчас.
Чтобы подменить классы JAXP из JRE на более привычные из
xml-commons-apis, нужно манипулировать с bootclasspath в файле сборки
(почему-то опции includeAntRuntime/includeJavaRuntime в Ant-задаче javac
не дают нужного эффекта).
После этого остаётся только надеяться, что большинство клиентов Xerces и
Xalan используют их через интерфейсы JAXP, и в Java SE 5.0 их можно
мягко подменить встроенными реализациями. Модифицировать bootclasspath в
deployment'е противопоказано по лицензионным сообращениям.

[-- Attachment #1.2: Пересланное сообщение - xerces-j-2.7.1-alt1: rebuild failed --]
[-- Type: message/rfc822, Size: 3602 bytes --]

From: QA Team Robot <qa@altlinux.org>
To: Mikhail Zabaluev <mhz@altlinux.org>
Cc: qa@altlinux.org
Subject: xerces-j-2.7.1-alt1: rebuild failed
Date: Mon, 20 Feb 2006 18:53:34 +0300 (MSK)
Message-ID: <20060220155334.EA8AAB0D96@basalt.office.altlinux.org>

Package: xerces-j-2.7.1-alt1
Packager: Mikhail Zabaluev <mhz@altlinux>
Status: rebuild failed.
Please investigate.

Why:

     [copy] Copying 1 file to /usr/src/RPM/BUILD/xerces-2_7_1/build/classes/META-INF/services
     [copy] Copying 682 files to /usr/src/RPM/BUILD/xerces-2_7_1/build/src
    [unzip] Expanding: /usr/src/RPM/BUILD/xerces-2_7_1/tools/xml-commons-external-src.zip into /usr/src/RPM/BUILD/xerces-2_7_1/build/src

compile:
     [copy] Copying 13 files to /usr/src/RPM/BUILD/xerces-2_7_1/build/classes
    [javac] Compiling 687 source files to /usr/src/RPM/BUILD/xerces-2_7_1/build/classes
    [javac] /usr/src/RPM/BUILD/xerces-2_7_1/build/src/org/apache/html/dom/HTMLFrameElementImpl.java:27: org.apache.html.dom.HTMLFrameElementImpl is not abstract and does not override abstract method getContentDocument() in org.w3c.dom.html.HTMLFrameElement
    [javac] public class HTMLFrameElementImpl
    [javac]        ^
    [javac] /usr/src/RPM/BUILD/xerces-2_7_1/build/src/org/apache/html/dom/HTMLIFrameElementImpl.java:27: org.apache.html.dom.HTMLIFrameElementImpl is not abstract and does not override abstract method getContentDocument() in org.w3c.dom.html.HTMLIFrameElement
    [javac] public class HTMLIFrameElementImpl
    [javac]        ^
    [javac] /usr/src/RPM/BUILD/xerces-2_7_1/build/src/org/apache/html/dom/HTMLObjectElementImpl.java:27: org.apache.html.dom.HTMLObjectElementImpl is not abstract and does not override abstract method getContentDocument() in org.w3c.dom.html.HTMLObjectElement
    [javac] public class HTMLObjectElementImpl
    [javac]        ^
    [javac] Note: * uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors

BUILD FAILED
file:/usr/src/RPM/BUILD/xerces-2_7_1/build.xml:246: Compile failed; see the compiler error output for details.

Total time: 19 seconds
error: Bad exit status from /usr/src/tmp/rpm-tmp.41878 (%build)

RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.41878 (%build)
27.83user 0.46system 0:23.51elapsed 120%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+62472minor)pagefaults 0swaps
rebuild: rebuild of `xerces-j-2.7.1-alt1.src.rpm' failed.

-- 
Sincerely yours,
ALT QA Team Robot

[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

             reply	other threads:[~2006-02-21  9:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-21  9:00 Mikhail Zabaluev [this message]
2006-02-21  9:13 ` Valery V. Inozemtsev
2006-02-21 12:51   ` [devel] Java SE 5 в Sisyphus Dmitry V. Levin
2006-02-21 13:09     ` Valery V. Inozemtsev
2006-02-21 22:40       ` Mikhail Zabaluev
2006-02-22 13:43         ` Dmitry V. Levin
2006-02-22 13:47           ` Valery V. Inozemtsev
2006-02-21 22:46   ` [devel] Java SE 5 в Sisyphus [Fwd: xerces-j-2.7.1-alt1: rebuild failed] Mikhail Zabaluev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1140512458.4173.17.camel@localhost.localdomain \
    --to=mhz@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git