mainGNUstep - Support: sr #110344, Error building gnustep-back-0.28.0

Group
 
 

You are not allowed to post comments on this tracker with your current authentication level.

sr #110344: Error building gnustep-back-0.28.0

Submitter:  Jesús Abelardo Saldívar Aguilar <jasaldivara>
Submitted:  Fri 30 Oct 2020 06:49:50 PM UTC
   
 
Category:  AppKit Priority:  5 - Normal
Severity:  3 - Normal Status:  Invalid
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed Operating System:  GNU/Linux

Sat 14 Nov 2020 11:42:34 PM UTC, comment #3: 

I uninstalled gnustep-make and gnustep-base from the Fedora repos, and then downloaded the latest versions of Gnustep packages from https://github.com/gnustep:

tools-make, libobjc2, libs-base, libs-back and libs-gui

Everything built and run fine using clang and lld.

So, I think this is an issue with the Fedora packages, and not with the source of gnustep-back.

Jesús Abelardo Saldívar Aguilar <jasaldivara>
Fri 30 Oct 2020 08:34:05 PM UTC, comment #2: 

comentario nº1:

> Could you please provide more information of the environment you are using? It seems that you are using clang as the compiler. Could you please give the version of all the build tools you are using?
>
> Which build instructions are you following?


I'm following the instructions from this page: http://twilightedge.com/gnustep/pikopixel/fedora_install_script.html

With the only difference that I downloaded the latest 0.28 versions of gnustep-gui and gnustep-back instead of the 0.25 (but it gave me the same error message if I try with gnustep-back-0.25.1)

I'm on Fedora 33

I installed this packages using DNF: gcc-objc redhat-rpm-config gnustep-make gnustep-base gnustep-base-devel

I ran ". /usr/lib64/GNUstep/Makefiles/GNUstep.sh -y" before downloading and untaring gnustep-gui-0.28.0.tar.gz and gnustep-back-0.28.0.tar.gz

gnustep-gui-0.28.0 Compiles, builds and installs Ok using:

./configure
make -j4
sudo make install

But gnustep-back-0.28.0 is the one that won't build, and gives me that error message

I think I'm using GCC as the compiler

this is what "make -v" says:
GNU Make 4.3

But when I run only "make" the first line says:
This is gnustep-make 2.8.0. Type 'gmake print-gnustep-make-help' for help.

gcc -v says:
gcc versión 10.2.1 20201016 (Red Hat 10.2.1-6) (GCC)


In my first message, I attached the output from make

Now, I'm attaching the output from ./configure

Versions of packages installed from fedora repos:

gcc-objc  10.2.1
gnustep-make 2.8.0
gnustep-base 1.27.0




(file #50172)

Jesús Abelardo Saldívar Aguilar <jasaldivara>
Fri 30 Oct 2020 08:02:00 PM UTC, comment #1: 

Could you please provide more information of the environment you are using? It seems that you are using clang as the compiler. Could you please give the version of all the build tools you are using?

Which build instructions are you following?

Fred Kiefer <FredKiefer>
Group Member
Fri 30 Oct 2020 06:49:50 PM UTC, original submission:  

I'm on Fedora 33 GNU/Linux, on x86_64

I'm using the environment script on /usr/lib64/GNUstep/Makefiles/GNUstep.sh from the gnustep-base-1.27.0-4.fc33.src.rpm package of the official Fedora Repos


I have downloaded GnuStep-Back 28.0 from:
http://ftpmain.gnustep.org/pub/gnustep/core/gnustep-back-0.28.0.tar.gz, uncompressed using tar

When I try to build it using Make, it fails on the linking stage

This is the error message i get from make:

Making all for bundle libgnustep-back-028...
 Creating libgnustep-back-028.bundle/....
 Compiling file GSBackend.m ...
 Linking bundle libgnustep-back-028 ...
/tmp/ccRN3cPD.s: Mensajes del ensamblador:
/tmp/ccRN3cPD.s:36609: Error: el símbolo «_OBJC_METH_VAR_TYPE_47.lto_priv.0» ya está definido
make[5]: * [/tmp/ccNeTyJU.mk:5: /tmp/libgnustep-back-028.EulF9S.ltrans1.ltrans.o] Error 1
make[5]: * Se espera a que terminen otras tareas....
lto-wrapper: error fatal: make devolvió el estado de salida 2
compilación terminada.

So, it says the symbol «_OBJC_METH_VAR_TYPE_47.lto_priv.0» is already defined

I attached the complete output message from Make.

Jesús Abelardo Saldívar Aguilar <jasaldivara>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #50172:  configureoutput.txt added by jasaldivara (4KiB - text/plain)
file #50171:  output.txt added by jasaldivara (42KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by jasaldivara (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-05 FredKiefer StatusNone Invalid
        Assigned toNone FredKiefer
        Open/ClosedOpen Closed
    2020-10-30 jasaldivara Attached File- Added configureoutput.txt, #50172
    2020-10-30 jasaldivara Attached File- Added output.txt, #50171

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code