Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130073 - media-libs/netpbm-10.33 does not compile on Gentoo/FreeBSD
Summary: media-libs/netpbm-10.33 does not compile on Gentoo/FreeBSD
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All GNU/kFreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-15 09:48 UTC by Stefano Takekawa
Modified: 2006-04-16 17:23 UTC (History)
0 users

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 Stefano Takekawa 2006-04-15 09:48:51 UTC
Steps to reproduce:
1) emerge netpbm

i686-gentoo-freebsd6.0-gcc -Wall -c  -I/var/tmp/portage/netpbm-10.33/work/netpbm-10.33/converter/other/cameratopam -I. -I importinc -DNDEBUG \
             -mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer   -o identify.o identify.c
identify.c:30: error: conflicting types for 'memmem'
/usr/include/string.h:65: error: previous declaration of 'memmem' was here
identify.c:30: error: conflicting types for 'memmem'
/usr/include/string.h:65: error: previous declaration of 'memmem' was here
gmake[3]: *** [identify.o] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/netpbm-10.33/work/netpbm-10.33/converter/other/cameratopam'
gmake[2]: *** [cameratopam/all] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/netpbm-10.33/work/netpbm-10.33/converter/other'
gmake[1]: *** [other/all] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/netpbm-10.33/work/netpbm-10.33/converter'
gmake: *** [converter/all] Error 2

# emerge --info
Portage 2.1_pre7-r5 (default-bsd/fbsd/6.0/x86, gcc-, freebsd-lib-6.0-r1, 6.0-RELEASE i386)
=================================================================
System uname: 6.0-RELEASE i386 i386
Gentoo Base System version 20060414
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
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-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  6.0
ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-gentoo-freebsd6.0"
CFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer"
CHOST="i686-gentoo-freebsd6.0"
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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow -ffast-math -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache collision-protect distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="http://192.168.0.1 http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/portage-alt-overlay /usr/local/portage/portage-twominds"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86-fbsd 3dnow X a52 acpi apm arts audiofile bzip2 cdr cups dvd dvdr dvdread ffmpeg fortran gdbm gif glitz gs gtk jpeg kde lzo mad mjpeg mmx mp3 mpeg musicbrainz ncurses nls nopie nossp offensive ogg opengl oss pam perl pic png ppds profile python qt quicktime readline sdl sndfile sse sse2 ssl suid theora threads tiff truetype unicode usb vorbis xcomposite xml xmms xv xvid zlib elibc_FreeBSD input_devices_mouse input_devices_keyboard kernel_FreeBSD userland_BSD video_cards_nv video_cards_vesa video_cards_fbdev video_cards_none"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-16 17:23:42 UTC
Okay this is fixed in both portage and upstream, for all FreeBSD and NetBSD.