Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130251 - net-misc/dhcp doesn't compile
Summary: net-misc/dhcp doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-17 05:43 UTC by Piotr Miedzik
Modified: 2006-04-20 15:09 UTC (History)
2 users (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 Piotr Miedzik 2006-04-17 05:43:13 UTC
while trying emerge net-misc/dhcp, getting the following message:

i386-gentoo-linux-uclibc-gcc -g  -I/var/tmp/portage/dhcp-3.0.3-r4/work/dhcp-3.0.3  -I/var/tmp/portage/dhcp-3.0.3-r4/work/dhcp-3.0.3/includes -DLINUX_MAJOR=2 -DLINUX_MINOR=6  -DPARANOIA -DEARLY_CHROOT -Os -pipe   -c -o comapi.o comapi.c
sed -e "s#ETCDIR#/etc/dhcp#g" -e "s#DBDIR#/var/lib/dhcp#g" \
        -e "s#RUNDIR#/var/run/dhcp#g" < dhcp-options.5 >dhcp-options.man5
sed -e "s#ETCDIR#/etc/dhcp#g" -e "s#DBDIR#/var/lib/dhcp#g" \
        -e "s#RUNDIR#/var/run/dhcp#g" < dhcp-eval.5 >dhcp-eval.man5
nroff -man dhcp-options.man5 >dhcp-options.cat5
/bin/sh: line 1: nroff: command not found
make[2]: *** [dhcp-options.cat5] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/dhcp-3.0.3-r4/work/dhcp-3.0.3/work.linux-2.2/common'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/dhcp-3.0.3-r4/work/dhcp-3.0.3/work.linux-2.2'
make: *** [all] Error 2

!!! ERROR: net-misc/dhcp-3.0.3-r4 failed.
!!! Function src_compile, Line 76, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

I thing groff should be in DEPEND

emerge --info follows:

Portage 2.0.51.19 (uclibc/x86/2.4, gcc-3.3.5-20050130, uclibc-0.9.27-r0, 2.6.15-suspend2-r8 i686)
=================================================================
System uname: 2.6.15-suspend2-r8 i686 Mobile Intel(R) Celeron(R) CPU 1.80GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 16 2005, 06:43:32)]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.7.9-r1, 1.5, 1.9.4, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl/"
LANG="pl_PL"
LC_ALL="pl_PL"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts bzip2 dri expat minimal ncurses perl python readline truetype-fonts type1-fonts uclibc zlib userland_GNU kernel_linux elibc_uclibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2006-04-17 05:47:34 UTC
Please don't submit ebuild bugs to develop relations.
Comment 2 solar (RETIRED) gentoo-dev 2006-04-17 06:24:15 UTC
vs  forcing groff in as a dep can we make it optional?
Like pregen the man pages elsewhere?
groff brings in a bunch of undesirable things along with it in the deptree.
Comment 3 Piotr Miedzik 2006-04-17 11:17:10 UTC
possible solutions:

- groff is requided only to compile so it could be added to DEPEND flag

- in each Makefile.dist lines that begins with CATMANPAGES, SEDMANPAGES and MAN could be commented
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-04-18 00:20:15 UTC
It's only used for the man pages, so we could add a "man" USE flag and only pull in groff as a dep if you want the man pages.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2006-04-20 15:09:30 UTC
(In reply to comment #3)
> - in each Makefile.dist lines that begins with CATMANPAGES, SEDMANPAGES and MAN
> could be commented

Close. A working solution is to replace $(CATMANPAGES) with $(SEDMANPAGES) in each Makefile.dist

3.0.3-r6 and 3.0.4_beta3-r1 have been updated to reflect this. Re-open if you dis-agree.