GNU bug report logs - #38212
hedgewars build fails: cannot find crt1.o: No such file or directory

Previous Next

Package: guix;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Thu, 14 Nov 2019 21:45:01 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38212 in the body.
You can then email your comments to 38212 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#38212; Package guix. (Thu, 14 Nov 2019 21:45:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 14 Nov 2019 21:45:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: bug-guix <at> gnu.org
Subject: hedgewars build fails: cannot find crt1.o: No such file or directory
Date: Thu, 14 Nov 2019 22:44:14 +0100
[Message part 1 (text/plain, inline)]
Hedgewars fails to build:

--8<---------------cut here---------------start------------->8---
/gnu/store/p9xwaf1x449b51pganqp070n0d8xpwma-clang-8.0.0/bin/clang  -fPIC -fstack-protector-all -fstack-protector -fvisibility=hidden -Wall -pipe -O2 -g -DNDEBUG  -Wl,-znoexecstack -Wl,-zorigin -Wl,-zrelro -Wl,-znow -Wl,--as-needed -rdynamic CMakeFiles/hwengine.dir/ArgParsers.c.o CMakeFiles/hwengine.dir/LuaPas.c.o CMakeFiles/hwengine.dir/SDLh.c.o CMakeFiles/hwengine.dir/adler32.c.o CMakeFiles/hwengine.dir/uAI.c.o CMakeFiles/hwengine.dir/uAIActions.c.o CMakeFiles/hwengine.dir/uAIAmmoTests.c.o CMakeFiles/hwengine.dir/uAILandMarks.c.o CMakeFiles/hwengine.dir/uAIMisc.c.o CMakeFiles/hwengine.dir/uAmmos.c.o CMakeFiles/hwengine.dir/uCaptions.c.o CMakeFiles/hwengine.dir/uChat.c.o CMakeFiles/hwengine.dir/uCollisions.c.o CMakeFiles/hwengine.dir/uCommandHandlers.c.o CMakeFiles/hwengine.dir/uCommands.c.o CMakeFiles/hwengine.dir/uConsole.c.o CMakeFiles/hwengine.dir/uConsts.c.o CMakeFiles/hwengine.dir/uCursor.c.o CMakeFiles/hwengine.dir/uDebug.c.o CMakeFiles/hwengine.dir/uFloat.c.o CMakeFiles/hwengine.dir/uGame.c.o CMakeFiles/hwengine.dir/uGears.c.o CMakeFiles/hwengine.dir/uGearsHandlers.c.o CMakeFiles/hwengine.dir/uGearsHandlersMess.c.o CMakeFiles/hwengine.dir/uGearsHandlersRope.c.o CMakeFiles/hwengine.dir/uGearsHedgehog.c.o CMakeFiles/hwengine.dir/uGearsList.c.o CMakeFiles/hwengine.dir/uGearsRender.c.o CMakeFiles/hwengine.dir/uGearsUtils.c.o CMakeFiles/hwengine.dir/uIO.c.o CMakeFiles/hwengine.dir/uInputHandler.c.o CMakeFiles/hwengine.dir/uLand.c.o CMakeFiles/hwengine.dir/uLandGenMaze.c.o CMakeFiles/hwengine.dir/uLandGenPerlin.c.o CMakeFiles/hwengine.dir/uLandGenTemplateBased.c.o CMakeFiles/hwengine.dir/uLandGraphics.c.o CMakeFiles/hwengine.dir/uLandObjects.c.o CMakeFiles/hwengine.dir/uLandOutline.c.o CMakeFiles/hwengine.dir/uLandPainted.c.o CMakeFiles/hwengine.dir/uLandTemplates.c.o CMakeFiles/hwengine.dir/uLandTexture.c.o CMakeFiles/hwengine.dir/uLandUtils.c.o CMakeFiles/hwengine.dir/uLocale.c.o CMakeFiles/hwengine.dir/uMisc.c.o CMakeFiles/hwengine.dir/uPhysFSLayer.c.o CMakeFiles/hwengine.dir/uRandom.c.o CMakeFiles/hwengine.dir/uRender.c.o CMakeFiles/hwengine.dir/uRenderUtils.c.o CMakeFiles/hwengine.dir/uScript.c.o CMakeFiles/hwengine.dir/uSinTable.c.o CMakeFiles/hwengine.dir/uSound.c.o CMakeFiles/hwengine.dir/uStats.c.o CMakeFiles/hwengine.dir/uStore.c.o CMakeFiles/hwengine.dir/uTeams.c.o CMakeFiles/hwengine.dir/uTextures.c.o CMakeFiles/hwengine.dir/uTypes.c.o CMakeFiles/hwengine.dir/uUtils.c.o CMakeFiles/hwengine.dir/uVariables.c.o CMakeFiles/hwengine.dir/uVisualGears.c.o CMakeFiles/hwengine.dir/uVisualGearsHandlers.c.o CMakeFiles/hwengine.dir/uVisualGearsList.c.o CMakeFiles/hwengine.dir/uWorld.c.o CMakeFiles/hwengine.dir/hwengine.c.o  -o ../../bin/hwengine -Wl,-rpath,"\$ORIGIN/../lib/:\$ORIGIN/:/gnu/store/pkymm74mrbq6mifz2cna087zmqysmljg-hedgewars-0.9.25/lib/" ../../bin/libfpcrtl.a -llua -lGLU -lGL -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 -lpthread -lSDL2_mixer -lSDL2_net -lSDL2_image -lSDL2_ttf -lGLEW /gnu/store/2w6n1xzr7gi3javik65v38p20b9g03jk-physfs-3.0.2/lib/libphysfs.so ../../bin/libphyslayer.so.1.0 -lm -Wl,-Bstatic -lSDL2main -Wl,-Bdynamic -lSDL2 -lpthread /gnu/store/2w6n1xzr7gi3javik65v38p20b9g03jk-physfs-3.0.2/lib/libphysfs.so /gnu/store/66v4l71wp7rrcqh7jrqrpkdwhpflqfmk-lua-5.1.5/lib/liblua.so 
ld: cannot find crt1.o: No such file or directory
ld: cannot find crti.o: No such file or directory
clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [project_files/hwc/CMakeFiles/hwengine.dir/build.make:1288: bin/hwengine] Error 1
make[2]: Leaving directory '/tmp/guix-build-hedgewars-0.9.25.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:314: project_files/hwc/CMakeFiles/hwengine.dir/all] Error 2
--8<---------------cut here---------------end--------------->8---

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#38212; Package guix. (Thu, 14 Nov 2019 23:08:01 GMT) Full text and rfc822 format available.

