GNU bug report logs - #14549
warning while compiling guile 2.0.9

Previous Next

Package: guile;

Reported by: ais <at> euve8129.vserver.de

Date: Mon, 3 Jun 2013 15:10:01 UTC

Severity: normal

Tags: moreinfo

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14549 in the body.
You can then email your comments to 14549 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#14549; Package guile. (Mon, 03 Jun 2013 15:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ais <at> euve8129.vserver.de:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Mon, 03 Jun 2013 15:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ais <at> euve8129.vserver.de
To: bug-guile <at> gnu.org
Subject: warning while compiling guile 2.0.9
Date: Mon, 3 Jun 2013 10:40:58 +0200
Hi guile-team

Compiling guile 2.0.9 under OpenBSD 5.2 x86


checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthread_np.h usability... no
checking pthread_np.h presence... yes
configure: WARNING: pthread_np.h: present but cannot be compiled
configure: WARNING: pthread_np.h:     check for missing prerequisite headers?
configure: WARNING: pthread_np.h: see the Autoconf documentation
configure: WARNING: pthread_np.h:     section "Present But Cannot Be
Compiled"
configure: WARNING: pthread_np.h: proceeding with the compiler's result
configure: WARNING:     ## -------------------------------- ##
configure: WARNING:     ## Report this to bug-guile <at> gnu.org ##
configure: WARNING:     ## -------------------------------- ##
checking for pthread_np.h... no
checking for sys/param.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h pres





Information forwarded to bug-guile <at> gnu.org:
bug#14549; Package guile. (Tue, 04 Jun 2013 10:33:01 GMT) Full text and rfc822 format available.

Message #8 received at 14549 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: ais <at> euve8129.vserver.de
Cc: 14549 <at> debbugs.gnu.org
Subject: Re: bug#14549: warning while compiling guile 2.0.9
Date: Tue, 04 Jun 2013 12:29:55 +0200
Hi,

Thanks for the report.

ais <at> euve8129.vserver.de skribis:

> Compiling guile 2.0.9 under OpenBSD 5.2 x86

Did compilation eventually succeed?  Did you run ‘make check’?

> checking pthread.h usability... yes
> checking pthread.h presence... yes
> checking for pthread.h... yes
> checking pthread_np.h usability... no
> checking pthread_np.h presence... yes
> configure: WARNING: pthread_np.h: present but cannot be compiled
> configure: WARNING: pthread_np.h:     check for missing prerequisite headers?
> configure: WARNING: pthread_np.h: see the Autoconf documentation
> configure: WARNING: pthread_np.h:     section "Present But Cannot Be
> Compiled"

Could you send the output of:

  grep pthread_np config.log

Thanks,
Ludo’.




Information forwarded to bug-guile <at> gnu.org:
bug#14549; Package guile. (Tue, 04 Jun 2013 13:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 14549 <at> debbugs.gnu.org (full text, mbox):

From: ais <at> euve8129.vserver.de
To: "Ludovic Courtès" <ludo <at> gnu.org>
Subject: Re: bug#14549: warning while compiling guile 2.0.9
Date: Tue, 4 Jun 2013 15:43:20 +0200
Hi Ludovic,

thanks for the reply.
The compilation did not succeed. There're several reasons behind it.
One thing is that the pthread_np.h should be avoided on OpenBSD
alltogether, since this it implements just a short fraction of functions.
So if functions from pthread_np.h should be used, then they must be tested
one by one and not assuming that if the file is present so are the
functions. I simply renamed the file "pthread_np.h" to
"pthread_np.h.original" and ran configure and this time configure
succeeded without any complaint.

The other thing with OpenBSD is, that the stock-installation of the
Boehm-GC package is more or less broken. I compiled my own version of this
library and then I could compile guile successfully, but the linker did
complain about some pthread_np* functions.
Using the stock installation/package then there's a conflict with some
defines being set (notably: GC_REDIRECT_TO_LOCAL). The stock installation
has no such file (gc_local_alloc.h) so the defines inside must be set
accordingly.

Currently I'm very busy to follow up this problem but I'm very willing to
provide more information on this topic, since I keen on having a current
version of Guile running  under OpenBSD.

