bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Thu Sep 12 06:18:49 PDT 2013
http://www.slony.info/bugzilla/show_bug.cgi?id=315

           Summary: Slony 2.1.1 will not build on Debian Wheezy
           Product: Slony-I
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: low
         Component: core scripts
        AssignedTo: slony1-bugs at lists.slony.info
        ReportedBy: athanasios.kostopoulos at classmarkets.com
                CC: slony1-bugs at lists.slony.info
   Estimated Hours: 0.0


Created an attachment (id=183)
 --> (http://www.slony.info/bugzilla/attachment.cgi?id=183)
config.log

Debian 7.1 Wheezy
gcc (Debian 4.7.2-5) 4.7.2 
Slony 2.1.1

The configure test for SETCONFIGOPTION_6 is failing leaving the option
undefined. During compile time this generates the following error:

gcc -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../.. -fpic
-I/usr/include/postgresql/8.4/server/ -I/usr/include/postgresql/  -c -o
slony1_funcs.o slony1_funcs.c
slony1_funcs.c: In function ‘_Slony_I_createEvent’:
slony1_funcs.c:146:10: warning: variable ‘buf_size’ set but not used
[-Wunused-but-set-variable]
slony1_funcs.c: In function ‘_Slony_I_logTrigger’:
slony1_funcs.c:464:7: error: too many arguments to function ‘set_config_option’
In file included from slony1_funcs.c:36:0:
/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here
slony1_funcs.c:509:13: error: too many arguments to function
‘set_config_option’
In file included from slony1_funcs.c:36:0:
/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here
slony1_funcs.c:592:5: warning: implicit declaration of function
‘compatible_oper_funcid’ [-Wimplicit-function-declaration]
slony1_funcs.c:592:5: warning: implicit declaration of function ‘makeList1’
[-Wimplicit-function-declaration]
slony1_funcs.c:638:10: error: too many arguments to function
‘set_config_option’
In file included from slony1_funcs.c:36:0:
/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here
slony1_funcs.c:645:10: error: too many arguments to function
‘set_config_option’
In file included from slony1_funcs.c:36:0:
/usr/include/postgresql/8.4/server/utils/guc.h:265:13: note: declared here
make[2]: *** [slony1_funcs.o] Error 1
make[2]: Leaving directory `/root/slony1-2.1.1/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/slony1-2.1.1/src'
make: *** [all] Error 2

setting manually the value leads to a successful compile. Config.log attached

Feel free to contact for any further information.

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Slony1-bugs mailing list