[ python-Bugs-1729277 ] SVNVERSION redefined during compilation

SourceForge.net noreply at sourceforge.net
Sat Jun 2 01:28:05 CEST 2007


Bugs item #1729277, was opened at 2007-06-01 04:28
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1729277&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.6
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Brett Cannon (bcannon)
>Assigned to: Kristján Valur (krisvale)
Summary: SVNVERSION redefined during compilation

Initial Comment:
I sometimes get the following warning during a build:

./Modules/getbuildinfo.c:23:1: warning: "SVNVERSION" redefined
<command line>:1:1: warning: this is the location of the previous definition


It looks like SVNVERSION is defined in getbuildinfo.c, but a value is also passed in on the command-line in the Makefile when the module is built (line 460).  I have no clue why this is being done.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2007-06-02 01:28

Message:
Logged In: YES 
user_id=21627
Originator: NO

This was broken in

------------------------------------------------------------------------
r55024 | kristjan.jonsson | 2007-04-30 17:17:46 +0200 (Mo, 30 Apr 2007) |
1 line

Complete revamp of PCBuild8 directory.  Use subdirectories for each
project under the main pcbuild solution.  Now make extensive use of
property sheets to simplify project configuration. x64 build fully
supported, and the process for building PGO version (Profiler Guided
Optimization) simplified. All projects are now present, except _ssl, which
needs to be reimplemented.  Also, some of the projects that require
external libraries need extra work to fully compile on x64.
------------------------------------------------------------------------

Kristjan, what was the rationale for making that specific change to
getbuildinfo?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1729277&group_id=5470


More information about the Python-bugs-list mailing list