Message #8 received at 38212 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38212 <at> debbugs.gnu.org
Subject: Re: bug#38212: hedgewars build fails: cannot find crt1.o: No such
 file or directory
Date: Fri, 15 Nov 2019 00:07:21 +0100
Hello,

Pierre Neidhardt <mail <at> ambrevar.xyz> writes:

> Hedgewars fails to build:
>

[...]

> ld: cannot find crt1.o: No such file or directory
> ld: cannot find crti.o: No such file or directory
> clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
> make[2]: *** [project_files/hwc/CMakeFiles/hwengine.dir/build.make:1288: bin/hwengine] Error 1
> make[2]: Leaving directory '/tmp/guix-build-hedgewars-0.9.25.drv-0/build'
> make[1]: *** [CMakeFiles/Makefile2:314: project_files/hwc/CMakeFiles/hwengine.dir/all] Error 2

For the record, building Hedgewars 1.0 (for which I have a pending
patch) fails in the same fashion. 

This is probably related to bug#37999.

Regards,

-- 
Nicolas Goaziou




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Sun, 17 Nov 2019 22:17:02 GMT) Full text and rfc822 format available.

Notification sent to Pierre Neidhardt <mail <at> ambrevar.xyz>:
bug acknowledged by developer. (Sun, 17 Nov 2019 22:17:02 GMT) Full text and rfc822 format available.

Message #13 received at 38212-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Pierre Neidhardt <mail <at> ambrevar.xyz>
Cc: 38212-done <at> debbugs.gnu.org
Subject: Re: bug#38212: hedgewars build fails: cannot find crt1.o: No such
 file or directory
Date: Sun, 17 Nov 2019 23:16:45 +0100
Hello,

Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:

> Pierre Neidhardt <mail <at> ambrevar.xyz> writes:
>
>> Hedgewars fails to build:
>>
>
> [...]
>
>> ld: cannot find crt1.o: No such file or directory
>> ld: cannot find crti.o: No such file or directory
>> clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
>> make[2]: *** [project_files/hwc/CMakeFiles/hwengine.dir/build.make:1288: bin/hwengine] Error 1
>> make[2]: Leaving directory '/tmp/guix-build-hedgewars-0.9.25.drv-0/build'
>> make[1]: *** [CMakeFiles/Makefile2:314: project_files/hwc/CMakeFiles/hwengine.dir/all] Error 2
>
> For the record, building Hedgewars 1.0 (for which I have a pending
> patch) fails in the same fashion. 
>
> This is probably related to bug#37999.

Recent clang patches fixed the issue. I'm closing this report.

Regards,

-- 
Nicolas Goaziou




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Dec 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 131 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.