Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 648424

Summary: app-admin/elektra-0.8.20 : /.../pyport.h:820:2: error: #error LONG_BIT definition appears wrong for platform (bad gcc/glibc config?).
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny, ted
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-admin:elektra-0.8.20:20180221-075713.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-02-21 18:16:54 UTC
In file included from /usr/include/python3.5m/Python.h:50:0,
                 from /var/tmp/portage/app-admin/elektra-0.8.20/work/elektra-0.8.20/src/plugins/python/python.cpp:14:
/usr/include/python3.5m/pyport.h:820:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
 #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
  ^~~~~
In file included from /var/tmp/portage/app-admin/elektra-0.8.20/work/elektra-0.8.20/src/plugins/python/python.cpp:17:0:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_libressl-abi32+64_20180214-191118

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems)
  [2]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 

emerge -qpv app-admin/elektra
[ebuild  N    ] app-admin/elektra-0.8.20  USE="iconv systemd uname xml -augeas -dbus -doc -ini -java -qt5 -simpleini -static-libs -syslog -tcl {-test} -yajl" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2018-02-21 18:16:57 UTC
Created attachment 520424 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-21 18:17:01 UTC
Created attachment 520426 [details]
app-admin:elektra-0.8.20:20180221-075713.log
Comment 3 Toralf Förster gentoo-dev 2018-02-21 18:17:04 UTC
Created attachment 520428 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-21 18:17:07 UTC
Created attachment 520430 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-21 18:17:10 UTC
Created attachment 520432 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-21 18:17:13 UTC
Created attachment 520434 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-02-21 18:17:16 UTC
Created attachment 520436 [details]
temp.tbz2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-05-14 11:37:44 UTC
For the record, Python does not support x86_32 ABI, so the package is wrong to compile Python stuff in it.
Comment 9 Larry the Git Cow gentoo-dev 2018-11-25 23:41:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb4224bbbeb0a2bc7222b70775f953db4a61efe6

commit cb4224bbbeb0a2bc7222b70775f953db4a61efe6
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-11-25 21:08:55 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-11-25 23:40:33 +0000

    app-admin/elektra: Invert plugins logic to avoid unhandled deps
    
    Restrict plugins to 0.8.16 choice.
    Quick fix for unhandled dependencies in botched 0.8.20 ebuild.
    
    Bug: https://bugs.gentoo.org/648424
    Bug: https://bugs.gentoo.org/639014
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-admin/elektra/elektra-0.8.20-r1.ebuild | 36 +++++++++++++++++-------------
 1 file changed, 21 insertions(+), 15 deletions(-)
Comment 10 Andreas Sturmlechner gentoo-dev 2018-11-25 23:49:13 UTC
(Unhandled) python plugin was disabled in 0.8.20-r1.