Не собирается xorg-server-1.6.1.601-r3(ошибка связана с патчем)
kato 19 июня, 2009 - 21:42
Не собирается xorg-server-1.6.1.601-r3
[ebuild U ] x11-base/xorg-server-1.6.1.901-r3 [1.6.1.901] USE="hal nptl sdl xorg" INPUT_DEVICES="evdev" VIDEO_CARDS="intel" >>> Emerging (1 of 1) x11-base/xorg-server-1.6.1.901-r3 ... >>> Unpacking source... >>> Unpacking xorg-server-1.6.1.901.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.6.1.901-r3/work >>> Unpacking xorg-server-1.6.1.901-gentoo-patches-03.tar.bz2 to /var/tmp/portage/x11-base/xorg-server-1.6.1.901-r3/work * Applying 1.4-fpic-libxf86config.patch ... [ ok ] * Applying various patches (bugfixes/updates) ... * 0001-XkbSetNamedIndicator-should-ignore-SD-s-without-LED-.patch ... [ ok ] * 0002-Remove-long-gone-co-option-from-Xserver-man-page.patch ... [ ok ] * 0003-Remove-references-to-rgb.txt-from-files-section-of-X.patch ... [ ok ] * 0004-Fix-byte-swapping-of-XF86VidMode-Get-Set-GammaRamp.patch ... [ ok ] * 0005-randr12-looking-up-these-bits-if-randr-isn-t-initial.patch ... [ ok ] * 0006-os-don-t-malloc-memory-in-LogVMessageVerb.patch ... [ ok ] * 0007-Xi-fix-copy-paste-error-causing-sizeof-against-wrong.patch ... [ ok ] * 0008-Xi-don-t-double-swap-the-XListDeviceProperties-reply.patch ... [ ok ] * 0009-Don-t-leak-canonical-module-name-and-patterns-if-mod.patch ... [ ok ] * 0010-Don-t-leak-default-font-path-when-appending-built-in.patch ... [ ok ] * 0011-xselinux-Relax-ownership-restriction-on-SetSelection.patch ... [ ok ] * 0012-xace-Fix-a-bad-device-access-hook-call.patch ... [ ok ] * 0013-Resync-COPYING-file-with-notices-in-code-base-as-of-.patch ... [ ok ] * 0014-Fix-a-couple-off-by-one-array-boundary-checks.patch ... [ ok ] * 0015-xfree86-restore-default-off-for-DontZap.patch ... [ ok ] * 0016-EXA-Always-damage-glyph-cache-pixmap-manually-after-.patch ... [ ok ] * 0017-EXA-Take-GC-client-clip-type-into-account-for-migrat.patch ... [ ok ] * 0018-Bug-6428-16458-21464-Fix-crash-due-to-uninitialized-.patch ... [ ok ] * Done with patching * Running elibtoolize in: xorg-server-1.6.1.901 * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... >>> Source unpacked in /var/tmp/portage/x11-base/xorg-server-1.6.1.901-r3/work /etc/portage/bashrc: line 7: /var/tmp/cache/probe/probe.log: Нет такого файла или каталога /etc/portage/bashrc: line 10: /var/tmp/cache/probe/probe.log: Нет такого файла или каталога >>> Preparing source in /var/tmp/portage/x11-base/xorg-server-1.6.1.901-r3/work/xorg-server-1.6.1.901 ... * Applying 1.4-fpic-libxf86config.patch ... * Failed Patch: 1.4-fpic-libxf86config.patch ! * ( /usr/portage/x11-base/xorg-server/files/1.4-fpic-libxf86config.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/x11-base/xorg-server-1.6.1.901-r3/temp/1.4-fpic-libxf86config.patch-9594.out * * ERROR: x11-base/xorg-server-1.6.1.901-r3 failed. * Call stack: * ebuild.sh, line 49: Called src_prepare * environment, line 3150: Called x-modular_patch_source * environment, line 3864: Called epatch '/usr/portage/x11-base/xorg-server/files/1.4-fpic-libxf86config.patch' * environment, line 1852: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * The die message: * Failed Patch: 1.4-fpic-libxf86config.patch! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-base/xorg-server-1.6.1.901-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-base/xorg-server-1.6.1.901-r3/temp/environment'.
***** 1.4-fpic-libxf86config.patch ***** ======================================== PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.4-fpic-libxf86config.patch ======================================== can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am |index 849ee8b..1b49d48 100644 |--- a/hw/xfree86/parser/Makefile.am |+++ b/hw/xfree86/parser/Makefile.am -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ======================================== PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.4-fpic-libxf86config.patch ======================================== patching file hw/xfree86/parser/Makefile.am Hunk #1 FAILED at 25. 1 out of 1 hunk FAILED -- saving rejects to file hw/xfree86/parser/Makefile.am.rej ======================================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.4-fpic-libxf86config.patch ======================================== can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am |index 849ee8b..1b49d48 100644 |--- a/hw/xfree86/parser/Makefile.am |+++ b/hw/xfree86/parser/Makefile.am -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ======================================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.4-fpic-libxf86config.patch ======================================== can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am |index 849ee8b..1b49d48 100644 |--- a/hw/xfree86/parser/Makefile.am |+++ b/hw/xfree86/parser/Makefile.am -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ======================================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/x11-base/xorg-server/files/1.4-fpic-libxf86config.patch ======================================== patching file Makefile.am Hunk #1 FAILED at 25. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej
1.4-fpic-libxf86config.patch
diff --git a/hw/xfree86/parser/Makefile.am b/hw/xfree86/parser/Makefile.am index 849ee8b..1b49d48 100644 --- a/hw/xfree86/parser/Makefile.am +++ b/hw/xfree86/parser/Makefile.am @@ -25,7 +25,7 @@ libxf86config_a_SOURCES = \ DRI.c \ Extensions.c -AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) +AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) -fPIC EXTRA_DIST = \ Configint.h \
А в /var/tmp/portage/x11-base/xorg-server-1.6.1.901-r3/work/xorg-server-1.6.1.901/hw/xfree86/parser/Makefile.am Изменения в файл всё-таки внесены :
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) -fPIC
Вот, собственно, - сижу, чешу репу, какого тут от меня надо. И каким образом собрался xorg-server-1.6.1.901 ранее ? Там этот патч ошибки не вызывает.
Я бы мог представить дополнительную инфу, если бы знал какую. Помогите разобраться.
»
- Для комментирования войдите или зарегистрируйтесь
Для начала напишите в
Для начала напишите в багзиллу.
Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)
Багзилла,- с английским у
Багзилла,- с английским у меня не очень, читать ещё туда-сюда, а вот писать совсем плохо.
Короче, как я раньше не заметил, этот патч накладывается два раза(в логе это видно). Если у кого собрался удачно, сравните логи, есть подозрение, что это происходит с обновленными версиями чего-то из portage, portage-utils, sandbox(может быть).
У меня собрался. Попробуйте
У меня собрался. Попробуйте синхронизироваться для начала. portage последний из ветки 2.2
Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.