Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403589 - >=app-portage/portage-utils-0.8 fails to compile
Summary: >=app-portage/portage-utils-0.8 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
: 397857 (view as bug list)
Depends on:
Blocks: new-fbsd-stage
  Show dependency tree
 
Reported: 2012-02-14 14:11 UTC by Dmitri Bogomolov
Modified: 2012-04-15 04:52 UTC (History)
4 users (show)

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


Attachments
build.log for app-portage/portage-utils-0.9 (build.log,27.00 KB, text/plain)
2012-02-14 14:17 UTC, Dmitri Bogomolov
Details
patch proposal (portage-utils-0.9-libkvm.patch,242 bytes, patch)
2012-03-09 04:02 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2012-02-14 14:11:55 UTC
As I can see problem described in this line:

q-main.o: In function `show_current_emerge':
main.c:(.text+0x110c1): undefined reference to `kvm_open'
main.c:(.text+0x110ee): undefined reference to `kvm_getprocs'
main.c:(.text+0x11136): undefined reference to `kvm_getargv'
main.c:(.text+0x11259): undefined reference to `kvm_geterr'
collect2: ld returned 1 exit status

No similar links in bug 393163.

I'm trying to update app-portage/portage-utils-0.4 and 0.8 is the closest version available.

Reproducible: Always
Comment 1 Dmitri Bogomolov 2012-02-14 14:17:40 UTC
Created attachment 301925 [details]
build.log for app-portage/portage-utils-0.9

No difference from build.log for 0.8 as for me.
Comment 2 Alexey Shvetsov archtester gentoo-dev 2012-03-02 11:32:02 UTC
Same here
Comment 3 Naohiro Aota gentoo-dev 2012-03-08 13:03:39 UTC
Need to link against libkvm. Need patch for configure.ac or something to do the work.
Comment 4 Naohiro Aota gentoo-dev 2012-03-09 04:02:11 UTC
Created attachment 304695 [details, diff]
patch proposal

Just added AC_CHECK_LIB. Compile pass both on Linux and FreeBSD.
Comment 5 Dmitri Bogomolov 2012-03-09 10:41:07 UTC
(In reply to comment #4)
> Created attachment 304695 [details, diff] [details, diff]
> patch proposal
> 
> Just added AC_CHECK_LIB. Compile pass both on Linux and FreeBSD.

Thank you. This patch works for me.
Comment 6 Naohiro Aota gentoo-dev 2012-03-19 17:30:12 UTC
Any comment from portage-utils team? May I epatch the patch in the ebuild?
Comment 8 SpanKY gentoo-dev 2012-04-15 04:52:27 UTC
*** Bug 397857 has been marked as a duplicate of this bug. ***