Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2017 12:09:36 +0100
From:      Mike Clarke <jmc-freebsd2@milibyte.co.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to fix wx error ?
Message-ID:  <20170707120936.620323e3@curlew>
In-Reply-To: <CALeGphw2SnHkTUO%2BcOL5Crbky5B5VAkfTBTBsQ9skgUXQkt2%2Bw@mail.gmail.com>
References:  <VI1PR02MB1200F5F65747DBEA86A896DEF6D40@VI1PR02MB1200.eurprd02.prod.outlook.com> <CALeGphxi05MqBK5wnEaQtxVJN%2BqUEWD5vfE1OJuuaMhh%2Bk6e5g@mail.gmail.com> <VI1PR02MB1200913A24FC7C312FB08BD9F6D50@VI1PR02MB1200.eurprd02.prod.outlook.com> <CALeGphw2SnHkTUO%2BcOL5Crbky5B5VAkfTBTBsQ9skgUXQkt2%2Bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 6 Jul 2017 22:05:32 -0700
"Jack L." <xxjack12xx@gmail.com> wrote:

> Looks like you applied the wrong patch
>=20
> https://bz-attachments.freebsd.org/attachment.cgi?id=3D183724
>=20
> is the one that should fix the issue.

I'm struggling with this one too. applying the patch results in many of
the patch-* files being replaced with empty files. Make then fails
with:

=3D=3D=3D>  Applying FreeBSD patches for audacity-2.1.3
  I can't seem to find a patch in there anywhere.
=3D> FreeBSD patch patch-Makefile.am failed to apply cleanly.
*** Error code 1

What am I doing wrong?

Here's the full log of what I did:

---------------------------------------------------------------------------=
------------------------

Script started on Fri Jul  7 11:37:10 2017

curlew:/tmp/fixit# cp -r /usr/ports/audio/audacity .

curlew:/tmp/fixit# fetch -o patchit "https://bz-attachments.freebsd.org/att=
achme =08nt.cgi?id=3D183724"

fetch: https://bz-attachments.freebsd.org/attachment.cgi?id=3D183724: size =
of remote file is not known

patchit                                                  0  B    0  Bps
patchit                                                 14 kB   42 kBps
patchit                                                 14 kB   42 kBps 00m=
01s
curlew:/tmp/fixit# patch < patchit

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/Makefile audacity-new/Makefile
|--- audacity/Makefile	2017-06-22 16:44:06.694560000 -0700
|+++ audacity-new/Makefile	2017-06-22 18:19:03.372580000 -0700
--------------------------
Patching file audacity/Makefile using Plan A...
Hunk #1 succeeded at 22.
Hunk #2 succeeded at 36.
Hunk #3 succeeded at 49.
Hunk #4 succeeded at 59.
Hunk #5 succeeded at 118.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-Makefile.am audacity-new/files/patch-Makefi=
le.am
|--- audacity/files/patch-Makefile.am	2017-06-22 16:09:36.654125000 -0700
|+++ audacity-new/files/patch-Makefile.am	1969-12-31 16:00:00.000000000 -08=
00
--------------------------
Patching file audacity/files/patch-Makefile.am using Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-configure.ac audacity-new/files/patch-confi=
gure.ac
|--- audacity/files/patch-configure.ac	2017-06-22 16:09:36.505415000 -0700
|+++ audacity-new/files/patch-configure.ac	2017-06-21 19:34:42.080951000 -0=
700
--------------------------
Patching file audacity/files/patch-configure.ac using Plan A...
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-include_Makefile.am audacity-new/files/patc=
h-include_Makefile.am
|--- audacity/files/patch-include_Makefile.am	2017-06-22 16:09:36.669535000=
 -0700
