[MDEV-23176] s3 storage engine Build Failed on FreeBSD Created: 2020-07-15  Updated: 2020-08-01  Resolved: 2020-08-01

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Storage Engine - S3
Affects Version/s: 10.5.4
Fix Version/s: 10.5.5

Type: Bug Priority: Blocker
Reporter: yingchen zhang Assignee: Vicențiu Ciorbaru
Resolution: Fixed Votes: 0
Labels: freebsd


 Description   

cc: warning: -Wl,-z,relro,-z,now: 'linker' input unused [-Wunused-command-line-argument]
/root/mariadb-10.5.4/storage/maria/libmarias3/src/marias3.c:172:24: error: variable has incomplete type 'struct sockaddr_in'
    struct sockaddr_in sa;
                       ^
/root/mariadb-10.5.4/storage/maria/libmarias3/src/marias3.c:172:12: note: forward declaration of 'struct sockaddr_in'
    struct sockaddr_in sa;
           ^
1 error generated.
gmake[2]: *** [storage/maria/CMakeFiles/aria_s3_copy.dir/build.make:135: storage/maria/CMakeFiles/aria_s3_copy.dir/libmarias3/src/marias3.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:5565: storage/maria/CMakeFiles/aria_s3_copy.dir/all] Error 2
gmake: *** [Makefile:183: all] Error 2

cmake params

 



 Comments   
Comment by Daniel Black [ 2020-07-16 ]

A fix for this has been submitted https://github.com/mariadb-corporation/libmarias3/pull/87 in addition to https://github.com/MariaDB/server/pull/1627

Note on outstanding FreeBSD fixes there is also MDEV-22975 and MDEV-22621

Comment by Anel Husakovic [ 2020-07-28 ]

Pushed with 6a70398c7ae3 on 10.5 by cvicentiu and it can be closed.

Generated at Thu Feb 08 09:20:25 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.