Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117067 - mail-filter/rblcheck-1.5 works on amd64 with a patch
Summary: mail-filter/rblcheck-1.5 works on amd64 with a patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-29 04:04 UTC by Cliff Cunnington
Modified: 2006-10-08 09:43 UTC (History)
1 user (show)

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


Attachments
Patch for configure script (rblcheck-1.5-configure.patch,719 bytes, patch)
2005-12-29 04:05 UTC, Cliff Cunnington
Details | Diff
Ebuild patch to enable epatch (rblcheck-1.5-ebuild.patch,777 bytes, patch)
2005-12-29 04:10 UTC, Cliff Cunnington
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cliff Cunnington 2005-12-29 04:04:10 UTC
Overview Description: 
mail-filter/rblcheck fails to emerge on AMD64 due to upstream's platform-specific ./configure script.

Reproducible: always

Steps to reproduce:
1. echo '=mail-filter/rblcheck-1.5 x86' > /etc/portage/package.keywords
2. emerge -pv "=mail-filter/rblcheck-1.5"
3. ./configure script halts with fatal error.

Actual results:
(snip)
checking for libc.h... no
checking for working const... yes
checking for res_query... no
checking for res_query in -lresolv... no
checking for res_query in -lbind... no
configure: error: cannot locate res_query function
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: mail-filter/rblcheck-1.5 failed.


Additional information:
A fix for this problem was posted by Paul Howarth to fedora-extras list: https://www.redhat.com/archives/fedora-extras-list/2005-July/msg00038.html


Fix:
1. Apply attached patch(es) to mail-filter/rblcheck-1.5(-rX) ebuild.
2. ebuild <ebuild> digest && emerge
3. mail-filter/rblcheck-1.5(-rX) works on amd64 platform
Comment 1 Cliff Cunnington 2005-12-29 04:05:49 UTC
Created attachment 75706 [details, diff]
Patch for configure script

Add this to $PORTAGE/mail-filter/rblcheck/files
Comment 2 Cliff Cunnington 2005-12-29 04:10:01 UTC
Created attachment 75707 [details, diff]
Ebuild patch to enable epatch

1. Make a copy of ebuild (e.g. rblcheck-1.5-r1.ebuild) and apply this patch to it.
2. Run 'ebuild rblcheck-1.5-r1.ebuild digest' (after adding the configure script patch to files/).
3. rblcheck will now emerge and run on AMD64 platform.
Comment 3 Cliff Cunnington 2005-12-29 04:27:28 UTC
Gentoo Base System version 1.6.13
Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2-ccb x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2-ccb x86_64 AMD Athlon(tm) 64 Processor 3200+
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
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/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.nutsmaas.nl/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.snt.utwente.nl/gentoo-portage"
USE="amd64 X alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cairo cdb cdparanoia cdr crypt curl dvd dvdr dvdread eds emboss emul-linux-x86 encode esd exif expat fam fbcon ffmpeg flac flash foomaticdb ftp gif glut gmp gnome gnustep gphoto2 gpm gstreamer gtk gtk2 idn imagemagick imap imlib jpeg kde kdeenablefinal lcms lm_sensors lzw lzw-tiff mad maildir mng motif mozilla mp3 mpeg ncurses ogg opengl pam pcre pdflib perl png postgres python qt quicktime readline scanner sdl soap sox spell ssl tcpd tidy tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l vorbis wifi xine xinerama xml2 xmlrpc xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

Comment 4 Simon Stelling (RETIRED) gentoo-dev 2006-10-08 09:43:45 UTC
patch applied and keyworded, thanks!