Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708644 - mate-base/caja-1.22.1 : fails to build with -fno-common or gcc-10
Summary: mate-base/caja-1.22.1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo MATE Desktop
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-07 18:23 UTC by Toralf Förster
Modified: 2020-04-06 22:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.74 KB, text/plain)
2020-02-07 18:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,207.61 KB, text/plain)
2020-02-07 18:23 UTC, Toralf Förster
Details
environment (environment,126.50 KB, text/plain)
2020-02-07 18:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.14 KB, application/x-bzip)
2020-02-07 18:24 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,12.55 KB, application/x-bzip)
2020-02-07 18:24 UTC, Toralf Förster
Details
mate-base:caja-1.22.1:20200207-171735.log (mate-base:caja-1.22.1:20200207-171735.log,900.98 KB, text/plain)
2020-02-07 18:24 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,57.61 KB, application/x-bzip)
2020-02-07 18:24 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-07 18:23:52 UTC
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o caja caja-application.o caja-bookmark-list.o caja-bookmarks-window.o caja-connect-server-dialog.o caja-connect-server-dialog-nonmain.o caja-connect-server-operation.o caja-desktop-window.o caja-emblem-sidebar.o caja-file-management-properties.o caja-freedesktop-dbus.o caja-history-sidebar.o caja-image-properties-page.o caja-information-panel.o caja-location-bar.o caja-location-dialog.o caja-location-entry.o caja-main.o caja-navigation-action.o caja-navigation-window-menus.o caja-navigation-window.o caja-navigation-window-pane.o caja-navigation-window-slot.o caja-notebook.o caja-notes-viewer.o caja-pathbar.o caja-places-sidebar.o caja-property-browser.o caja-query-editor.o caja-search-bar.o caja-self-check-functions.o caja-side-pane.o caja-sidebar-title.o caja-spatial-window.o caja-trash-bar.o caja-view-as-action.o caja-window-bookmarks.o caja-window-manage-views.o caja-window-menus.o caja-window-pane.o caja-window-slot.o caja-window-toolbars.o caja-window.o caja-x-content-bar.o caja-zoom-action.o caja-zoom-control.o  caja-src-marshal.o caja-freedesktop-generated.o   ../src/file-manager/libcaja-file-manager.la ../libcaja-private/libcaja-private.la -Wl,--export-dynamic -lgmodule-2.0 -lglib-2.0 -lmate-desktop-2 -lstartup-notification-1 -lgthread-2.0 -pthread -lglib-2.0 -lgailutil-3 -lxml2 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lX11  -lexif    -lnotify -lm 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -o .libs/caja caja-application.o caja-bookmark-list.o caja-bookmarks-window.o caja-connect-server-dialog.o caja-connect-server-dialog-nonmain.o caja-connect-server-operation.o caja-desktop-window.o caja-emblem-sidebar.o caja-file-management-properties.o caja-freedesktop-dbus.o caja-history-sidebar.o caja-image-properties-page.o caja-information-panel.o caja-location-bar.o caja-location-dialog.o caja-location-entry.o caja-main.o caja-navigation-action.o caja-navigation-window-menus.o caja-navigation-window.o caja-navigation-window-pane.o caja-navigation-window-slot.o caja-notebook.o caja-notes-viewer.o caja-pathbar.o caja-places-sidebar.o caja-property-browser.o caja-query-editor.o caja-search-bar.o caja-self-check-functions.o caja-side-pane.o caja-sidebar-title.o caja-spatial-window.o caja-trash-bar.o caja-view-as-action.o caja-window-bookmarks.o caja-window-manage-views.o caja-window-menus.o caja-window-pane.o caja-window-slot.o caja-window-toolbars.o caja-window.o caja-x-content-bar.o caja-zoom-action.o caja-zoom-control.o caja-src-marshal.o caja-freedesktop-generated.o -Wl,--export-dynamic -pthread  -Wl,--as-needed ../src/file-manager/.libs/libcaja-file-manager.a ../libcaja-private/.libs/libcaja-private.a -lSM -lICE /var/tmp/portage/mate-base/caja-1.22.1/work/caja-1.22.1/libcaja-extension/.libs/libcaja-extension.so -lgmodule-2.0 -lmate-desktop-2 -lstartup-notification-1 -lgthread-2.0 -lgailutil-3 -lxml2 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lX11 -lexif -lnotify -lm -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: caja-bookmarks-window.o:(.bss+0x50): multiple definition of `caja_preferences'; caja-application.o:(.bss+0x50): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: caja-bookmarks-window.o:(.bss+0x0): multiple definition of `mate_lockdown_preferences'; caja-application.o:(.bss+0x0): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-libressl-20200202-131532

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 07 Feb 2020 16:47:09 +0000

emerge -qpvO mate-base/caja
[ebuild  N    ] mate-base/caja-1.22.1  USE="introspection mate (-packagekit) -test -xmp"
Comment 1 Toralf Förster gentoo-dev 2020-02-07 18:23:55 UTC
Created attachment 612552 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-07 18:23:57 UTC
Created attachment 612554 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-07 18:24:00 UTC
Created attachment 612556 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-07 18:24:03 UTC
Created attachment 612558 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-07 18:24:06 UTC
Created attachment 612560 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-07 18:24:09 UTC
Created attachment 612562 [details]
mate-base:caja-1.22.1:20200207-171735.log
Comment 7 Toralf Förster gentoo-dev 2020-02-07 18:24:12 UTC
Created attachment 612564 [details]
temp.tbz2
Comment 8 OzTiram 2020-02-09 20:16:40 UTC
This is fixed in upstream:

https://git.mate-desktop.org/caja/commit/?id=6bf49f348d8ce6debc8f645b667422bb9a261a2b

I am working on ebuild for the 1.24 series. Not if really desired I can backport this to the 1.22 series.
Comment 9 Larry the Git Cow gentoo-dev 2020-04-06 22:15:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a305a50eb6bda3b594e8442dd4ec67866950a2d6

commit a305a50eb6bda3b594e8442dd4ec67866950a2d6
Author:     Adam Feldman <NP-Hardass@gentoo.org>
AuthorDate: 2020-04-06 22:09:24 +0000
Commit:     Adam Feldman <NP-Hardass@gentoo.org>
CommitDate: 2020-04-06 22:14:36 +0000

    mate-base/caja: Fix #708644
    
    Closes: https://bugs.gentoo.org/708644
    Package-Manager: Portage-2.3.96, Repoman-2.3.21
    Signed-off-by: Adam Feldman <NP-Hardass@gentoo.org>

 .../{caja-1.22.3.ebuild => caja-1.22.3-r1.ebuild}  |   4 +
 .../caja/files/caja-1.22.3-gcc-10-fno-common.patch | 100 +++++++++++++++++++++
 2 files changed, 104 insertions(+)