| Summary: | libnetfilter_conntrack depends dev-util/pkgconfig | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Oliveiros Peixoto <oliveiros> |
| Component: | New packages | Assignee: | Cédric Krier <cedk> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | netmon |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
I set DEPEND=">=net-libs/libnfnetlink-1.0.0 dev-util/pkgconfig" in ebuild and this work. Fixed in CVS. |
When generate stage4 with catalyst i set nufw package with USE FLAGS nfconntrack. Catalyst return error when compile libnetfilter_conntrack: checking for pkg-config... no *** Error: No suitable pkg-config found. *** Please install the 'pkg-config' package. Reproducible: Always Steps to Reproduce: >>> Failed to emerge net-libs/libnetfilter_conntrack-0.0.101, Log file: >>> '/var/tmp/portage/net-libs/libnetfilter_conntrack-0.0.101/temp/build.log' * Package: net-libs/libnetfilter_conntrack-0.0.101 * Repository: gentoo * Maintainer: cedk@gentoo.org netmon@gentoo.org * USE: elibc_glibc kernel_linux userland_GNU x86 * FEATURES: sandbox * Determining the location of the kernel source code * Unable to find kernel sources at /usr/src/linux * Please make sure that /usr/src/linux points at your running kernel, * (or the kernel you wish to build against). * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location * Unable to calculate Linux Kernel version for build, attempting to use running version * Unable to check for the following kernel config options due * to absence of any configured kernel sources or compiled * config: * - NF_CT_NETLINK * You're on your own to make sure they are set if needed. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether ln -s works... yes checking for pkg-config... no *** Error: No suitable pkg-config found. *** Please install the 'pkg-config' package. !!! Please attach the following file when seeking support: !!! /var/tmp/portage/net-libs/libnetfilter_conntrack-0.0.101/work/libnetfilter_conntrack-0.0.101/config.log * ERROR: net-libs/libnetfilter_conntrack-0.0.101 failed (compile phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3114: Called _eapi0_src_compile * ebuild.sh, line 627: Called econf * ebuild.sh, line 561: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =net-libs/libnetfilter_conntrack-0.0.101', * the complete build log and the output of 'emerge -pqv =net-libs/libnetfilter_conntrack-0.0.101'. * The complete build log is located at '/var/tmp/portage/net-libs/libnetfilter_conntrack-0.0.101/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libnetfilter_conntrack-0.0.101/temp/environment'. * S: '/var/tmp/portage/net-libs/libnetfilter_conntrack-0.0.101/work/libnetfilter_conntrack-0.0.101' * Messages for package dev-util/ctags-5.7: * You can set the version to be started by /usr/bin/ctags through * the ctags eselect module. "man ctags.eselect" for details. * Messages for package net-libs/libnetfilter_conntrack-0.0.101: * Unable to find kernel sources at /usr/src/linux * Unable to calculate Linux Kernel version for build, attempting to use running version * Unable to check for the following kernel config options due * to absence of any configured kernel sources or compiled * config: * - NF_CT_NETLINK * You're on your own to make sure they are set if needed. * ERROR: net-libs/libnetfilter_conntrack-0.0.101 failed (compile phase): * econf failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3114: Called _eapi0_src_compile * ebuild.sh, line 627: Called econf * ebuild.sh, line 561: Called die * The specific snippet of code: * die "econf failed" * * If you need support, post the output of 'emerge --info =net-libs/libnetfilter_conntrack-0.0.101', * the complete build log and the output of 'emerge -pqv =net-libs/libnetfilter_conntrack-0.0.101'. * The complete build log is located at '/var/tmp/portage/net-libs/libnetfilter_conntrack-0.0.101/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libnetfilter_conntrack-0.0.101/temp/environment'. * S: '/var/tmp/portage/net-libs/libnetfilter_conntrack-0.0.101/work/libnetfilter_conntrack-0.0.101' !!! catalyst: Error in attempt to build packages Traceback (most recent call last): File "modules/generic_stage_target.py", line 1362, in build_packages "Error in attempt to build packages",env=self.env) File "/usr/lib/catalyst/modules/catalyst_support.py", line 542, in cmd raise CatalystError,myexc CatalystError None !!! catalyst: stage4build aborting due to error. Traceback (most recent call last): File "/usr/lib/catalyst/catalyst", line 209, in build_target mytarget.run() File "modules/generic_stage_target.py", line 1263, in run apply(getattr(self,x)) File "modules/generic_stage_target.py", line 1367, in build_packages "build aborting due to error." CatalystError !!! catalyst: Error encountered during run of target stage4 Catalyst aborting....