Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 709790 - app-pda/jpilot-1.8.2-r1 : fails to build with -fno-common or gcc-10
Summary: app-pda/jpilot-1.8.2-r1 : 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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PMASKED, PullRequest
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-02-16 10:02 UTC by Toralf Förster
Modified: 2021-02-09 16:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.00 KB, text/plain)
2020-02-16 10:02 UTC, Toralf Förster
Details
app-pda:jpilot-1.8.2-r1:20200216-071622.log (app-pda:jpilot-1.8.2-r1:20200216-071622.log,55.57 KB, text/plain)
2020-02-16 10:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,238.46 KB, text/plain)
2020-02-16 10:02 UTC, Toralf Förster
Details
environment (environment,59.03 KB, text/plain)
2020-02-16 10:02 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.64 KB, application/x-bzip)
2020-02-16 10:02 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.96 KB, application/x-bzip)
2020-02-16 10:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.06 KB, application/x-bzip)
2020-02-16 10:02 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-16 10:02:38 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -I/usr/include/libpisock -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-common -c -o weekview_gui.o weekview_gui.c
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/libpisock -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread  -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-common -export-dynamic -Wl,-O1 -Wl,--as-needed -o jpilot address.o address_gui.o alarms.o category.o calendar.o contact.o cp1250.o dat.o datebook.o datebook_gui.o dialer.o export_gui.o import_gui.o install_gui.o install_user.o japanese.o jpilot.o jp-contact.o libplugin.o log.o memo.o memo_gui.o monthview_gui.o otherconv.o password.o pidfile.o plugins.o prefs.o prefs_gui.o print.o print_gui.o print_headers.o print_logo.o restore_gui.o russian.o search_gui.o sync.o todo.o todo_gui.o utils.o weekview_gui.o -ldl -L/usr/lib64 -lpisock -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -ldl
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/libpisock -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -DLOCALEDIR=\"/usr/share/locale\" -O2 -pipe -march=native -fno-common -Wl,-O1 -o jpilot address.o address_gui.o alarms.o category.o calendar.o contact.o cp1250.o dat.o datebook.o datebook_gui.o dialer.o export_gui.o import_gui.o install_gui.o install_user.o japanese.o jpilot.o jp-contact.o libplugin.o log.o memo.o memo_gui.o monthview_gui.o otherconv.o password.o pidfile.o plugins.o prefs.o prefs_gui.o print.o print_gui.o print_headers.o print_logo.o restore_gui.o russian.o search_gui.o sync.o todo.o todo_gui.o utils.o weekview_gui.o -Wl,--export-dynamic  -Wl,--as-needed -L/usr/lib64 -lpisock -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -ldl -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: log.o:(.bss+0xc): multiple definition of `pipe_to_parent'; jpilot.o:(.bss+0x40): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200210-221913

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

  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.7
  [3]   python3.6
  [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 <==
Sun, 16 Feb 2020 06:42:28 +0000

emerge -qpvO app-pda/jpilot
[ebuild  N    ] app-pda/jpilot-1.8.2-r1  USE="nls"
Comment 1 Toralf Förster gentoo-dev 2020-02-16 10:02:41 UTC
Created attachment 613990 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-16 10:02:44 UTC
Created attachment 613992 [details]
app-pda:jpilot-1.8.2-r1:20200216-071622.log
Comment 3 Toralf Förster gentoo-dev 2020-02-16 10:02:46 UTC
Created attachment 613994 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-16 10:02:49 UTC
Created attachment 613996 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-16 10:02:52 UTC
Created attachment 613998 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-16 10:02:55 UTC
Created attachment 614000 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-16 10:02:57 UTC
Created attachment 614002 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2021-02-09 16:59:44 UTC
The bug has been closed via the following commit(s):

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

commit 7d978c2ca9e5872480869637b4dbccfbf9b25569
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-01 10:44:30 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-02-09 16:59:20 +0000

    app-pda/jpilot: Port to EAPI 7
    
    * Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/709790
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 app-pda/jpilot/files/jpilot-1.8.2-fno-common.patch | 36 ++++++++++++++++++++++
 app-pda/jpilot/jpilot-1.8.2-r1.ebuild              | 16 +++++-----
 2 files changed, 45 insertions(+), 7 deletions(-)