Github messages for voidlinux
 help / color / mirror / Atom feed
From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] Subpackage install error: `non-PIE executable found in PIE build`
Date: Tue, 08 Mar 2022 20:32:55 +0100	[thread overview]
Message-ID: <20220308193255.4hkgorV8wERjxWrIkZzx7GcqEQfR1pvogqhNCHquGus@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35960@inbox.vuxu.org>

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

Closed 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 draft template](https://github.com/adigitoleo/void-packages/blob/ef5db2f01d927147062640433a1c8cd69a104ba8/srcpkgs/wraith-master/template)

### 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 linked template: `./xbps-src pkg wraith-master-cli` (You'll need the symlinks from the same commit).

      parent reply	other threads:[~2022-03-08 19:32 UTC|newest]

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

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=20220308193255.4hkgorV8wERjxWrIkZzx7GcqEQfR1pvogqhNCHquGus@z \
    --to=chocimier@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).