Opened 10 years ago

Closed 10 years ago

#44534 closed defect (fixed)

mariadb @5.5.37: error: unused variable 'fifo_initial_size'

Reported by: sk-public@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: mariadb

Description

Building mariadb 5.5.37 on OSX 10.9.4 and Xcode 5.1.1 fails with unused variable error:

/opt/digikam/var/macports/build/_opt_digikam_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mariadb/mariadb/work/mariadb-5.5.37/storage/tokudb/ft-index/ft/fifo.cc:105:11: error: unused variable 'fifo_initial_size' [-Werror,-Wunused-const-variable]
const int fifo_initial_size = 4096;
          ^
1 error generated.
make[2]: *** [storage/tokudb/ft-index/ft/CMakeFiles/ft_static.dir/fifo.cc.o] Error 1

Attachments (1)

main.log (3.1 MB) - added by sk-public@… 10 years ago.
Output of sudo port build mariadb

Change History (6)

comment:1 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Are you using the debug variant "+debug"?

If so, have you tried building mariadb without +debug?

comment:2 Changed 10 years ago by sk-public@…

I was not using +debug. I was using +no_root -startupitem. The error still appears with those options reversed.

comment:3 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Please clean and build with no variants and attach the log file to this ticket:

sudo port clean mariadb
sudo port build mariadb
port logfile mariadb

Changed 10 years ago by sk-public@…

Attachment: main.log added

Output of sudo port build mariadb

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: pixilla@… removed
Owner: changed from macports-tickets@… to pixilla@…
Summary: Unused variable error building mariadb 5.5.37mariadb @5.5.37: error: unused variable 'fifo_initial_size'

The log has been attached.

comment:5 Changed 10 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

See r123180

Note: See TracTickets for help on using tickets.