diff mbox

lvm2: disable statical building because it fails

Message ID 1387263739-3831-1-git-send-email-fabio.porcedda@gmail.com
State Superseded
Headers show

Commit Message

Fabio Porcedda Dec. 17, 2013, 7:02 a.m. UTC
Fixes:
http://autobuild.buildroot.net/results/b0b/b0b386969459dda9c294f1ccb4927ca225fa6bdd/

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
---
 package/lvm2/Config.in | 1 +
 1 file changed, 1 insertion(+)

Comments

Thomas Petazzoni Dec. 17, 2013, 9:11 a.m. UTC | #1
Dear Fabio Porcedda,

On Tue, 17 Dec 2013 08:02:19 +0100, Fabio Porcedda wrote:
> Fixes:
> http://autobuild.buildroot.net/results/b0b/b0b386969459dda9c294f1ccb4927ca225fa6bdd/
> 
> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
> ---
>  package/lvm2/Config.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
> index 5d6209fc1..29b80ee 100644
> --- a/package/lvm2/Config.in
> +++ b/package/lvm2/Config.in
> @@ -2,6 +2,7 @@ config BR2_PACKAGE_LVM2
>  	bool "lvm2 & device mapper"
>  	depends on BR2_LARGEFILE
>  	depends on BR2_USE_MMU # needs fork()
> +	depends on !BR2_PREFER_STATIC_LIB # It fails to build statically
>  	help
>  	  This is LVM2, the rewrite of The Linux Logical Volume Manager.
>  	  LVM supports enterprise level volume management of disk and disk

Thanks, but you forgot to propagate this new dependency to the reverse
dependencies of lvm2, and you forgot to add the corresponding comment.
See
http://buildroot.org/downloads/manual/manual.html#dependencies-target-toolchain-options.

Best regards,

Thomas
Fabio Porcedda Dec. 19, 2013, 10:36 a.m. UTC | #2
On Tue, Dec 17, 2013 at 10:11 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Fabio Porcedda,
>
> On Tue, 17 Dec 2013 08:02:19 +0100, Fabio Porcedda wrote:
>> Fixes:
>> http://autobuild.buildroot.net/results/b0b/b0b386969459dda9c294f1ccb4927ca225fa6bdd/
>>
>> Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
>> ---
>>  package/lvm2/Config.in | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
>> index 5d6209fc1..29b80ee 100644
>> --- a/package/lvm2/Config.in
>> +++ b/package/lvm2/Config.in
>> @@ -2,6 +2,7 @@ config BR2_PACKAGE_LVM2
>>       bool "lvm2 & device mapper"
>>       depends on BR2_LARGEFILE
>>       depends on BR2_USE_MMU # needs fork()
>> +     depends on !BR2_PREFER_STATIC_LIB # It fails to build statically
>>       help
>>         This is LVM2, the rewrite of The Linux Logical Volume Manager.
>>         LVM supports enterprise level volume management of disk and disk
>
> Thanks, but you forgot to propagate this new dependency to the reverse
> dependencies of lvm2, and you forgot to add the corresponding comment.
> See
> http://buildroot.org/downloads/manual/manual.html#dependencies-target-toolchain-options.

Ok, thanks, i will send an updated patch.

Best regards
Thomas Petazzoni Dec. 19, 2013, 10:43 a.m. UTC | #3
Dear Fabio Porcedda,

On Thu, 19 Dec 2013 11:36:51 +0100, Fabio Porcedda wrote:

> > Thanks, but you forgot to propagate this new dependency to the reverse
> > dependencies of lvm2, and you forgot to add the corresponding comment.
> > See
> > http://buildroot.org/downloads/manual/manual.html#dependencies-target-toolchain-options.
> 
> Ok, thanks, i will send an updated patch.

Looking more at the problem, isn't it possible to fix the static build
of LVM2, rather than preventing LVM2 from being selected in this case?

Thomas
diff mbox

Patch

diff --git a/package/lvm2/Config.in b/package/lvm2/Config.in
index 5d6209fc1..29b80ee 100644
--- a/package/lvm2/Config.in
+++ b/package/lvm2/Config.in
@@ -2,6 +2,7 @@  config BR2_PACKAGE_LVM2
 	bool "lvm2 & device mapper"
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # needs fork()
+	depends on !BR2_PREFER_STATIC_LIB # It fails to build statically
 	help
 	  This is LVM2, the rewrite of The Linux Logical Volume Manager.
 	  LVM supports enterprise level volume management of disk and disk