Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657554 - nathan/hipl-1.0.8::localrepo SyntaxError: Missing parentheses in call to 'print'
Summary: nathan/hipl-1.0.8::localrepo SyntaxError: Missing parentheses in call to 'print'
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nathan Dehnel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-07 19:40 UTC by Nathan Dehnel
Modified: 2018-06-11 14:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Dehnel 2018-06-07 19:40:31 UTC
gentoolaptop /home/nathan/mount/NFS/Libraries/Tools/overlays/localrepo/nathan/hipl # emerge -a hipl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] nathan/hipl-1.0.8 

Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) nathan/hipl-1.0.8::localrepo
>>> Failed to emerge nathan/hipl-1.0.8, Log file:
>>>  '/var/tmp/portage/nathan/hipl-1.0.8/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed         Load avg: 2.42, 1.70, 1.78
 * Package:    nathan/hipl-1.0.8
 * Repository: localrepo
 * USE:        abi_x86_64 amd64 elibc_glibc firewall kernel_linux python_targets_python2_7 rvs userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.9.95-gentoo/build
 * Found sources for kernel version:
 *     4.9.95-gentoo
 * Checking for suitable kernel configuration options...
 [ ok ]
>>> Unpacking source...
>>> Unpacking hipl.tar.gz to /var/tmp/portage/nathan/hipl-1.0.8/work
>>> Source unpacked in /var/tmp/portage/nathan/hipl-1.0.8/work
>>> Preparing source in /var/tmp/portage/nathan/hipl-1.0.8/work/hipl-1.0.8 ...
 * Running eautoreconf in '/var/tmp/portage/nathan/hipl-1.0.8/work/hipl-1.0.8' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...
 [ ok ]
 * Running elibtoolize in: hipl-1.0.8/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/nathan/hipl-1.0.8/work/hipl-1.0.8 ...
 * econf: updating hipl-1.0.8/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating hipl-1.0.8/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/hipl-1.0.8 --htmldir=/usr/share/doc/hipl-1.0.8/html --libdir=/usr/lib64 --disable-android --disable-android-pie --enable-firewall --enable-rvs --disable-profiling --disable-debug --disable-performance
checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/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 whether make supports nested variables... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
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 x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-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 x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
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... no
checking whether to build static libraries... yes
checking for xmlto... yes
checking for w3m... no
checking whether make supports nested variables... (cached) yes
checking for a Python interpreter with version >= 2.4.3... python
checking for python... /usr/bin/python
checking for python version... 3.5
checking for python platform... linux
checking for python script directory... ${prefix}/lib64/python3.5/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python3.5/site-packages
checking for DSA_generate_key in -lcrypto... yes
checking for EC_KEY_new... yes
checking for pow in -lm... yes
checking for suite_create in -lcheck... yes
checking whether to build for Android... (cached) no
checking whether to build as PIE... (cached) no
checking whether to use firewall... (cached) yes
checking for nfq_create_queue in -lnetfilter_queue... yes
checking for nlif_query in -lnfnetlink... yes
checking for config_setting_index in -lconfig... yes
checking whether to use RVS... (cached) yes
checking whether to use grof support... (cached) no
checking whether to have verbose debug... (cached) no
checking whether to use performance measurement... (cached) no

+-----------------------------------------------
| processing modules...
|
  File "./process_modules.py", line 80
    print '|\n|    WARNING in configuration of ' + module_name + ':',
                                               ^
