pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/47964: devel/automoc4 NetBSD 6.99.22 amd64 native C compiler gcc" is not able to compile
The following reply was made to PR pkg/47964; it has been noted by GNATS.
From: Thomas Klausner <wiz%NetBSD.org@localhost>
To: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: pkg/47964: devel/automoc4 NetBSD 6.99.22 amd64 native C compiler
gcc" is not able to compile
Date: Wed, 26 Jun 2013 16:24:04 +0200
Hi David!
On Wed, Jun 26, 2013 at 02:15:00PM +0000, davshao%gmail.com@localhost wrote:
> >Number: 47964
> >Category: pkg
> >Synopsis: devel/automoc4 NetBSD 6.99.22 amd64 native C compiler gcc"
> >is not able to compile
> Using NetBSD 6.99.22 (GENERIC) amd64 built post-fix to PR 47922 using
>
> ./build.sh -O ../obj -T ../tools -X ../xsrc -x -U -u release
How exactly did you upgrade?
Did you rebuild libtool-base after the upgrade (just guessing; not
sure if this applies here).
I'm asking because I've also upgraded to 6.99.22 and successfully
built automoc4. However, I've rebuilt all packages from scratch.
> devel/automoc4 fails to build. After initial failure to build, all pkgsrc
> dependencies were rebuilt with the except of qt4-libs and qt4-tools which
> had been built post-fix to PR 47922 previously:
>
> -- The C compiler identification is GNU 4.5.4
> -- The CXX compiler identification is GNU 4.5.4
> CMake Warning (dev) at
> /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake:13 (include):
> File /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake includes
>
> /usr/pkgsrc/devel/automoc4/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
> (found via CMAKE_MODULE_PATH) which shadows
> /usr/pkg/share/cmake-2.8/Modules/Platform/UnixPaths.cmake. This may cause
> errors later on .
>
> Policy CMP0017 is not set: Prefer files from the CMake module directory
> when including from there. Run "cmake --help-policy CMP0017" for policy
> details. Use the cmake_policy command to set the policy and suppress this
> warning.
Ignore this.
> Call Stack (most recent call first):
> /usr/pkg/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake:36
> (include)
> CMakeLists.txt:1 (project)
> This warning is for project developers. Use -Wno-dev to suppress it.
>
> CMake Warning (dev) at
> /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake:13 (include):
> File /usr/pkg/share/cmake-2.8/Modules/Platform/NetBSD.cmake includes
>
> /usr/pkgsrc/devel/automoc4/work/.buildlink/cmake-Modules/Platform/UnixPaths.cmake
> (found via CMAKE_MODULE_PATH) which shadows
> /usr/pkg/share/cmake-2.8/Modules/Platform/UnixPaths.cmake. This may cause
> errors later on .
>
> Policy CMP0017 is not set: Prefer files from the CMake module directory
> when including from there. Run "cmake --help-policy CMP0017" for policy
> details. Use the cmake_policy command to set the policy and suppress this
> warning.
> Call Stack (most recent call first):
> /usr/pkg/share/cmake-2.8/Modules/CMakeCInformation.cmake:68 (include)
> CMakeLists.txt:1 (project)
> This warning is for project developers. Use -Wno-dev to suppress it.
These too.
> -- Check for working C compiler:
> /usr/pkgsrc/devel/automoc4/work/.wrapper/bin/gcc
> -- Check for working C compiler:
> /usr/pkgsrc/devel/automoc4/work/.wrapper/bin/gcc -- broken
> CMake Error at /usr/pkg/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61
> (message):
> The C compiler "/usr/pkgsrc/devel/automoc4/work/.wrapper/bin/gcc" is not
> able to compile a simple test program.
>
> It fails with the following output:
>
> Change Dir:
> /usr/pkgsrc/devel/automoc4/work/automoc4-0.9.88/_build/CMakeFiles/CMakeTmp
>
>
>
> Run Build Command:/usr/pkg/bin/gmake "cmTryCompileExec2576135261/fast"
>
> gmake[1]: Entering directory
>
> `/usr/pkgsrc/devel/automoc4/work/automoc4-0.9.88/_build/CMakeFiles/CMakeTmp'
>
>
> make -f CMakeFiles/cmTryCompileExec2576135261.dir/build.make
> CMakeFiles/cmTryCompileExec2576135261.dir/build
>
> make: don't know how to make w. Stop
>
>
>
> make: stopped in
> /usr/pkgsrc/devel/automoc4/work/automoc4-0.9.88/_build/CMakeFiles/CMakeTmp
>
> gmake[1]: *** [cmTryCompileExec2576135261/fast] Error 2
>
> gmake[1]: Leaving directory
>
> `/usr/pkgsrc/devel/automoc4/work/automoc4-0.9.88/_build/CMakeFiles/CMakeTmp'
I haven't seen this before. After 'make clean; make' can you compile a
simple hello world program with
/usr/pkgsrc/devel/automoc4/work/.wrapper/bin/gcc?
I don't understand yet what's wrong, so I'm grasping in the dark.
Thomas
Home |
Main Index |
Thread Index |
Old Index