Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49195 - [2.4] submount will not compile on 2.4
Summary: [2.4] submount will not compile on 2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-27 12:33 UTC by Adam H Hansen
Modified: 2004-09-27 12:52 UTC (History)
0 users

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


Attachments
updated ebuild to resolve this problem (submount-0.9.ebuild,1.38 KB, text/plain)
2004-06-16 09:03 UTC, Rick Warner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam H Hansen 2004-04-27 12:33:08 UTC
Submount ebuild tries to run make in wrong directories. The specific directory 'submount-2.4-0.9' (in fact, any directory including -2.4-) is never created, and thus the compile fails, as the ebuild tries to enter them. Instead, ebuild creates directories along the lines of 'submount-0.9'.

Reproducible: Always
Steps to Reproduce:
1. emerge submount
Actual Results:  
# emerge submount
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/submount-0.9 to /
>>> Downloading ftp://ftp.easynet.nl/mirror/gentoo/distfiles/submount-0.9.tar.gz
[...]
21:14:41 (222.29 KB/s) - `/usr/portage/distfiles/submount-0.9.tar.gz' saved [75476]

>>> md5 src_uri ;-) submount-0.9.tar.gz
>>> Unpacking source...
 * /usr/src/linux is a symbolic link
 * Determining the real directory of the Linux kernel source code
 * Building for Linux 2.4.25-gentoo found in /usr/src/linux
>>> Unpacking submount-0.9.tar.gz to /var/tmp/portage/submount-0.9/work
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 42: cd:
/var/tmp/portage/submount-0.9/work/submount-2.4-0.9/subfs-2.4-0.9: No such file
or directory
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: sys-fs/submount-0.9 failed.
!!! Function kmod_src_compile, Line 278, Exitcode 2
!!! (no error message)


Expected Results:  
Create correct directories for source.

# emerge info 
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/
http://ftp.easynet.nl/mirror/gentoo/ http://mirror.pudas.net/gentoo
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib alsa apm arts avi berkdb cdr crypt dvd encode esd faad
foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mmx
motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python
qt quicktime readline sdl slang spell ssl svga tcpd tetex tiff truetype x86 xml2
xmms xv zlib"
Comment 1 Jason Cox (RETIRED) gentoo-dev 2004-04-28 14:44:04 UTC
I just submitted a new ebuild. It should be fixed. If it's not, please reopen.
Comment 2 Adam H Hansen 2004-04-30 05:00:11 UTC
Still same error w. new ebiuld.
Comment 3 Rick Warner 2004-06-16 09:03:24 UTC
Created attachment 33386 [details]
updated ebuild to resolve this problem

This ebuild has been changed to get the correct source file (the one with the
-2.4 in it) for submount when using a 2.4 kernel.  It has been tested on one of
my systems with a 2.4.23 kernel.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-09-27 12:52:28 UTC
The ebuild posted here will break 2.6 compatibility (I think). I've employed a similar hack in an updated version of the ebuild, which is on its way into portage now. Please reopen if this is still an issue after "emerge sync" (wait a few hours first)