Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9861 - xfsprogs-2.2.2 has a problem of where it installs its tools.
Summary: xfsprogs-2.2.2 has a problem of where it installs its tools.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-28 20:56 UTC by Eric Renfro
Modified: 2002-11-05 03:28 UTC (History)
0 users

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


Attachments
Fixes for 2.2.2. (xfsprogs-2.2.2-r2.ebuild,1.37 KB, text/plain)
2002-10-29 19:53 UTC, Eric Renfro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Renfro 2002-10-28 20:56:55 UTC
xfsprogs in testing stage, installs fsck.xfs into /usr/sbin, instead of /sbin.

Along with the following list of problems provided by epm -ql xfsprogs:

/usr/lib/libhandle.so.1.0.1
/usr/lib/libhandle.so.1
/usr/lib/libhandle.so
/usr/lib/libhandle.a
/usr/bin/xfs_bmap
/usr/bin/xfs_db
/usr/bin/xfs_admin
/usr/bin/xfs_check
/usr/bin/xfs_ncheck
/usr/bin/xfs_freeze
/usr/bin/xfs_growfs
/usr/bin/xfs_info
/usr/bin/xfs_logprint
/usr/bin/xfs_mkfile
/usr/bin/xfs_rtcp
/usr/sbin/fsck.xfs
/usr/sbin/mkfs.xfs
/usr/sbin/xfs_repair

