Opened 8 years ago

Closed 8 years ago

Last modified 8 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 8 years ago.
Compressed build output

Download all attachments as: .zip

Change History (7)

by wraeth, 8 years ago

Compressed build output

comment:1 by neteler, 8 years ago

Milestone: 7.0.1

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

comment:2 by martinl, 8 years ago

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

comment:3 by martinl, 8 years ago

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

in reply to:  1 comment:4 by wraeth, 8 years ago

Replying to neteler:

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

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

in reply to:  3 comment:5 by martinl, 8 years ago

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 r66613. Closing the ticket.

Version 0, edited 8 years ago by martinl (next)

comment:6 by neteler, 8 years ago

Partially backported to relbranch64 in r66616

Note: See TracTickets for help on using tickets.