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: David Shao <davshao%gmail.com@localhost>
To: 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: Mon, 1 Jul 2013 18:57:53 -0700

 Even using src updated through:
 
 Subject: CVS commit: src/sys/dev/pci
 Date: Tue, 2 Jul 2013 00:18:24 +0000
 
 and updated pkgsrc current through:
 
 Subject: CVS commit: pkgsrc/doc
 Date: Mon, 1 Jul 2013 20:24:33 -0400
 
 and even after rebuilding devel/cmake,
 
 cd /usr/pkgsrc/audio/taglib
 make clean
 make
 
 still has the error as also seen for automoc4.  I am seeing this error
 on different machines with different configurations; nonetheless, it
 is possible it is some user error on my part.
 
 Here's my /etc/mk.conf for the X11_TYPE=native, the error also
 manifests for X11_TYPE=modular.
 
 .ifdef BSD_PKG_MK   # begin pkgsrc settings
 USE_DESTDIR=yes
 X11_TYPE=native
 ALLOW_VULNERABLE_PACKAGES=yes
 ACCEPTABLE_LICENSES += vim-license lame-license gnu-agpl-v3
 
 CFLAGS+= -g
 INSTALL_UNSTRIPPED=yes
 
 PKG_OPTIONS.rxvt-unicode = rxvt-term
 PKG_OPTIONS.octave = -glpk
 PKG_OPTIONS.gs_type = ghostscript-agpl
 .endif              # end pkgsrc settings
 
 Here's the local settings from /etc/rc.conf for the native machine:
 
 # Add local overrides below
 #
 hostname=
 ifconfig_re0=dhcp
 sshd=YES
 ntpd=YES
 ntpdate=YES
 wscons=YES
 
 rpcbind=YES
 famd=NO
 
 dbus=NO
 hal=NO
 polkitd=NO
 
 slpd=NO
 cupsd=NO
 
 (But the build error also manifests if I enable famd, dbus, polkitd, and 
cupsd.)
 
 ===> Extracting for taglib-1.8nb1
 tar: Global extended headers posix ustar archive. Extracting as plain
 files. Following files might be in the wrong directory or have wrong
 attributes.
 ===> Patching for taglib-1.8nb1
 ===> Creating toolchain wrappers for taglib-1.8nb1
 ===> Configuring for taglib-1.8nb1
 => Fixing rpath in taglib-config.
 => Replacing sh interpreter in taglib-config.cmake.
 => Adding run-time search paths to pkg-config files.
 => Fixing CMAKE_MODULE_PATH in CMakeLists.txt
 INFO: [subst.mk:cmake] Nothing changed in ./CMakeLists.txt.
 -- 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/audio/taglib/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/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/audio/taglib/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.
 
 -- Check for working C compiler: /usr/pkgsrc/audio/taglib/work/.wrapper/bin/gcc
 -- Check for working C compiler:
 /usr/pkgsrc/audio/taglib/work/.wrapper/bin/gcc -- broken
 CMake Error at /usr/pkg/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61
 (message):
   The C compiler "/usr/pkgsrc/audio/taglib/work/.wrapper/bin/gcc" is not able
   to compile a simple test program.
 
   It fails with the following output:
 
    Change Dir: /usr/pkgsrc/audio/taglib/work/taglib-1.8/CMakeFiles/CMakeTmp
 
 
 
   Run Build Command:/usr/pkg/bin/gmake "cmTryCompileExec2104566781/fast"
 
   gmake[1]: Entering directory
   `/usr/pkgsrc/audio/taglib/work/taglib-1.8/CMakeFiles/CMakeTmp'
 
   make -f CMakeFiles/cmTryCompileExec2104566781.dir/build.make
   CMakeFiles/cmTryCompileExec2104566781.dir/build
 
   make: don't know how to make w.  Stop
 
 
 
   make: stopped in
   /usr/pkgsrc/audio/taglib/work/taglib-1.8/CMakeFiles/CMakeTmp
 
   gmake[1]: *** [cmTryCompileExec2104566781/fast] Error 2
 
   gmake[1]: Leaving directory
   `/usr/pkgsrc/audio/taglib/work/taglib-1.8/CMakeFiles/CMakeTmp'
 
 
 
 
 
   CMake will not be able to correctly generate this project.
 Call Stack (most recent call first):
   CMakeLists.txt:1 (project)
 


Home | Main Index | Thread Index | Old Index