Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85433 - postfix don't build on UCLIBC because of nis
Summary: postfix don't build on UCLIBC because of nis
Status: RESOLVED DUPLICATE of bug 61509
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 16:27 UTC by Aurélien Francillon
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
patch to the ebuild postfix-2.1.5-r2.ebuild (postfix-2.1.5-r2-uclibc.patch,823 bytes, patch)
2005-03-15 16:29 UTC, Aurélien Francillon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien Francillon 2005-03-15 16:27:22 UTC
postfix can't build on uclibc because uclibc don't provides YP/NIS, and as far as i understand won't ...
it just needs to be desactivated in a posfix header file before build  

Reproducible: Always
Steps to Reproduce:
1.try to build postfix on uclibc gentoo
2.fails
3.

Actual Results:  
build error message 
[src/util]
i686-pc-linux-uclibc-gcc -DHAS_PCRE -DHAS_MYSQL -I/usr/include/mysql -DUSE_SSL
-DUSE_SASL_AUTH -I/usr/include/sasl -DDEF_CONFIG_DIR=\"/etc/postfix\"
-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_PROGRAM_DIR=\"/usr/lib/postfix\"
-DDEF_MANPAGE_DIR=\"/usr/share/man\"
-DDEF_README_DIR=\"/usr/share/doc/postfix-2.1.5-r2/readme\" -g -march=pentium3
-O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse -mmmx -funroll-loops
-fforce-addr -finline-functions -frename-registers -fprefetch-loop-arrays
-falign-functions=64 -I. -DLINUX2 -c dict_nis.c
dict_nis.c:42:27: rpcsvc/ypclnt.h: No such file or directory
dict_nis.c: In function `dict_nis_strerror':
dict_nis.c:99: error: `YPERR_BADARGS' undeclared (first use in this function)
dict_nis.c:99: error: (Each undeclared identifier is reported only once
dict_nis.c:99: error: for each function it appears in.)
dict_nis.c:101: error: `YPERR_RPC' undeclared (first use in this function)
dict_nis.c:103: error: `YPERR_DOMAIN' undeclared (first use in this function)
dict_nis.c:105: error: `YPERR_MAP' undeclared (first use in this function)
dict_nis.c:107: error: `YPERR_KEY' undeclared (first use in this function)
dict_nis.c:109: error: `YPERR_YPERR' undeclared (first use in this function)
dict_nis.c:111: error: `YPERR_RESRC' undeclared (first use in this function)
dict_nis.c:113: error: `YPERR_NOMORE' undeclared (first use in this function)
dict_nis.c:115: error: `YPERR_PMAP' undeclared (first use in this function)
dict_nis.c:117: error: `YPERR_YPBIND' undeclared (first use in this function)
dict_nis.c:119: error: `YPERR_YPSERV' undeclared (first use in this function)
dict_nis.c:121: error: `YPERR_NODOM' undeclared (first use in this function)
dict_nis.c:123: error: `YPERR_BADDB' undeclared (first use in this function)
dict_nis.c:125: error: `YPERR_VERS' undeclared (first use in this function)
dict_nis.c: In function `dict_nis_lookup':
dict_nis.c:186: error: `YPERR_KEY' undeclared (first use in this function)
make: *** [dict_nis.o] Error 1
make: *** [update] Error 1



Portage 2.0.51.19 (uclibc/x86/hardened, gcc-3.3.5, uclibc-0.9.27-r0,
2.6.11-hardened-r1ssp i686)
=================================================================
System uname: 2.6.11-hardened-r1ssp i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 05:54:43)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse -mmmx
-funroll-loops -fforce-addr -finline-functions -frename-registers
-fprefetch-loop-arrays -falign-functions=64"
CHOST="i686-pc-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse
-mmmx -funroll-loops -fforce-addr -finline-functions -frename-registers
-fprefetch-loop-arrays -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox
sfperms strict"
GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 berkdb caps chroot crypt curl gdbm hardened imap ipv6 libwww maildir
mmx mysql ncurses pam-mysql pic pie python readline sasl sftplogging sse ssl
tcpd tetex uclibc zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Aurélien Francillon 2005-03-15 16:29:22 UTC
Created attachment 53584 [details, diff]
patch to the ebuild postfix-2.1.5-r2.ebuild

Comments the define "#define HAS_NIS"  in src/util/sys_defs.h using sed if
uclibc is in the use flags.
Comment 2 Tuan Van (RETIRED) gentoo-dev 2005-03-15 16:32:30 UTC
USE=nis is in postfix-2.2 series. We are not going to fix postfix-2.1 series.
Comment 3 Tuan Van (RETIRED) gentoo-dev 2005-03-15 16:33:12 UTC
*** This bug has been marked as a duplicate of 61509 ***