Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 560032

Summary: media-gfx/gtkam fails to build with format-security
Product: Gentoo Linux Reporter: René Rhéaume <rene.rheaume>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED WONTFIX    
Severity: minor CC: graphics+disabled
Priority: Normal Keywords: PATCH, PMASKED
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: https://sourceforge.net/p/gphoto/bugs/1029/
See Also: https://bugs.gentoo.org/show_bug.cgi?id=507760
https://bugs.gentoo.org/show_bug.cgi?id=769095
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713576, 259417    
Attachments: gtkam-0.2.0-format-security.patch
gtkam-0.2.0.ebuild.patch
gtkam-1.0.ebuild.patch

Description René Rhéaume 2015-09-09 11:15:38 UTC
gtkam fails to compile when -Werror=format-security is added to CFLAGS.

Reproducible: Always

Steps to Reproduce:
1. echo 'CFLAGS="${CFLAGS} -Werror=format-security"' >> /etc/portage/make.conf
2. emerge gtkam
3.
Actual Results:  
emake failed

Expected Results:  
gtkam installed on system
Comment 1 René Rhéaume 2015-09-09 11:16:35 UTC
Created attachment 411398 [details, diff]
gtkam-0.2.0-format-security.patch
Comment 2 René Rhéaume 2015-09-09 11:20:00 UTC
Created attachment 411400 [details, diff]
gtkam-0.2.0.ebuild.patch
Comment 3 Pacho Ramos gentoo-dev 2016-07-02 15:28:54 UTC
please try with 1.0
Comment 4 René Rhéaume 2016-07-02 16:02:46 UTC
(In reply to Pacho Ramos from comment #3)
> please try with 1.0

Where is version 1.0? I cannot find it neither on https://packages.gentoo.org/packages/media-gfx/gtkam  nor https://gitweb.gentoo.org/repo/gentoo.git/tree/media-gfx/gtkam
Comment 5 Pacho Ramos gentoo-dev 2016-07-09 12:07:35 UTC
it is in the tree for some days, please resync
Comment 6 René Rhéaume 2016-10-02 22:51:57 UTC
(In reply to Pacho Ramos from comment #5)
> it is in the tree for some days, please resync

I retried and the bug is not corrected. The code patch from 0.2.0 can still be applied.
Comment 7 René Rhéaume 2016-10-02 22:53:31 UTC
Created attachment 448920 [details, diff]
gtkam-1.0.ebuild.patch
Comment 8 Andreas Sturmlechner gentoo-dev 2019-03-20 17:10:31 UTC
@gnome, please rethink the importance of keeping this package in tree and if positive, consider taking over media-libs/libexif-gtk and bump it (0.4.0 has gtk3 support). media-gfx/gtkam is the only revdep of it, and has not received any commit in 4 years.
Comment 9 Larry the Git Cow gentoo-dev 2021-06-14 08:25:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e4e485c4bdfdd74ca332ec4068de5fc6baa308

commit 22e4e485c4bdfdd74ca332ec4068de5fc6baa308
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-06-14 07:56:01 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-06-14 08:25:16 +0000

    media-gfx/gtkam: Remove last-rited package
    
    Bug: https://bugs.gentoo.org/560032
    Bug: https://bugs.gentoo.org/740020
    Bug: https://bugs.gentoo.org/769095
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/gtkam/Manifest                           |  1 -
 .../files/gtkam-0.1.18-desktop-validation.patch    | 15 -------
 media-gfx/gtkam/gtkam-1.0-r1.ebuild                | 46 ----------------------
 media-gfx/gtkam/metadata.xml                       | 11 ------
 profiles/package.mask                              |  6 ---
 5 files changed, 79 deletions(-)