<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Dagobert,<br>
</p>
<div class="moz-cite-prefix">On 2/4/19 9:24 AM, Dagobert Michelsen
wrote:<br class="">
</div>
<blockquote type="cite"
cite="mid:6BFDB762-1BB3-4128-A12E-EF2C33914592@opencsw.org">
<div>Works for me, I just committed these lines:</div>
<div><br class="">
</div>
<div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">#
Checkpkg suggests adding the following lines to the GAR
recipe:</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">#
This is a summary; see above for details.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">RUNTIME_DEP_PKGS_CSWgnustep-back
+= CSWlibart</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">If
any of the reported errors were false positives, you can
override them</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">pasting
the lines below to the GAR recipe.</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CHECKPKG_OVERRIDES_CSWgnustep-back
+= pkginfo-opencsw-repository-uncommitted</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CHECKPKG_OVERRIDES_CSWgnustep-back
+= missing-dependency|CSWlibart</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CHECKPKG_OVERRIDES_CSWgnustep-back
+= surplus-dependency|CSWlibfontconfig1</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CHECKPKG_OVERRIDES_CSWgnustep-back
+= surplus-dependency|CSWlibcairo2</span></div>
<div style="margin: 0px; font-stretch: normal; font-size: 11px;
line-height: normal; font-family: Menlo;" class=""><span
style="font-variant-ligatures: no-common-ligatures" class="">CHECKPKG_OVERRIDES_CSWgnustep-back
+= surplus-dependency|CSWlibxrenderù</span></div>
</div>
</blockquote>
<p><br>
</p>
<p>I explained in another mail why this wasn't the "right solution"
even if the package built - configure tries to detect cairo, else
it drops back to art or plain xlib. </p>
<p>instead of</p>
<p><br>
</p>
<p>EXTRA_LDFLAGS += -lcairo
<br>
EXTRA_LDFLAGS += -lpthread <br>
</p>
<p><br>
</p>
<p>I tried it "the hard way"</p>
<p>CONFIGURE_ARGS_5.9 += CFLAGS="$(CFLAGS) " LDFLAGS="$(LDFLAGS)
-lcairo -lpthread"<br>
<br>
</p>
<p>This way the configure script fails pretty early though:</p>
<p>compilation terminated.<br>
configure:2783: $? = 1<br>
configure:2803: checking whether the C compiler works<br>
configure:2825: /opt/csw/bin/gcc-4.6 -O2 -pipe
-fno-omit-frame-pointer -mcpu=v8 -mcpu=v8 -lcairo -lpthread
-L/opt/csw/lib -lcairo -lpthread conftest.c >&5<br>
Undefined first referenced<br>
symbol in file<br>
__tls_get_addr /opt/csw/lib/libpixman-1.so.0<br>
ld: fatal: Symbol referencing errors. No output written to a.out<br>
collect2: ld returned 1 exit status<br>
configure:2829: $? = 1<br>
</p>
<p>do you have any suggestions? is a package broken or a -L is
missing? Let's leave the best way to write the receipe out:</p>
<p><br>
</p>
<p>-lcairo and and -pthread are not enough (interestingly - here in
this test they appear even twice...) <br>
</p>
<p><br>
</p>
<p>pixman gets in from cairo, I suppose.. Perhaps the solution for
_tls_get_addr missing is different or am I not applying it
correct?</p>
<p><br>
</p>
<p>Riccardo<br>
</p>
</body>
</html>