Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 170542 - sys-process/at - virtual/mta is also DEPEND, not just RDEPEND
Summary: sys-process/at - virtual/mta is also DEPEND, not just RDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Cron Team
URL:
Whiteboard:
Keywords:
: 222367 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-12 09:10 UTC by Francisco J. Sánchez
Modified: 2008-06-26 10:39 UTC (History)
2 users (show)

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 Francisco J. Sánchez 2007-03-12 09:10:05 UTC
after syncing the portage tree and updated world and system, I tried to emerge at and compilation crashed

Reproducible: Always

Steps to Reproduce:
1.emerge -avNDu system
2.emerge -avNDu world
3.emerge --depclean
4.revdep-rebuild
5.etc-update
6.emerge -av at
Actual Results:  
atd.c:452:2: error: #error "No mail command specified."
make: *** [atd.o] Error 1
make: *** Se espera a que terminen otras tareas....

!!! ERROR: sys-process/at-3.1.8-r11 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3304:   Called src_compile
  at-3.1.8-r11.ebuild, line 52:   Called die

!!! make failed


Expected Results:  
compile OK

/var/tmp/portage/sys-process/at-3.1.8-r11/temp/build.log :
>>> Unpacking source...
>>> Unpacking at_3.1.8-11.tar.gz to /var/tmp/portage/sys-process/at-3.1.8-r11/work
 [32;01m*[0m Applying at-3.1.8-longuser.patch ...
[A[170C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-process/at-3.1.8-r11/work/at-3.1.8 ...
creating cache ./config.cache
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc -march=athlon64 -O2 -pipe ) works... yes
checking whether the C compiler (gcc -march=athlon64 -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for bison... bison -y
checking for flex... flex
checking for yywrap in -lfl... yes
checking Checking for HP-UX -Aa... no
checking Trying to compile a trivial ANSI C program... yes
checking __attribute__((noreturn))... yes
checking for yywrap in -lfl... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
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 fcntl.h... yes
checking for syslog.h... yes
checking for unistd.h... yes
checking for errno.h... yes
checking for sys/fcntl.h... yes
checking for getopt.h... yes
checking for stdarg.h... yes
checking for working const... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
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 for vprintf... yes
checking for getloadavg... yes
checking for getcwd... yes
checking for mktime... yes
checking for strftime... yes
checking for setreuid... yes
checking for setresuid... yes
checking for sigaction... yes
checking for waitpid... yes
checking for sendmail... no
checking etcdir... /etc/at
checking location of pid file... /var/run
checking location of spool directory... not found
checking jobdir... /var/spool/at/atjobs
checking atspool... /var/spool/at/atspool
checking default at queue... a
checking default batch queue... b
checking maximum load average for batch to start jobs... 0.8
checking username to run under... at
checking groupname to run under... at
updating cache ./config.cache
creating ./config.status
creating Makefile
creating atrun
creating atd.8
creating atrun.8
creating at.1
creating batch
creating config.h
gcc -c -march=athlon64 -O2 -pipe -DHAVE_CONFIG_H -DVERSION=\"3.1.8\" -DETCDIR=\"/etc/at\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"at\" -DDAEMON_GROUPNAME=\"at\" -DLFILE=\"/var/spool/at/atjobs/.SEQ\" -Wall at.c
gcc -c -march=athlon64 -O2 -pipe -DHAVE_CONFIG_H -DVERSION=\"3.1.8\" -DETCDIR=\"/etc/at\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"at\" -DDAEMON_GROUPNAME=\"at\" -DLFILE=\"/var/spool/at/atjobs/.SEQ\" -Wall panic.c
gcc -c -march=athlon64 -O2 -pipe -DHAVE_CONFIG_H -DVERSION=\"3.1.8\" -DETCDIR=\"/etc/at\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"at\" -DDAEMON_GROUPNAME=\"at\" -DLFILE=\"/var/spool/at/atjobs/.SEQ\" -Wall perm.c
panic.c:49: aviso: se definió ‘rcsid’ pero no se usa
gcc -c -march=athlon64 -O2 -pipe -DHAVE_CONFIG_H -DVERSION=\"3.1.8\" -DETCDIR=\"/etc/at\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"at\" -DDAEMON_GROUPNAME=\"at\" -DLFILE=\"/var/spool/at/atjobs/.SEQ\" -Wall y.tab.c
perm.c:59: aviso: se definió ‘rcsid’ pero no se usa
at.c:111: aviso: se definió ‘rcsid’ pero no se usa
gcc -c -march=athlon64 -O2 -pipe -DHAVE_CONFIG_H -DVERSION=\"3.1.8\" -DETCDIR=\"/etc/at\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"at\" -DDAEMON_GROUPNAME=\"at\" -DLFILE=\"/var/spool/at/atjobs/.SEQ\" -Wall lex.yy.c
gcc -c -march=athlon64 -O2 -pipe -DHAVE_CONFIG_H -DVERSION=\"3.1.8\" -DETCDIR=\"/etc/at\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"at\" -DDAEMON_GROUPNAME=\"at\" -DLFILE=\"/var/spool/at/atjobs/.SEQ\" -Wall atd.c
lex.yy.c:1281: aviso: se definió ‘yyunput’ pero no se usa
gcc -c -march=athlon64 -O2 -pipe -DHAVE_CONFIG_H -DVERSION=\"3.1.8\" -DETCDIR=\"/etc/at\" -DLOADAVG_MX=0.8 -DDAEMON_USERNAME=\"at\" -DDAEMON_GROUPNAME=\"at\" -DLFILE=\"/var/spool/at/atjobs/.SEQ\" -Wall daemon.c
daemon.c:51: aviso: se definió ‘rcsid’ pero no se usa
atd.c:452:2: error: #error "No mail command specified."
make: *** [atd.o] Error 1
make: *** Se espera a que terminen otras tareas....

!!! ERROR: sys-process/at-3.1.8-r11 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3304:   Called src_compile
  at-3.1.8-r11.ebuild, line 52:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-process/at-3.1.8-r11/temp/build.log'.
Comment 1 Francisco J. Sánchez 2007-03-12 09:13:02 UTC
Portage 2.1.2.2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm)64 X2 Dual Core Processor  4800+
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 12 Mar 2007 06:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS=" ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo http://gentoo.modulix.net/gentoo/ "
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es es_ES"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 apm arts bash-completion berkdb bitmap-fonts bzip2 caps cdr cli courier cracklib crypt ctype cups dri dts dvd dvdr dvdread encode esd firefox foomaticdb fortran gif gimp gimpprint gnome gpm gtk hal iconv ieee1394 imap isdnlog jack java jpeg kde kdeenablefinal libg++ libwww live maildir midi mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl pcre pdf perl php png posix postfix povray ppds pppd python qt qt3 qt4 readline reflection sasl scanner session spell spl ssl svg symlink tetex theora threads tidy tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vhosts vorbis xanim xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-12 09:19:55 UTC
Post the output of `emerge -pv virtual/mta` and `ls -l /usr/sbin/sendmail*` please.
Comment 3 Francisco J. Sánchez 2007-03-12 09:39:44 UTC
emerge -pv virtual/mta :

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] mail-mta/postfix-2.3.6  USE="mysql sasl ssl -cdb -dovecot-sasl -hardened -ipv6 -ldap -mailwrapper -mbox -nis -pam -postgres (-selinux) -vda" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB



ls -l /usr/sbin/sendmail* :

ls:  /usr/sbin/sendmail* can't be accesed: there is no file or directory


I understand what is happening. Why postfix didn't install de sendmail simlinks?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-12 09:45:51 UTC
Well, your postfix is broken then; re-emerge it. Not a sys-process/at bug. ;)

Recycling this bug to fix the dependency anyway, virtual/mta should be in DEPEND as well, not just RDEPEND.
Comment 5 Francisco J. Sánchez 2007-03-12 10:00:17 UTC
re-emerging postfix fixed it.

I didn't added any word in USE


Thanks
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-03-12 10:03:08 UTC
Thanks; anyway this bug needs to stay open until the dependencies are fixed, see my previous comment.
Comment 7 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2008-06-26 10:37:36 UTC
fixed in cvs.
Comment 8 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2008-06-26 10:39:07 UTC
*** Bug 222367 has been marked as a duplicate of this bug. ***