|+++ audacity-new/files/patch-include_Makefile.am	1969-12-31 16:00:00.00000=
0000 -0800
--------------------------
Patching file audacity/files/patch-include_Makefile.am using Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-include_audacity_Types.h audacity-new/files=
/patch-include_audacity_Types.h
|--- audacity/files/patch-include_audacity_Types.h	1969-12-31 16:00:00.0000=
00000 -0800
|+++ audacity-new/files/patch-include_audacity_Types.h	2017-06-19 15:56:30.=
856183000 -0700
--------------------------
(Creating file patch-include_audacity_Types.h...)
Patching file patch-include_audacity_Types.h using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-lib-src_libnyquist_Makefile.am audacity-new=
/files/patch-lib-src_libnyquist_Makefile.am
|--- audacity/files/patch-lib-src_libnyquist_Makefile.am	2017-06-22 16:09:3=
6.613912000 -0700
|+++ audacity-new/files/patch-lib-src_libnyquist_Makefile.am	1969-12-31 16:=
00:00.000000000 -0800
--------------------------
Patching file audacity/files/patch-lib-src_libnyquist_Makefile.am using Pla=
n A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-lib-src_libnyquist_configure.ac audacity-ne=
w/files/patch-lib-src_libnyquist_configure.ac
|--- audacity/files/patch-lib-src_libnyquist_configure.ac	2017-06-22 16:09:=
36.288186000 -0700
|+++ audacity-new/files/patch-lib-src_libnyquist_configure.ac	1969-12-31 16=
:00:00.000000000 -0800
--------------------------
Patching file audacity/files/patch-lib-src_libnyquist_configure.ac using Pl=
an A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-lib-src_portaudio-v19_bindings_cpp_configur=
e.ac audacity-new/files/patch-lib-src_portaudio-v19_bindings_cpp_configure.=
ac
|--- audacity/files/patch-lib-src_portaudio-v19_bindings_cpp_configure.ac	2=
017-06-22 16:09:36.248092000 -0700
|+++ audacity-new/files/patch-lib-src_portaudio-v19_bindings_cpp_configure.=
ac	1969-12-31 16:00:00.000000000 -0800
--------------------------
Patching file audacity/files/patch-lib-src_portaudio-v19_bindings_cpp_confi=
gure.ac using Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-lib-src_portmixer_include_portmixer.h audac=
ity-new/files/patch-lib-src_portmixer_include_portmixer.h
|--- audacity/files/patch-lib-src_portmixer_include_portmixer.h	2017-06-22 =
16:09:36.570537000 -0700
|+++ audacity-new/files/patch-lib-src_portmixer_include_portmixer.h	1969-12=
-31 16:00:00.000000000 -0800
--------------------------
Patching file audacity/files/patch-lib-src_portmixer_include_portmixer.h us=
ing Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-lib-src_soundtouch_source_SoundTouch_Makefi=
le.am audacity-new/files/patch-lib-src_soundtouch_source_SoundTouch_Makefil=
e.am
|--- audacity/files/patch-lib-src_soundtouch_source_SoundTouch_Makefile.am	=
2017-06-22 16:09:36.020905000 -0700
|+++ audacity-new/files/patch-lib-src_soundtouch_source_SoundTouch_Makefile=
.am	1969-12-31 16:00:00.000000000 -0800
--------------------------
Patching file audacity/files/patch-lib-src_soundtouch_source_SoundTouch_Mak=
efile.am using Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-m4_audacity__checklib__libsndfile.m4 audaci=
ty-new/files/patch-m4_audacity__checklib__libsndfile.m4
|--- audacity/files/patch-m4_audacity__checklib__libsndfile.m4	2017-06-22 1=
6:09:36.194363000 -0700
|+++ audacity-new/files/patch-m4_audacity__checklib__libsndfile.m4	1969-12-=
31 16:00:00.000000000 -0800
--------------------------
Patching file audacity/files/patch-m4_audacity__checklib__libsndfile.m4 usi=
ng Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-src_Audacity.h audacity-new/files/patch-src=
_Audacity.h
|--- audacity/files/patch-src_Audacity.h	1969-12-31 16:00:00.000000000 -0800
|+++ audacity-new/files/patch-src_Audacity.h	2017-06-19 15:56:30.856329000 =
-0700
--------------------------
(Creating file patch-src_Audacity.h...)
Patching file patch-src_Audacity.h using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-src_AudioIO.h audacity-new/files/patch-src_=
AudioIO.h
|--- audacity/files/patch-src_AudioIO.h	2017-06-22 16:09:35.915493000 -0700
|+++ audacity-new/files/patch-src_AudioIO.h	1969-12-31 16:00:00.000000000 -=
0800
--------------------------
Patching file audacity/files/patch-src_AudioIO.h using Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-src_DeviceManager.cpp audacity-new/files/pa=
tch-src_DeviceManager.cpp
|--- audacity/files/patch-src_DeviceManager.cpp	2017-06-22 16:09:36.8092500=
00 -0700
|+++ audacity-new/files/patch-src_DeviceManager.cpp	1969-12-31 16:00:00.000=
000000 -0800
--------------------------
Patching file audacity/files/patch-src_DeviceManager.cpp using Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/files/patch-src_prefs_DevicePrefs.cpp audacity-new/file=
s/patch-src_prefs_DevicePrefs.cpp
|--- audacity/files/patch-src_prefs_DevicePrefs.cpp	2017-06-22 16:09:35.933=
438000 -0700
|+++ audacity-new/files/patch-src_prefs_DevicePrefs.cpp	1969-12-31 16:00:00=
.000000000 -0800
--------------------------
Patching file audacity/files/patch-src_prefs_DevicePrefs.cpp using Plan A...
Hunk #1 succeeded at 0.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -urN audacity/pkg-plist audacity-new/pkg-plist
|--- audacity/pkg-plist	2017-06-22 16:09:36.920198000 -0700
|+++ audacity-new/pkg-plist	2017-06-21 20:04:10.340325000 -0700
--------------------------
Patching file audacity/pkg-plist using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 80.
done
curlew:/tmp/fixit# ls -l audacity/files