Sebastian

> Hi,
>
> Thanks for the report.
>
> ais <at> euve8129.vserver.de skribis:
>
>> Compiling guile 2.0.9 under OpenBSD 5.2 x86
>
> Did compilation eventually succeed?  Did you run ‘make check’?
>
>> checking pthread.h usability... yes
>> checking pthread.h presence... yes
>> checking for pthread.h... yes
>> checking pthread_np.h usability... no
>> checking pthread_np.h presence... yes
>> configure: WARNING: pthread_np.h: present but cannot be compiled
>> configure: WARNING: pthread_np.h:     check for missing prerequisite
>> headers?
>> configure: WARNING: pthread_np.h: see the Autoconf documentation
>> configure: WARNING: pthread_np.h:     section "Present But Cannot Be
>> Compiled"
>
> Could you send the output of:
>
>   grep pthread_np config.log
>
> Thanks,
> Ludo’.
>






Added tag(s) moreinfo. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 04 Jun 2013 13:54:02 GMT) Full text and rfc822 format available.

Reply sent to Andy Wingo <wingo <at> pobox.com>:
You have taken responsibility. (Mon, 20 Jun 2016 21:27:02 GMT) Full text and rfc822 format available.

Notification sent to ais <at> euve8129.vserver.de:
bug acknowledged by developer. (Mon, 20 Jun 2016 21:27:02 GMT) Full text and rfc822 format available.

Message #18 received at 14549-done <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: ais <at> euve8129.vserver.de
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 14549-done <at> debbugs.gnu.org
Subject: Re: bug#14549: warning while compiling guile 2.0.9
Date: Mon, 20 Jun 2016 23:25:58 +0200
Hi,

Expiring this bug due to inactivity.  If you have a problem compiling
Guile 2.0.11, stable-2.0, the upcoming 2.0.12, or the beta 2.1.3, let us
know in new reports.  Thanks!

Andy

On Tue 04 Jun 2013 15:43, ais <at> euve8129.vserver.de writes:

> Hi Ludovic,
>
> thanks for the reply.
> The compilation did not succeed. There're several reasons behind it.
> One thing is that the pthread_np.h should be avoided on OpenBSD
> alltogether, since this it implements just a short fraction of functions.
> So if functions from pthread_np.h should be used, then they must be tested
> one by one and not assuming that if the file is present so are the
> functions. I simply renamed the file "pthread_np.h" to
> "pthread_np.h.original" and ran configure and this time configure
> succeeded without any complaint.
>
> The other thing with OpenBSD is, that the stock-installation of the
> Boehm-GC package is more or less broken. I compiled my own version of this
> library and then I could compile guile successfully, but the linker did
> complain about some pthread_np* functions.
> Using the stock installation/package then there's a conflict with some
> defines being set (notably: GC_REDIRECT_TO_LOCAL). The stock installation
> has no such file (gc_local_alloc.h) so the defines inside must be set
> accordingly.
>
> Currently I'm very busy to follow up this problem but I'm very willing to
> provide more information on this topic, since I keen on having a current
> version of Guile running  under OpenBSD.
>
> Sebastian
>
>> Hi,
>>
>> Thanks for the report.
>>
>> ais <at> euve8129.vserver.de skribis:
>>
>>> Compiling guile 2.0.9 under OpenBSD 5.2 x86
>>
>> Did compilation eventually succeed?  Did you run ‘make check’?
>>
>>> checking pthread.h usability... yes
>>> checking pthread.h presence... yes
>>> checking for pthread.h... yes
>>> checking pthread_np.h usability... no
>>> checking pthread_np.h presence... yes
>>> configure: WARNING: pthread_np.h: present but cannot be compiled
>>> configure: WARNING: pthread_np.h:     check for missing prerequisite
>>> headers?
>>> configure: WARNING: pthread_np.h: see the Autoconf documentation
>>> configure: WARNING: pthread_np.h:     section "Present But Cannot Be
>>> Compiled"
>>
>> Could you send the output of:
>>
>>   grep pthread_np config.log
>>
>> Thanks,
>> Ludo’.
>>




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 19 Jul 2016 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.