← Back to team overview

touch-packages team mailing list archive

Re: [Bug 1238244] Re: pyconfig.h is missing HAVE_MEMMOVE

 

On 24 June 2014 23:23, Matt Black <1238244@xxxxxxxxxxxxxxxxxx> wrote:
> I can confirm the bug exists installing PyXML 0.8.4 (latest at time of
> writing) from pypi on Ubuntu trusty 14.04.
>

Please report a bug to PyXML upstream, with a note that HAVE_MEMMOVE
detection is wrong upstream and instead should use something like this
instead of header parsing:

    import sysconfig; sysconfig.get_config_var("HAVE_MEMMOVE")

Since that correctly detects that memmove is defined in Ubuntu, and
will work in any python compilations.

> http://pastebin.com/VY7FFmtA
>
> Following xnox comments above, I checked for HAVE_MEMMOVE, and he's
> quite right. Obviously the build is still broken though.
>

No, clearly the build is correct =)))) please re-read my comment again.

Regards,

Dimitri.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1238244

Title:
  pyconfig.h is missing HAVE_MEMMOVE

Status in “python2.7” package in Ubuntu:
  Fix Released

Bug description:
  After upgrading to kubuntu 13.04, I found that I was unable to install
  pyxml via setuptools. It would throw the following error during the
  build process:

  extensions/expat/lib/xmlparse.c:75:2: error: #error memmove does not
  exist on this platform, nor is a substitute available

  Appending the following line to /usr/include/python2.7/pyconfig.h
  seems to resolve the issue:

  #define HAVE_MEMMOVE 1

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: libpython2.7-dev 2.7.4-2ubuntu3.2 [modified: usr/include/python2.7/pyconfig.h]
  ProcVersionSignature: Ubuntu 3.8.0-31.46-generic 3.8.13.8
  Uname: Linux 3.8.0-31-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.3
  Architecture: amd64
  Date: Thu Oct 10 13:14:22 2013
  InstallationDate: Installed on 2012-09-21 (384 days ago)
  InstallationMedia: Kubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120822.2)
  MarkForUpload: True
  SourcePackage: python2.7
  UpgradeStatus: Upgraded to raring on 2013-08-05 (65 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1238244/+subscriptions