Re: [Gimp-developer] please help me compile gimp

Shlomi Fish <[email protected]>
Newsgroups gmane.comp.video.gimp.devel
Message-ID <[email protected]>
Hi Marco,

On Fri, 28 Jun 2019 08:14:14 +0200
Marco Ciampa via gimp-developer-list <[email protected]> wrote:

> Hello devs,
> I'm very sorry to bother you,
> but I do not know what to do and who to ask,
> and it is definitely my fault...
> I messed up my distro deleting some packages I should not remove.
> (Ubuntu 18.04 64)
> Now it seems to work perfectly again after reinstall of those packages
> (all other apps and compilations work) but apparently something is wrong, 
> and gimp (2.10 from git) compilation don't work again...
> 
> This is the output after a make clean ; make -j4
> 

Try:

1. running git clean -dxf on all deps.

2. Rebuilding all deps

3. Running make without -j4.

Also see my script at
https://github.com/shlomif/shlomif-computer-settings/blob/master/shlomif-settings/build-scripts/build/gimp-git-all-deps.bash


> ar: `u' modifier ignored since `D' is the default (see `U')
> /usr/bin/ld: core/libappcore.a(gimp-parallel.o): relocation R_X86_64_32
> against `.rodata.str1.1' can not be used when making a PIE object; recompile
> with -fPIC /usr/bin/ld: core/libappcore.a(gimpbrush-transform.o): relocation
> R_X86_64_32 against `.text' can not be used when making a PIE object;
> recompile with -fPIC /usr/bin/ld:
> core/libappcore.a(gimppickable-contiguous-region.o): relocation R_X86_64_32
> against `.rodata.str1.1' can not be used when making a PIE object; recompile
> with -fPIC /usr/bin/ld: paint/libapppaint.a(gimpbrushcore-loops.o):
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a
> PIE object; recompile with -fPIC /usr/bin/ld:
> paint/libapppaint.a(gimppaintcore-loops.o): relocation R_X86_64_32 against
> `.text' can not be used when making a PIE object; recompile with -fPIC
> /usr/bin/ld: operations/libappoperations.a(gimpoperationmaskcomponents.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a PIE
> object; recompile with -fPIC /usr/bin/ld:
> gegl/libappgegl.a(gimp-gegl-loops.o): relocation R_X86_64_32 against `.text'
> can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld:
> gegl/libappgegl.a(gimp-gegl-mask-combine.o): relocation R_X86_64_32S against
> `.rodata' can not be used when making a PIE object; recompile with -fPIC
> /usr/bin/ld: final link failed: Nonrepresentable section on output collect2:
> error: ld returned 1 exit status Makefile:1020: recipe for target
> 'gimp-console-2.10' failed make[3]: *** [gimp-console-2.10] Error 1 make[3]:
> *** Attesa per i processi non terminati.... /usr/bin/ld:
> core/libappcore.a(gimp-parallel.o): relocation R_X86_64_32 against
> `.rodata.str1.1' can not be used when making a PIE object; recompile with
> -fPIC /usr/bin/ld: core/libappcore.a(gimpbrush-transform.o): relocation
> R_X86_64_32 against `.text' can not be used when making a PIE object;
> recompile with -fPIC /usr/bin/ld:
> core/libappcore.a(gimppickable-contiguous-region.o): relocation R_X86_64_32
> against `.rodata.str1.1' can not be used when making a PIE object; recompile
> with -fPIC /usr/bin/ld: paint/libapppaint.a(gimpbrushcore-loops.o):
> relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a
> PIE object; recompile with -fPIC /usr/bin/ld:
> paint/libapppaint.a(gimppaintcore-loops.o): relocation R_X86_64_32 against
> `.text' can not be used when making a PIE object; recompile with -fPIC
> /usr/bin/ld: operations/libappoperations.a(gimpoperationmaskcomponents.o):
> relocation R_X86_64_32 against `.bss' can not be used when making a PIE
> object; recompile with -fPIC /usr/bin/ld:
> gegl/libappgegl.a(gimp-gegl-loops.o): relocation R_X86_64_32 against `.text'
> can not be used when making a PIE object; recompile with -fPIC /usr/bin/ld:
> gegl/libappgegl.a(gimp-gegl-mask-combine.o): relocation R_X86_64_32S against
> `.rodata' can not be used when making a PIE object; recompile with -fPIC
> /usr/bin/ld: final link failed: Nonrepresentable section on output collect2:
> error: ld returned 1 exit status Makefile:1016: recipe for target 'gimp-2.10'
> failed make[3]: *** [gimp-2.10] Error 1 make[3]: uscita dalla directory
> "/home/marco/git/gitlab/gnome/gimp/app" Makefile:1240: recipe for target
> 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: uscita
> dalla directory "/home/marco/git/gitlab/gnome/gimp/app" Makefile:852: recipe
> for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1
> make[1]: uscita dalla directory "/home/marco/git/gitlab/gnome/gimp"
> Makefile:753: recipe for target 'all' failed make: *** [all] Error 2
> 
> any hint?
> 



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Free (Creative Commons) Music Downloads, Reviews and more - http://jamendo.com/

http://en.wikipedia.org/wiki/Evil redirects to XSLT.
    — http://www.shlomifish.org/humour/bits/facts/XSLT/

Please reply to list if it's a mailing list post - http://shlom.in/reply .
_______________________________________________
gimp-developer-list mailing list
List address:    [email protected]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.