You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Radim Kolar (JIRA)" <ji...@apache.org> on 2011/08/21 12:01:29 UTC

[jira] [Created] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Compile problem in TsErrataUtil on FreeBSD 8
--------------------------------------------

                 Key: TS-928
                 URL: https://issues.apache.org/jira/browse/TS-928
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
    Affects Versions: 3.0.1
         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
            Reporter: Radim Kolar


TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.

/bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
cc1plus: warnings being treated as errors
TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
gmake[3]: *** [TsErrataUtil.lo] Error 1
gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
gmake: *** [all-recursive] Error 1
*** Error code 1

Stop in /home/hsn/ports/trafficserver.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-928:
--------------------------------

    Assignee: Leif Hedstrom  (was: Alan M. Carroll)
    
> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>            Assignee: Leif Hedstrom
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-928:
--------------------------------

    Assignee: Alan M. Carroll

> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>            Assignee: Alan M. Carroll
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-928:
-----------------------------

    Attachment: TS-928.diff

Slightly better, but still ugly, patch. This at least compiles on both Linux and FreeBSD.
                
> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>         Attachments: TS-928.diff
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-928:
-----------------------------

    Fix Version/s: 3.1.1

> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-928:
-----------------------------

    Fix Version/s:     (was: 3.1.2)
                   3.1.1

I think we should fix this for v3.1.1, since it fails to build.
                
> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>            Assignee: Alan M. Carroll
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Alan M. Carroll (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan M. Carroll updated TS-928:
-------------------------------

    Fix Version/s:     (was: 3.1.1)
                   3.1.2
    
> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>            Assignee: Alan M. Carroll
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.2
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-928:
-----------------------------

    Attachment: TS-928.diff

This fixes some additional problems, but not all. For now, I think we'll just have to not support WCCP for FreeBSD, until someone really cares about it :).
                
> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>            Assignee: Leif Hedstrom
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>         Attachments: TS-928.diff
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-928:
-----------------------------

    Attachment:     (was: TS-928.diff)
    
> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>         Attachments: TS-928.diff
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129207#comment-13129207 ] 

Leif Hedstrom commented on TS-928:
----------------------------------

Crap, ignore that first line that changes the #include from the .hpp to .h. It should work now with the .hpp.
                
> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>         Attachments: TS-928.diff
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TS-928) Compile problem in TsErrataUtil on FreeBSD 8

Posted by "Leif Hedstrom (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom reassigned TS-928:
--------------------------------

    Assignee:     (was: Leif Hedstrom)
    
> Compile problem in TsErrataUtil on FreeBSD 8
> --------------------------------------------
>
>                 Key: TS-928
>                 URL: https://issues.apache.org/jira/browse/TS-928
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: FreeBSD 8.2, 32-bit, gcc (GCC) 4.2.1 20070719 
>            Reporter: Radim Kolar
>              Labels: build-failure, freebsd, wccp
>             Fix For: 3.1.1
>
>         Attachments: TS-928.diff
>
>
> TF with --enable-wccp do not compile on FreeBSD. I have gnu sed, flex and bison updated to their latest versions.
> /bin/sh ../../libtool --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5  -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c -o TsErrataUtil.lo TsErrataUtil.cc
> libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../../lib/ts -I../../lib -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -Dfreebsd -I/usr/local/include -I/usr/local/include/tcl8.5 -O2 -pipe -march=prescott -fno-strict-aliasing -march=i586 -g -Wall -Werror -O3 -feliminate-unused-debug-symbols -Wno-invalid-offsetof -MT TsErrataUtil.lo -MD -MP -MF .deps/TsErrataUtil.Tpo -c TsErrataUtil.cc  -fPIC -DPIC -o .libs/TsErrataUtil.o
> cc1plus: warnings being treated as errors
> TsErrataUtil.cc: In function 'ts::Errata ts::msg::vlogf_errno(ts::Errata&, ts::NumericType<unsigned int, ts::MsgIdTag>, ts::NumericType<unsigned int, ts::CodeTag>, const char*, char*&)':
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> TsErrataUtil.cc:143: warning: format '%s' expects type 'char*', but argument 5 has type 'int'
> gmake[3]: *** [TsErrataUtil.lo] Error 1
> gmake[3]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib/tsconfig'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/hsn/ports/trafficserver/work/trafficserver-3.0.1/lib'
> gmake: *** [all-recursive] Error 1
> *** Error code 1
> Stop in /home/hsn/ports/trafficserver.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira