Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417509 - net-misc/telnet-bsd fails to compile due to missing utmp.h on FreeBSD-9.0
Summary: net-misc/telnet-bsd fails to compile due to missing utmp.h on FreeBSD-9.0
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:
Depends on:
Blocks:
 
Reported: 2012-05-25 18:21 UTC by Dmitri Bogomolov
Modified: 2012-05-29 07:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2012-05-25 18:21:45 UTC
The last informative line is

i686-gentoo-freebsd9.0-gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -I.. -I.. -I../intl   -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -DXTSTRINGDEFINES -Winline -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef -DKLUDGELINEMODE '-DISSUE_FILE="/etc/issue.net"' -DPARANOID_TTYS  -O2 -march=i686 -mtune=i686 -pipe -MT sys_term.o -MD -MP -MF .deps/sys_term.Tpo -c -o sys_term.o sys_term.c
sys_term.c:33:18: fatal error: utmp.h: No such file or directory

Reproducible: Always




this is like bug 391011 and bug 409819
Comment 1 Naohiro Aota gentoo-dev 2012-05-27 05:20:47 UTC
FreeBSD applied this patch and removed utmp things.

http://lists.freebsd.org/pipermail/svn-src-all/2010-January/018530.html

I'm considering applying this patch only on >=FreeBSD-9. Any comments?
Comment 2 Alexis Ballier gentoo-dev 2012-05-27 13:08:23 UTC
(In reply to comment #1)
> FreeBSD applied this patch and removed utmp things.
> 
> http://lists.freebsd.org/pipermail/svn-src-all/2010-January/018530.html
> 
> I'm considering applying this patch only on >=FreeBSD-9. Any comments?

yes please do! :)
Comment 3 Naohiro Aota gentoo-dev 2012-05-29 07:35:46 UTC
I've rewritten files/${P}-fbsd.patch to merge the above patch.
Now it works fine on FreeBSD-9.0