Skip to contentSkip to conversation

Build xfs 3.0 deb problem

DISCUSSION Thomas Tsai 2 participants 4 messages Apr 8, 2009

lore
Share & tools
lore
#0 lore raw

Hello xfs,

I get the source tarball and easy run Makepkgs debian
The build result look fine but lose some library files like libxfs.a....

I really need libxfs-dev to build my package.
Please give me a hand, tkx.

-- dpkg -L xfslibs-dev
/.
/lib
/usr
/usr/lib
/usr/lib/libhandle.la
/usr/lib/libhandle.a
/usr/lib/libdisk.a
/usr/share
/usr/share/doc
/usr/share/doc/xfslibs-dev
/usr/share/doc/xfslibs-dev/copyright
/usr/share/doc/xfslibs-dev/changelog.Debian.gz
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/path_to_handle.3.gz
/usr/share/man/man3/xfsctl.3.gz
/usr/include
/usr/include/xfs
/usr/include/xfs/jdm.h
/usr/include/xfs/xfs.h
/usr/include/xfs/xqm.h
/usr/include/xfs/linux.h
/usr/include/xfs/handle.h
/usr/include/xfs/platform_defs.h
/usr/include/xfs/xfs_fs.h
/lib/libhandle.la
/lib/libhandle.so
/lib/libhandle.a
/usr/lib/libhandle.so
/usr/share/man/man3/attr_list_by_handle.3.gz
/usr/share/man/man3/path_to_fshandle.3.gz
/usr/share/man/man3/handle_to_fshandle.3.gz
...more man files

Signature · 1 line
Thomas Tsai <[email protected]>

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 8 lines · ----- "Thomas Tsai

Hello xfs,

I get the source tarball and easy run Makepkgs debian The build result look fine but lose some library files like libxfs.a....

I really need libxfs-dev to build my package.
Please give me a hand, tkx.

What is your package, and what libxfs calls does it make? libxfs.a was never intended as a published API, and nothing outside xfsprogs should be using it.

cheers.

Signature · 6 lines
Nathan

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw

tkx for reply soon.

My package name is partclone(partclone.org), like partimage, but I used libxfs to check bitmap/super block and backup xfs partition. It's GPL licensed.

We need GPL tool to backup XFS partition. The partimage can do that but get some problems(not based on the xfs library). The xfs library you maintained well, and it's why I use xfslibs-dev's liarbry to write backup tool, "partclone.xfs" .

so..., may I use xfslibs-dev to build partclone?
or stop it and remove?

tkx.

Thomas

Quoted 20 lines · On Wed, 8 Apr 2009 12:46:24 +1000 (EST) Nathan Scott <[email protected]> wrote:
Quoted 8 lines · ----- "Thomas Tsai

Hello xfs,

I get the source tarball and easy run Makepkgs debian The build result look fine but lose some library files like libxfs.a....

I really need libxfs-dev to build my package.
Please give me a hand, tkx.

What is your package, and what libxfs calls does it make? libxfs.a was never intended as a published API, and nothing outside xfsprogs should be using it.

cheers.

Signature · 1 line
Nathan
Signature · 1 line
Thomas Tsai <[email protected]>

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw
Quoted 3 lines · ----- "Thomas Tsai

tkx for reply soon.

My package name is partclone(partclone.org), like partimage, but I

Sounds like xfs_copy(8)?

Quoted 7 lines

used libxfs to check bitmap/super block and backup xfs partition. It's GPL licensed.

We need GPL tool to backup XFS partition. The partimage can do that but get some problems(not based on the xfs library).
The xfs library you maintained well, and it's why I use xfslibs-dev's liarbry to write backup tool, "partclone.xfs" .

Can this use xfs_copy directly?

Quoted 2 lines

so..., may I use xfslibs-dev to build partclone?
or stop it and remove?

Its historically proved disasterous having ondisk filesystem knowledge in tools (e.g. grub) ... and restricts what filesystem developers can do in terms of extending their ondisk formats, somewhat. It'd be alot better if you could use a tool shipped by the XFS folk rather than one you write yourself (libxfs is a very error prone interface modelled on kernel code, it wasn't designed as a general purpose API).

cheers.

Signature · 6 lines
Nathan

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs