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

Bug 517494

Summary: x11-libs/goffice-0.10.14 - utils/go-file.c:601:3: error: implicit declaration of function 'gsf_input_http_new' [-Werror=implicit-function-declaration]
Product: Gentoo Linux Reporter: Dmitri Bogomolov <4glitch>
Component: [OLD] LibraryAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal CC: david.w.noon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
Patch to correct missing function prototype declaration.
Patch to correct missing function prototypes.

Description Dmitri Bogomolov 2014-07-19 11:08:36 UTC
Created attachment 381046 [details]
build.log

last lines was:

utils/go-file.c: In function 'go_file_open':
utils/go-file.c:601:3: error: implicit declaration of function 'gsf_input_http_new' [-Werror=implicit-function-declaration]
utils/go-file.c:601:3: error: nested extern declaration of 'gsf_input_http_new' [-Werror=nested-externs]
utils/go-file.c:601:3: warning: return makes pointer from integer without a cast [enabled by default]
cc1: some warnings being treated as errors
Comment 1 Dmitri Bogomolov 2014-07-19 11:10:22 UTC
Created attachment 381048 [details]
emerge --info
Comment 2 David W Noon 2014-07-25 17:10:52 UTC
I have the same problem here.  I created 2 patches.
Comment 3 David W Noon 2014-07-25 17:12:10 UTC
Created attachment 381566 [details, diff]
Patch to correct missing function prototype declaration.
Comment 4 David W Noon 2014-07-25 17:13:16 UTC
Created attachment 381568 [details, diff]
Patch to correct missing function prototypes.
Comment 5 Pacho Ramos gentoo-dev 2014-07-25 18:48:29 UTC
I cannot reproduce with 0.10.17
Comment 6 David W Noon 2014-07-25 19:01:08 UTC
(In reply to Pacho Ramos from comment #5)
> I cannot reproduce with 0.10.17

Are you running a newer version of gnome-extra/libgsf?

I am still running the remnants of GNOME 2.32 and am switching to Mate.  As a result, I am still running gnome-extra/libgsf-1.14.25.  I suspect an upgrade will change the gsf-*.h headers to correct the problem.
Comment 7 Pacho Ramos gentoo-dev 2014-07-25 19:05:17 UTC
Please update all your setup (either to gnome3 or mate). We are going to remove gnome2 soon