Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 55313
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Robin Johnson <robbat2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: michael farrell <michael@xinomorph.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 55313 depends on: Show dependency tree
Bug 55313 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-06-27 02:57 0000
net-mail/vpopmail-5.4.0-r1 fails in ./configure if userpriv is set in the
features flag.  vpopmail requires root privs for ./configure, and emerge should
ignore the userpriv flag for this ebuild.

Reproducible: Always
Steps to Reproduce:
1. Set the "userpriv" in your /etc/make.conf's FEATURES flag.
2. emerge vpopmail


Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 3) net-mail/vpopmail-5.4.0-r1 to /
>>> md5 src_uri ;-) vpopmail-5.4.0.tar.gz
>>> md5 src_uri ;-) vpopmail-5.2.1-mysql.diff
 * Massive important warning if you are upgrading to 5.2.1-r8 or older
 * The internal structure of the mail storage has changed for
 * consistancy with the rest of Gentoo! Please review and utilize the
 * script at /var/vpopmail/bin/vpopmail-Maildir-dotmaildir-fix.sh
 * to upgrade your system! (It can do conversions both ways).
 * You should be able to run it right away without any changes.

 * Use of vpopmail's tcp.smtp[.cdb] is also deprecated now, consider
 * using net-mail/relay-ctrl instead.
>>> Unpacking source...
>>> Unpacking vpopmail-5.4.0.tar.gz to /var/tmp/portage/vpopmail-5.4.0-r1/work
 * Applying vpopmail-5.2.1-showall.patch...                               [ ok
]
* Using GNU config files from /usr/share/gnuconfig
 *  Updating config.sub                                                   [ ok
]
*  Updating config.guess                                                 [ ok ]
* Replacing obsolete head/tail with POSIX compliant ones
>>> Source unpacked.
 * Setting VPOP_HOME to: /var/vpopmail
mysql
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for i386-pc-linux-gnu-strip... no
checking for strip... strip
checking build system type... i686-pc-linux-gnu
checking host system type... i386-pc-linux-gnu
checking for i386-pc-linux-gnu-g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... none
checking for gawk... (cached) gawk
checking for i386-pc-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... none
checking for a BSD-compatible install... /bin/install -c
checking for i386-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for crypt in -lcrypt... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for memory.h... (cached) yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking return type of signal handlers... void
checking whether utime accepts a null argument... yes
checking for bzero... yes
checking for dup2... yes
checking for fdatasync... yes
checking for getcwd... yes
checking for gethostname... yes
checking for getpass... yes
checking for getspnam... yes
checking for memset... yes
checking for mkdir... yes
checking for putenv... yes
checking for rmdir... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for utime... yes
checking vpopmail configure options... ok
configure: WARNING: === vpopmail must be configured as root. ===
configure: WARNING: === please switch to the root user and  ===
configure: WARNING: === run ./configure. Thanks ===
configure: error: aborted.

!!! ERROR: net-mail/vpopmail-5.4.0-r1 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed


Expected Results:  
emerge should have been "smart" and ignored the userpriv features flag for this
ebuild.

Workaround:
Disable the userpriv features flag manually for this ebuild, and reset it after
vpopmail is installed.

Portage 2.0.50-r5 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9,
2.6.7-gentoo-r5)
=================================================================
System uname: 2.6.7-gentoo-r5 i686 6x86MX 2.5x Core/Bus Clock
Gentoo Base System version 1.4.3.13
distcc 2.13 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer"
CHOST="i386-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox userpriv"
GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://sync.au.gentoo.org/gentoo-portage"
USE="apache2 apm avi berkdb crypt encode foomaticdb gd gdbm gif gpm imlib
jabber
jpeg libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl pam
pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd
truetype
x86 xml2 xmms xv zlib"

------- Comment #1 From Robin Johnson 2004-06-28 01:47:28 0000 -------
fixed in cvs.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug