Haildb doesn't build on FreeBSD 8.1

Bug #659430 reported by Lee Bieber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HailDB
Fix Released
Low
Monty Taylor
Pandora Build
Fix Released
High
Monty Taylor

Bug Description

libtool: compile: gcc44 -std=gnu99 -DHAVE_CONFIG_H -I. -I. -ggdb3 -I./include -I./include -isystem /usr/local/include -I/usr/local/include -pipe -O3 -pedantic -Wall -Wundef -Wshadow -fdiagnostics-show-option -Wno-format -fno-strict-aliasing -Wno-strict-aliasing -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wcast-align -Wlogical-op -Wno-error -MT btr/btr0btr.lo -MD -MP -MF btr/.deps/btr0btr.Tpo -c btr/btr0btr.c -fPIC -DPIC -o btr/.libs/btr0btr.o
In file included from ./include/btr0btr.h:29,
                 from btr/btr0btr.c:26:
./include/univ.i:295: error: redefinition of typedef 'ulong'
./config.h:561: note: previous declaration of 'ulong' was here
In file included from ./include/data0type.h:451,
                 from ./include/dict0mem.h:31,
                 from ./include/dict0dict.h:31,
                 from ./include/btr0btr.h:31,
                 from btr/btr0btr.c:26:
./include/data0type.ic: In function 'dtype_get_fixed_size_low':
./include/data0type.ic:379: warning: unused parameter 'comp' [-Wunused-parameter]
In file included from ./include/btr0btr.h:31,
                 from btr/btr0btr.c:26:
./include/dict0dict.h: At top level:
./include/dict0dict.h:716: warning: redundant redeclaration of 'dict_index_remove_from_cache' [-Wredundant-decls]
./include/dict0dict.h:233: note: previous declaration of 'dict_index_remove_from_cache' was here
./include/dict0dict.h:1071: warning: redundant redeclaration of 'dict_index_remove_from_cache' [-Wredundant-decls]
./include/dict0dict.h:716: note: previous declaration of 'dict_index_remove_from_cache' was here
./include/dict0dict.h:1187: warning: redundant redeclaration of 'dict_close' [-Wredundant-decls]
./include/dict0dict.h:108: note: previous declaration of 'dict_close' was here
In file included from ./include/page0page.h:33,
                 from ./include/page0cur.h:32,
                 from ./include/btr0btr.h:33,
                 from btr/btr0btr.c:26:
./include/buf0buf.h:68: warning: redundant redeclaration of 'srv_buf_pool_write_requests' [-Wredundant-decls]
./include/srv0srv.h:240: note: previous declaration of 'srv_buf_pool_write_requests' was here
In file included from ./include/mtr0log.ic:30,
                 from ./include/mtr0log.h:247,
                 from ./include/fut0lst.ic:27,
                 from ./include/fut0lst.h:212,
                 from ./include/fsp0fsp.h:32,
                 from ./include/page0page.h:37,
                 from ./include/page0cur.h:32,
                 from ./include/btr0btr.h:33,
                 from btr/btr0btr.c:26:
./include/trx0sys.h:300: warning: redundant redeclaration of 'trx_sys_close' [-Wredundant-decls]
./include/trx0sys.h:284: note: previous declaration of 'trx_sys_close' was here
./include/trx0sys.h:391: warning: redundant redeclaration of 'trx_sys_file_format_id_to_name' [-Wredundant-decls]
./include/trx0sys.h:308: note: previous declaration of 'trx_sys_file_format_id_to_name' was here
In file included from ./include/page0page.ic:35,
                 from ./include/page0page.h:1025,
                 from ./include/page0cur.h:32,
                 from ./include/btr0btr.h:33,
                 from btr/btr0btr.c:26:
./include/page0zip.h:299: warning: redundant redeclaration of 'page_zip_rec_set_deleted' [-Wredundant-decls]
./include/page0types.h:108: note: previous declaration of 'page_zip_rec_set_deleted' was here
./include/page0zip.h:311: warning: redundant redeclaration of 'page_zip_rec_set_owned' [-Wredundant-decls]
./include/page0types.h:120: note: previous declaration of 'page_zip_rec_set_owned' was here
./include/page0zip.h:335: warning: redundant redeclaration of 'page_zip_dir_delete' [-Wredundant-decls]
./include/page0types.h:131: note: previous declaration of 'page_zip_dir_delete' was here
./include/page0zip.h:348: warning: redundant redeclaration of 'page_zip_dir_add_slot' [-Wredundant-decls]
./include/page0types.h:144: note: previous declaration of 'page_zip_dir_add_slot' was here
./include/page0zip.h:375: warning: redundant redeclaration of 'page_zip_write_header' [-Wredundant-decls]
./include/page0zip.h:204: note: previous declaration of 'page_zip_write_header' was here
In file included from btr/btr0btr.c:40:
./include/lock0lock.h:749: warning: redundant redeclaration of 'lock_sys_close' [-Wredundant-decls]
./include/lock0lock.h:65: note: previous declaration of 'lock_sys_close' was here
btr/btr0btr.c: In function 'btr_lift_page_up':
btr/btr0btr.c:2521: warning: declaration of 'page' shadows a previous local [-Wshadow]
btr/btr0btr.c:2438: warning: shadowed declaration is here [-Wshadow]
*** Error code 1

Related branches

Changed in haildb:
assignee: nobody → Stewart Smith (stewart)
status: New → Confirmed
Revision history for this message
Monty Taylor (mordred) wrote : Re: [Bug 659430] [NEW] Haildb doesn't build on FreeBSD 8.1

On 10/12/2010 12:07 PM, Lee Bieber wrote:
> ./include/univ.i:295: error: redefinition of typedef 'ulong'
> ./config.h:561: note: previous declaration of 'ulong' was here

^^^ This is the actual error.

Revision history for this message
Stewart Smith (stewart) wrote :

pandora_canonical.m4 should #define HAVE_ULONG 1 if it does in fact define ulong if host doesn't.

Changed in haildb:
importance: Undecided → Low
assignee: Stewart Smith (stewart) → Monty Taylor (mordred)
milestone: none → cairo
Monty Taylor (mordred)
Changed in pandora-build:
assignee: nobody → Monty Taylor (mordred)
importance: Undecided → High
status: New → Fix Committed
Monty Taylor (mordred)
Changed in pandora-build:
status: Fix Committed → Fix Released
Revision history for this message
Stewart Smith (stewart) wrote :

This should be fixed in latest push to trunk (the pandora-build updates)

Changed in haildb:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.