Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179597 - www-apache/mod_fcgid-2.1-r1 looks for special.mk in wrong location
Summary: www-apache/mod_fcgid-2.1-r1 looks for special.mk in wrong location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Christian Heim (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-24 02:37 UTC by Samir M. Nassar
Modified: 2007-06-06 11:57 UTC (History)
5 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 Samir M. Nassar 2007-05-24 02:37:38 UTC
on emerging mod_fcgid the ebuild looks for /usr/local/apache2/build/special.mk, but special.mk is found in /usr/lib/apache2/build/special.mk

Reproducible: Always

Steps to Reproduce:
1. emerge mod_fcgid-2.1-r1
2. ???
3. No Profit

Actual Results:  
>>> Install mod_fcgid-2.1-r1 into /var/tmp/portage/www-apache/mod_fcgid-2.1-r1/image/ category www-apache
Makefile:13: /usr/local/apache2/build/special.mk: No such file or directory
make: *** No rule to make target `/usr/local/apache2/build/special.mk'.  Stop.

!!! ERROR: www-apache/mod_fcgid-2.1-r1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_install
  ebuild.sh, line 1061:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  mod_fcgid-2.1-r1.ebuild, line 41:   Called die

!!! make install 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/www-apache/mod_fcgid-2.1-r1/temp/build.log'.

Expected Results:  
I expected mod_fcgid to be installed

emerge --info:
Portage 2.1.2.7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-hardened-r6 i686)
=================================================================
System uname: 2.6.18-hardened-r6 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 24 May 2007 00:50:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
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.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ "
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="apache2 berkdb bzip2 caps cracklib crypt gmp hardened midi nls pam pcre pic readline resolvconf sse2 ssl tcpd threads unicode urandom vhosts x86 xml xorg zlib" 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="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Emiliano Vavassori 2007-05-24 08:54:11 UTC
Same here (~x86).

Emerge --info:
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.18-suspend2-r3 i686)
=================================================================
System uname: 2.6.18-suspend2-r3 i686 Mobile AMD Athlon(tm) XP 2600+
Gentoo Base System release 1.12.10
Timestamp of tree: Thu, 24 May 2007 07:20:02 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.mirror.solnet.ch http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.ynet.sk/pub http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT"
LC_ALL="it_IT.utf8"
LINGUAS="it en"
MAKEOPTS="-j2"
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/local/portage /usr/portage/local/layman/gechi /usr/portage/local/layman/gentoo-gis"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 7zip X aac aalib acpi aim alsa apache2 audiofile berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups dba dbase dga dio dri dts dvb dvd dvdr dvdread emboss encode esd evo fam fbcon ffmpeg fftw firefox flac flatfile fortran ftp gcj gdbm geoip gif gnutls gpm gps gstreamer gtk iconv icq ieee1394 imagemagick imap imlib isdnlog jabber jack javascript jpeg jpeg2k lcms lesstif libcaca libg++ libgda mad matroska mbox md5sum mhash midi mikmod mime mmap mmx mng motif mp3 mpeg msn mudflap musepack nas ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg opengl openmp oscar oss pam pcmcia pcre pdf perl php pic png posix postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sdl session sharedmem sndfile soap sockets sox spell spl sse ssl svg sysvipc szip tcltk tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts unicode usb v4l vcd vorbis win32codecs wmf wxwindows x86 xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid yahoo zlib" ALSA_CARDS="via82xx via82xx-modem mpu401" 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="via vesa fbdev v4l"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-05-24 20:15:24 UTC
(In reply to comment #0)
> on emerging mod_fcgid the ebuild looks for /usr/local/apache2/build/special.mk,
> but special.mk is found in /usr/lib/apache2/build/special.mk
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. emerge mod_fcgid-2.1-r1
> 2. ???
> 3. No Profit

I'm committing a fixed ebuild right now, so once it mirrors out (should be in roughly 45 minutes), please sync your box and try building it then. It should be fine now.
Comment 3 Hans de Graaff gentoo-dev Security 2007-05-25 16:06:55 UTC
This still doesn't seem to be fixed for me, although I now get a different error message:

>>> Install mod_fcgid-2.1-r1 into /var/tmp/portage/www-apache/mod_fcgid-2.1-r1/image/ category www-apache
make[1]: Entering directory `/var/tmp/portage/www-apache/mod_fcgid-2.1-r1/work/mod_fcgid.2.1'
/bin/sh: /var/tmp/portage/apache-2.0.58-r2/work/httpd-2.0.58/build/mkdir.sh: No such file or directory
make[1]: *** [install-modules] Error 127
make[1]: Leaving directory `/var/tmp/portage/www-apache/mod_fcgid-2.1-r1/work/mod_fcgid.2.1'
make: *** [install-recursive] Error 1

Before syncing I also got the /usr/local/apache2/build/special.mk error message.
Comment 4 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-05-28 12:29:27 UTC
Confirming what Hans says.....

I also know *why*.

For whatever stupid reason, the Makefile is looking for libtool in builddir(i.e. /usr/lib64/apache/build ) when of course it is in /usr/bin like it should be. The error message is slightly cryptic ( when in an ebuild environment )but doing "make install" quickly shows the error.

/me is gonna try to make a patch up.
Comment 5 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-05-28 12:30:25 UTC
And for the record, The bug Hans and I are reporting are completely different bugs.
Comment 6 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-05-30 11:43:16 UTC
I cannot for the life of me find this stupid bug...

Everything appears to be right, but libtool is being looked for in the wrong place. Maybe the problem is in apxs itself? But that seemed wrong to me because apxs works for everything else.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-05-31 10:47:51 UTC
(In reply to comment #3)
> This still doesn't seem to be fixed for me, although I now get a different
> error message:

Different issue -> new bug. Move this to Bug 180380, this one is fixed.
Comment 8 Anton Kuzmin 2007-06-06 11:57:41 UTC
I get this error(resynced yesterday):
>>> Install mod_fcgid-2.1-r1 into /var/tmp/portage/www-apache/mod_fcgid-2.1-r1/image/ category www-apache
make[1]: Entering directory `/var/tmp/portage/www-apache/mod_fcgid-2.1-r1/work/mod_fcgid.2.1'
mkdir /var/tmp/portage/www-apache/mod_fcgid-2.1-r1/image/usr
mkdir /var/tmp/portage/www-apache/mod_fcgid-2.1-r1/image/usr/lib64
mkdir /var/tmp/portage/www-apache/mod_fcgid-2.1-r1/image/usr/lib64/apache2
mkdir /var/tmp/portage/www-apache/mod_fcgid-2.1-r1/image/usr/lib64/apache2/modules
/bin/sh /usr/lib64/apache2/build/libtool --silent --mode=install cp mod_fcgid.la /var/tmp/portage/www-apache/mod_fcgid-2.1-r1/image//usr/lib64/apache2/modules/
/bin/sh: /usr/lib64/apache2/build/libtool: No such file or directory
make[1]: *** [install-modules] Error 127
make[1]: Leaving directory `/var/tmp/portage/www-apache/mod_fcgid-2.1-r1/work/mod_fcgid.2.1'
make: *** [install-recursive] Error 1

!!! ERROR: www-apache/mod_fcgid-2.1-r1 failed.
Call stack:
  ebuild.sh, line 1621:   Called dyn_install
  ebuild.sh, line 1067:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  mod_fcgid-2.1-r1.ebuild, line 44:   Called die