Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

sys-libs/talloc-2.0.5

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
Reinder
n00b
n00b
Posts: 47
Joined: Fri Aug 27, 2004 9:55 am
Location: Netherlands
Contact:
Contact Reinder
Website

sys-libs/talloc-2.0.5

  • Quote

Post by Reinder » Sun Mar 06, 2011 10:09 am

while doing "emerge --update --deep --newuse world" talloc got some errors, what can I do to solve this?

Code: Select all

# emerge -pqv =sys-libs/talloc-2.0.5
[ebuild     U ] sys-libs/talloc-2.0.5 [2.0.1-r1] USE="python%* -compat (-doc%) (-static-libs%*) (-swig%)"

Code: Select all

# cat build.log 
 * Package:    sys-libs/talloc-2.0.5
 * Repository: gentoo
 * Maintainer: patrick@gentoo.org samba@gentoo.org
 * USE:        elibc_glibc kernel_linux python userland_GNU x86
 * FEATURES:   sandbox
>>> Unpacking source...
>>> Unpacking talloc-2.0.5.tar.gz to /var/tmp/portage/sys-libs/talloc-2.0.5/work
>>> Source unpacked in /var/tmp/portage/sys-libs/talloc-2.0.5/work
>>> Preparing source in /var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5 ...
CCFLAGS="-O2 -march=i686 -pipe" LINKFLAGS="-Wl,-O1 -Wl,--as-needed" "/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/buildtools/bin/waf" --prefix=/usr --libdir=/usr/lib  configure
/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/wscript: error: Traceback (most recent call last):
  File "/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/buildtools/bin/.waf3-1.5.19-64e3c2006c565edf6967cdbf2812184e/wafadmin/Utils.py", line 199, in load_module
    exec(compile(code,file_path,'exec'),module.__dict__)
  File "/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5/wscript", line 20, in <module>
    import wafsamba, samba_dist, Options
  File "./buildtools/wafsamba/wafsamba.py", line 28, in <module>
    import samba_dist
  File "./buildtools/wafsamba/samba_dist.py", line 134
    except Exception, e:
                    ^
SyntaxError: invalid syntax

 * ERROR: sys-libs/talloc-2.0.5 failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_configure
 *   environment, line 2404:  Called waf-utils_src_configure
 *   environment, line 2989:  Called die
 * The specific snippet of code:
 *       CCFLAGS="${CFLAGS}" LINKFLAGS="${LDFLAGS}" "${WAF_BINARY}" "--prefix=${EPREFIX}/usr" "--libdir=${EPREFIX}/usr/$(get_libdir)" "$@" configure || die "configure failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-libs/talloc-2.0.5',
 * the complete build log and the output of 'emerge -pqv =sys-libs/talloc-2.0.5'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/talloc-2.0.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/talloc-2.0.5/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/talloc-2.0.5/work/talloc-2.0.5'
Top
Rexilion
Veteran
Veteran
User avatar
Posts: 1044
Joined: Tue Mar 17, 2009 10:25 am

  • Quote

Post by Rexilion » Sun Mar 06, 2011 12:16 pm

Hello,

Could you please show me the output of the following command (as root):

Code: Select all

eselect python list
It could be that you have a newer version of python activated which is not suitable for this version of talloc.
Top
disi
Veteran
Veteran
User avatar
Posts: 1354
Joined: Fri Nov 28, 2003 4:33 am
Location: Out There ...

  • Quote

Post by disi » Sun Mar 06, 2011 12:18 pm

Report a bug [and|or] mask the version?

//edit: :D

http://bugs.gentoo.org/show_bug.cgi?id=354587

Code: Select all

# eselect python list
python 3 should not be default (not ready yet)
Gentoo on Uptime Project - Larry is a cow
Top
Reinder
n00b
n00b
Posts: 47
Joined: Fri Aug 27, 2004 9:55 am
Location: Netherlands
Contact:
Contact Reinder
Website

  • Quote