Due to the unavailablility factor of /usr, these tools should be in /bin, /sbin,
and /lib so they are available.
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2002-10-29 00:18:45 UTC
committed a -r1 hopefully fixes this, I haven't changed any links in the other
utils as I don't know if it is pertinent
Comment 2 Eric Renfro 2002-10-29 19:20:12 UTC
>>> Merging sys-apps/xfsprogs-2.2.2-r1 to /
--- //lib/
>>> /lib/libhandle.so.1.0.1
>>> /lib/libhandle.so.1 -> libhandle.so.1.0.1
>>> /lib/libxfs.a
>>> /lib/libxlog.a
>>> /lib/libhandle.a
>>> /lib/libhandle.la
>>> /lib/libdisk.a
>>> /lib/libhandle.so -> /lib/libhandle.so.1
--- //bin/
>>> /bin/xfs_bmap
>>> /bin/xfs_db
>>> /bin/xfs_admin
>>> /bin/xfs_check
>>> /bin/xfs_ncheck
>>> /bin/xfs_freeze
>>> /bin/xfs_growfs
>>> /bin/xfs_info
>>> /bin/xfs_logprint
>>> /bin/xfs_mkfile
>>> /bin/xfs_rtcp
--- //sbin/
>>> /sbin/fsck.xfs
>>> /sbin/mkfs.xfs
>>> /sbin/xfs_repair
--- //usr/
--- /usr/share/
--- //usr/share/man/
--- /usr/share/man/man5/
>>> //usr/share/man/man5/xfs.5.gz
--- /usr/share/man/man8/
>>> //usr/share/man/man8/fsck.xfs.8.gz
>>> //usr/share/man/man8/mkfs.xfs.8.gz
>>> //usr/share/man/man8/xfs_admin.8.gz
>>> //usr/share/man/man8/xfs_bmap.8.gz
>>> //usr/share/man/man8/xfs_check.8.gz
>>> //usr/share/man/man8/xfs_db.8.gz
>>> //usr/share/man/man8/xfs_freeze.8.gz
>>> //usr/share/man/man8/xfs_growfs.8.gz
>>> //usr/share/man/man8/xfs_info.8.gz -> xfs_growfs.8.gz
>>> //usr/share/man/man8/xfs_logprint.8.gz
>>> //usr/share/man/man8/xfs_mkfile.8.gz
>>> //usr/share/man/man8/xfs_ncheck.8.gz
>>> //usr/share/man/man8/xfs_repair.8.gz
>>> //usr/share/man/man8/xfs_rtcp.8.gz
--- /usr/share/man/man3/
>>> //usr/share/man/man3/attr_list_by_handle.3.gz -> path_to_handle.3.gz
>>> //usr/share/man/man3/attr_multi_by_handle.3.gz -> path_to_handle.3.gz
>>> //usr/share/man/man3/fd_to_handle.3.gz -> path_to_handle.3.gz
>>> //usr/share/man/man3/free_handle.3.gz -> path_to_handle.3.gz
>>> //usr/share/man/man3/fssetdm_by_handle.3.gz -> path_to_handle.3.gz
>>> //usr/share/man/man3/handle_to_fshandle.3.gz -> path_to_handle.3.gz
>>> //usr/share/man/man3/open_by_handle.3.gz -> path_to_handle.3.gz
>>> //usr/share/man/man3/path_to_fshandle.3.gz -> path_to_handle.3.gz
>>> //usr/share/man/man3/path_to_handle.3.gz
>>> //usr/share/man/man3/readlink_by_handle.3.gz -> path_to_handle.3.gz
>>> //share/
>>> /share/doc/
>>> //share/doc/xfsprogs/
>>> /share/doc/xfsprogs/PORTING
>>> /share/doc/xfsprogs/CHANGES.gz
>>> /share/doc/xfsprogs/CREDITS
>>> /share/doc/xfsprogs/README.LVM
>>> /share/doc/xfsprogs/README.quota
>>> /share/doc/xfsprogs/COPYING
>>> /share/doc/xfsprogs/README
>>> //include/
>>> /include/xfs/
>>> //include/xfs/handle.h
>>> //include/xfs/jdm.h
>>> //include/xfs/libxfs.h
>>> //include/xfs/libxlog.h
>>> //include/xfs/xqm.h
>>> //include/xfs/xfs_ag.h
>>> //include/xfs/xfs_alloc.h
>>> //include/xfs/xfs_alloc_btree.h
>>> //include/xfs/xfs_arch.h
>>> //include/xfs/xfs_attr_leaf.h
>>> //include/xfs/xfs_attr_sf.h
>>> //include/xfs/xfs_bit.h
>>> //include/xfs/xfs_bmap.h
>>> //include/xfs/xfs_bmap_btree.h
>>> //include/xfs/xfs_btree.h
>>> //include/xfs/xfs_buf_item.h
>>> //include/xfs/xfs_da_btree.h
>>> //include/xfs/xfs_dfrag.h
>>> //include/xfs/xfs_dinode.h
>>> //include/xfs/xfs_dir.h
>>> //include/xfs/xfs_dir2.h
>>> //include/xfs/xfs_dir2_block.h
>>> //include/xfs/xfs_dir2_data.h
>>> //include/xfs/xfs_dir2_leaf.h
>>> //include/xfs/xfs_dir2_node.h
>>> //include/xfs/xfs_dir2_sf.h
>>> //include/xfs/xfs_dir_leaf.h
>>> //include/xfs/xfs_dir_sf.h
>>> //include/xfs/xfs_dqblk.h
>>> //include/xfs/xfs_dquot_item.h
>>> //include/xfs/xfs_extfree_item.h
>>> //include/xfs/xfs_fs.h
>>> //include/xfs/xfs_ialloc.h
>>> //include/xfs/xfs_ialloc_btree.h
>>> //include/xfs/xfs_imap.h
>>> //include/xfs/xfs_inode.h
>>> //include/xfs/xfs_inode_item.h
>>> //include/xfs/xfs_inum.h
>>> //include/xfs/xfs_log.h
>>> //include/xfs/xfs_log_priv.h
>>> //include/xfs/xfs_log_recover.h
>>> //include/xfs/xfs_mount.h
>>> //include/xfs/xfs_quota.h
>>> //include/xfs/xfs_rtalloc.h
>>> //include/xfs/xfs_sb.h
>>> //include/xfs/xfs_trans.h
>>> //include/xfs/xfs_trans_space.h
>>> //include/xfs/xfs_types.h
>>> //include/xfs/platform_defs.h
>>> /include/disk/
>>> //include/disk/mountinfo.h
>>> //include/disk/volume.h
>>> //include/disk/fstyp.h
>>> //include/disk/dvh.h

Now, it's just prefixed horribly. ;}

Notice //include, and //share. I'd recommend prefixing it normally, but
specifically handle the bin/sbin/lib files into the / instead of /usr
Comment 3 Eric Renfro 2002-10-29 19:53:19 UTC
Created attachment 5202 [details]
Fixes for 2.2.2.

This ebuild mostly works. It does funky with //include/disk, though.