Bug#549153: apr: Please port sh4

2009-10-04 Thread Nobuhiro Iwamatsu
Hi,

2009/10/1 Peter Samuelson :
>
> tags 549153 pending
> thanks
>
> [Nobuhiro Iwamatsu]
>> Because current sh4 architecture can not use proc_mutex_xx.
>> When we build apr, need set
>>     apr_cv_hasprocpthreadser=no ac_cv_define_PTHREAD_PROCESS_S
>>
>> I made a patch to revise to be able to build.
>> Would you apply it?
>
> Applied.
Thanks.

> Since SH4 is not part of Debian, I see no need to upload
> this immediately, but next time we do upload, this will be in it.

Port to sh4 is working on debian-ports now.
http://buildd.debian-ports.org/stats/sh4.txt

When apr cannot build, apache and some important package cannot build.

I thank for your cooperation.

Nobuhiro

-- 
Nobuhiro Iwamatsu



--
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#549153: apr: Please port sh4

2009-09-30 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> tags 549153 pending
Bug #549153 [apr] apr: Please port sh4
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#549153: apr: Please port sh4

2009-09-30 Thread Peter Samuelson

tags 549153 pending
thanks

[Nobuhiro Iwamatsu]
> Because current sh4 architecture can not use proc_mutex_xx.
> When we build apr, need set
>     apr_cv_hasprocpthreadser=no ac_cv_define_PTHREAD_PROCESS_S
>
> I made a patch to revise to be able to build.
> Would you apply it?

Applied.  Since SH4 is not part of Debian, I see no need to upload
this immediately, but next time we do upload, this will be in it.

Thanks,
-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/



-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#549153: apr: Please port sh4

2009-09-30 Thread Nobuhiro Iwamatsu
2009/10/1 Nobuhiro Iwamatsu :
> Package: apr
> Version: 1.3.8-1
> Severity: wishlist
> Tags: patch
> User: debian-...@superh.org
> Usertags: sh4
>
> Hi,
>
> I am now trying to run Debian on Renesas SH CPU(sh4).
> apr package FTBFS by test.
> Because current sh4 architecture can not use proc_mutex_xx.
> When we build apr, need set
>     apr_cv_hasprocpthreadser=no ac_cv_define_PTHREAD_PROCESS_S
>
> I made a patch to revise to be able to build.
> Would you apply it?
>

Sorry.
I forgot the attachment of patch.

Best regards,
  Nobuhiro
-- 
Nobuhiro Iwamatsu
diff -urN apr-1.3.8/debian/rules apr-1.3.8.a/debian/rules
--- apr-1.3.8/debian/rules  2009-09-30 14:33:56.0 +0900
+++ apr-1.3.8.a/debian/rules2009-09-30 14:35:54.0 +0900
@@ -11,6 +11,7 @@
 DEB_HOST_GNU_TYPE?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_BUILD_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_SYSTEM)
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 BUILDDIR := build-$(DEB_HOST_GNU_TYPE)
 
@@ -22,6 +23,11 @@
 
 CONFFLAGS += ac_cv_prog_AWK=mawk apr_cv_sctp=no
 
+# sh4 can not use proc_pthread.
+ifneq (,$(findstring sh4,$(DEB_BUILD_ARCH)))
+  CONFFLAGS +=  apr_cv_hasprocpthreadser=no 
ac_cv_define_PTHREAD_PROCESS_SHARED=no
+endif
+
 # Enable debug builds
 ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
   CFLAGS += -O0


Bug#549153: apr: Please port sh4

2009-09-30 Thread Nobuhiro Iwamatsu
Package: apr
Version: 1.3.8-1
Severity: wishlist
Tags: patch
User: debian-...@superh.org
Usertags: sh4

Hi,

I am now trying to run Debian on Renesas SH CPU(sh4).
apr package FTBFS by test.
Because current sh4 architecture can not use proc_mutex_xx.
When we build apr, need set
 apr_cv_hasprocpthreadser=no ac_cv_define_PTHREAD_PROCESS_S

I made a patch to revise to be able to build.
Would you apply it?

Best regards,
  Nobuhiro

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to debian-apache-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org