Post by Reinder » Sun Mar 06, 2011 12:33 pm

Rexilion wrote:Hello,

Could you please show me the output of the following command (as root):

Code: Select all

eselect python list
It could be that you have a newer version of python activated which is not suitable for this version of talloc.

Code: Select all

# eselect python list
Available Python interpreters:
  [1]   python2.6
  [2]   python3.1 *
So I should change this to the python 2.6?
Top
disi
Veteran
Veteran
User avatar
Posts: 1354
Joined: Fri Nov 28, 2003 4:33 am
Location: Out There ...

  • Quote

Post by disi » Sun Mar 06, 2011 12:38 pm

Jupp, check "eselect news list"...
Python 3 is a new major version of Python and is intentionally incompatible
with Python 2. Many external modules have not been ported yet to Python 3,
so Python 2 still needs to be installed. You can benefit from having Python 3
installed without setting Python 3.1 as main active version of Python.
Currently you should not set Python 3.1 as main active version of Python.
When setting it becomes recommended, a separate news item will be created
to notify users.
Gentoo on Uptime Project - Larry is a cow
Top
Reinder
n00b
n00b
Posts: 47
Joined: Fri Aug 27, 2004 9:55 am
Location: Netherlands
Contact:
Contact Reinder
Website

  • Quote

Post by Reinder » Sun Mar 06, 2011 12:43 pm

Thanks for the help all, it's compiling again :)
Top
davidm
Guru
Guru
User avatar
Posts: 557
Joined: Sun Apr 26, 2009 4:05 pm
Location: US

  • Quote

Post by davidm » Thu Mar 10, 2011 9:40 pm

Interesting. I encountered the same error while doing a new install from scratch (I'm giving Gentoo another shot, this time on my main desktop). I saw the news item but did not think it would automatically select the new python itself. I am running global ~x86 though so perhaps that is as intended?
Top
NathanZachary
Bodhisattva
Bodhisattva
User avatar
Posts: 2627
Joined: Tue Jan 30, 2007 1:50 am

  • Quote

Post by NathanZachary » Fri Mar 11, 2011 1:02 am

As far as I know, that is the intended result. However, as previously stated in this thread, python-3.* is not ready yet, so the best bet is to eselect a 2.* version of python for the time being.
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Top
pigeon768
l33t
l33t
Posts: 683
Joined: Mon Jan 02, 2006 1:13 pm

  • Quote

Post by pigeon768 » Fri Mar 11, 2011 4:37 pm

Don't feel bad. Some recent stage3 builds had python 3.1 set as the default system python. Bit me too.
Top
wolf_99
Apprentice
Apprentice
Posts: 213
Joined: Wed Oct 22, 2003 4:51 pm
Contact:
Contact wolf_99
Website

  • Quote

Post by wolf_99 » Fri Mar 02, 2012 4:42 pm

Getting a different error:

* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(sys-libs/talloc-2.0.7::gentoo, ebuild scheduled for merge) pulled in by
sys-libs/talloc required by (net-fs/samba-3.5.11::gentoo, installed)

Any ideas?
To err is human. To really fuck up, use a computer.
Top
Trog Dog
Apprentice
Apprentice
Posts: 282
Joined: Sat Aug 04, 2007 9:59 am

  • Quote

Post by Trog Dog » Fri Mar 02, 2012 10:55 pm

unmerge talloc, then rerun your previous command, then follow up with revdep-rebuild (to be sure) - the new version of talloc will get pulled in
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Top
wolf_99
Apprentice
Apprentice
Posts: 213
Joined: Wed Oct 22, 2003 4:51 pm
Contact:
Contact wolf_99
Website

  • Quote

Post by wolf_99 » Tue Apr 10, 2012 10:33 am

unmerging talloc did the trick!

Thanks.
To err is human. To really fuck up, use a computer.
Top
Post Reply

12 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic