Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624158 - sys-cluster/cman: main.c:(.text.startup+<snip>): undefined reference to `get_time'
Summary: sys-cluster/cman: main.c:(.text.startup+<snip>): undefined reference to `get_...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard: Pending removal: 2018-12-04
Keywords: PMASKED
Depends on:
Blocks: 648850
  Show dependency tree
 
Reported: 2017-07-07 17:42 UTC by Toralf Förster
Modified: 2018-12-04 13:25 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.45 KB, text/plain)
2017-07-07 17:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,47.10 KB, text/plain)
2017-07-07 17:42 UTC, Toralf Förster
Details
environment (environment,103.63 KB, text/plain)
2017-07-07 17:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.09 KB, application/x-bzip)
2017-07-07 17:42 UTC, Toralf Förster
Details
sys-cluster:cman-3.2.0:20170707-165454.log (sys-cluster:cman-3.2.0:20170707-165454.log,50.68 KB, text/plain)
2017-07-07 17:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,27.06 KB, application/x-bzip)
2017-07-07 17:42 UTC, Toralf Förster
Details
Fix for compile errors (cman-3.2.0-inline-fix.patch,4.14 KB, patch)
2018-11-23 07:52 UTC, Sandino Araico Sanchez
Details | Diff
sysmacros patch (cluster-3.2.0-sysmacros.patch,780 bytes, patch)
2018-11-23 07:54 UTC, Sandino Araico Sanchez
Details | Diff
ebuild with attached patches (cman-3.2.0-r1.ebuild,2.62 KB, text/plain)
2018-11-23 07:56 UTC, Sandino Araico Sanchez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-07-07 17:42:21 UTC
x86_64-pc-linux-gnu-gcc -o qdiskd disk.o disk_util.o proc.o scandisk.o iostate.o main.o score.o bitmap.o daemon_init.o -L/var/tmp/portage/sys-cluster/cman-3.2.0/work/cluster-3.2.0/cman/lib -L/var/tmp/portage/sys-cluster/cman-3.2.0/work/cluster-3.2.0/config/libs/libccsconfdb -lcman -lccs -Wl,-O1 -Wl,--as-needed    -L/var/tmp/portage/sys-cluster/cman-3.2.0/work/cluster-3.2.0/common/liblogthread -llogthread -lpthread -L/usr/lib64 -lz -lrt -L/usr/lib64
main.o: In function `main':
main.c:(.text.startup+0xbad): undefined reference to `get_time'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_libressl-abi32+64_20170706-192148

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.4.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-07-07 17:42:25 UTC
Created attachment 481734 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-07-07 17:42:28 UTC
Created attachment 481736 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-07-07 17:42:31 UTC
Created attachment 481738 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-07-07 17:42:34 UTC
Created attachment 481740 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-07-07 17:42:37 UTC
Created attachment 481742 [details]
sys-cluster:cman-3.2.0:20170707-165454.log
Comment 6 Toralf Förster gentoo-dev 2017-07-07 17:42:41 UTC
Created attachment 481744 [details]
temp.tbz2
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2018-05-14 22:49:18 UTC
This is also valid for 3.1.5.
Comment 8 Pacho Ramos gentoo-dev 2018-09-27 08:24:11 UTC
still fails to build and it seems obsolete per bug 618050
Comment 9 Sandino Araico Sanchez 2018-11-23 07:52:31 UTC
Created attachment 556014 [details, diff]
Fix for compile errors

Fix for undefined reference to `get_time' and undefined reference to `_diff_tv'
Comment 10 Sandino Araico Sanchez 2018-11-23 07:54:19 UTC
Created attachment 556016 [details, diff]
sysmacros patch

Fix for other compile errors in action.c:1039:31: error: called object ‘minor’ is not a function or function pointer
   if (stat(path, &st) == 0 && minor(st.st_rdev) == minor)
Comment 11 Sandino Araico Sanchez 2018-11-23 07:56:57 UTC
Created attachment 556018 [details]
ebuild with attached patches

This ebuild (with the attached patches) fixes compile errors. 
I have compiled it successfully on amd64.
Please give it a try.
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-04 13:25:27 UTC
Removing wrt #618050.