Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 491602 - dev-python/cx_Freeze-4.3.2 - failed to build with Python 3.* - setup.py: KeyError: 'LDFLAGS
Summary: dev-python/cx_Freeze-4.3.2 - failed to build with Python 3.* - setup.py: KeyE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Popov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-18 17:01 UTC by Helmut Jarausch
Modified: 2013-11-19 12:26 UTC (History)
1 user (show)

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


Attachments
build log (build.log,34.34 KB, text/plain)
2013-11-18 17:01 UTC, Helmut Jarausch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2013-11-18 17:01:23 UTC
Created attachment 363496 [details]
build log

changing mode of /var/tmp/portage/dev-python/cx_Freeze-4.3.2/work/cx_Freeze-4.3.2-python2_7/build/scripts/cxfreeze-quickstart from 644 to 755
Traceback (most recent call last):
  File "setup.py", line 228, in <module>
    package_data = {"cx_Freeze" : packageData })
  File "/usr/lib64/python3.3/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.3/distutils/dist.py", line 929, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.3/distutils/dist.py", line 948, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.3/distutils/command/build.py", line 126, in run
    self.run_command(cmd_name)
  File "/usr/lib64/python3.3/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/lib64/python3.3/distutils/dist.py", line 948, in run_command
    cmd_obj.run()
  File "/usr/lib64/python3.3/distutils/command/build_ext.py", line 353, in run
    self.build_extensions()
  File "/usr/lib64/python3.3/distutils/command/build_ext.py", line 462, in build_extensions
    self.build_extension(ext)
  File "setup.py", line 94, in build_extension
    extraArgs.extend(vars["LDFLAGS"].split())
KeyError: 'LDFLAGS'
Comment 1 Sergey Popov gentoo-dev 2013-11-19 07:58:04 UTC
Can not reproduce this, please provide your emerge --info
Comment 2 Sergey Popov gentoo-dev 2013-11-19 08:17:50 UTC
Nevermind, i located problem - it fails with Python 3.* and builds OK with Python 2.7

@python - please advise how to respect LDFLAGS properly in this case.
Comment 3 Sergey Popov gentoo-dev 2013-11-19 12:26:16 UTC
+  19 Nov 2013; Sergey Popov <pinkbyte@gentoo.org> cx_Freeze-4.3.1-r2.ebuild,
+  cx_Freeze-4.3.2.ebuild, +files/cx_Freeze-4.3.2-buildsystem.patch:
+  Proper fix for respecting LDFLAGS by Julian Ospald, bug #491602