unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43112: hedgewars 1.0.0 fails to build
@ 2020-08-30 13:23 bdju via Bug reports for GNU Guix
  2020-09-01 16:42 ` Andreas Enge
  0 siblings, 1 reply; 4+ messages in thread
From: bdju via Bug reports for GNU Guix @ 2020-08-30 13:23 UTC (permalink / raw)
  To: 43112

build log here:
http://ix.io/2vGD

running guix (GNU Guix) a6b72a0f2b02f27c44c28d32ec26fc8188ee61b8





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43112: hedgewars 1.0.0 fails to build
  2020-08-30 13:23 bug#43112: hedgewars 1.0.0 fails to build bdju via Bug reports for GNU Guix
@ 2020-09-01 16:42 ` Andreas Enge
  2020-09-02 16:44   ` raingloom
  2020-09-02 18:13   ` Timothy Sample
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Enge @ 2020-09-01 16:42 UTC (permalink / raw)
  To: bdju; +Cc: 43112

Hello,

On Sun, Aug 30, 2020 at 01:23:37PM +0000, bdju via Bug reports for GNU Guix wrote:
> build log here:
> http://ix.io/2vGD
> 
> running guix (GNU Guix) a6b72a0f2b02f27c44c28d32ec26fc8188ee61b8

I also gave it a try, seeing that the build log does not show any error.
With "guix build -K", I kept the compile output; when going there, sourcing
the environment variables, and executing "make" inside the build directory,
I obtain this:

make[2]: Leaving directory '/tmp/guix-build-hedgewars-1.0.0.drv-0/build'
make -f gameServer/CMakeFiles/hedgewars-server.dir/build.make gameServer/CMakeFiles/hedgewars-server.dir/build
make[2]: Entering directory '/tmp/guix-build-hedgewars-1.0.0.drv-0/build'
[  0%] Generating ../bin/hedgewars-server
cd /tmp/guix-build-hedgewars-1.0.0.drv-0/build/gameServer && /gnu/store/55c0m16dwnmmp3pah1hqx1941niwi6x4-ghc-8.6.5/bin/ghc --make /tmp/guix-build-hedgewars-1.0.0.drv-0/hedgewars-src-1.0.0/gameServer/hedgewars-server.hs -i/tmp/guix-build-hedgewars-1.0.0.drv-0/hedgewars-src-1.0.0/gameServer -o /tmp/guix-build-hedgewars-1.0.0.drv-0/build/bin/hedgewars-server -odir /tmp/guix-build-hedgewars-1.0.0.drv-0/build/gameServer -hidir /tmp/guix-build-hedgewars-1.0.0.drv-0/build/gameServer -optl -Wl,-znoexecstack -optl -Wl,-zorigin -optl -Wl,-zrelro -optl -Wl,-znow -optl -Wl,--as-needed -w -O2
Linking /tmp/guix-build-hedgewars-1.0.0.drv-0/build/bin/hedgewars-server ...
ld: cannot find -lHSregex-tdfa-1.2.3.2-24BpKmE04Wg88SsVhgqjyZ
ld: cannot find -lHSregex-base-0.93.2-8QGsCbNNqfw1S2nCPh78l5
ld: cannot find -lHSrandom-1.1-3ypV4EIycgb35PKjTYYr5q
ld: cannot find -lHShslogger-1.2.12-AaeMgrm5rNI5Z24IIbtrYk
ld: cannot find -lHSold-locale-1.0.0.7-D4Rn5zPhtMJBwwirPJNu78
ld: cannot find -lHSSHA-1.6.4.4-2RupSAnpeNXEBKs3DBmh9t
ld: cannot find -lHSsandi-0.5-68jdPC8nLnWJlrWG9c5osg
ld: cannot find -lHSconduit-1.3.1.1-HHNSx0Rlg49GLeG80WDDy0
ld: cannot find -lHSresourcet-1.2.2-Emj2r8UU0FnFk5fiQalh7y
ld: cannot find -lHSunliftio-core-0.1.2.0-DmlZdkLzX278vkyONsp8WQ
ld: cannot find -lHSmono-traversable-1.0.13.0-JJqhoeNBH61CGPpVRvMPaQ
ld: cannot find -lHSvector-algorithms-0.8.0.1-7vdfxmytFg1aLO2PtO4J8
ld: cannot find -lHSunordered-containers-0.2.10.0-IxEX4gD8y7xFG1XVoZBXwV
ld: cannot find -lHSsplit-0.2.3.3-JwIpsUofoFU4mN2JjdQEHy
ld: cannot find -lHShashable-1.2.7.0-Hn2R07DgowqB1NMU1vHO6c
ld: cannot find -lHSexceptions-0.10.3-BZy4XtH1BuX7zYRttZiTh5
ld: cannot find -lHStransformers-compat-0.6.5-6PKzEe5EVLXd5Neg4mr6X
ld: cannot find -lHSentropy-0.4.1.5-1eGU5wdZtMSH0Us8GoRymJ
ld: cannot find -lHSutf8-string-1.0.1.1-Geq8jdOv4Q3LkcQoEOWDVv
ld: cannot find -lHSnetwork-2.8.0.1-Hmt657UE3v349uYmvUXEvW
ld: cannot find -lHSvector-0.12.0.3-2LEYu9M2i7lERDtz76XG3n
ld: cannot find -lHSprimitive-0.6.4.0-ILgywxtLpvnAOlEISPpP5b
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

