Your message dated Sun, 27 Oct 2013 17:34:24 +0100
with message-id <526d4090.9030...@melix.org>
and subject line Re: Bug#689656:
has caused the Debian Bug report #689656,
regarding nodejs:  Patches for GNU/sunos
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
689656: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689656
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nodejs
Version: 0.6.19~dfsg1-5
Severity: normal

Dear Maintainer,

I'm porting Debian on illumos kernel and using GNU toolchain (GCC, binutils,
etc.)

Node.js' build system sucks so much that cannot detect features of the compiler
and the linker.  Instead it tests the platform.

It assumes, that on "sunos" linker always exports all dynamic symbols. It is
true for sunos linker, but not for GNU ld - the latter need --export-dynamic,
or -rdynamic option to GCC.

Another issue is that Node.js' build system passes -threads options to the
compiler. GCC does not support it.

I believe Debian on any kernel will use GNU tools, thus these patches can be
adopted by Node.js package.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nodejs depends on:
ii  libc-ares2      1.9.1-3
ii  libc6           2.13-35
ii  libev4          1:4.11-1
ii  libgcc1         1:4.7.1-7
ii  libssl1.0.0     1.0.1c-4
ii  libstdc++6      4.7.1-7
ii  libv8-3.8.9.20  3.8.9.20-1
ii  zlib1g          1:1.2.7.dfsg-13

nodejs recommends no packages.

nodejs suggests no packages.

-- no debconf information
From: Igor Pashev <pashev.i...@gmail.com>
Date: Tue, 21 Aug 2012 16:22:14 +0000
Subject: Dyson: do not pass -threads to compiler

---
 wscript |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/wscript b/wscript
index f922ad1..f128fdf 100644
--- a/wscript
+++ b/wscript
@@ -491,9 +491,7 @@ def configure(conf):
   conf.define("HAVE_CONFIG_H", 1)
 
   if sys.platform.startswith("sunos"):
-    conf.env.append_value ('CCFLAGS', '-threads')
-    conf.env.append_value ('CXXFLAGS', '-threads')
-    #conf.env.append_value ('LINKFLAGS', ' -threads')
+      pass
   elif not sys.platform.startswith("win32"):
     threadflags='-pthread'
     conf.env.append_value ('CCFLAGS', threadflags)
From: Igor Pashev <pashev.i...@gmail.com>
Date: Tue, 21 Aug 2012 16:26:33 +0000
Subject: Dyson: allow -rdynamic

---
 wscript |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wscript b/wscript
index f128fdf..b64449b 100644
--- a/wscript
+++ b/wscript
@@ -318,7 +318,7 @@ def configure(conf):
   conf.env['USE_NPM'] = not o.without_npm
 
   conf.check(lib='dl', uselib_store='DL')
-  if not sys.platform.startswith("sunos") and not sys.platform.startswith("win32"):
+  if not sys.platform.startswith("win32"):
     conf.env.append_value("CCFLAGS", "-rdynamic")
     conf.env.append_value("LINKFLAGS_DL", "-rdynamic")
 

--- End Message ---
--- Begin Message ---
On 27/10/2013 17:29, Игорь Пашев wrote:
> I think this bug can be closed: recent nodejs can be compiled without
> any patches :-)
> 

Thanks, closing

Jérémy.

--- End Message ---
_______________________________________________
Pkg-javascript-devel mailing list
Pkg-javascript-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to