Can not make install misc/freebsd-doc-en : No file to patch error

Avinash Sonawane rootkea at gmail.com
Sat May 9 05:58:28 UTC 2015


On Sat, May 9, 2015 at 5:17 AM, Brandon Wandersee
<brandon.wandersee at zoho.com> wrote:
> On 05/08, Avinash Sonawane wrote:
>> On Fri, May 8, 2015 at 9:01 PM, Avinash Sonawane <rootkea at gmail.com> wrote:
>> > On Fri, May 8, 2015 at 8:53 PM, Joseph Olatt <joji at 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 at 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.

svnlite update didn't work. I rebuild the ports tree using portsnap
fetch extract.

>
> *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`

portsnap did the job! Looks like I was using old ports tree.

>
> 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
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



-- 
Avinash Sonawane (RootKea)
PICT, Pune
http://rootkea.wordpress.com


More information about the freebsd-questions mailing list