Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Apr 2019 18:37:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237227] math/ggobi: Fix undefined references
Message-ID:  <bug-237227-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237227

            Bug ID: 237227
           Summary: math/ggobi: Fix undefined references
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rhurlin@gwdg.de

Created attachment 203621
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203621&action=
=3Dedit
Patch to fix math/ggobi

Since some time now there are problems with math/ggobi, not able to build on
amd64 and i386[1][2]. The build breaks with

ld: error: ./.libs/libggobi.so: undefined reference to pow
ld: error: ./.libs/libggobi.so: undefined reference to log
ld: error: ./.libs/libggobi.so: undefined reference to g_module_error
ld: error: ./.libs/libggobi.so: undefined reference to g_module_open
ld: error: ./.libs/libggobi.so: undefined reference to g_module_symbol
ld: error: ./.libs/libggobi.so: undefined reference to log10
ld: error: ./.libs/libggobi.so: undefined reference to acos
ld: error: ./.libs/libggobi.so: undefined reference to cos
ld: error: ./.libs/libggobi.so: undefined reference to sin
ld: error: ./.libs/libggobi.so: undefined reference to __isfinite
ld: error: ./.libs/libggobi.so: undefined reference to exp
ld: error: ./.libs/libggobi.so: undefined reference to fmod
ld: error: ./.libs/libggobi.so: undefined reference to erf


The appended patch should fix this by
- Add deps x11-fonts/fontconfig, print/freetype2=20
  and graphics/graphviz
- Add USES=3Dgnome
- Add USE_GNOME=3Dcairo gdkpixbuf2 glib20
- Add USE_GCC=3Dyes
- Reorder USES parameters
- Pet portlint by adding newline before GNU_CONFIGURE
- Add one more file to pkg-plist

The patch is tested on Poudriere (11.2i/a, 12.0i/a, and HEADi/a),
'portlint -AC' seems happy.


[1]
http://beefy11.nyi.freebsd.org/data/head-i386-default/p498047_s345970/logs/=
ggobi-2.1.11_1.log
[2]
http://beefy12.nyi.freebsd.org/data/head-amd64-default/p498047_s345970/logs=
/ggobi-2.1.11_1.log

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237227-7788>