[Gentoo] pb avec patch

Added by Pierre x over 9 years ago

Bonjour,

Je ne parviens pas à installer AMC 1.2.1-r1 avec l'ebuild fourni dans le Wiki.
J'ai l'erreur suivante :

  • Messages for package app-office/auto-multiple-choice-1.2.1-r1:
  • Package: app-office/auto-multiple-choice-1.2.1-r1
  • Repository: x-portage
  • USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
  • FEATURES: preserve-libs sandbox userpriv usersandbox
  • Applying auto-multiple-choice-1.2-desktop.patch ...
  • Failed Patch: auto-multiple-choice-1.2-desktop.patch !
  • ( /usr/local/portage/app-office/auto-multiple-choice/files/auto-multiple-choice-1.2-desktop.patch )
  • Include in your bugreport the contents of:
  • /var/tmp/portage/app-office/auto-multiple-choice-1.2.1-r1/temp/auto-multiple-choice-1.2-desktop.patch.out
  • ERROR: app-office/auto-multiple-choice-1.2.1-r1::x-portage failed (prepare phase):
  • Failed Patch: auto-multiple-choice-1.2-desktop.patch!
  • Call stack:
  • ebuild.sh, line 93: Called src_prepare
  • environment, line 1967: Called epatch '/usr/local/portage/app-office/auto-multiple-choice/files/auto-multiple-choice-1.2-desktop.patch'
  • environment, line 754: Called die
  • The specific snippet of code:
  • die "Failed Patch: ${patchname}!";
  • If you need support, post the output of `emerge --info '=app-office/auto-multiple-choice-1.2.1-r1::x-portage'`,
  • the complete build log and the output of `emerge -pqv '=app-office/auto-multiple-choice-1.2.1-r1::x-portage'`.
  • The complete build log is located at '/var/log/portage/app-office:auto-multiple-choice-1.2.1-r1:20150706-093203.log'.
  • For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/auto-multiple-choice-1.2.1-r1/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/app-office/auto-multiple-choice-1.2.1-r1/temp/environment'.
  • Working directory: '/var/tmp/portage/app-office/auto-multiple-choice-1.2.1-r1/work/auto-multiple-choice-1.2.1'
  • S: '/var/tmp/portage/app-office/auto-multiple-choice-1.2.1-r1/work/auto-multiple-choice-1.2.1'

Voici ce que contient /var/tmp/portage/app-office/auto-multiple-choice-1.2.1-r1/temp/auto-multiple-choice-1.2-desktop.patch.out

  • auto-multiple-choice-1.2-desktop.patch ***
    PWD: /var/tmp/portage/app-office/auto-multiple-choice-1.2.1-r1/work/auto-multiple-choice-1.2.1
    PATCH TOOL: patch -> /usr/bin/patch
    VERSION INFO:
    GNU patch 2.7.5
    Copyright (C) 2003, 2009-2012 Free Software Foundation, Inc.
    Copyright (C) 1988 Larry Wall

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Larry Wall and Paul Eggert

==================================================

PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/app-office/auto-multiple-choice/
files/auto-multiple-choice-1.2-desktop.patch'

==================================================
patch: ** Only garbage was found in the patch input.

patch program exited with status 2 ==================================================

PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/app-office/auto-multiple-choice/
files/auto-multiple-choice-1.2-desktop.patch'

==================================================
patch: ** Only garbage was found in the patch input.

patch program exited with status 2 ==================================================

PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/app-office/auto-multiple-choice/
files/auto-multiple-choice-1.2-desktop.patch'

==================================================
patch: ** Only garbage was found in the patch input.

patch program exited with status 2 ==================================================

PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/app-office/auto-multiple-choice/
files/auto-multiple-choice-1.2-desktop.patch'

==================================================
patch: ** Only garbage was found in the patch input.

patch program exited with status 2 ==================================================

PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < '/usr/local/portage/app-office/auto-multiple-choice/
files/auto-multiple-choice-1.2-desktop.patch'

==================================================
patch: ** Only garbage was found in the patch input.

patch program exited with status 2

Le fichier existe, est lisible et contient du code :

  1. ls
    total 36K
    drwxr-xr-x 2 root root 4,0K 6 juil. 10:51 .
    drwxr-xr-x 3 root root 4,0K 6 juil. 10:53 ..
    rw-r--r- 1 portage portage 12K 6 juil. 10:50 auto-multiple-choice-1.2-desktop.patch
    rw-r--r- 1 portage portage 16K 6 juil. 10:50 auto-multiple-choice-1.2-makefiles.patch