Github messages for voidlinux
 help / color / mirror / Atom feed
From: ericonr <ericonr@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [ISSUE] [CLOSED] [FTBFS] stack for glibc
Date: Tue, 29 Sep 2020 14:43:34 +0200	[thread overview]
Message-ID: <20200929124334.SB9svJcMvSGL0IqBBVxvUxvT9xBAoW2n0E5fMCtX1NQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6100@inbox.vuxu.org>

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

Closed issue by pullmoll on void-packages repository

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

Description:
For glibc stack fails to build due to what looks like a missing `#include <sys/sysmacros.h>` somewhere:
```
[ 44 of 125] Compiling Stack.Constants  ( src/Stack/Constants.hs, dist/build/Stack/Constants.o )
<command line>: can't load .so/.DLL for: /builddir/stack-1.7.1/.cabal-sandbox/lib/i386-linux-ghc-8.4.4/libHSunix-compat-0.5.0.1-7wHKrmu7kXH9utvYTrCCyN-ghc8.4.4.so (/builddir/stack-1.7.1/.cabal-sandbox/lib/i386-linux-ghc-8.4.4/libHSunix-compat-0.5.0.1-7wHKrmu7kXH9utvYTrCCyN-ghc8.4.4.so: undefined symbol: major)
=> ERROR: stack-1.7.1_1: do_build: 'cabal build ${makejobs}' exited with 1
```
It seems that a missing definition for the macro `major` leads to `gcc` or `g++` assuming an external function `int major(...)`, which of course does not exist.

           reply	other threads:[~2020-09-29 12:43 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-6100@inbox.vuxu.org>]

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=20200929124334.SB9svJcMvSGL0IqBBVxvUxvT9xBAoW2n0E5fMCtX1NQ@z \
    --to=ericonr@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).