You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Alan Cabrera (JIRA)" <ji...@apache.org> on 2011/07/26 16:59:09 UTC

[jira] [Created] (TS-889) Current trunk fails to build

Current trunk fails to build
----------------------------

                 Key: TS-889
                 URL: https://issues.apache.org/jira/browse/TS-889
             Project: Traffic Server
          Issue Type: Bug
          Components: Build
         Environment: Mac OSX 10.7
            Reporter: Alan Cabrera


g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
cc1plus: warnings being treated as errors
SSLCertLookup.cc: In member function 'int SSLCertLookup::addInfoToHash(char*, char*, char*)':
SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
SSLCertLookup.cc: At global scope:
SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
compilation terminated.
make[2]: *** [SSLCertLookup.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
[daruma:trunk 507]$ 


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

        

[jira] [Resolved] (TS-889) Current trunk fails to build

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

Leif Hedstrom resolved TS-889.
------------------------------

    Resolution: Fixed

> Current trunk fails to build
> ----------------------------
>
>                 Key: TS-889
>                 URL: https://issues.apache.org/jira/browse/TS-889
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mac OSX 10.7
>            Reporter: Alan Cabrera
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.0
>
>
> g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
> cc1plus: warnings being treated as errors
> SSLCertLookup.cc: In member function 'int SSLCertLookup::addInfoToHash(char*, char*, char*)':
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc: At global scope:
> SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
> compilation terminated.
> make[2]: *** [SSLCertLookup.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [daruma:trunk 507]$ 

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

        

[jira] [Updated] (TS-889) Current trunk fails to build

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

Leif Hedstrom updated TS-889:
-----------------------------

    Fix Version/s: 3.1.0
         Assignee: Leif Hedstrom

> Current trunk fails to build
> ----------------------------
>
>                 Key: TS-889
>                 URL: https://issues.apache.org/jira/browse/TS-889
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mac OSX 10.7
>            Reporter: Alan Cabrera
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.0
>
>
> g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
> cc1plus: warnings being treated as errors
> SSLCertLookup.cc: In member function 'int SSLCertLookup::addInfoToHash(char*, char*, char*)':
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc: At global scope:
> SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
> compilation terminated.
> make[2]: *** [SSLCertLookup.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [daruma:trunk 507]$ 

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

        

[jira] [Commented] (TS-889) Current trunk fails to build

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

Leif Hedstrom commented on TS-889:
----------------------------------

Alan: can you try with -Wno-deprecated-declarations. E.g. http://fpaste.org/ai8R/

> Current trunk fails to build
> ----------------------------
>
>                 Key: TS-889
>                 URL: https://issues.apache.org/jira/browse/TS-889
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mac OSX 10.7
>            Reporter: Alan Cabrera
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.0
>
>
> g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
> cc1plus: warnings being treated as errors
> SSLCertLookup.cc: In member function 'int SSLCertLookup::addInfoToHash(char*, char*, char*)':
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc: At global scope:
> SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
> compilation terminated.
> make[2]: *** [SSLCertLookup.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [daruma:trunk 507]$ 

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

        

[jira] [Commented] (TS-889) Current trunk fails to build

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

Paul Querna commented on TS-889:
--------------------------------

Apple deprecated all of OpenSSL in 10.7.

You can either add -Wno-deprecated-declaration to the CFLAGS on OSX, or use an openssl from brew/ports -- the OpenSSL in OSX is actually just fine, just causes tons of warnings.

> Current trunk fails to build
> ----------------------------
>
>                 Key: TS-889
>                 URL: https://issues.apache.org/jira/browse/TS-889
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mac OSX 10.7
>            Reporter: Alan Cabrera
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.0
>
>
> g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
> cc1plus: warnings being treated as errors
> SSLCertLookup.cc: In member function 'int SSLCertLookup::addInfoToHash(char*, char*, char*)':
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc: At global scope:
> SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
> compilation terminated.
> make[2]: *** [SSLCertLookup.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [daruma:trunk 507]$ 

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

        

[jira] [Commented] (TS-889) Current trunk fails to build

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

Leif Hedstrom commented on TS-889:
----------------------------------

Alan: Did you try installing OpenSSL into /opt/local (e.g. with MacPorts) ? I think OSX 10.7 did something weird to mark those functions deprecated :/.

> Current trunk fails to build
> ----------------------------
>
>                 Key: TS-889
>                 URL: https://issues.apache.org/jira/browse/TS-889
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mac OSX 10.7
>            Reporter: Alan Cabrera
>
> g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
> cc1plus: warnings being treated as errors
> SSLCertLookup.cc: In member function 'int SSLCertLookup::addInfoToHash(char*, char*, char*)':
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc: At global scope:
> SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
> compilation terminated.
> make[2]: *** [SSLCertLookup.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [daruma:trunk 507]$ 

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

        

[jira] [Commented] (TS-889) Current trunk fails to build

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

Leif Hedstrom commented on TS-889:
----------------------------------

There's a missing closing " in that patch, thanks Paul for spotting it.

> Current trunk fails to build
> ----------------------------
>
>                 Key: TS-889
>                 URL: https://issues.apache.org/jira/browse/TS-889
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mac OSX 10.7
>            Reporter: Alan Cabrera
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.0
>
>
> g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
> cc1plus: warnings being treated as errors
> SSLCertLookup.cc: In member function 'int SSLCertLookup::addInfoToHash(char*, char*, char*)':
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc: At global scope:
> SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
> compilation terminated.
> make[2]: *** [SSLCertLookup.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [daruma:trunk 507]$ 

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

        

[jira] [Commented] (TS-889) Current trunk fails to build

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

Alan Cabrera commented on TS-889:
---------------------------------

That did the trick.  I was able to compile and run the server.  Thanks!

> Current trunk fails to build
> ----------------------------
>
>                 Key: TS-889
>                 URL: https://issues.apache.org/jira/browse/TS-889
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>         Environment: Mac OSX 10.7
>            Reporter: Alan Cabrera
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.0
>
>
> g++ -DHAVE_CONFIG_H  -I. -I../../lib/ts  -I../../iocore/eventsystem -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils -I../../iocore/dns -I../../lib -I../../lib/records -I../../proxy -I../../proxy/hdrs -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils -I/opt/local/include -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -Ddarwin -I/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers -I/usr/local/include  -g -pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof  -MT SSLCertLookup.o -MD -MP -MF .deps/SSLCertLookup.Tpo -c -o SSLCertLookup.o SSLCertLookup.cc
> cc1plus: warnings being treated as errors
> SSLCertLookup.cc: In member function 'int SSLCertLookup::addInfoToHash(char*, char*, char*)':
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:205: warning: 'SSLv23_server_method' is deprecated (declared at /usr/include/openssl/ssl.h:1516)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc:206: warning: 'SSL_CTX_new' is deprecated (declared at /usr/include/openssl/ssl.h:1346)
> SSLCertLookup.cc: At global scope:
> SSLCertLookup.cc:236: fatal error: opening dependency file .deps/SSLCertLookup.Tpo: Permission denied
> compilation terminated.
> make[2]: *** [SSLCertLookup.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> [daruma:trunk 507]$ 

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