[ 
https://issues.apache.org/jira/browse/TS-1104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13271250#comment-13271250
 ] 

Neddy commented on TS-1104:
---------------------------

I'm trying on fresh OpenIndiana 151a4 system, but seems it's the same error?

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../../lib/ts -I../../proxy 
-I../../proxy/api/ts -I../../proxy -I../../proxy/hdrs -I../../proxy/http 
-I../../proxy/http/remap -I../../mgmt -I../../mgmt/preparse -I../../mgmt/utils 
-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT 
-Dsolaris  -march=i586 -g -pipe -Wall -Werror -O3 
-feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -MT 
Store.o -MD -MP -MF .deps/Store.Tpo -c -o Store.o Store.cc
Store.cc: In member function âconst char* Span::init(char*, int64_t)â:
Store.cc:615:5: error: format â%dâ expects argument of type âintâ, but argument 
8 has type âmode_t {aka long unsigned int}â [-Werror=format]
cc1plus: all warnings being treated as errors

make[2]: *** [Store.o] Error 1
make[2]: Leaving directory `/tmp/trafficserver-3.1.3-unstable/iocore/cache'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/trafficserver-3.1.3-unstable/iocore'
make: *** [all-recursive] Error 1
                
> Build problem on solaris
> ------------------------
>
>                 Key: TS-1104
>                 URL: https://issues.apache.org/jira/browse/TS-1104
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Core
>            Reporter: Leif Hedstrom
>            Assignee: Leif Hedstrom
>             Fix For: 3.1.3
>
>
> Reported and fixed by Igor Brezac
> {code}
> --- Store.cc.orig       2012-02-06 10:11:26.365180262 -0500
> +++ Store.cc    2012-02-06 10:11:56.035330329 -0500
> @@ -629,7 +629,7 @@
>    blocks = size / STORE_BLOCK_SIZE;
>    file_pathname = !((s.st_mode & S_IFMT) == S_IFDIR);
> -  Debug("cache_init", "Span::init - %s hw_sector_size = %d  size = %"
> PRId64 ", blocks = %" PRId64 ", disk_id = %d, file_pathname = %d",
> filename, hw_sector_size, size, blocks, disk_id, file_pathname);
> +  Debug("cache_init", "Span::init - %s hw_sector_size = %" PRId64 ",
> size = %" PRId64 ", blocks = %" PRId64 ", disk_id = %d, file_pathname
> = %d", filename, hw_sector_size, size, blocks, disk_id,
> file_pathname);
>  Lfail:
>    socketManager.close(fd);
> {code}

--
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


Reply via email to