View previous topic :: View next topic |
Author |
Message |
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
Posted: Sat Sep 27, 2014 7:44 pm Post subject: dwm patching fail |
|
|
I was trying to patch dwm with the dualstatus patch --> http://dwm.suckless.org/patches/dualstatus
I did what it was told on the wiki via /etc/portage/patches/x11-wm/dwm/ --> http://wiki.gentoo.org/wiki/Dwm#patches_in_.2Fetc.2Fportage.2Fpatches.2Fcategory.2Fapplication
I changed the name to 01-dwm-6.0-dualstatus.patch and re-emerged dwm Code: | Calculating dependencies . .... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-wm/dwm-6.0
* dwm-6.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking dwm-6.0.tar.gz to /var/tmp/portage/x11-wm/dwm-6.0/work
>>> Source unpacked in /var/tmp/portage/x11-wm/dwm-6.0/work
>>> Preparing source in /var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0 ...
* Checking existence of //etc/portage/savedconfig//x11-wm/dwm-6.0 ...
* found //etc/portage/savedconfig//x11-wm/dwm-6.0
* Building using saved configfile //etc/portage/savedconfig//x11-wm/dwm-6.0
* Applying user patches from /etc/portage/patches//x11-wm/dwm ...
* 01-dwm-6.0-dualstatus.patch ...
egrep: /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch: Permission denied
egrep: /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 645: /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 645: /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 645: /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 645: /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 645: /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch: Permission denied
* Failed Patch: 01-dwm-6.0-dualstatus.patch !
* ( /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/x11-wm/dwm-6.0/temp/01-dwm-6.0-dualstatus.patch.out
* ERROR: x11-wm/dwm-6.0::gentoo failed (prepare phase):
* Failed Patch: 01-dwm-6.0-dualstatus.patch!
*
* Call stack:
* ebuild.sh, line 93: Called src_prepare
* environment, line 2052: Called epatch_user
* environment, line 710: Called epatch
* environment, line 683: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
*
* If you need support, post the output of `emerge --info '=x11-wm/dwm-6.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-wm/dwm-6.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-wm/dwm-6.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/dwm-6.0/temp/environment'.
* Working directory: '/var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0'
* S: '/var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0'
>>> Failed to emerge x11-wm/dwm-6.0, Log file:
>>> '/var/tmp/portage/x11-wm/dwm-6.0/temp/build.log'
* Messages for package x11-wm/dwm-6.0:
* Building using saved configfile //etc/portage/savedconfig//x11-wm/dwm-6.0
* Failed Patch: 01-dwm-6.0-dualstatus.patch !
* ( /etc/portage/patches//x11-wm/dwm/01-dwm-6.0-dualstatus.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/x11-wm/dwm-6.0/temp/01-dwm-6.0-dualstatus.patch.out
* ERROR: x11-wm/dwm-6.0::gentoo failed (prepare phase):
* Failed Patch: 01-dwm-6.0-dualstatus.patch!
*
* Call stack:
* ebuild.sh, line 93: Called src_prepare
* environment, line 2052: Called epatch_user
* environment, line 710: Called epatch
* environment, line 683: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
*
* If you need support, post the output of `emerge --info '=x11-wm/dwm-6.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-wm/dwm-6.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-wm/dwm-6.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/dwm-6.0/temp/environment'.
* Working directory: '/var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0'
* S: '/var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0' |
|
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sat Sep 27, 2014 8:11 pm Post subject: |
|
|
I think it's the diff --git lines, not sure; I'd ask in #gentoo-dev-help on IRC: chat.freenode.net for ebuild (and patch format) help, and ##workingset for help on the underlying tools used. |
|
Back to top |
|
|
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
Posted: Sun Sep 28, 2014 2:10 am Post subject: |
|
|
steveL wrote: | I think it's the diff --git lines, not sure; I'd ask in #gentoo-dev-help on IRC: chat.freenode.net for ebuild (and patch format) help, and ##workingset for help on the underlying tools used. |
diff --git lines? |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Sun Sep 28, 2014 4:51 pm Post subject: |
|
|
In your diff, there's a line saying diff --git and one more trailer after it, prior to each file diff, which I don't recall from most patches. Could be wrong (in that it doesn't affect anything), which is why I said ask for help on IRC. |
|
Back to top |
|
|
ShanaXXII Apprentice
Joined: 29 Jun 2014 Posts: 283 Location: Canada
|
Posted: Mon Oct 13, 2014 6:20 pm Post subject: |
|
|
steveL wrote: | In your diff, there's a line saying diff --git and one more trailer after it, prior to each file diff, which I don't recall from most patches. Could be wrong (in that it doesn't affect anything), which is why I said ask for help on IRC. |
I got my hands on a .patch file ---> http://dwm.suckless.org/patches/fancybar
But when I copied it over to /etc/portage/patches/x11-wm/dwm/
and emerged dwm it gave me this error: Code: | Calculating dependencies .... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-wm/dwm-6.0
* dwm-6.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking dwm-6.0.tar.gz to /var/tmp/portage/x11-wm/dwm-6.0/work
>>> Source unpacked in /var/tmp/portage/x11-wm/dwm-6.0/work
>>> Preparing source in /var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0 ...
* Checking existence of //etc/portage/savedconfig//x11-wm/dwm-6.0 ...
* found //etc/portage/savedconfig//x11-wm/dwm-6.0
* Building using saved configfile //etc/portage/savedconfig//x11-wm/dwm-6.0
* Applying user patches from /etc/portage/patches//x11-wm/dwm ...
* fancybar-c794a9f5ae5e.patch ...
egrep: /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch: Permission denied
egrep: /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 647: /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 647: /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 647: /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 647: /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch: Permission denied
/var/tmp/portage/x11-wm/dwm-6.0/temp/environment: line 647: /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch: Permission denied
* Failed Patch: fancybar-c794a9f5ae5e.patch !
* ( /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/x11-wm/dwm-6.0/temp/fancybar-c794a9f5ae5e.patch.out
* ERROR: x11-wm/dwm-6.0::gentoo failed (prepare phase):
* Failed Patch: fancybar-c794a9f5ae5e.patch!
*
* Call stack:
* ebuild.sh, line 93: Called src_prepare
* environment, line 2054: Called epatch_user
* environment, line 712: Called epatch
* environment, line 685: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
*
* If you need support, post the output of `emerge --info '=x11-wm/dwm-6.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-wm/dwm-6.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-wm/dwm-6.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/dwm-6.0/temp/environment'.
* Working directory: '/var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0'
* S: '/var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0'
>>> Failed to emerge x11-wm/dwm-6.0, Log file:
>>> '/var/tmp/portage/x11-wm/dwm-6.0/temp/build.log'
* Messages for package x11-wm/dwm-6.0:
* Building using saved configfile //etc/portage/savedconfig//x11-wm/dwm-6.0
* Failed Patch: fancybar-c794a9f5ae5e.patch !
* ( /etc/portage/patches//x11-wm/dwm/fancybar-c794a9f5ae5e.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/x11-wm/dwm-6.0/temp/fancybar-c794a9f5ae5e.patch.out
* ERROR: x11-wm/dwm-6.0::gentoo failed (prepare phase):
* Failed Patch: fancybar-c794a9f5ae5e.patch!
*
* Call stack:
* ebuild.sh, line 93: Called src_prepare
* environment, line 2054: Called epatch_user
* environment, line 712: Called epatch
* environment, line 685: Called die
* The specific snippet of code:
* die "Failed Patch: ${patchname}!";
*
* If you need support, post the output of `emerge --info '=x11-wm/dwm-6.0::gentoo'`,
* the complete build log and the output of `emerge -pqv '=x11-wm/dwm-6.0::gentoo'`.
* The complete build log is located at '/var/tmp/portage/x11-wm/dwm-6.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-wm/dwm-6.0/temp/environment'.
* Working directory: '/var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0'
* S: '/var/tmp/portage/x11-wm/dwm-6.0/work/dwm-6.0'
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|