LINUX.ORG.RU

[gentoo]eclipse-sdk не собирается


0

1

Вот что пишет при сборке пакета jsch:

>>> Emerging (1 of 36) dev-java/jsch-0.1.44
 * jsch-0.1.44.zip RMD160 SHA1 SHA256 size ;-) ...                                                            [ ok ]
 * Package:    dev-java/jsch-0.1.44
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU zlib
 * FEATURES:   sandbox
 * Using: icedtea6-bin
>>> Unpacking source...
>>> Unpacking jsch-0.1.44.zip to /var/tmp/portage/dev-java/jsch-0.1.44/work
>>> Source unpacked in /var/tmp/portage/dev-java/jsch-0.1.44/work
>>> Preparing source in /var/tmp/portage/dev-java/jsch-0.1.44/work/jsch-0.1.44 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/jsch-0.1.44/work/jsch-0.1.44 ...
Rewriting attributes
Rewriting ./build.xml
Traceback (most recent call last):
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py-2.7", line 240, in <module>
    outxml = processActions(options, f)
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py-2.7", line 109, in processActions
    out_stream = doRewrite(rewriter, out_stream, rewriter.add_gentoo_classpath,classpath = newcp)
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py-2.7", line 100, in doRewrite
    rewriter.write(out)
  File "/usr/lib64/python2.7/site-packages/javatoolkit/xml/DomRewriter.py", line 81, in write
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext
 * ERROR: dev-java/jsch-0.1.44 failed (configure phase):
 *   xml-rewrite2 failed: ./build.xml
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 4523:  Called java-ant-2_src_configure
 *   environment, line 2240:  Called java-ant_bsfix
 *   environment, line 2262:  Called java-ant_bsfix_files './build.xml'
 *   environment, line 2357:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
 *   environment, line  297:  Called die
 * The specific snippet of code:
 *           die ${1};
 * 
 * If you need support, post the output of 'emerge --info =dev-java/jsch-0.1.44',
 * the complete build log and the output of 'emerge -pqv =dev-java/jsch-0.1.44'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.9.6"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/dev-java/jsch-0.1.44/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/jsch-0.1.44/temp/environment'.
 * S: '/var/tmp/portage/dev-java/jsch-0.1.44/work/jsch-0.1.44'

>>> Failed to emerge dev-java/jsch-0.1.44, Log file:

>>>  '/var/tmp/portage/dev-java/jsch-0.1.44/temp/build.log'

 * Messages for package dev-java/jsch-0.1.44:

 * ERROR: dev-java/jsch-0.1.44 failed (configure phase):
 *   xml-rewrite2 failed: ./build.xml
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 4523:  Called java-ant-2_src_configure
 *   environment, line 2240:  Called java-ant_bsfix
 *   environment, line 2262:  Called java-ant_bsfix_files './build.xml'
 *   environment, line 2357:  Called _bsfix_die 'xml-rewrite2 failed: ./build.xml'
 *   environment, line  297:  Called die
 * The specific snippet of code:
 *           die ${1};
 * 
 * If you need support, post the output of 'emerge --info =dev-java/jsch-0.1.44',
 * the complete build log and the output of 'emerge -pqv =dev-java/jsch-0.1.44'.
 * The complete build log is located at '/var/tmp/portage/dev-java/jsch-0.1.44/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/jsch-0.1.44/temp/environment'.
 * S: '/var/tmp/portage/dev-java/jsch-0.1.44/work/jsch-0.1.44'

Думал что нужно icedtea, начал собирать, тоже обрывается вот с таким логом:

>>> Installing (6 of 28) dev-java/icu4j-3.8.1-r1
>>> Jobs: 7 of 28 complete, 1 failed                Load avg: 0.72, 0.51, 0.60
 * Package:    dev-java/log4j-1.2.16
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Using: icedtea6-bin
>>> Unpacking source...
>>> Unpacking apache-log4j-1.2.16.tar.gz to /var/tmp/portage/dev-java/log4j-1.2.16/work
>>> Source unpacked in /var/tmp/portage/dev-java/log4j-1.2.16/work
>>> Preparing source in /var/tmp/portage/dev-java/log4j-1.2.16/work/apache-log4j-1.2.16 ...
removed `log4j-1.2.16.jar'
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/log4j-1.2.16/work/apache-log4j-1.2.16 ...
Changing ignoresystemclasses to true for available tasks in /var/tmp/portage/dev-java/log4j-1.2.16/work/apache-log4j-1.2.16/build.xml
Rewriting /var/tmp/portage/dev-java/log4j-1.2.16/work/apache-log4j-1.2.16/build.xml
Rewriting attributes
Rewriting ./build.xml
Traceback (most recent call last):
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py-2.7", line 240, in <module>
    outxml = processActions(options, f)
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py-2.7", line 109, in processActions
    out_stream = doRewrite(rewriter, out_stream, rewriter.add_gentoo_classpath,classpath = newcp)
  File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py-2.7", line 100, in doRewrite
    rewriter.write(out)
  File "/usr/lib64/python2.7/site-packages/javatoolkit/xml/DomRewriter.py", line 81, in write
    from xml.dom.ext import PrettyPrint
ImportError: No module named ext
 * ERROR: dev-java/log4j-1.2.16 failed (configure phase):
 *   xml-rewrite2 failed: ./tests/build.xml
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 4435:  Called java-ant-2_src_configure
 *   environment, line 2186:  Called java-ant_bsfix
 *   environment, line 2208:  Called java-ant_bsfix_files './build.xml' './src/ntdll/build.xml' './tests/build.xml'
 *   environment, line 2303:  Called _bsfix_die 'xml-rewrite2 failed: ./tests/build.xml'
 *   environment, line  306:  Called die
 * The specific snippet of code:
 *           die ${1};
 * 
 * If you need support, post the output of 'emerge --info =dev-java/log4j-1.2.16',
 * the complete build log and the output of 'emerge -pqv =dev-java/log4j-1.2.16'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.9.6"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/dev-java/log4j-1.2.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/log4j-1.2.16/temp/environment'.
 * S: '/var/tmp/portage/dev-java/log4j-1.2.16/work/apache-log4j-1.2.16'

 * Messages for package dev-java/log4j-1.2.16:

 * ERROR: dev-java/log4j-1.2.16 failed (configure phase):
 *   xml-rewrite2 failed: ./tests/build.xml
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 4435:  Called java-ant-2_src_configure
 *   environment, line 2186:  Called java-ant_bsfix
 *   environment, line 2208:  Called java-ant_bsfix_files './build.xml' './src/ntdll/build.xml' './tests/build.xml'
 *   environment, line 2303:  Called _bsfix_die 'xml-rewrite2 failed: ./tests/build.xml'
 *   environment, line  306:  Called die
 * The specific snippet of code:
 *           die ${1};
 * 
 * If you need support, post the output of 'emerge --info =dev-java/log4j-1.2.16',
 * the complete build log and the output of 'emerge -pqv =dev-java/log4j-1.2.16'.
 * The complete build log is located at '/var/tmp/portage/dev-java/log4j-1.2.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/log4j-1.2.16/temp/environment'.
 * S: '/var/tmp/portage/dev-java/log4j-1.2.16/work/apache-log4j-1.2.16'

Подскажите.

★★★

У меня пару раз некоторые пакеты не пересобирались из- за повреждённых архивов. Такое бывает. если юзаешь одно зеркало. потому я сделал так: emerge mirrorselect && mirrorselect -s 5

Dorif ★★ ()
Ответ на: комментарий от anonymous

Однако такое было. Были ещё «левые» ебилды, которые не собирались. Одним словом: ibiblio.

Dorif ★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.