[
https://issues.apache.org/jira/browse/HAWQ-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ming LI updated HAWQ-1423:
--------------------------
Description:
This bug only exists on MacOS.
Reproduce Steps:
{code}
1. ./configure
2. make -j8
3. cd src/backend
4. make unittest-check
{code}
{code}
../../../../../src/test/unit/mock/backend/libpq/be-secure_mock.c:174:2: error:
void function 'report_commerror'
should not return a value [-Wreturn-type]
return (__MAYBE_UNUSED) mock();
^ ~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[4]: *** [../../../../../src/test/unit/mock/backend/libpq/be-secure_mock.o]
Error 1
make[3]: *** [mockup-phony] Error 2
make[2]: *** [unittest-check] Error 2
make[1]: *** [unittest-check] Error 2
make: *** [unittest-check] Error 2
{code}
was:
This bug only exists on MacOS.
Reproduce Steps:
1. ./configure
2. make -j8
3. cd src/backend
4. make unittest-check
../../../../../src/test/unit/mock/backend/libpq/be-secure_mock.c:174:2: error:
void function 'report_commerror'
should not return a value [-Wreturn-type]
return (__MAYBE_UNUSED) mock();
^ ~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[4]: *** [../../../../../src/test/unit/mock/backend/libpq/be-secure_mock.o]
Error 1
make[3]: *** [mockup-phony] Error 2
make[2]: *** [unittest-check] Error 2
make[1]: *** [unittest-check] Error 2
make: *** [unittest-check] Error 2
> Build error when make unittest-check on MacOS
> ---------------------------------------------
>
> Key: HAWQ-1423
> URL: https://issues.apache.org/jira/browse/HAWQ-1423
> Project: Apache HAWQ
> Issue Type: Bug
> Components: Build
> Reporter: Ming LI
> Assignee: Ed Espino
> Fix For: backlog
>
>
> This bug only exists on MacOS.
> Reproduce Steps:
> {code}
> 1. ./configure
> 2. make -j8
> 3. cd src/backend
> 4. make unittest-check
> {code}
> {code}
> ../../../../../src/test/unit/mock/backend/libpq/be-secure_mock.c:174:2:
> error: void function 'report_commerror'
> should not return a value [-Wreturn-type]
> return (__MAYBE_UNUSED) mock();
> ^ ~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> make[4]: ***
> [../../../../../src/test/unit/mock/backend/libpq/be-secure_mock.o] Error 1
> make[3]: *** [mockup-phony] Error 2
> make[2]: *** [unittest-check] Error 2
> make[1]: *** [unittest-check] Error 2
> make: *** [unittest-check] Error 2
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)