From owner-freebsd-questions@freebsd.org Fri Jul 7 11:27:22 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DDC84DA0AFA for ; Fri, 7 Jul 2017 11:27:22 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from queue01b.mail.zen.net.uk (queue01b.mail.zen.net.uk [212.23.3.242]) by mx1.freebsd.org (Postfix) with ESMTP id 6832E76720 for ; Fri, 7 Jul 2017 11:27:21 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [212.23.1.5] (helo=smarthost01c.mail.zen.net.uk) by queue01b.mail.zen.net.uk with esmtp (Exim 4.72) (envelope-from ) id 1dTR7d-0000C7-ID for freebsd-questions@freebsd.org; Fri, 07 Jul 2017 11:08:29 +0000 Received: from [82.71.56.121] (helo=curlew.milibyte.co.uk) by smarthost01c.mail.zen.net.uk with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1dTR7X-00040h-5J for freebsd-questions@freebsd.org; Fri, 07 Jul 2017 11:08:23 +0000 Received: from [192.168.1.13] (helo=curlew) by curlew.milibyte.co.uk with esmtp (Exim 4.89) (envelope-from ) id 1dTR8i-0000jd-G1 for freebsd-questions@freebsd.org; Fri, 07 Jul 2017 12:09:40 +0100 Date: Fri, 7 Jul 2017 12:09:36 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Message-ID: <20170707120936.620323e3@curlew> In-Reply-To: References: X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd11.0) MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 Subject: Re: How to fix wx error ? Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-Originating-smarthost01c-IP: [82.71.56.121] Feedback-ID: 82.71.56.121 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jul 2017 11:27:23 -0000 On Thu, 6 Jul 2017 22:05:32 -0700 "Jack L." 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