total 132
-rw-r--r--  1 root  wheel   816  7 Jul 11:44 patch-configure.ac
-rw-r--r--  1 root  wheel   500  7 Jul 11:38 patch-configure.ac.orig
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-include_Makefile.am
-rw-r--r--  1 root  wheel   655  7 Jul 11:38 patch-include_Makefile.am.orig
-rw-r--r--  1 root  wheel   335  7 Jul 11:38 patch-lib-src_FileDialog_confi=
gure.ac
-rw-r--r--  1 root  wheel   426  7 Jul 11:38 patch-lib-src_FileDialog_gtk_M=
akefile.am
-rw-r--r--  1 root  wheel   391  7 Jul 11:38 patch-lib-src_FileDialog_mac_M=
akefile.am
-rw-r--r--  1 root  wheel  1347  7 Jul 11:38 patch-lib-src_FileDialog_Makef=
ile.am
-rw-r--r--  1 root  wheel   392  7 Jul 11:38 patch-lib-src_FileDialog_win_M=
akefile.am
-rw-r--r--  1 root  wheel  1582  7 Jul 11:38 patch-lib-src_libmad_configure=
.ac
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-lib-src_libnyquist_confi=
gure.ac
-rw-r--r--  1 root  wheel   264  7 Jul 11:38 patch-lib-src_libnyquist_confi=
gure.ac.orig
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-lib-src_libnyquist_Makef=
ile.am
-rw-r--r--  1 root  wheel   436  7 Jul 11:38 patch-lib-src_libnyquist_Makef=
ile.am.orig
-rw-r--r--  1 root  wheel   290  7 Jul 11:38 patch-lib-src_libnyquist_nyqui=
st_cmt_cext.h
-rw-r--r--  1 root  wheel   245  7 Jul 11:38 patch-lib-src_libnyquist_nyqui=
st_nyqstk_include_FileRead.h
-rw-r--r--  1 root  wheel   383  7 Jul 11:38 patch-lib-src_libnyquist_nyqui=
st_xlisp_xlisp.h
-rw-r--r--  1 root  wheel   303  7 Jul 11:38 patch-lib-src_lv2_configure
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-lib-src_portaudio-v19_bi=
ndings_cpp_configure.ac
-rw-r--r--  1 root  wheel   381  7 Jul 11:38 patch-lib-src_portaudio-v19_bi=
ndings_cpp_configure.ac.orig
-rw-r--r--  1 root  wheel  1172  7 Jul 11:38 patch-lib-src_portmixer_config=
ure.ac
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-lib-src_portmixer_includ=
e_portmixer.h
-rw-r--r--  1 root  wheel   256  7 Jul 11:38 patch-lib-src_portmixer_includ=
e_portmixer.h.orig
-rw-r--r--  1 root  wheel   260  7 Jul 11:38 patch-lib-src_portmixer_src_px=
__linux__alsa.c
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-lib-src_soundtouch_sourc=
e_SoundTouch_Makefile.am
-rw-r--r--  1 root  wheel   418  7 Jul 11:38 patch-lib-src_soundtouch_sourc=
e_SoundTouch_Makefile.am.orig
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-m4_audacity__checklib__l=
ibsndfile.m4
-rw-r--r--  1 root  wheel   388  7 Jul 11:38 patch-m4_audacity__checklib__l=
ibsndfile.m4.orig
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-Makefile.am
-rw-r--r--  1 root  wheel   752  7 Jul 11:38 patch-Makefile.am.orig
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-src_AudioIO.h
-rw-r--r--  1 root  wheel   280  7 Jul 11:38 patch-src_AudioIO.h.orig
-rw-r--r--  1 root  wheel   541  7 Jul 11:38 patch-src_BatchCommands.cpp
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-src_DeviceManager.cpp
-rw-r--r--  1 root  wheel   305  7 Jul 11:38 patch-src_DeviceManager.cpp.or=
ig
-rw-r--r--  1 root  wheel   857  7 Jul 11:38 patch-src_FFmpeg.h
-rw-r--r--  1 root  wheel   420  7 Jul 11:38 patch-src_Makefile.am
-rw-r--r--  1 root  wheel     0  7 Jul 11:44 patch-src_prefs_DevicePrefs.cpp
-rw-r--r--  1 root  wheel   305  7 Jul 11:38 patch-src_prefs_DevicePrefs.cp=
p.orig
curlew:/tmp/fixit# cd audacity

curlew:/tmp/fixit/audacity# make

=3D=3D=3D>  License GPLv2+ accepted by the user
=3D=3D=3D>   audacity-2.1.3 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by audacity-2.1.3 for building
=3D=3D=3D>  Extracting for audacity-2.1.3
=3D> SHA256 Checksum OK for audacity-audacity-Audacity-2.1.3_GH0.tar.gz.
=3D=3D=3D>  Patching for audacity-2.1.3
=3D=3D=3D>   Converting DOS text files to UNIX text files
=3D=3D=3D>  Applying FreeBSD patches for audacity-2.1.3
  I can't seem to find a patch in there anywhere.
=3D> FreeBSD patch patch-Makefile.am failed to apply cleanly.
*** Error code 1

Stop.
make[1]: stopped in /tmp/fixit/audacity
*** Error code 1

Stop.
make: stopped in /tmp/fixit/audacity
curlew:/tmp/fixit/audacity# ^D=08=08exit

Script done on Fri Jul  7 11:46:26 2017

--=20
Mike Clarke



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170707120936.620323e3>