pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c
4+ messages / 3 participants
[nested] [flat]

* Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c
@ 2010-04-08 01:19 Kiswono Prayogo <kiswono@gmail.com>
  2010-04-08 01:23 ` Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c Tom Lane <tgl@sss.pgh.pa.us>
  2010-04-08 01:24 ` Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c Alvaro Herrera <alvherre@commandprompt.com>
  0 siblings, 2 replies; 4+ messages in thread

From: Kiswono Prayogo @ 2010-04-08 01:19 UTC (permalink / raw)
  To: pgsql-admin

Just reporting that Alpha 4 was working just fine..
http://pastebin.com/ri2gXJDN

but Alpha 5 didn't:

make[4]: Entering directory
`/home/kyz/Repository/postgres/pgsql/src/backend/utils/error'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -g -Werror -I../../../../src/include -D_GNU_SOURCE
-I/usr/include/libxml2   -c -o assert.o assert.c
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -g -Werror -I../../../../src/include -D_GNU_SOURCE
-I/usr/include/libxml2   -c -o elog.o elog.c
cc1: warnings being treated as errors
elog.c: In function ‘write_console’:
elog.c:1698: error: ignoring return value of ‘write’, declared with
attribute warn_unused_result
elog.c: In function ‘write_pipe_chunks’:
elog.c:2390: error: ignoring return value of ‘write’, declared with
attribute warn_unused_result
elog.c:2399: error: ignoring return value of ‘write’, declared with
attribute warn_unused_result
make[4]: *** [elog.o] Error 1
make[4]: Leaving directory
`/home/kyz/Repository/postgres/pgsql/src/backend/utils/error'
make[3]: *** [error-recursive] Error 2
make[3]: Leaving directory
`/home/kyz/Repository/postgres/pgsql/src/backend/utils'
make[2]: *** [utils-recursive] Error 2
make[2]: Leaving directory `/home/kyz/Repository/postgres/pgsql/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kyz/Repository/postgres/pgsql/src'
make: *** [all] Error 2

-- 
Regards,
Kiswono P
GB



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c
  2010-04-08 01:19 Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c Kiswono Prayogo <kiswono@gmail.com>
@ 2010-04-08 01:23 ` Tom Lane <tgl@sss.pgh.pa.us>
  1 sibling, 0 replies; 4+ messages in thread

From: Tom Lane @ 2010-04-08 01:23 UTC (permalink / raw)
  To: Kiswono Prayogo <kiswono@gmail.com>; +Cc: pgsql-admin

Kiswono Prayogo <kiswono@gmail.com> writes:
> Just reporting that Alpha 4 was working just fine..
> http://pastebin.com/ri2gXJDN

> but Alpha 5 didn't:

If you got a copy that includes src/Makefile.custom, remove that and
try again.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c
  2010-04-08 01:19 Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c Kiswono Prayogo <kiswono@gmail.com>
@ 2010-04-08 01:24 ` Alvaro Herrera <alvherre@commandprompt.com>
  2010-04-08 01:26   ` Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c Kiswono Prayogo <kiswono@gmail.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Alvaro Herrera @ 2010-04-08 01:24 UTC (permalink / raw)
  To: Kiswono Prayogo <kiswono@gmail.com>; +Cc: pgsql-admin@postgresql.org, Pg Hackers <pgsql-hackers@postgresql.org>

Kiswono Prayogo escribió:
> Just reporting that Alpha 4 was working just fine..
> http://pastebin.com/ri2gXJDN
> 
> but Alpha 5 didn't:

Yeah, known packaging bug.  Please remove src/Makefile.custom and try
again (notice the -Werror that shouldn't be there)


> elog.c:1698: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result
> elog.c: In function ‘write_pipe_chunks’:
> elog.c:2390: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result
> elog.c:2399: error: ignoring return value of ‘write’, declared with
> attribute warn_unused_result

Though, is there value in silencing these warnings?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c
  2010-04-08 01:19 Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c Kiswono Prayogo <kiswono@gmail.com>
  2010-04-08 01:24 ` Re: Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c Alvaro Herrera <alvherre@commandprompt.com>
@ 2010-04-08 01:26   ` Kiswono Prayogo <kiswono@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Kiswono Prayogo @ 2010-04-08 01:26 UTC (permalink / raw)
  To: Alvaro Herrera <alvherre@commandprompt.com>; +Cc: pgsql-admin@postgresql.org, Pg Hackers <pgsql-hackers@postgresql.org>

oic, thanks ^^

-- 
Regards,
Kiswono P
GB



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2010-04-08 01:26 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 01:19 Compile Problem for Alpha 5 in /src/backend/utils/error/elog.c Kiswono Prayogo <kiswono@gmail.com>
2010-04-08 01:23 ` Tom Lane <tgl@sss.pgh.pa.us>
2010-04-08 01:24 ` Alvaro Herrera <alvherre@commandprompt.com>
2010-04-08 01:26   ` Kiswono Prayogo <kiswono@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox