Github messages for voidlinux
 help / color / mirror / Atom feed
From: adigitoleo <adigitoleo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] Subpackage install error: `non-PIE executable found in PIE build`
Date: Fri, 04 Mar 2022 13:17:01 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35960@inbox.vuxu.org> (raw)

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

New issue by adigitoleo on void-packages repository

https://github.com/void-linux/void-packages/issues/35960

Description:
### System

* xuname:  Void 5.15.24_1 x86_64 AuthenticAMD notuptodate rFFF
* package:  new package draft for [wraith-master](https://gitlab.com/serebit/wraith-master)

### Expected behavior

Package installs successfully, using the template from #35883 (with `tar` added to hostmakedepends).

### Actual behavior

Build succeeds but the install fails:

```
=> wraith-master-cli-1.2.1_1: running post-install hook: 03-remove-empty-dirs ...
=> WARNING: wraith-master-cli-1.2.1_1: removed empty dir: /usr/lib
=> wraith-master-cli-1.2.1_1: running post-install hook: 04-create-xbps-metadata-scripts ...
=> wraith-master-cli-1.2.1_1: running post-install hook: 05-generate-gitrevs ...
=> wraith-master-cli-1.2.1_1: running post-install hook: 06-strip-and-debug-pkgs ...
   Stripped executable: /usr/bin/wraith-master
=> ERROR: wraith-master-cli-1.2.1_1: non-PIE executable found in PIE build: /usr/bin/wraith-master
=> ERROR: wraith-master-cli-1.2.1_1: post-install_06-strip-and-debug-pkgs: 'find ${PKGDESTDIR} -type f' exited with 1
=> ERROR:   in hook() at common/hooks/post-install/06-strip-and-debug-pkgs.sh:68
=> ERROR:   in run_func() at common/xbps-src/shutils/common.sh:21
=> ERROR:   in run_pkg_hooks() at common/xbps-src/shutils/common.sh:245
=> ERROR:   in main() at common/xbps-src/libexec/xbps-src-doinstall.sh:66
```

Why does it want the executable to be PIE? Does it have to do with the `/usr/lib` directory being detected?

### Steps to reproduce the behavior

Try to build the corrected template from the linked issue.

             reply	other threads:[~2022-03-04 12:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-04 12:17 adigitoleo [this message]
2022-03-08 19:32 ` Chocimier
2022-03-08 19:32 ` [ISSUE] [CLOSED] " Chocimier

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35960@inbox.vuxu.org \
    --to=adigitoleo@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).