GNU bug report logs - #9403
[emacs] [./configure error] Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems

Previous Next

Package: emacs;

Reported by: Douglas Mencken <dougmencken <at> gmail.com>

Date: Mon, 29 Aug 2011 22:45:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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 9403 in the body.
You can then email your comments to 9403 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9403; Package emacs. (Mon, 29 Aug 2011 22:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Douglas Mencken <dougmencken <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 29 Aug 2011 22:45:03 GMT) Full text and rfc822 format available.

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

From: Douglas Mencken <dougmencken <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [emacs] [./configure error] Emacs hasn't been ported to
	`powerpc-gnu-linux-uclibc' systems
Date: Tue, 30 Aug 2011 00:28:39 +0200
I got this while building GNU/Emacs.
I supposed it's very portable.
In MACHINES file, I can read that only Yellow Dog distro is supported,
regardless of everything...

Of course, all of the above is just plain *false*.

With the following sed command:
sed -i 's/powerpc\*-\*-linux-gnu\*/powerpc*-*-linux-*/' ./configure.in
I've been able to get working GNU/Emacs, even with Snake game :)

Configured for `powerpc-gnu-linux-uclibc'.

  Where should the build process find the source code?
/root/build-farm/emacs-v23.3.builddir
  What operating system and machine description files should Emacs use?
        `s/gnu-linux.h' and `m/macppc.h'
  What compiler should emacs be built with?
powerpc-gnu-linux-uclibc-gcc  -O3 -Wdeclaration-after-statement
-Wno-pointer-sign
  Should Emacs use the GNU version of malloc?             yes
  Should Emacs use a relocating allocator for buffers?    yes
  Should Emacs use mmap(2) for buffer allocation?         no
  What window system should Emacs use?                    none
  What toolkit should Emacs use?                          none
  Where do we find X Windows header files?                NONE
  Where do we find X Windows libraries?                   NONE
  Does Emacs use -lXaw3d?                                 no
  Does Emacs use -lXpm?                                   no
  Does Emacs use -ljpeg?                                  no
  Does Emacs use -ltiff?                                  no
  Does Emacs use a gif library?                           no
  Does Emacs use -lpng?                                   no
  Does Emacs use -lrsvg-2?                                no
  Does Emacs use -lgpm?                                   yes
  Does Emacs use -ldbus?                                  no
  Does Emacs use -lgconf?                                 no
  Does Emacs use -lfreetype?                              no
  Does Emacs use -lm17n-flt?                              no
  Does Emacs use -lotf?                                   no
  Does Emacs use -lxft?                                   no
  Does Emacs use toolkit scroll bars?                     no




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Tue, 30 Aug 2011 02:14:01 GMT) Full text and rfc822 format available.

Notification sent to Douglas Mencken <dougmencken <at> gmail.com>:
bug acknowledged by developer. (Tue, 30 Aug 2011 02:14:01 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Douglas Mencken <dougmencken <at> gmail.com>
Cc: 9403-done <at> debbugs.gnu.org
Subject: Re: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc' systems
Date: Mon, 29 Aug 2011 19:10:00 -0700
Thanks for the bug report.  The configure.in and MACHINES stuff is no
longer present in the trunk so I guess that's been fixed already.
I just now removed the obsolete mention of the Yellow Dog issue from
etc/PROBLEMS, as part of bzr 105613:

http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/105613

I think that should finish the job, so I'm marking the bug as done.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9403; Package emacs. (Tue, 30 Aug 2011 06:52:02 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: 9403 <at> debbugs.gnu.org
Cc: eggert <at> cs.ucla.edu
Subject: Re: bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc'
	systems
Date: Tue, 30 Aug 2011 02:47:57 -0400
Paul Eggert wrote:

> The configure.in and MACHINES stuff is no longer present in the trunk
> so I guess that's been fixed already.

AFAICS, it remains true that nothing in configure.in will match
$canonical = "powerpc-gnu-linux-uclibc". The minimal change would be:

*** configure.in	2011-08-26 07:12:16 +0000
--- configure.in	2011-08-30 06:47:09 +0000
***************
*** 411,417 ****
  case "${canonical}" in
  
    ## GNU/Linux ports
!   *-*-linux-gnu*)
      opsys=gnu-linux
      case ${canonical} in
        alpha*)	machine=alpha ;;
--- 411,417 ----
  case "${canonical}" in
  
    ## GNU/Linux ports
!   *-*-linux-gnu*|powerpc-gnu-linux-uclibc)
      opsys=gnu-linux
      case ${canonical} in
        alpha*)	machine=alpha ;;






Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9403; Package emacs. (Tue, 30 Aug 2011 07:51:01 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9403 <at> debbugs.gnu.org, eggert <at> cs.ucla.edu
Subject: Re: bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc'
	systems
Date: Tue, 30 Aug 2011 09:47:21 +0200
Glenn Morris <rgm <at> gnu.org> writes:

>   case "${canonical}" in
>   
>     ## GNU/Linux ports
> !   *-*-linux-gnu*|powerpc-gnu-linux-uclibc)
      *-*-linux*

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9403; Package emacs. (Tue, 30 Aug 2011 16:05:01 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 9403 <at> debbugs.gnu.org
Subject: Re: bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc'
	systems
Date: Tue, 30 Aug 2011 09:01:07 -0700
On 08/30/11 00:47, Andreas Schwab wrote:

>>     ## GNU/Linux ports
>> !   *-*-linux-gnu*|powerpc-gnu-linux-uclibc)
>       *-*-linux*

