<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>130251</bug_id>
          
          <creation_ts>2006-04-17 05:43 0000</creation_ts>
          <short_desc>net-misc/dhcp doesn&apos;t compile</short_desc>
          <delta_ts>2006-04-20 15:09:30 0000</delta_ts>
          
          
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kermit@staszic.waw.pl</reporter>
          <assigned_to>uberlord@gentoo.org</assigned_to>
          <cc>base-system@gentoo.org</cc>
    
    <cc>solar@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>kermit@staszic.waw.pl</who>
            <bug_when>2006-04-17 05:43:13 0000</bug_when>
            <thetext>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 &quot;s#ETCDIR#/etc/dhcp#g&quot; -e &quot;s#DBDIR#/var/lib/dhcp#g&quot; \
        -e &quot;s#RUNDIR#/var/run/dhcp#g&quot; &lt; dhcp-options.5 &gt;dhcp-options.man5
sed -e &quot;s#ETCDIR#/etc/dhcp#g&quot; -e &quot;s#DBDIR#/var/lib/dhcp#g&quot; \
        -e &quot;s#RUNDIR#/var/run/dhcp#g&quot; &lt; dhcp-eval.5 &gt;dhcp-eval.man5
nroff -man dhcp-options.man5 &gt;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&apos;
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&apos;
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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-Os -pipe&quot;
CHOST=&quot;i386-gentoo-linux-uclibc&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-Os -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://gentoo.prz.rzeszow.pl/&quot;
LANG=&quot;pl_PL&quot;
LC_ALL=&quot;pl_PL&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 berkdb bitmap-fonts bzip2 dri expat minimal ncurses perl python readline truetype-fonts type1-fonts uclibc zlib userland_GNU kernel_linux elibc_uclibc&quot;
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2006-04-17 05:47:34 0000</bug_when>
            <thetext>Please don&apos;t submit ebuild bugs to develop relations.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>solar@gentoo.org</who>
            <bug_when>2006-04-17 06:24:15 0000</bug_when>
            <thetext>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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kermit@staszic.waw.pl</who>
            <bug_when>2006-04-17 11:17:10 0000</bug_when>
            <thetext>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</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2006-04-18 00:20:15 0000</bug_when>
            <thetext>It&apos;s only used for the man pages, so we could add a &quot;man&quot; USE flag and only pull in groff as a dep if you want the man pages.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2006-04-20 15:09:30 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; - in each Makefile.dist lines that begins with CATMANPAGES, SEDMANPAGES and MAN
&gt; 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.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>