Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138123 - sys-apps/man-1.6d fails during emerge using gcc-4.1.1
Summary: sys-apps/man-1.6d fails during emerge using gcc-4.1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 16:49 UTC by Adam Potter
Modified: 2006-11-28 21:04 UTC (History)
0 users

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


Attachments
man-1.6d-fbsd.patch (man-1.6d-fbsd.patch,308 bytes, patch)
2006-06-26 18:10 UTC, Javier Villavicencio (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Potter 2006-06-26 16:49:48 UTC
emerge fails at/with:

==== Making the slovenian man pages. ====
make: don't know how to make w. Stop
gmake[1]: Leaving directory `/var/tmp/portage/man-1.6d/work/man-1.6d/man'
cd gencat; gmake
gmake[1]: Entering directory `/var/tmp/portage/man-1.6d/work/man-1.6d/gencat'
i686-gentoo-freebsd6.1-gcc -march=athlon-xp -O3 -pipe   -c -o gencat.o gencat.c
i686-gentoo-freebsd6.1-gcc -march=athlon-xp -O3 -pipe   -c -o genlib.o genlib.c
genlib.c:60: error: conflicting types for 'bcopy'
genlib.c:66: error: conflicting types for 'bzero'
gmake[1]: *** [genlib.o] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/man-1.6d/work/man-1.6d/gencat'
gmake: *** [gencat/gencat] Error 2

!!! ERROR: sys-apps/man-1.6d failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  man-1.6d.ebuild, line 85:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

----
contents of emerge --info
----

Gentoo Base System version 20060420
Portage 2.1.1_pre1-r2 (default-bsd/fbsd/6.1/x86, gcc-4.1.1, freebsd-lib-6.1-r0, 6.1-RELEASE-p1 i386)
=================================================================
System uname: 6.1-RELEASE-p1 i386 i386
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  6.1
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.1"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-gentoo-freebsd6.1"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy collision-protect distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86-fbsd X acpi cups gdbm gif ipv6 jpeg ncurses nls ogg oss pam perl png python readline ssl tcltk tcpd truetype unicode usb xml xorg xv zlib elibc_FreeBSD kernel_FreeBSD userland_BSD"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Javier Villavicencio (RETIRED) gentoo-dev 2006-06-26 18:10:31 UTC
Created attachment 90231 [details, diff]
man-1.6d-fbsd.patch

Fixes compilation on FreeBSD
Comment 2 Javier Villavicencio (RETIRED) gentoo-dev 2006-07-18 13:14:12 UTC
Fixed in cvs.
Comment 3 SpanKY gentoo-dev 2006-11-28 21:04:04 UTC
FYI you cant just merge patches into Gentoo without notifying upstream

i'll push this patch to the upstream man maintainer like it should have already been