Thanks, I put in the following slightly-more-conservative patch as bzr 105618,
as I'm not sure what would work with non-GNU Linux ports.

* configure.in (opsys): Add pattern *-gnu-linux*
to recognize powerpc-gnu-linux-uclibc (Bug#9403).
=== modified file 'configure.in'
--- configure.in	2011-08-26 07:12:16 +0000
+++ configure.in	2011-08-30 15:55:03 +0000
@@ -411,7 +411,7 @@
 case "${canonical}" in

   ## GNU/Linux ports
-  *-*-linux-gnu*)
+  *-*-linux-gnu* | *-gnu-linux*)
     opsys=gnu-linux
     case ${canonical} in
       alpha*)	machine=alpha ;;





Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9403; Package emacs. (Tue, 30 Aug 2011 19:03:01 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Glenn Morris <rgm <at> gnu.org>, 9403 <at> debbugs.gnu.org
Subject: Re: bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc'
	systems
Date: Tue, 30 Aug 2011 20:59:13 +0200
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> Thanks, I put in the following slightly-more-conservative patch as bzr 105618,
> as I'm not sure what would work with non-GNU Linux ports.
>
> * configure.in (opsys): Add pattern *-gnu-linux*
> to recognize powerpc-gnu-linux-uclibc (Bug#9403).
> === modified file 'configure.in'
> --- configure.in	2011-08-26 07:12:16 +0000
> +++ configure.in	2011-08-30 15:55:03 +0000
> @@ -411,7 +411,7 @@
>  case "${canonical}" in
>
>    ## GNU/Linux ports
> -  *-*-linux-gnu*)
> +  *-*-linux-gnu* | *-gnu-linux*)

That's not correct.  The -gnu- in the example is the (free form) vendor
part.  What matters is -linux-uclibc, ie. you fail to match
powerpc-unknown-linux-uclibc which is the canonical form of
powerpc-linux-uclibc.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9403; Package emacs. (Tue, 30 Aug 2011 20:56:01 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Glenn Morris <rgm <at> gnu.org>, 9403 <at> debbugs.gnu.org
Subject: Re: bug#9403: Emacs hasn't been ported to `powerpc-gnu-linux-uclibc'
	systems
Date: Tue, 30 Aug 2011 13:51:54 -0700
On 08/30/11 11:59, Andreas Schwab wrote:
> The -gnu- in the example is the (free form) vendor part.

Thanks, I changed it to *-*-linux* as you suggested, and
removed some related obsolete HP patterns, as follows:

=== modified file 'ChangeLog'
--- ChangeLog	2011-08-30 15:57:22 +0000
+++ ChangeLog	2011-08-30 20:46:59 +0000
@@ -1,7 +1,10 @@
 2011-08-30  Paul Eggert  <eggert <at> cs.ucla.edu>
 
-	* configure.in (opsys): Add pattern *-gnu-linux*
+	* configure.in (opsys): Change pattern to *-*-linux*
 	to recognize powerpc-gnu-linux-uclibc (Bug#9403).
+	Remove unreachable pattern hppa*-*-linux-gnu*.
+	Also, remove ia64*-hp-hpux1[1-9]*, as it also sets machine=hp800,
+	and that can't possibly work now that src/m/hp800.h no longer exists.
 
 2011-08-26  Jan Djärv  <jan.h.d <at> swipnet.se>
 

=== modified file 'configure.in'
--- configure.in	2011-08-30 15:57:22 +0000
+++ configure.in	2011-08-30 20:46:59 +0000
@@ -410,8 +410,8 @@
 machine='' opsys='' unported=no
 case "${canonical}" in
 
-  ## GNU/Linux ports
-  *-*-linux-gnu* | *-gnu-linux*)
+  ## GNU/Linux and similar ports
+  *-*-linux* )
     opsys=gnu-linux
     case ${canonical} in
       alpha*)	machine=alpha ;;
@@ -508,17 +508,6 @@
     CFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CFLAGS"
   ;;
 
-  ia64*-hp-hpux1[1-9]* )
-    machine=hp800 opsys=hpux11
-    ## FIXME.  Peter O'Gorman reports that dumping using unexelf.o doesn't
-    ## work either: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6811
-    CANNOT_DUMP=yes
-  ;;
-
-  hppa*-*-linux-gnu* )
-    machine=hp800 opsys=gnu-linux
-  ;;
-
   ## IBM machines
   rs6000-ibm-aix4.[23]* )
     machine=ibmrs6000 opsys=aix4-2





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 28 Sep 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 235 days ago.

Previous Next


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