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

Bug 615228

Summary: media-libs/tiff-4.0.7-r2 fails at build libtiff without -std=gnu11 (and patch)
Product: Gentoo Linux Reporter: jorgicio <jpizarrocallejas>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: eseifert, gianluca.dallatorre, herrtimson, ivanhoe
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: The patch
build.log

Description jorgicio 2017-04-11 01:52:47 UTC
Hi! media-libs/tiff-4.0.7-r2 fails at build because the libtiff source did not compile because of C99 or C11 standard.
So I made a patch to fix that, I'll attach it then.
Thanks.

Reproducible: Always
Comment 1 jorgicio 2017-04-11 01:53:15 UTC
Created attachment 469668 [details, diff]
The patch
Comment 2 Ivan Iraci 2017-04-11 11:25:59 UTC
(In reply to jorgicio from comment #1)

> Created attachment 469668 [details, diff] [details, diff]
> The patch

Same problem here and your patch works for me.
Comment 3 James Ausmus 2017-04-11 17:07:42 UTC
Same compile problem here, patch also works for me. Thanks!
Comment 4 SpanKY gentoo-dev 2017-04-12 20:09:09 UTC
you must attach the build log and emerge --info in all of your bug reports.  this patch is incorrect and won't be merged, but we can't figure out the right fix w/out logs.
Comment 5 Gian Luca Dalla Torre 2017-04-12 21:45:24 UTC
(In reply to SpanKY from comment #4)
> you must attach the build log and emerge --info in all of your bug reports. 
> this patch is incorrect and won't be merged, but we can't figure out the
> right fix w/out logs.

I had the same problem but, meanwhile, r3 of this package has been released which solves the issue.
Comment 6 Erich Seifert 2017-04-12 22:01:12 UTC
Created attachment 469938 [details]
build.log

Hi, I am also experiencing this issue. Here's my build.log.
Comment 7 Erich Seifert 2017-04-13 07:03:16 UTC
(In reply to Gian Luca Dalla Torre from comment #5)
> I had the same problem but, meanwhile, r3 of this package has been released
> which solves the issue.

Installing media-libs/tiff-4.0.7-r3 also solved the issue for me.
Comment 8 SpanKY gentoo-dev 2017-04-14 14:29:10 UTC

*** This bug has been marked as a duplicate of bug 615394 ***