#1841: Add 'osvers' key-value pair to Configure.pl
-----------------------+----------------------------------------------------
 Reporter:  jkeenan    |        Owner:  jkeenan 
     Type:  RFC        |       Status:  reopened
 Priority:  normal     |    Milestone:  2.10    
Component:  configure  |      Version:  2.10.0  
 Severity:  medium     |   Resolution:          
 Keywords:             |         Lang:          
    Patch:             |     Platform:          
-----------------------+----------------------------------------------------
Changes (by jkeenan):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 I have to re-open this ticket because we got a
 [http://tt.taptinder.org/file/cmdout/416245.txt Taptinder build failure
 report on FreeBSD] immediately after r49788.

 The failure is very curious, as it indicates that on the tester's box, the
 addition of `osvers` to our configuration data causes a value called
 `__APPLE_CC__` to fail to be detected.
 {{{
 cc -I./include -I./include/pmc
 -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK
 -DHAS_FLOATINGPOINT_H  -pipe -I/usr/local/include -DHASATTRIBUTE_CONST
 -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL
 -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED
 -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHAS_GETTEXT  -g   -DPIC -fPIC
 -falign-functions=16 -fvisibility=hidden -funit-at-a-time -maccumulate-
 outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-
 subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels
 -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security
 -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch
 -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-
 attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses
 -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-
 compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default
 -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros
 -Wwrite-strings -Wbad-function-cast -Wc++-compat -Wdeclaration-after-
 statement -Werror=declaration-after-statement -Wimplicit-function-
 declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-
 prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-
 prototypes -Isrc/string -o src/string/api.o -c src/string/api.c
 In file included from ./include/parrot/parrot.h:230,
                  from src/string/api.c:28:
 /usr/local/include/libintl.h:91:25: warning: "__APPLE_CC__" is not defined
 /usr/local/include/libintl.h:113:24: warning: "__APPLE_CC__" is not
 defined
 cc -I./include -I./include/pmc
 -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK
 -DHAS_FLOATINGPOINT_H  -pipe -I/usr/local/include -DHASATTRIBUTE_CONST
 -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL
 -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED
 -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DHAS_GETTEXT  -g   -DPIC -fPIC
 -falign-functions=16 -fvisibility=hidden -funit-at-a-time -maccumulate-
 outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-
 subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels
 -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security
 -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch
 -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-
 attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses
 -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-
 compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default
 -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros
 -Wwrite-strings -Wbad-function-cast -Wc++-compat -Wdeclaration-after-
 statement -Werror=declaration-after-statement -Wimplicit-function-
 declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-
 prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-
 prototypes -Isrc/ops -o src/ops/core_ops.o -c src/ops/core_ops.c
 In file included from ./include/parrot/parrot.h:230,
                  from ./include/parrot/oplib/core_ops.h:19,
                  from src/ops/core_ops.c:13:
 /usr/local/include/libintl.h:91:25: warning: "__APPLE_CC__" is not defined
 /usr/local/include/libintl.h:113:24: warning: "__APPLE_CC__" is not
 defined
 }}}
 And so forth.  But as yet we're not actually using `osvers` in `make`.

 I reverted the assignment to `osvers` in ''config/init/hints/freebsd.pm''
 in r47090 and am awaiting a new Taptinder report.  (I don't myself have a
 FreeBSD box available.)

 Thank you very much.

 kid51

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1841#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to