Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] Fwd: Bug#604955: ust: FTBFS with binutils-gold
@ 2010-11-25 18:55 Yannick Brosseau
  2010-11-26  1:04 ` Mathieu Desnoyers
  0 siblings, 1 reply; 4+ messages in thread
From: Yannick Brosseau @ 2010-11-25 18:55 UTC (permalink / raw)


Should we integrate these libs in our LDFLAGS directly?

-------- Original Message --------
Subject: 	Bug#604955: ust: FTBFS with binutils-gold
Resent-Date: 	Thu, 25 Nov 2010 18:09:06 +0000, Thu, 25 Nov 2010 18:09:08 
+0000
Resent-From: 	Bhavani Shankar R <bhavi@ubuntu.com>
Resent-To: 	debian-bugs-dist at lists.debian.org
Resent-CC: 	Jon Bernard <jbernard at debian.org>
Date: 	Thu, 25 Nov 2010 23:35:07 +0530
From: 	Bhavani Shankar R <bhavi@ubuntu.com>
Reply-To: 	Bhavani Shankar R <bhavi at ubuntu.com>, 604955 at bugs.debian.org
To: 	submit at bugs.debian.org



Package: ust
Tags: patch
Usertags: origin-ubuntu natty ubuntu-patch
Severity: important

Hello dear maintainer

Regarding the above subject, Your package FTBFS on ubuntu due to
indirect linking

cf: https://launchpad.net/ubuntu/+source/ust/0.8-1/+build/2050578/+files/buildlog_ubuntu-natty-amd64.ust_0.8-1_FAILEDTOBUILD.txt.gz

The minimal patch below should fix the problem

diff -Nru ust-0.8/debian/rules ust-0.8/debian/rules
--- ust-0.8/debian/rules	2010-11-16 17:24:08.000000000 +0000
+++ ust-0.8/debian/rules	2010-11-18 06:28:44.000000000 +0000
@@ -1,4 +1,7 @@
  #!/usr/bin/make -f
+
+LDFLAGS+=-lrt -lpthread
+
  %:
  	dh $@


Regards

-- 
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community developer.
What matters in life is application of mind!,
It makes great sense to have some common sense..!








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

* [ltt-dev] Fwd: Bug#604955: ust: FTBFS with binutils-gold
  2010-11-25 18:55 [ltt-dev] Fwd: Bug#604955: ust: FTBFS with binutils-gold Yannick Brosseau
@ 2010-11-26  1:04 ` Mathieu Desnoyers
  2010-11-26  2:28   ` David Goulet
  0 siblings, 1 reply; 4+ messages in thread
From: Mathieu Desnoyers @ 2010-11-26  1:04 UTC (permalink / raw)


Just fixed by adding the -lpthread -lrt directly to the Makefile.am
concerned. Can you guys check that UST mainline is fixed for you ?

Thanks,

Mathieu


* Yannick Brosseau (yannick.brosseau at polymtl.ca) wrote:
> Should we integrate these libs in our LDFLAGS directly?
>
> -------- Original Message --------
> Subject: 	Bug#604955: ust: FTBFS with binutils-gold
> Resent-Date: 	Thu, 25 Nov 2010 18:09:06 +0000, Thu, 25 Nov 2010 18:09:08  
> +0000
> Resent-From: 	Bhavani Shankar R <bhavi@ubuntu.com>
> Resent-To: 	debian-bugs-dist at lists.debian.org
> Resent-CC: 	Jon Bernard <jbernard at debian.org>
> Date: 	Thu, 25 Nov 2010 23:35:07 +0530
> From: 	Bhavani Shankar R <bhavi@ubuntu.com>
> Reply-To: 	Bhavani Shankar R <bhavi at ubuntu.com>, 604955 at bugs.debian.org
> To: 	submit at bugs.debian.org
>
>
>
> Package: ust
> Tags: patch
> Usertags: origin-ubuntu natty ubuntu-patch
> Severity: important
>
> Hello dear maintainer
>
> Regarding the above subject, Your package FTBFS on ubuntu due to
> indirect linking
>
> cf: https://launchpad.net/ubuntu/+source/ust/0.8-1/+build/2050578/+files/buildlog_ubuntu-natty-amd64.ust_0.8-1_FAILEDTOBUILD.txt.gz
>
> The minimal patch below should fix the problem
>
> diff -Nru ust-0.8/debian/rules ust-0.8/debian/rules
> --- ust-0.8/debian/rules	2010-11-16 17:24:08.000000000 +0000
> +++ ust-0.8/debian/rules	2010-11-18 06:28:44.000000000 +0000
> @@ -1,4 +1,7 @@
>  #!/usr/bin/make -f
> +
> +LDFLAGS+=-lrt -lpthread
> +
>  %:
>  	dh $@
>
>
> Regards
>
> -- 
> Bhavani Shankar.R
> https://launchpad.net/~bhavi, a proud ubuntu community developer.
> What matters in life is application of mind!,
> It makes great sense to have some common sense..!
>
>
>
>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




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

* [ltt-dev] Fwd: Bug#604955: ust: FTBFS with binutils-gold
  2010-11-26  1:04 ` Mathieu Desnoyers
