You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2018/01/18 07:16:07 UTC

[Issue 127664] New: move $CCNUMVER from dmake to configure

https://bz.apache.org/ooo/show_bug.cgi?id=127664

          Issue ID: 127664
        Issue Type: ENHANCEMENT
           Summary: move $CCNUMVER from dmake to configure
           Product: Build Tools
           Version: 4.2.0-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: Normal
          Priority: P5 (lowest)
         Component: configure
          Assignee: issues@openoffice.apache.org
          Reporter: truckman@apache.org
  Target Milestone: ---

Created attachment 86325
  --> https://bz.apache.org/ooo/attachment.cgi?id=86325&action=edit
patch to move $CCNUMVER from dmake to configure

The attached patch moves the calculation of $CCNUMVER and some other
variables from main/solenv/inc/tg_compv.mk, where it is only usable by
dmake, to configure, where it can be used by both dmake and gbuild. This
is a requirement for me upstream some compiler bug workaround patches
from the FreeBSD port.

A bit of logic from set_soenv is also moved into configure.  A bunch
more should probably be moved so that the configuration logic is not
spread across so many different places, but that can wait.  Something
else to consider is that it would be nice to use a different value of
$COM for Apple's clang, maybe "ACLANG" or "APPLECLANG" since it  has a
different version numbering scheme that the open-source version of clang
and having a unique identifier would simplify version checking when
applying compiler bug workarounds.

I've tested this patch on Windows, CentOS 6, and FreeBSD.  It really
needs some testing on Mac and OS/2.

If you have an existing, populated build tree, then the most important
tests can be done without even doing a build.  Start off by copying the
*env.set.sh script and solver/420/*/inc/comp_ver.mk to a safe location.
Next apply the patch below, run autoconf, and then run configure.
Compare the values of $COMNAME, $COMID, $CCNUMVER, and $CCVER from the
new *.env.set.sh with the values of those variables from the saved copy
of comp_ver.mk.  Also compare the values of $COM in the new and saved
versions of *.env.set.sh.

Note: I think the old value of $CCNUMVER on the Mac is wrong.  It should
look something like 000800010000 or 000700030000, depending on the
installed version.

Note that I changed -DCPPU_ENV on the Mac from $(COMID) to $(COMNAME)
for consistency with the dmake side.  It shouldn't make a difference in
practice since both have the same value on the Mac.

If things look good, then please try a build with this patch.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127664] move $CCNUMVER from dmake to configure

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127664

--- Comment #2 from SVN Robot <sv...@dev.null.org> ---
"truckman" committed SVN revision 1826296 into trunk:
#127664# $CCNUMVER from dmake to configure

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127664] move $CCNUMVER from dmake to configure

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127664

Kay <ks...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kschenk@apache.org

--- Comment #1 from Kay <ks...@apache.org> ---
Applied patch to r1821262 on CentOS6.9-32 bit. Rebuilt after applying with no
issues so far. Not tested on the targeted platforms of MacOS or OS/2.

A couple of warnings from svn patch when patching at r1821262 --

U         main/configure.ac
U         main/set_soenv.in
U         main/solenv/gbuild/platform/freebsd.mk
U         main/solenv/gbuild/platform/linux.mk
U         main/solenv/gbuild/platform/macosx.mk
U         main/solenv/gbuild/platform/os2.mk
U         main/solenv/gbuild/platform/solaris.mk
U         main/solenv/gbuild/platform/windows.mk
U         main/solenv/gbuild/platform/winmingw.mk
G         main/solenv/inc/settings.mk
>         hunk @@ -878,7 +878,7 @@ already applied
>         hunk @@ -1068,11 +1068,6 @@ already applied
D         main/solenv/inc/tg_compv.mk

but other than that, all OK.

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127664] move $CCNUMVER from dmake to configure

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127664

Matthias Seidel <ms...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bz.apache.org/ooo/s
                   |                            |how_bug.cgi?id=127712

-- 
You are receiving this mail because:
You are the assignee for the issue.

[Issue 127664] move $CCNUMVER from dmake to configure

Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127664

Don Lewis <tr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Don Lewis <tr...@apache.org> ---
Patch committed.

-- 
You are receiving this mail because:
You are the assignee for the issue.