This does not make much sense to me - it simply looks like a list of
ghc packages; the first one, ghc-regex-tdfa@1.2.3.2 is already an input,
the second one not. Someone who knows ghc should take over...

Andreas





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43112: hedgewars 1.0.0 fails to build
  2020-09-01 16:42 ` Andreas Enge
@ 2020-09-02 16:44   ` raingloom
  2020-09-02 18:13   ` Timothy Sample
  1 sibling, 0 replies; 4+ messages in thread
From: raingloom @ 2020-09-02 16:44 UTC (permalink / raw)
  To: 43112

On Tue, 1 Sep 2020 18:42:39 +0200
Andreas Enge <andreas@enge.fr> wrote:

> Hello,
> 
> On Sun, Aug 30, 2020 at 01:23:37PM +0000, bdju via Bug reports for
> GNU Guix wrote:
> > build log here:
> > http://ix.io/2vGD
> > 
> > running guix (GNU Guix) a6b72a0f2b02f27c44c28d32ec26fc8188ee61b8
> 
> I also gave it a try, seeing that the build log does not show any
> error.

It does, it shows the same error. But make doesn't work like one would
assume.

This is the relevant part:

```
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
make[2]: *** [gameServer/CMakeFiles/hedgewars-server.dir/build.make:87:
bin/hedgewars-server] Error 1
make[2]: Leaving directory '/tmp/guix-build-hedgewars-1.0.0.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:3096:
gameServer/CMakeFiles/hedgewars-server.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
```

It was running 4 independent processes (threads?), one of them failed,
but the others built everything else, since they were not affected by
the failure of the first. That is why you don't see the error if you
only look at the tail of the output. You are seeing the successes of
the other 3 processes.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#43112: hedgewars 1.0.0 fails to build
  2020-09-01 16:42 ` Andreas Enge
  2020-09-02 16:44   ` raingloom
@ 2020-09-02 18:13   ` Timothy Sample
  1 sibling, 0 replies; 4+ messages in thread
From: Timothy Sample @ 2020-09-02 18:13 UTC (permalink / raw)
  To: Andreas Enge; +Cc: 43112-done, bdju

Hi,

Andreas Enge <andreas@enge.fr> writes:

> On Sun, Aug 30, 2020 at 01:23:37PM +0000, bdju via Bug reports for GNU
> Guix wrote:
>> build log here:
>> http://ix.io/2vGD
>> 
>> running guix (GNU Guix) a6b72a0f2b02f27c44c28d32ec26fc8188ee61b8
>
> [...]
>
> This does not make much sense to me - it simply looks like a list of
> ghc packages; the first one, ghc-regex-tdfa@1.2.3.2 is already an input,
> the second one not. Someone who knows ghc should take over...

We recently switched to using shared libraries, which means that GHC
requires some extra flags to do the right thing.

Fixed in f14e808aeae7b2fa7536f5fe62dae66b788fea84.

I tried running the game and the server, and they seem to work.  If
there are any new runtime issues, don’t hesitate to send another bug
report.


-- Tim




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-02 18:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30 13:23 bug#43112: hedgewars 1.0.0 fails to build bdju via Bug reports for GNU Guix
2020-09-01 16:42 ` Andreas Enge
2020-09-02 16:44   ` raingloom
2020-09-02 18:13   ` Timothy Sample

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).