Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 May 2015 18:47:41 -0500
From:      Brandon Wandersee <brandon.wandersee@zoho.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Can not make install misc/freebsd-doc-en : No file to patch error
Message-ID:  <20150508234741.GA10848@WorkBox.Home>
In-Reply-To: <CAJ9BSW9XCgcpnkmJSyixddfzm5sCPAN3rgtHR_eD9Z1%2B7o7t4Q@mail.gmail.com>
References:  <CAJ9BSW8TN=GJm-ALOiKtU0O9fBqbVZopgJnLeZ9XZ88FvfwsfQ@mail.gmail.com> <20150508152349.GA11528@shellx.eskimo.com> <CAJ9BSW9ZpezepAegkjUVj3H=f53UtiONRn9aHBUv=jp1DDZcGw@mail.gmail.com> <CAJ9BSW9XCgcpnkmJSyixddfzm5sCPAN3rgtHR_eD9Z1%2B7o7t4Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/08, Avinash Sonawane wrote:
> On Fri, May 8, 2015 at 9:01 PM, Avinash Sonawane <rootkea@gmail.com> wrote:
> > On Fri, May 8, 2015 at 8:53 PM, Joseph Olatt <joji@shellx.eskimo.com> wrote:
> >> On Fri, May 08, 2015 at 08:38:35PM +0530, Avinash Sonawane wrote:
> >>> Hello everyone!
> >>>
> >>> # uname -a
> >>> FreeBSD titanic.rootkea.me 10.1-RELEASE FreeBSD 10.1-RELEASE #0
> >>> r274401: Tue Nov 11 21:02:49 UTC 2014
> >>> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> >>>
> >>> Whenever I say make install in /misc/freebsd-doc-en the install fails saying
> >>> "No file to patch.  Skipping...
> >>> 6 out of 6 hunks ignored--saving rejects to configure.rej"
> >>
> >> In the past, whenever I encounter issues like this, I remove the
> >> offending directory and then run svnlite update. It will repopulate the
> >> removed directory with all the required files.
> >>
> >>  (1) cd /usr/ports
> >>  (2) rm -rf misc/freebsd-doc-en
> >>  (3) svnlite update
> >>  (4) cd misc/freebsd-doc-en
> >>  (5) make install clean
> >>
> >> Give it a shot. It might work for you.
> >
> > Ok. I'll try svnlite. But I am facing the same issue on x11/gnome3 too
> > as it also depends on qt4.
> > So will this solve x11/gnome3 issue too or do I have to rm and svnlite
> > x11/gnome3 as well?
> 
> I am going to try svnlite on /usr/ports/net/qt4-network the offending port.

*Stop right there.* You shouldn't just update individual ports every time you
run into a problem, and you shouldn't mix ports trees fetched via Subversion and
Portsnap (it's unclear if that's what you're doing, but I mention it just in
case). If you're having trouble with one port after another you should just
delete your existing ports tree and start with a fresh ports tree using one
method or the other, either

`svnlite co https://svn0.<Subversion ports mirror>.freebsd.org /usr/ ports`

or

`portsnap fetch && portsnap extract`

Then try installing the ports you need. devel/qt4 would be the 5th or 6th port
you've been unable to build today, suggesting the problem goes beyond individual
ports.

-- 
"A common mistake that people make when trying to design something completely
foolproof is to underestimate the ingenuity of complete fools." - Douglas Adams




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