problem to compile lang/gcc

Xavier xavierfreebsdquestions at gmail.com
Thu Jan 10 09:55:39 UTC 2013


On Mon, Jan 07, 2013 at 02:17:46PM +0100, Fleuriot Damien wrote:

Hi Fleuriot,

>
> On Jan 7, 2013, at 2:15 PM, Xavier <xavierfreebsdquestions at gmail.com> wrote:
>
> > Hi to all,
> >
> > I try compile lang/gcc port but it stopped with required 'file to patch':
> >
> > root at casa:/usr/ports/lang/gcc # make
> > Making GCC 4.6.3 for i386-portbld-freebsd9.1 [c,c++,objc,fortran,java]
> > ===>  Found saved configuration for gcc-4.6.3
> > ===>  Extracting for gcc-4.6.3
> > => SHA256 Checksum OK for gcc-4.6.3.tar.bz2.
> > => SHA256 Checksum OK for ecj-4.5.jar.
> > ===>   gcc-4.6.3 depends on file: /usr/local/bin/perl5.14.2 - found
> > ===>  Patching for gcc-4.6.3
> > ===>   gcc-4.6.3 depends on file: /usr/local/bin/perl5.14.2 - found
> > ===>  Applying extra patch /usr/ports/lang/gcc/files/java-patch-hier
> > File to patch:
> > No file found--skip this patch? [n]
> > File to patch:
> > No file found--skip this patch? [n] y
> > 1 out of 1 hunks ignored--saving rejects to libjava/Makefile.in.rej
> > Can't create libjava/Makefile.in.rej, output is in /tmp//patchr1fhKR5: No such f
> > ile or directory
> > *** [do-patch] Error code 1
> >
> > Stop in /usr/ports/lang/gcc.
> > *** [build] Error code 1
> >
> > Stop in /usr/ports/lang/gcc.
> > root at casa:/usr/ports/lang/gcc #
> >
> > In this case, what to do for continue ?
> >
> > Thanks.
>
>
> First of all, ensure that your ports tree is up to date.
>

My default port tree on current installation of FreeBSD is the default
IMG image of 9.1-RELEASE.

I update port tree and work fine.

Thanks.


More information about the freebsd-questions mailing list