Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Error with do_patch when patch already applied
@ 2021-11-05 15:31 foopub
  2021-11-05 15:43 ` foopub
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: foopub @ 2021-11-05 15:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]

New issue by foopub on void-packages repository

https://github.com/void-linux/void-packages/issues/33915

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  

Void 5.14.16_1 x86_64 AuthenticAMD uptodate hold rrFFF

* package:  

firefox, probably others too

```
=> firefox-94.0_1: verifying checksum for distfile 'firefox-94.0.source.tar.xz'... OK.
=> firefox-94.0_1: running do-extract hook: 00-distfiles ...
=> firefox-94.0_1: extracting distfile(s), please wait...
=> firefox-94.0_1: running post_extract ...
=> firefox-94.0_1: running do-patch hook: 00-patches ...
=> firefox-94.0_1: patching: avoid-redefinition.patch.
=> firefox-94.0_1: patching: big-endian-image-decoders.patch.
=> firefox-94.0_1: patching: fix-arm-opus-include.patch.
=> firefox-94.0_1: patching: fix-desktop-icon-path.patch.
=> firefox-94.0_1: patching: fix-i386-fdlibm.patch.
=> firefox-94.0_1: patching: fix-i686-ppc-musl.patch.
1 out of 1 hunk FAILED -- saving rejects to file mozglue/misc/StackWalk.cpp.rej
=> ERROR: firefox-94.0_1: do-patch_00-patches: 'patch -s ${_args} -i ${_patch} 2> /dev/null' exited with 1
=> ERROR:   in _process_patch() at common/hooks/do-patch/00-patches.sh:34
=> ERROR:   in hook() at common/hooks/do-patch/00-patches.sh:51
=> ERROR:   in run_func() at common/xbps-src/shutils/common.sh:21
=> ERROR:   in run_pkg_hooks() at common/xbps-src/shutils/common.sh:245
=> ERROR:   in run_step() at common/xbps-src/shutils/common.sh:71
=> ERROR:   in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33
```
I guess the patch was merged upstream. Underlying issue is that patch exits with 1 despite the -N option:
```
# patch -s -N -p1 -i srcpkgs/firefox/patches/avoid-redefinition.patch masterdir/builddir/firefox-94.0/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c

Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file masterdir/builddir/firefox-94.0/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c.rej

# echo $?

1
```



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-05 17:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-05 15:31 [ISSUE] Error with do_patch when patch already applied foopub
2021-11-05 15:43 ` foopub
2021-11-05 15:52 ` foopub
2021-11-05 16:13 ` foopub
2021-11-05 17:49 ` [ISSUE] [CLOSED] " q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).