Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925169 - app-office/gnumeric-1.12.57 - sf-bessel.c:1307:2: error: call to undeclared function 'go_quad_scalbn'; ISO C99 and later do
Summary: app-office/gnumeric-1.12.57 - sf-bessel.c:1307:2: error: call to undeclared f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks: musl-porting c99-porting
  Show dependency tree
 
Reported: 2024-02-21 12:28 UTC by ernsteiswuerfel
Modified: 2024-03-15 22:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (gnumeric-1.12.57:20240221-105252.log,245.89 KB, text/plain)
2024-02-21 12:28 UTC, ernsteiswuerfel
Details
emerge --info (file_925169.txt,7.64 KB, text/plain)
2024-02-21 12:29 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2024-02-21 12:28:56 UTC
Created attachment 885604 [details]
build.log

[...]
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I/usr/include/libgoffice-0.10 -I/usr/include/gtk-3.0 -I/usr/include/cairo -I/usr/include/atk-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libgsf-1 -I/usr/include/libxml2 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/lib/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -I/usr/include/librsvg-2.0 -DGNUMERIC_INTERNAL -Os -march=znver2 -pipe -DGDK_DISABLE_DEPRECATION_WARNINGS -DGTK_DISABLE_DEPRECATION_WARNINGS -Wall -Werror=init-self -Werror=missing-include-dirs -Wsign-compare -Werror=pointer-arith -Wchar-subscripts -Wwrite-strings -Wnested-externs -Wmissing-noreturn -Werror=missing-prototypes -Werror=nested-externs -Werror=implicit-function-declaration -Wmissing-declarations -Wno-pointer-sign -Werror=format-security -Wstrict-prototypes -Wno-error=format-nonliteral -c sf-bessel.c  -fPIC -DPIC -o .libs/libspreadsheet_la-sf-bessel.o
sf-bessel.c:1307:2: error: call to undeclared function 'go_quad_scalbn'; ISO C99 and later do
      not support implicit function declarations [-Wimplicit-function-declaration]
 1307 |         gnm_quad_scalbn (&qs, &qs, (int)e);
      |         ^
./numbers.h:207:36: note: expanded from macro 'gnm_quad_scalbn'
  207 | #define gnm_quad_scalbn GNM_SUFFIX(go_quad_scalbn)
      |                                    ^
sf-bessel.c:2551:3: error: call to undeclared function 'go_quad_negate'; ISO C99 and later do
      not support implicit function declarations [-Wimplicit-function-declaration]
 2551 |                 gnm_quad_negate (&ma, a);
      |                 ^
./numbers.h:200:36: note: expanded from macro 'gnm_quad_negate'
  200 | #define gnm_quad_negate GNM_SUFFIX(go_quad_negate)
      |                                    ^
sf-bessel.c:2566:27: error: use of undeclared identifier 'go_quad_half'
 2566 |         gnm_quad_add (&qk, &qk, &gnm_quad_half);
      |                                  ^
./numbers.h:195:34: note: expanded from macro 'gnm_quad_half'
  195 | #define gnm_quad_half GNM_SUFFIX(go_quad_half)
      |                                  ^
3 errors generated.
make[3]: *** [Makefile:2926: libspreadsheet_la-sf-bessel.lo] Error 1


This is on musl/clang. 1.12.56 builds fine there.
Comment 1 ernsteiswuerfel archtester 2024-02-21 12:29:45 UTC
Created attachment 885607 [details]
emerge --info
Comment 2 Gentookh 2024-03-14 19:26:46 UTC
>=x11-libs/goffice-0.10.57 seems to be required
Comment 3 Larry the Git Cow gentoo-dev 2024-03-15 04:39:21 UTC
The bug has been closed via the following commit(s):

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

commit aee3e149fc25b0998c02df227f677c380a0d49a3
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-15 04:38:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-15 04:38:26 +0000

    app-office/gnumeric: depend on >=goffice-0.10.57
    
    Needed for go_quad_scalbn which was added in upstream commit https://gitlab.gnome.org/GNOME/goffice/-/commit/cb43fc29f3def2b4fca2d84d9199681ad70bc41b.
    
    Closes: https://bugs.gentoo.org/925169
    Signed-off-by: Sam James <sam@gentoo.org>

 app-office/gnumeric/gnumeric-1.12.57.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)