problem to compile lang/gcc

Fleuriot Damien ml at my.gd
Mon Jan 7 13:17:57 UTC 2013


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.



More information about the freebsd-questions mailing list