Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120573 - am-utils build fails without ext2 support in kernel
Summary: am-utils build fails without ext2 support in kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-27 15:04 UTC by Cole Hoosier
Modified: 2006-02-06 15:06 UTC (History)
0 users

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


Attachments
add ext3 to list (am-utils-ufs-ext3.patch,1.30 KB, patch)
2006-01-27 15:13 UTC, Cole Hoosier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cole Hoosier 2006-01-27 15:04:54 UTC
Without ext2 support in the kernel, emerging am-utils (either version currently in portage) fails while building with the following error:

==== begin emerge output ====
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include   -O3 -march=pentium4 -funroll-loops -fomit-frame-pointer -pipe  -O3 -march=pentium4 -funroll-loops -fomit-frame-pointer -pipe -MT mountutil.lo -MD -MP -MF ".deps/mountutil.Tpo" -c -o mountutil.lo mountutil.c; \
then mv -f ".deps/mountutil.Tpo" ".deps/mountutil.Plo"; else rm -f ".deps/mountutil.Tpo"; exit 1; fi
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -O3 -march=pentium4 -funroll-loops -fomit-frame-pointer -pipe -O3 -march=pentium4 -funroll-loops -fomit-frame-pointer -pipe -MT mountutil.lo -MD -MP -MF .deps/mountutil.Tpo -c mountutil.c -o mountutil.o
mountutil.c: In function `mount_linux':
mountutil.c:236: error: `MOUNT_TYPE_UFS' undeclared (first use in this function)
mountutil.c:236: error: (Each undeclared identifier is reported only once
mountutil.c:236: error: for each function it appears in.)
make[3]: *** [mountutil.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/am-utils-6.0.10/work/am-utils-6.0.10/libamu'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/am-utils-6.0.10/work/am-utils-6.0.10/libamu'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/am-utils-6.0.10/work/am-utils-6.0.10'
make: *** [all] Error 2

!!! ERROR: net-fs/am-utils-6.0.10 failed.
!!! Function src_compile, Line 40, Exitcode 2
==== end emerge output ====



==== emerge --info ====
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) XEON(TM) CPU 1.80GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /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="-O3 -march=pentium4 -funroll-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo/ http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo"
LINGUAS="en"
MAKEOPTS="-j1"
PKGDIR="/common/admin/linux/gentoo/packages/i686-lab"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-cis"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm audiofile berkdb bitmap-fonts bzip2 cdr cjk crypt cscope curl doc eds emboss encode expat f77 fftw foomaticdb fortran freewnn gb gd gdbm gif gmp gtkhtml guile idn imagemagick imap imlib java jikes jpeg junit kerberos krb4 ldap leim libg++ libgda libwww mad maildir mbox mcal mhash mikmod mp3 mule mysql ncurses nls objc odbc ogg oscar oss pam pcre pdflib perl plotutils png python quicktime readline recode ruby samba snmp spell sqlite ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis wmf xine xml xml2 zlib linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Cole Hoosier 2006-01-27 15:13:05 UTC
Created attachment 78304 [details, diff]
add ext3 to list

After applying this patch in the ebuild, the compilation completes happily without ext2 support in the kernel.

Note: I'm not sure how the previous list of filesystems in these lines was obtained, so it may not be a "correct" patch.  It adds ext3 to the list of filesystems used for: AMU_CHECK_FS_MNTENT, AMU_CHECK_MOUNT_TYPE, and AMU_CHECK_MNTTAB_TYPE
Comment 2 Cole Hoosier 2006-02-02 11:28:45 UTC
(In reply to comment #1)
> Note: I'm not sure how the previous list of filesystems in these lines was
> obtained, so it may not be a "correct" patch.

The am-utils maintainer accepted the patch upstream, so it must be safe to do.
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2006-02-06 15:06:04 UTC
ok, I'm assuming this is fixed in am-utils-6.1.3 now in portage, please re-open if there's more to do.