Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#2773 closed defect (fixed)

grass-7.0.1 fails to build when compiled with -Werror=format-security"

Reported by: wraeth Owned by: martinl
Priority: normal Milestone: 7.0.2
Component: Compiling Version: 7.0.1
Keywords: Cc: grass-dev@…
CPU: Unspecified Platform: Linux

Description

Building of Grass 7.0.1 fails when the compiler options include -Werror=format-security, indicating insecure handling of string formatting. Compile log will be attached containing errors.

Attachments (1)

grass-7.0.1:201510212148.log.gz (149.6 KB) - added by wraeth 4 years ago.
Compressed build output

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by wraeth

Compressed build output

comment:1 Changed 4 years ago by neteler

Milestone: 7.0.1

This happens when configuring with --with-nls, is that true in your case?

comment:2 Changed 4 years ago by martinl

Cc: grass-dev@… added
Milestone: 7.0.17.0.2
Owner: changed from grass-dev@… to martinl
Status: newassigned

comment:3 Changed 4 years ago by martinl

Should be fixed in r66561 (trunk). If no objection I would backport it to relbr70 within few next days.

comment:4 in reply to:  1 Changed 4 years ago by wraeth

Replying to neteler:

This happens when configuring with --with-nls, is that true in your case?

Compiling with --without-nls produces the same results.

comment:5 in reply to:  3 Changed 4 years ago by martinl

Resolution: fixed
Status: assignedclosed

Replying to martinl:

Should be fixed in r66561 (trunk). If no objection I would backport it to relbr70 within few next days.

Done in r66614. Closing the ticket.

Last edited 4 years ago by martinl (previous) (diff)

comment:6 Changed 4 years ago by neteler

Partially backported to relbranch64 in r66616

Note: See TracTickets for help on using tickets.