From olivier.nic...@cs.ait.ac.th Mon Jul  1 12:12:08 2013

        >       I have a strange situation: 2 machines, 9.1 p4, on the first 
machine,
        >       graphicslibfpx build with the stock compiler:
        > 
        >       $ make
        >       ===> Fetching all distfiles required by libfpx-1.3.1.1 for 
building
        >       ===>  Extracting for libfpx-1.3.1.1
        >       => SHA256 Checksum OK for libfpx-1.3.1-1.tar.xz.
        >       ===>  Patching for libfpx-1.3.1.1
        >       ===>  Applying FreeBSD patches for libfpx-1.3.1.1
        >       /usr/bin/sed -i '' -e '/^#include "fpxlib-config.h"/d'   
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/basics/filename.cpp      
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/oless/h/owchar.h         
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/ole/gen_guid.cpp         
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/fpxlib.h
        >       ===>  Configuring for libfpx-1.3.1.1
        >       ===>  Building for libfpx-1.3.1.1
        >       Warning: Object directory not changed from original 
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1
        >       g++  -O2 -pipe -DHAVE_WCHAR_H -DHAVE_DLFCN_H 
-DHAVE_SYS_TIME_H...
        > 
        >       and on the other machine it insists on using gcc >4.4 (which is
        >       actually a mistake, libfpx will *not* compile with gcc 4.4 or 
gcc
        >       4.6):
        > 
        >       $ make 
        >       ===> Fetching all distfiles required by libfpx-1.3.1.1 for 
building
        >       ===>  Extracting for libfpx-1.3.1.1
        >       => SHA256 Checksum OK for libfpx-1.3.1-1.tar.xz.
        >       ===>  Patching for libfpx-1.3.1.1
        >       ===>  Applying FreeBSD patches for libfpx-1.3.1.1
        >       /usr/bin/sed -i '' -e '/^#include "fpxlib-config.h"/d'   
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/basics/filename.cpp      
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/oless/h/owchar.h         
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/ole/gen_guid.cpp         
/usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/fpxlib.h
        >       ===>   libfpx-1.3.1.1 depends on executable: gcc46 - not found
        >       ===>    Verifying install for gcc46 in /usr/ports/lang/gcc
        >       Making GCC 4.6.3 for x86_64-portbld-freebsd9.1 
[c,c++,objc,fortran,java]
        >       ===>  Found saved configuration for gcc-4.6.3
        >       ===> Fetching all distfiles required by gcc-4.6.3 for building
        >       ===>  Extracting for gcc-4.6.3
        >       => SHA256 Checksum OK for gcc-4.6.3.tar.bz2.
        >       ===>   gcc-4.6.3 depends on file: /usr/local/bin/perl5.14.4 - 
found
        > 
        >       What could cause aport to request for a different compiler 
version
        >       when both machines are very similar?
        > 
        >       Best regards,
        > 
        >       Olivier
        > 
        > It seems you have different revisions of the ports
        > tree on the two boxes. Do
        > 
        > svn info /usr/ports

        I am using portsnap, not svn, but I check the md5 of each files in the
        port (there are only 8 files) and they are the same.

        And I tried to copy the directory from one machine to the other and
        get the same result.

        > on both boxes, and see what revisions they have.
        > 
        > On amd64 with ports at r322188 it builds using
        > the system GCC compiler:
        > 
        > http://eis.bris.ac.uk/~mexas/libfpx-amd64-r322188-build.log
        > 
        > but looking at the port's svn log
        > (svn log /usr/ports/graphics/libfpx) shows
        > 
        > 
------------------------------------------------------------------------
        > r311828 | miwi | 2013-02-07 12:36:20 +0000 (Thu, 07 Feb 2013) | 2 
lines
        > 
        > - Unbreak build for HEAD

        My portsnap is much newer than February.

ok, what else could be different between the two boxes?

- /etc/make.conf ?

Anton

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to