@ 2010-11-26  2:28   ` David Goulet
  2010-11-26  3:47     ` Mathieu Desnoyers
  0 siblings, 1 reply; 4+ messages in thread
From: David Goulet @ 2010-11-26  2:28 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It is mainline however not global. It's only applied to libust.

So, what's the issue here if libust is already implemented with those flags ?

Thanks!
David

On 10-11-25 08:04 PM, Mathieu Desnoyers wrote:
> Just fixed by adding the -lpthread -lrt directly to the Makefile.am
> concerned. Can you guys check that UST mainline is fixed for you ?
> 
> Thanks,
> 
> Mathieu
> 
> 
> * Yannick Brosseau (yannick.brosseau at polymtl.ca) wrote:
>> Should we integrate these libs in our LDFLAGS directly?
>>
>> -------- Original Message --------
>> Subject: 	Bug#604955: ust: FTBFS with binutils-gold
>> Resent-Date: 	Thu, 25 Nov 2010 18:09:06 +0000, Thu, 25 Nov 2010 18:09:08  
>> +0000
>> Resent-From: 	Bhavani Shankar R <bhavi@ubuntu.com>
>> Resent-To: 	debian-bugs-dist at lists.debian.org
>> Resent-CC: 	Jon Bernard <jbernard at debian.org>
>> Date: 	Thu, 25 Nov 2010 23:35:07 +0530
>> From: 	Bhavani Shankar R <bhavi@ubuntu.com>
>> Reply-To: 	Bhavani Shankar R <bhavi at ubuntu.com>, 604955 at bugs.debian.org
>> To: 	submit at bugs.debian.org
>>
>>
>>
>> Package: ust
>> Tags: patch
>> Usertags: origin-ubuntu natty ubuntu-patch
>> Severity: important
>>
>> Hello dear maintainer
>>
>> Regarding the above subject, Your package FTBFS on ubuntu due to
>> indirect linking
>>
>> cf: https://launchpad.net/ubuntu/+source/ust/0.8-1/+build/2050578/+files/buildlog_ubuntu-natty-amd64.ust_0.8-1_FAILEDTOBUILD.txt.gz
>>
>> The minimal patch below should fix the problem
>>
>> diff -Nru ust-0.8/debian/rules ust-0.8/debian/rules
>> --- ust-0.8/debian/rules	2010-11-16 17:24:08.000000000 +0000
>> +++ ust-0.8/debian/rules	2010-11-18 06:28:44.000000000 +0000
>> @@ -1,4 +1,7 @@
>>  #!/usr/bin/make -f
>> +
>> +LDFLAGS+=-lrt -lpthread
>> +
>>  %:
>>  	dh $@
>>
>>
>> Regards
>>
>> -- 
>> Bhavani Shankar.R
>> https://launchpad.net/~bhavi, a proud ubuntu community developer.
>> What matters in life is application of mind!,
>> It makes great sense to have some common sense..!
>>
>>
>>
>>
>>
>> _______________________________________________
>> ltt-dev mailing list
>> ltt-dev at lists.casi.polymtl.ca
>> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
>>
> 

- -- 
David Goulet
LTTng project, DORSAL Lab.

1024D/16BD8563
BE3C 672B 9331 9796 291A  14C6 4AF7 C14B 16BD 8563
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkzvG1MACgkQSvfBSxa9hWPbYgCg3bV5DjYjbgP4THAQY4ut9xdf
BQAAoLC/c02xPibwcdrRDTBrSSlqDH/3
=BmG3
-----END PGP SIGNATURE-----




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

