Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343801 - dev-util/anjuta-2.32.0.0: Package has poor programming practices which may compile but will almost certainly crash on 64bit architectures
Summary: dev-util/anjuta-2.32.0.0: Package has poor programming practices which may co...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome2.32
  Show dependency tree
 
Reported: 2010-11-02 09:19 UTC by Pacho Ramos
Modified: 2010-11-04 21:58 UTC (History)
0 users

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


Attachments
build.log (anjuta-2.32.0.0:20101102-090317.log,386.96 KB, text/plain)
2010-11-02 09:19 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2010-11-02 09:19:29 UTC
I will forward this to upstream


 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * plugin.c:59: warning: implicit declaration of function 'PyString_FromString'

 * 
 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * 
 * Function `PyString_FromString' implicitly converted to pointer at plugin.c:59
 * 
 *  Please file a bug about this at http://bugs.gentoo.org/
 *  with the maintaining herd of the package.
 * 
 * ERROR: dev-util/anjuta-2.32.0.0 failed:
 *   install aborted due to poor programming practices shown above
 * 
 * Call stack:
 *   misc-functions.sh, line 978:  Called install_qa_check
 *   misc-functions.sh, line 661:  Called die
 * The specific snippet of code:
 *   				die "install aborted due to" \
 * 
 * If you need support, post the output of 'emerge --info =dev-util/anjuta-2.32.0.0',
 * the complete build log and the output of 'emerge -pqv =dev-util/anjuta-2.32.0.0'.
 * The complete build log is located at '/var/log/portage/build/dev-util/anjuta-2.32.0.0:20101102-090317.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/anjuta-2.32.0.0/temp/environment'.
 * S: '/var/tmp/portage/dev-util/anjuta-2.32.0.0/work/anjuta-2.32.0.0'


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2010-11-02 09:19:45 UTC
Created attachment 252869 [details]
build.log
Comment 2 Pacho Ramos gentoo-dev 2010-11-02 10:01:27 UTC
This only occurs with python3.1, if python2.6 is set, there is no problem
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-11-02 10:03:39 UTC
maybe you should is PYTHON_RESTRICT_ABI (or whatever the name is again) to forbid linking to python3, especially is upstream doesn't explicitly support it.
Comment 4 Pacho Ramos gentoo-dev 2010-11-02 10:12:04 UTC
OK, but I will wait a bit to see what upstream thinks about this 

Thanks
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2010-11-02 10:44:47 UTC
IIRC, "PyString_FromString" was removed from Python 3.x and replaced by "PyUnicode_FromString" so it's not only a missing #include, but anjuta's code is not compatible with Python 3.x
Comment 6 Pacho Ramos gentoo-dev 2010-11-02 11:31:44 UTC
Yes, upstream has also just replied in upstream report telling me to use python2 for 2.32
Comment 7 Pacho Ramos gentoo-dev 2010-11-04 21:58:25 UTC
2.32 forces python2 usage