public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfsprogs build: missing hard dependency?
@ 2024-10-11 12:15 Páder Rezső
  2024-10-11 16:38 ` Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Páder Rezső @ 2024-10-11 12:15 UTC (permalink / raw)
  To: linux-xfs

Hello,


I tried to compile now the xfsprogs 6.10.1 release, but it failed:


/bin/ld: fsproperties.o: in function `fileio_to_fsprops_handle':
/var/uhubuild/work/compile/io/fsproperties.c:63:(.text+0x155): undefined reference to `fsprops_open_handle'
/bin/ld: fsproperties.o: in function `print_fsprop':
/var/uhubuild/work/compile/io/fsproperties.c:99:(.text+0x26d): undefined reference to `fsprops_get'
/bin/ld: fsproperties.o: in function `listfsprops_f':
/var/uhubuild/work/compile/io/fsproperties.c:133:(.text+0x380): undefined reference to `fsprops_walk_names'
/bin/ld: /var/uhubuild/work/compile/io/fsproperties.c:139:(.text+0x390): undefined reference to `fsprops_free_handle'
/bin/ld: fsproperties.o: in function `removefsprops_f':
/var/uhubuild/work/compile/io/fsproperties.c:331:(.text+0x48f): undefined reference to `fsprops_remove'
/bin/ld: /var/uhubuild/work/compile/io/fsproperties.c:339:(.text+0x4a8): undefined reference to `fsprops_free_handle'
/bin/ld: fsproperties.o: in function `getfsprops_f':
/var/uhubuild/work/compile/io/fsproperties.c:189:(.text+0x5b6): undefined reference to `fsprops_get'
/bin/ld: /var/uhubuild/work/compile/io/fsproperties.c:199:(.text+0x5e3): undefined reference to `fsprops_free_handle'
/bin/ld: fsproperties.o: in function `setfsprops_f':
/var/uhubuild/work/compile/io/fsproperties.c:271:(.text+0x6d4): undefined reference to `fsprops_set'
/bin/ld: /var/uhubuild/work/compile/io/fsproperties.c:284:(.text+0x74f): undefined reference to `fsprops_free_handle'
collect2: error: ld returned 1 exit status

These functions are defined in libfrog/fsprops.h, but this is included
only if the libattr is exists.

After adding libattr to build dependencies, the build is succesful, so
I think, the libattr always needed for this source.

-- 
Bestr regards.

Rezso

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xfsprogs build: missing hard dependency?
  2024-10-11 12:15 xfsprogs build: missing hard dependency? Páder Rezső
@ 2024-10-11 16:38 ` Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2024-10-11 16:38 UTC (permalink / raw)
  To: Páder Rezső; +Cc: linux-xfs

On Fri, Oct 11, 2024 at 02:15:22PM +0200, Páder Rezső wrote:
> Hello,
> 
> 
> I tried to compile now the xfsprogs 6.10.1 release, but it failed:
> 
> 
> /bin/ld: fsproperties.o: in function `fileio_to_fsprops_handle':
> /var/uhubuild/work/compile/io/fsproperties.c:63:(.text+0x155): undefined reference to `fsprops_open_handle'
> /bin/ld: fsproperties.o: in function `print_fsprop':
> /var/uhubuild/work/compile/io/fsproperties.c:99:(.text+0x26d): undefined reference to `fsprops_get'
> /bin/ld: fsproperties.o: in function `listfsprops_f':
> /var/uhubuild/work/compile/io/fsproperties.c:133:(.text+0x380): undefined reference to `fsprops_walk_names'
> /bin/ld: /var/uhubuild/work/compile/io/fsproperties.c:139:(.text+0x390): undefined reference to `fsprops_free_handle'
> /bin/ld: fsproperties.o: in function `removefsprops_f':
> /var/uhubuild/work/compile/io/fsproperties.c:331:(.text+0x48f): undefined reference to `fsprops_remove'
> /bin/ld: /var/uhubuild/work/compile/io/fsproperties.c:339:(.text+0x4a8): undefined reference to `fsprops_free_handle'
> /bin/ld: fsproperties.o: in function `getfsprops_f':
> /var/uhubuild/work/compile/io/fsproperties.c:189:(.text+0x5b6): undefined reference to `fsprops_get'
> /bin/ld: /var/uhubuild/work/compile/io/fsproperties.c:199:(.text+0x5e3): undefined reference to `fsprops_free_handle'
> /bin/ld: fsproperties.o: in function `setfsprops_f':
> /var/uhubuild/work/compile/io/fsproperties.c:271:(.text+0x6d4): undefined reference to `fsprops_set'
> /bin/ld: /var/uhubuild/work/compile/io/fsproperties.c:284:(.text+0x74f): undefined reference to `fsprops_free_handle'
> collect2: error: ld returned 1 exit status
> 
> These functions are defined in libfrog/fsprops.h, but this is included
> only if the libattr is exists.
> 
> After adding libattr to build dependencies, the build is succesful, so
> I think, the libattr always needed for this source.

I already removed the libattr dependencies:
https://lore.kernel.org/linux-xfs/172783101339.4035924.6880384393728950920.stgit@frogsfrogsfrogs/

(xfsprogs 6.11 will probably be out soonish...)

--D

> -- 
> Bestr regards.
> 
> Rezso
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-10-11 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-11 12:15 xfsprogs build: missing hard dependency? Páder Rezső
2024-10-11 16:38 ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox