Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31393 - sash-3.6 wont compile during 'emerge system'
Summary: sash-3.6 wont compile during 'emerge system'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-18 02:04 UTC by Brandy Westcott (RETIRED)
Modified: 2003-11-28 15:49 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 Brandy Westcott (RETIRED) gentoo-dev 2003-10-18 02:04:02 UTC
On a fresh install emerge system fails when emerging sash-3.6:


gcc -march=pentium4 -O3 -pipe -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE   -c -o cmd_chattr.o cmd_chattr.c
cmd_chattr.c:15:28: ext2fs/ext2_fs.h: No such file or directory
cmd_chattr.c: In function `do_chattr':
cmd_chattr.c:66: error: `EXT2_IMMUTABLE_FL' undeclared (first use in this function)
cmd_chattr.c:66: error: (Each undeclared identifier is reported only once
cmd_chattr.c:66: error: for each function it appears in.)
cmd_chattr.c:70: error: `EXT2_APPEND_FL' undeclared (first use in this function)
cmd_chattr.c:131: error: `EXT2_IOC_GETFLAGS' undeclared (first use in this function)
cmd_chattr.c:161: error: `EXT2_IOC_SETFLAGS' undeclared (first use in this function)
cmd_chattr.c: In function `do_lsattr':
cmd_chattr.c:216: error: `EXT2_IOC_GETFLAGS' undeclared (first use in this function)
cmd_chattr.c:234: error: `EXT2_IMMUTABLE_FL' undeclared (first use in this function)
cmd_chattr.c:235: error: `EXT2_APPEND_FL' undeclared (first use in this function)
make: *** [cmd_chattr.o] Error 1

!!! ERROR: app-shells/sash-3.6 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)


This is caused by sash-3.6 applying the sash-3.6-fix-includes.patch that
changes '#include <linux/ext2_fs.h>' to '#include <ext2fs/ext2_fs.h>'.
ext2fs/ext2_fs.h is provided by e2fsprogs which is installed *after* sash
in the system profile.
Comment 1 Jon Portnoy (RETIRED) gentoo-dev 2003-10-18 02:24:50 UTC
I've taken sash-3.6 out of stable (it shouldn't have been committed to stable
to begin with, but this was probably just an oversight on plasmaroo's part)
and also added a DEPEND for e2fsprogs. We'll need to do some testing to make
sure emerge system still won't barf, but I desperately need to go to bed...
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2003-10-18 04:18:46 UTC
Okay, I've fixed the includes patch and removed the e2fsprogs dep. Yes, this
was a n oversight: I knew nothing of sash being a component in bootstrapping
new systems , so I marked it stable when I commited it to CVS...

Please test it out.
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-11-28 15:49:33 UTC
Resolving as fixed.