GNU bug report logs -
#40445
gnu: gsm: Update to 1.0.19.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 40445 in the body.
You can then email your comments to 40445 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 07:09:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Raghav Gururajan" <raghavgururajan <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 05 Apr 2020 07:09:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
[update-gsm.patch (application/octet-stream, attachment)]
Added indication that bug 40445 blocks40264
Request was from
"Raghav Gururajan" <raghavgururajan <at> disroot.org>
to
control <at> debbugs.gnu.org
.
(Sun, 05 Apr 2020 07:11:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 09:41:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 40445 <at> debbugs.gnu.org (full text, mbox):
Hello Raghav,
> + #:make-flags
> + (list
> + ;; Added -fPIC with other default options.
> + "CCFLAGS=-fPIC -c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment")
I wonder if we need all those options, the package seems to build fine
without them. Could you have a look?
Thanks,
Mathieu
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 09:47:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 40445 <at> debbugs.gnu.org (full text, mbox):
Hi Mathieu!
>> + #:make-flags
>> + (list
>> + ;; Added -fPIC with other default options.
>> + "CCFLAGS=-fPIC -c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment")
>
> I wonder if we need all those options, the package seems to build fine
> without them. Could you have a look?
Yes, Maxim and I, updated these options, to use libgsm in mediastreamer, as a part of linphone packaging. :-)
Btw, currently the gsm package is in unusable state, after the commit "74c7f367daa554cedeb5f02a00d1cd02acf1584b".
Regards,
RG.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 10:24:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 40445 <at> debbugs.gnu.org (full text, mbox):
> Yes, Maxim and I, updated these options, to use libgsm in mediastreamer, as a part of linphone packaging. :-)
Ok, I see. Maybe it would be preferable to find a way to add "-fPIC" to
CCFLAGS without having to repeat all the other options that are already
present in the Makefile:
--8<---------------cut here---------------start------------->8---
CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment
--8<---------------cut here---------------end--------------->8---
Adding a new 'add-fpic-ccflag' phase could be an option?
Thanks,
Mathieu
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 10:27:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 40445 <at> debbugs.gnu.org (full text, mbox):
Hi Mathieu!
> Ok, I see. Maybe it would be preferable to find a way to add "-fPIC" to
> CCFLAGS without having to repeat all the other options that are already
> present in the Makefile:
>
> --8<---------------cut here---------------start------------->8---
> CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment
> --8<---------------cut here---------------end--------------->8---
>
> Adding a new 'add-fpic-ccflag' phase could be an option?
We can do that too. But this seems simple and less messy :-)
Regards,
RG.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 10:29:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 40445 <at> debbugs.gnu.org (full text, mbox):
Hi Mathieu!
>> Ok, I see. Maybe it would be preferable to find a way to add "-fPIC" to
>> CCFLAGS without having to repeat all the other options that are already
>> present in the Makefile:
>>
>> --8<---------------cut here---------------start------------->8---
>> CCFLAGS = -c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment
>> --8<---------------cut here---------------end--------------->8---
>>
>> Adding a new 'add-fpic-ccflag' phase could be an option?
>
> We can do that too. But this seems simple and less messy :-)
Also, I believe, the make-flag just overwrites that line in the source.
Regards,
RG.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 10:34:01 GMT)
Full text and
rfc822 format available.
Message #25 received at 40445 <at> debbugs.gnu.org (full text, mbox):
>> We can do that too. But this seems simple and less messy :-)
>
> Also, I believe, the make-flag just overwrites that line in the source.
Yes that's what it does. But if in a future release this package updates
its CCFLAGS list in the Makefile, we will have to update our own package
definition accordingly. That's why adding 'CCFLAGS += -fPIC' somewhere
seems safer to me.
Mathieu
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 10:38:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 40445 <at> debbugs.gnu.org (full text, mbox):
> Yes that's what it does. But if in a future release this package updates
> its CCFLAGS list in the Makefile, we will have to update our own package
> definition accordingly. That's why adding 'CCFLAGS += -fPIC' somewhere
> seems safer to me.
Ah, gotcha! Hmm, I don't know how to do that through. I'll have to look into code base for examples.
Regards,
RG.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 10:53:01 GMT)
Full text and
rfc822 format available.
Message #31 received at 40445 <at> debbugs.gnu.org (full text, mbox):
>> Yes that's what it does. But if in a future release this package updates
>> its CCFLAGS list in the Makefile, we will have to update our own package
>> definition accordingly. That's why adding 'CCFLAGS += -fPIC' somewhere
>> seems safer to me.
>
> Ah, gotcha! Hmm, I don't know how to do that through. I'll have to look into code base for
> examples.
No I also think that its a double-edged sword. 'CCFLAGS += -fPIC' also has to be changed/removed, if new release adds "-fPIC"?
Regards,
RG.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 10:54:02 GMT)
Full text and
rfc822 format available.
Message #34 received at 40445 <at> debbugs.gnu.org (full text, mbox):
>>> Yes that's what it does. But if in a future release this package updates
>>> its CCFLAGS list in the Makefile, we will have to update our own package
>>> definition accordingly. That's why adding 'CCFLAGS += -fPIC' somewhere
>>> seems safer to me.
>>
>> Ah, gotcha! Hmm, I don't know how to do that through. I'll have to look into code base for
>> examples.
>
> No I also think that its a double-edged sword. 'CCFLAGS += -fPIC' also has to be changed/removed,
> if new release adds "-fPIC"?
* Now
Information forwarded
to
guix-patches <at> gnu.org
:
bug#40445
; Package
guix-patches
.
(Sun, 05 Apr 2020 17:39:02 GMT)
Full text and
rfc822 format available.
Message #37 received at 40445 <at> debbugs.gnu.org (full text, mbox):
Hello,
"Raghav Gururajan" <raghavgururajan <at> disroot.org> writes:
> Hi Mathieu!
>
>>> + #:make-flags
>>> + (list
>>> + ;; Added -fPIC with other default options.
>>> + "CCFLAGS=-fPIC -c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment")
>>
>> I wonder if we need all those options, the package seems to build fine
>> without them. Could you have a look?
>
> Yes, Maxim and I, updated these options, to use libgsm in mediastreamer, as a part of linphone packaging. :-)
>
> Btw, currently the gsm package is in unusable state, after the commit "74c7f367daa554cedeb5f02a00d1cd02acf1584b".
>
> Regards,
> RG.
Ooops. Sorry about that. I meant:
- #:make-flags '("INSTALL_ROOT=%output"
- "CCFLAGS=-fPIC \
+ #:make-flags (list (string-append "INSTALL_ROOT=" %output)
+ "CCFLAGS=-fPIC \
But I'll take into accounts comments from Mathieu, which make sense.
Maxim
Reply sent
to
maxim.cournoyer <at> gmail.com
:
You have taken responsibility.
(Sun, 05 Apr 2020 18:22:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
"Raghav Gururajan" <raghavgururajan <at> disroot.org>
:
bug acknowledged by developer.
(Sun, 05 Apr 2020 18:22:02 GMT)
Full text and
rfc822 format available.
Message #42 received at 40445-done <at> debbugs.gnu.org (full text, mbox):
Hi all,
maxim.cournoyer <at> gmail.com writes:
> Hello,
>
> "Raghav Gururajan" <raghavgururajan <at> disroot.org> writes:
>
>> Hi Mathieu!
>>
>>>> + #:make-flags
>>>> + (list
>>>> + ;; Added -fPIC with other default options.
>>>> + "CCFLAGS=-fPIC -c -O2 -DNeedFunctionPrototypes=1 -Wall -Wno-comment")
>>>
>>> I wonder if we need all those options, the package seems to build fine
>>> without them. Could you have a look?
>>
>> Yes, Maxim and I, updated these options, to use libgsm in mediastreamer, as a part of linphone packaging. :-)
>>
>> Btw, currently the gsm package is in unusable state, after the commit "74c7f367daa554cedeb5f02a00d1cd02acf1584b".
>>
>> Regards,
>> RG.
>
> Ooops. Sorry about that. I meant:
>
> - #:make-flags '("INSTALL_ROOT=%output"
> - "CCFLAGS=-fPIC \
> + #:make-flags (list (string-append "INSTALL_ROOT=" %output)
> + "CCFLAGS=-fPIC \
>
> But I'll take into accounts comments from Mathieu, which make sense.
>
> Maxim
I've fixed the breakage I caused with commit
5b05f8e9654ea722270c45c0fd0eead369bc0daf, and committed the update to
gsm 1.0.19 from Raghav on top as
5e16e4401f854d39f5fbebaf247750e554bd4a09.
Closing.
Thanks for the ideas!
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 04 May 2020 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 130 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.