First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 218555
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo/BSD Team <bsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Toffanin [Gentoo/FreeBSD AT] <toffanin.mauro@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pciutils-3.0.0.ebuild.patch pciutils-3.0.0.ebuild.patch patch Toffanin [Gentoo/FreeBSD AT] 2008-04-20 12:27 0000 925 bytes Details | Diff
0001-dont-try-to-link-to-libresolv-on-freebsd-needed-fun.patch patch sent upstream text/plain Alexis Ballier 2008-06-16 22:22 0000 1.13 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 218555 depends on: Show dependency tree
Bug 218555 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-20 12:26 0000
sys-apps/pciutils-3.0.0 do not compile on g/fbsd because the ebuild force the
option DNS=yes wich require libresolv.so to be present on the system, but
libresolv.so is available only on glibc systems, not on the *BSD system.

attached there is a an ebuild patch that fix the problem.
as AT i have tested the proposed patch both on Gentoo/Linux and Gentoo/FreeBSD
and all work correctly.

------- Comment #1 From Toffanin [Gentoo/FreeBSD AT] 2008-04-20 12:27:43 0000 -------
Created an attachment (id=150382) [edit]
pciutils-3.0.0.ebuild.patch

------- Comment #2 From SpanKY 2008-04-20 12:48:28 0000 -------
elibc_glibc is not appropriate

the OPT should not be moved to the subfunction ... we dont want to do compiling
in src_install

------- Comment #3 From Toffanin [Gentoo/FreeBSD AT] 2008-04-20 15:26:57 0000 -------
(In reply to comment #2)
> elibc_glibc is not appropriate

can you be more specific? thanks you.

------- Comment #4 From SpanKY 2008-04-20 19:04:01 0000 -------
if i say "elibc_glibc" is not appropriate, it logically follows that making the
statement "libresolv is only available with glibc" is wrong.

------- Comment #5 From Dan Coats 2008-05-05 21:41:09 0000 -------
no fix for this yet?

------- Comment #6 From Alexis Ballier 2008-06-16 22:22:43 0000 -------
Created an attachment (id=157163) [edit]
patch sent upstream

here is the patch i sent upstream, the needed functions are in the libc and we
dont have libresolv on fbsd.
may be it needs the same modifications for other *bsd, but as I'm not sure I
didn't include the changes.

------- Comment #7 From Dan Coats 2008-06-18 20:22:07 0000 -------
Thanks works for me.

------- Comment #8 From Alexis Ballier 2008-07-08 18:59:10 0000 -------
*** Bug 231007 has been marked as a duplicate of this bug. ***

------- Comment #9 From SpanKY 2008-08-17 17:38:18 0000 -------
your patch is white space damaged ... otherwise, ive added it to pciutils-3.0.0

i'm assuming it'll get merged upstream ;)

------- Comment #10 From SpanKY 2008-08-17 17:39:38 0000 -------
http://sources.gentoo.org/sys-apps/pciutils/pciutils-3.0.0.ebuild?r1=1.1&r2=1.2
http://sources.gentoo.org/sys-apps/pciutils/files/pciutils-3.0.0-resolv.patch?rev=1.1

First Last Prev Next    No search results available      Search page      Enter new bug