SyntaxError: Missing parentheses in call to 'print'
configure: error: Module processing failed

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/nathan/hipl-1.0.8/work/hipl-1.0.8/config.log
 * ERROR: nathan/hipl-1.0.8::localrepo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 4382:  Called econf '--disable-android' '--disable-android-pie' '--enable-firewall' '--enable-rvs' '--disable-profiling' '--disable-debug' '--disable-performance'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=nathan/hipl-1.0.8::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=nathan/hipl-1.0.8::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/nathan/hipl-1.0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/nathan/hipl-1.0.8/temp/environment'.
 * Working directory: '/var/tmp/portage/nathan/hipl-1.0.8/work/hipl-1.0.8'
 * S: '/var/tmp/portage/nathan/hipl-1.0.8/work/hipl-1.0.8'

 * Messages for package nathan/hipl-1.0.8:

 * ERROR: nathan/hipl-1.0.8::localrepo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 4382:  Called econf '--disable-android' '--disable-android-pie' '--enable-firewall' '--enable-rvs' '--disable-profiling' '--disable-debug' '--disable-performance'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *   		die "$@"
 * 
 * If you need support, post the output of `emerge --info '=nathan/hipl-1.0.8::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=nathan/hipl-1.0.8::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/nathan/hipl-1.0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/nathan/hipl-1.0.8/temp/environment'.
 * Working directory: '/var/tmp/portage/nathan/hipl-1.0.8/work/hipl-1.0.8'

text of the ebuild:

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=6

PYTHON_COMPAT=( python2_7 )

inherit autotools python-single-r1 systemd flag-o-matic linux-info #bzr

DESCRIPTION="The Host Identity Protocol and the related architecture form a proposal to change the TCP/IP stack to securely support mobility and multi-homing."
HOMEPAGE="https://code.launchpad.net/hipl"
#EBZR_PROJECT="${PN}"
#EBZR_BRANCH="trunk"
#EBZR_CHECKOUT_CMD="bzr checkout"
#EBZR_REPO_URI="lp:${PN}"
SRC_URI="http://mkomu.kapsi.fi/hipl/hipl.tar.gz"
SLOT="0"
KEYWORDS="amd64"


LICENSE="GPL-2"
IUSE="howto -doc -test -android -android-pie +firewall +rvs -profiling -debug -performance"

DEPEND="dev-libs/openssl
	net-firewall/iptables
	dev-libs/libconfig
	net-libs/libnetfilter_queue
	dev-perl/Net-IP
	dev-perl/Net-DNS
	howto? ( app-text/xmlto )
	doc? ( app-doc/doxygen )
	test? ( dev-libs/check )"

CONFIG_CHECK="DUMMY"
ERROR_DUMMY="DUMMY is not enabled in this kernel!"

src_prepare() {
	eautoreconf
	eapply_user
}

src_configure() {
	append-flags -Wno-error 
	econf \
		$(use_enable android) \
		$(use_enable android-pie) \
		$(use_enable firewall) \
		$(use_enable rvs) \
		$(use_enable profiling) \
		$(use_enable debug) \
		$(use_enable performance)
	./configure
}

src_compile() {
	emake
}

#default
#cp "${FILESDIR}/flush-and-sigterm.sh" "/usr/lib/hipl/" || die "Install failed!"
#patch hipdnsproxy "${FILESDIR}/hipdnsproxy.patch"
#patch hipdnskeyparse "${FILESDIR}/hipdnskeyparse.patch"
src_install() {
	emake DESTDIR="${D}" install
	systemd_dounit "${FILESDIR}"/hipfw.service
	systemd_dounit "${FILESDIR}"/hipd.service
	systemd_dounit "${FILESDIR}"/hipdnsproxy.service
	dodir /usr/lib/hipl/
	insinto /usr/lib/hipl/
	doins "${FILESDIR}/flush-and-sigterm.sh"
}
Comment 1 Mike Gilbert gentoo-dev 2018-06-07 20:43:26 UTC
This has nothing to do with linux-info.eclass.
Comment 2 Nathan Dehnel 2018-06-09 20:56:28 UTC
(In reply to Mike Gilbert from comment #1)
> This has nothing to do with linux-info.eclass.

What's it from? I don't get the error unless I specify CONFIG_CHECK.
Comment 3 Mike Gilbert gentoo-dev 2018-06-10 03:14:55 UTC
python-single-r1_pkg_setup is being skipped when you inherit linux-info. The last eclass inherited wins the race.
Comment 4 Nathan Dehnel 2018-06-10 17:30:01 UTC
(In reply to Mike Gilbert from comment #3)
> python-single-r1_pkg_setup is being skipped when you inherit linux-info. The
> last eclass inherited wins the race.

Is this documented anywhere?