* [ltt-dev] Fwd: Bug#604955: ust: FTBFS with binutils-gold
  2010-11-26  2:28   ` David Goulet
@ 2010-11-26  3:47     ` Mathieu Desnoyers
  0 siblings, 0 replies; 4+ messages in thread
From: Mathieu Desnoyers @ 2010-11-26  3:47 UTC (permalink / raw)


Well the build error was about one test program for which the
-lpthread/-lrt was missing. I fixed that one. I'll let you guys decide
if you want to add it globally to the package or not.

I went with the simple non-intrusive fix.

Thanks,

Mathieu


* David Goulet (david.goulet at polymtl.ca) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> It is mainline however not global. It's only applied to libust.
> 
> So, what's the issue here if libust is already implemented with those flags ?
> 
> Thanks!
> David
> 
> On 10-11-25 08:04 PM, Mathieu Desnoyers wrote:
> > Just fixed by adding the -lpthread -lrt directly to the Makefile.am
> > concerned. Can you guys check that UST mainline is fixed for you ?
> > 
> > Thanks,
> > 
> > Mathieu
> > 
> > 
> > * Yannick Brosseau (yannick.brosseau at polymtl.ca) wrote:
> >> Should we integrate these libs in our LDFLAGS directly?
> >>
> >> -------- Original Message --------
> >> Subject: 	Bug#604955: ust: FTBFS with binutils-gold
> >> Resent-Date: 	Thu, 25 Nov 2010 18:09:06 +0000, Thu, 25 Nov 2010 18:09:08  
> >> +0000
> >> Resent-From: 	Bhavani Shankar R <bhavi@ubuntu.com>
> >> Resent-To: 	debian-bugs-dist at lists.debian.org
> >> Resent-CC: 	Jon Bernard <jbernard at debian.org>
> >> Date: 	Thu, 25 Nov 2010 23:35:07 +0530
> >> From: 	Bhavani Shankar R <bhavi@ubuntu.com>
> >> Reply-To: 	Bhavani Shankar R <bhavi at ubuntu.com>, 604955 at bugs.debian.org
> >> To: 	submit at bugs.debian.org
> >>
> >>
> >>
> >> Package: ust
> >> Tags: patch
> >> Usertags: origin-ubuntu natty ubuntu-patch
> >> Severity: important
> >>
> >> Hello dear maintainer
> >>
> >> Regarding the above subject, Your package FTBFS on ubuntu due to
> >> indirect linking
> >>
> >> cf: https://launchpad.net/ubuntu/+source/ust/0.8-1/+build/2050578/+files/buildlog_ubuntu-natty-amd64.ust_0.8-1_FAILEDTOBUILD.txt.gz
> >>
> >> The minimal patch below should fix the problem
> >>
> >> diff -Nru ust-0.8/debian/rules ust-0.8/debian/rules
> >> --- ust-0.8/debian/rules	2010-11-16 17:24:08.000000000 +0000
> >> +++ ust-0.8/debian/rules	2010-11-18 06:28:44.000000000 +0000
> >> @@ -1,4 +1,7 @@
> >>  #!/usr/bin/make -f
> >> +
> >> +LDFLAGS+=-lrt -lpthread
> >> +
> >>  %:
> >>  	dh $@
> >>
> >>
> >> Regards
> >>
> >> -- 
> >> Bhavani Shankar.R
> >> https://launchpad.net/~bhavi, a proud ubuntu community developer.
> >> What matters in life is application of mind!,
> >> It makes great sense to have some common sense..!
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> ltt-dev mailing list
> >> ltt-dev at lists.casi.polymtl.ca
> >> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> >>
> > 
> 
> - -- 
> David Goulet
> LTTng project, DORSAL Lab.
> 
> 1024D/16BD8563
> BE3C 672B 9331 9796 291A  14C6 4AF7 C14B 16BD 8563
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> 
> iEYEARECAAYFAkzvG1MACgkQSvfBSxa9hWPbYgCg3bV5DjYjbgP4THAQY4ut9xdf
> BQAAoLC/c02xPibwcdrRDTBrSSlqDH/3
> =BmG3
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




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

end of thread, other threads:[~2010-11-26  3:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-25 18:55 [ltt-dev] Fwd: Bug#604955: ust: FTBFS with binutils-gold Yannick Brosseau
2010-11-26  1:04 ` Mathieu Desnoyers
2010-11-26  2:28   ` David Goulet
2010-11-26  3:47     ` Mathieu Desnoyers

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