It seems the the setup.py in this version of scapy is not python-3 compatible. This ebuild needs to depend on python-2 and include a call to "python_set_active_version 2". Given that there's a newer version that's stabilized, the ebuild should probably just be removed, though. ===== Build.log ===== * Package: net-analyzer/scapy-2.0.1 * Repository: gentoo * Maintainer: ikelos@gentoo.org netmon * USE: amd64 crypt elibc_glibc graphviz kernel_linux multilib userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking scapy-2.0.1.tar.gz to /var/tmp/portage/net-analyzer/scapy-2.0.1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/scapy-2.0.1/work >>> Preparing source in /var/tmp/portage/net-analyzer/scapy-2.0.1/work/scapy-2.0.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/scapy-2.0.1/work/scapy-2.0.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/scapy-2.0.1/work/scapy-2.0.1 ... python3.2 setup.py build File "setup.py", line 30 os.chmod(fname,0755) ^ SyntaxError: invalid token * ERROR: net-analyzer/scapy-2.0.1 failed (compile phase): * Building failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 3721: Called distutils_src_compile * environment, line 1053: Called die * The specific snippet of code: * "$(PYTHON)" "${setup_file#*|}" "${_DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed"; *
Thanks, this package has been removed from the tree as suggested.