Hi Riccardo, I am currently swamped with work, please ping me in a week.
Best regards — Dago > Am 13.02.2019 um 09:04 schrieb Riccardo Mottola via devel > <devel@lists.opencsw.org>: > > Hi Dago, > > did you have a chance to look at this? I'm curious to know if I am doing > something wrong on the flags side or if perhaps the cairo/pixman packages are > broken on Solaris9 and need a fix? > > Riccardo > > Riccardo Mottola via devel wrote: >> Hi Dagobert, >> On 2/4/19 9:24 AM, Dagobert Michelsen wrote: >>> Works for me, I just committed these lines: >>> >>> # Checkpkg suggests adding the following lines to the GAR recipe: >>> # This is a summary; see above for details. >>> RUNTIME_DEP_PKGS_CSWgnustep-back += CSWlibart >>> If any of the reported errors were false positives, you can override them >>> pasting the lines below to the GAR recipe. >>> CHECKPKG_OVERRIDES_CSWgnustep-back += pkginfo-opencsw-repository-uncommitted >>> CHECKPKG_OVERRIDES_CSWgnustep-back += missing-dependency|CSWlibart >>> CHECKPKG_OVERRIDES_CSWgnustep-back += surplus-dependency|CSWlibfontconfig1 >>> CHECKPKG_OVERRIDES_CSWgnustep-back += surplus-dependency|CSWlibcairo2 >>> CHECKPKG_OVERRIDES_CSWgnustep-back += surplus-dependency|CSWlibxrenderù >> 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. >> instead of >> EXTRA_LDFLAGS += -lcairo >> EXTRA_LDFLAGS += -lpthread >> I tried it "the hard way" >> CONFIGURE_ARGS_5.9 += CFLAGS="$(CFLAGS) " LDFLAGS="$(LDFLAGS) -lcairo >> -lpthread" >> This way the configure script fails pretty early though: >> compilation terminated. >> configure:2783: $? = 1 >> configure:2803: checking whether the C compiler works >> 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 >> Undefined first referenced >> symbol in file >> __tls_get_addr /opt/csw/lib/libpixman-1.so.0 >> ld: fatal: Symbol referencing errors. No output written to a.out >> collect2: ld returned 1 exit status >> configure:2829: $? = 1 >> 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: >> -lcairo and and -pthread are not enough (interestingly - here in this test >> they appear even twice...) >> pixman gets in from cairo, I suppose.. Perhaps the solution for >> _tls_get_addr missing is different or am I not applying it correct? >> Riccardo > -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896