Github messages for voidlinux
 help / color / mirror / Atom feed
From: yopito <yopito@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Scribus broken install
Date: Fri, 11 Jun 2021 08:17:26 +0200	[thread overview]
Message-ID: <20210611061726.FQQ8vBaAB2ibzTZ-9-iLGSkgomZoPXIj_fU7exux_4A@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31343@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1385 bytes --]

New comment by yopito on void-packages repository

https://github.com/void-linux/void-packages/issues/31343#issuecomment-859304565

Comment:
I'm a little lost about how scribus plugins are being built regarding compiling toolchain.
Are they _supposed_ to use entries that are present in the main `bin/scribus` binary ?

verbose build output here: https://gist.github.com/yopito/fec95faf6fc3901e4a4fbac7ef75922b

Let's dig a little on a given symbol:
```
$ scribus -g -ns 2>&1 | grep libxpsexplugin.so | sort -u
Error relocating /usr/lib/scribus/plugins//libxpsexplugin.so: _ZN7ScImage11loadPictureERK7QStringiRK10CMSettingsNS_11RequestTypeEiPbb: symbol not found
```
This symbol is present here:
```
$ objdump -t /builddir/scribus-1.5.7/build/scribus/CMakeFiles/scribus.dir/scimage.cpp.o | grep _ZN7ScImage11loadPictureERK7QStringiRK10CMSettingsNS_11RequestTypeEiPbb
00000000000002c0 l     F .text.unlikely	0000000000000282 _ZN7ScImage11loadPictureERK7QStringiRK10CMSettingsNS_11RequestTypeEiPbb.cold
000000000000a900 g     F .text	00000000000026c0 _ZN7ScImage11loadPictureERK7QStringiRK10CMSettingsNS_11RequestTypeEiPbb
```
but the main binary does not provide it, hence the failure of loading the plugin ?
```
$ objdump -t /destdir/scribus-1.5.7/usr/bin/scribus 
/destdir/scribus-1.5.7/usr/bin/scribus:     file format elf64-x86-64
SYMBOL TABLE:
no symbols
```

  parent reply	other threads:[~2021-06-11  6:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07 12:02 [ISSUE] " rapha8l
2021-06-09 20:46 ` yopito
2021-06-09 20:50 ` yopito
2021-06-11  6:17 ` yopito [this message]
2021-06-11  6:34 ` yopito
2021-06-12 15:07 ` yopito
2021-06-12 18:18 ` [ISSUE] [CLOSED] " ericonr
2021-06-12 18:19 ` ericonr
2021-06-12 19:12 ` yopito
2021-06-14  9:09 ` rapha8l

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210611061726.FQQ8vBaAB2ibzTZ-9-iLGSkgomZoPXIj_fU7exux_4A@z \
    --to=yopito@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).