Opened 9 years ago

Closed 9 years ago

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

Download all attachments as: .zip

Change History (7)

by wraeth, 9 years ago

Compressed build output

comment:1 by neteler, 9 years ago

Milestone: 7.0.1

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

comment:2 by martinl, 9 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, 9 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, 9 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, 9 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 r66614. Closing the ticket.

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

comment:6 by neteler, 9 years ago

Partially backported to relbranch64 in r66616

Note: See TracTickets for help on using tickets.