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

2011-10-17 Thread Leif Hedstrom (Updated) (JIRA)

 [ 
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::NumericTypeunsigned int, ts::MsgIdTag, ts::NumericTypeunsigned 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

2011-10-17 Thread Leif Hedstrom (Assigned) (JIRA)

 [ 
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::NumericTypeunsigned int, ts::MsgIdTag, ts::NumericTypeunsigned 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

2011-10-17 Thread Leif Hedstrom (Updated) (JIRA)

 [ 
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::NumericTypeunsigned int, ts::MsgIdTag, ts::NumericTypeunsigned 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

2011-10-17 Thread Leif Hedstrom (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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::NumericTypeunsigned int, ts::MsgIdTag, ts::NumericTypeunsigned 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