Date: 06 Jan 2008 22:10:52 +0100 From: vermaden <vermaden@interia.pl> To: Kris Kennaway <kris@FreeBSD.org> Cc: freebsd-ports-bugs@freebsd.org Subject: Re: ports/119388: ports that require gcc 34 instead of gcc42 Message-ID: <20080106211052.D2122CF085@f21.poczta.interia.pl>
next in thread | raw e-mail | index | archive | help
> vermaden wrote: > >> qemu does force the gcc34 dependency, that is exactly what the=20 > >> USE_GCC=3D3.4 line does. > >> > >> Kris > >=20 > > # cd /usr/ports/emulators/qemu-devel > > # make install clean > > =3D=3D=3D> Vulnerability check disabled, database not found > > =3D=3D=3D> Found saved configuration for qemu-devel-0.9.0s.20070802 > > =3D=3D=3D> Extracting for qemu-devel-0.9.0s.20070802_1 > > =3D> MD5 Checksum OK for qemu/qemu-snapshot-2007-08-02_05.tar.bz2. > > =3D> SHA256 Checksum OK for qemu/qemu-snapshot-2007-08-02_05.tar.bz2. > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on file: > /usr/local/bin/perl5.8.8 - found > > =3D=3D=3D> Patching for qemu-devel-0.9.0s.20070802_1 > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on file: > /usr/local/bin/perl5.8.8 - found > > =3D=3D=3D> Applying FreeBSD patches for qemu-devel-0.9.0s.20070802_1 > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on package: > kqemu-kmod>=3D1.3.0pre5 - found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on executable: texi2h= tml - > found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on executable: gmake = - > found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on executable: gcc34 = - > found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on file: > /usr/local/bin/sdl-config - found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on file: > /usr/local/bin/perl5.8.8 - found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on shared library: SD= L.11 - > found > > =3D=3D=3D> Configuring for qemu-devel-0.9.0s.20070802_1 > > ERROR: "gcc34" either does not exist or does not work > > =3D=3D=3D> Script "configure" failed unexpectedly. > > Please report the problem to nox@FreeBSD.org [maintainer] and attach > the > > > "/usr/ports/obj/usr/ports/emulators/qemu-devel/work/qemu-snapshot-2007-08= -02_05/config.log" > > including the output of the failure of your make command. Also, it migh= t > be > > a good idea to provide an overview of all packages installed on your > system > > (e.g. an `ls /var/db/pkg`). > > *** Error code 1 > >=20 > > Stop in /usr/ports/emulators/qemu-devel. > > *** Error code 1 > >=20 > > Stop in /usr/ports/emulators/qemu-devel. > >=20 > > # pkg_info|grep gcc > > # which gcc34 > > /usr/local/libexec/ccache/gcc34 > > # ls -l /usr/local/libexec/ccache/gcc34 > > lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 > /usr/local/libexec/ccache/gcc34 -> /usr/local/bin/ccache > > # echo $PATH > > > /usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/= usr/local/bin:/usr/X11R6/bin > > # export > PATH=3D"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr= /X11R6/bin" > > # which gcc34 > > gcc34 not found > > # make install clean > > =3D=3D=3D> Vulnerability check disabled, database not found > > =3D=3D=3D> Found saved configuration for qemu-devel-0.9.0s.20070802 > > =3D=3D=3D> Extracting for qemu-devel-0.9.0s.20070802_1 > > =3D> MD5 Checksum OK for qemu/qemu-snapshot-2007-08-02_05.tar.bz2. > > =3D> SHA256 Checksum OK for qemu/qemu-snapshot-2007-08-02_05.tar.bz2. > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on file: > /usr/local/bin/perl5.8.8 - found > > =3D=3D=3D> Patching for qemu-devel-0.9.0s.20070802_1 > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on file: > /usr/local/bin/perl5.8.8 - found > > =3D=3D=3D> Applying FreeBSD patches for qemu-devel-0.9.0s.20070802_1 > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on package: > kqemu-kmod>=3D1.3.0pre5 - found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on executable: texi2h= tml - > found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on executable: gmake = - > found > > =3D=3D=3D> qemu-devel-0.9.0s.20070802_1 depends on executable: gcc34 = - not > found > > =3D=3D=3D> Verifying install for gcc34 in /usr/ports/lang/gcc34 > > Making GCC 3.4.6 for FreeBSD 7.0 target=3Di386-portbld-freebsd7.0 > > =3D=3D=3D> Vulnerability check disabled, database not found > > =3D> gcc-core-3.4.6.tar.bz2 doesn't seem to exist in > /usr/ports/distfiles/. > > =3D> Attempting to fetch from > ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/releases/gcc-3.= 4.6/. > > gcc-core-3.4.6.tar.bz2 2% of 12 MB 184 > kBps^C > > fetch: transfer interrupted > > #=20 > >=20 > > Looks lkie ccache problem, ports does not add gcc34 as a dependency if > you use ccache, it is treated as a nonworking installation of gcc34, not = as > a lack of gcc34 package. >=20 > Yes, you should not have /usr/local/libexec/ccache in your path I > believe. >=20 > Kris It is mandatory to make ccache work since ccache puts wrappers for 'real' g= cc's in /usr/local/libexec/ccache directory # ls -l /usr/local/libexec/ccache total 4 lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 c++ -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 cc -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++ -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++295 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++32 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++33 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++34 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++40 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++41 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++42 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 g++43 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc295 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc32 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc33 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc34 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc40 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc41 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc42 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 gcc43 -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 icc -> /usr/local/bin/ccache lrwxr-xr-x 1 root wheel 21 Nov 19 01:07 icpc -> /usr/local/bin/ccache -r-xr-xr-x 1 root wheel 96 Nov 19 01:07 world-c++ -r-xr-xr-x 1 root wheel 95 Nov 19 01:07 world-cc I even wrote a small howto long time ago: http://bsdforums.com/forums/showthread.php?t=3D47531 ccache can reduce compile time even by 70%, maybe even more. Regards vermaden ---------------------------------------------------------------------- Mamy worek pelen prezentow. Te prezenty sa dla Ciebie. Sprawdz >> http://link.interia.pl/f1cbf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080106211052.D2122CF085>