Re: Plans for Node.js 6.x

2016-07-18 Thread Stephen Gallagher
On 07/18/2016 04:32 PM, Stephen Gallagher wrote:
> On 07/18/2016 04:29 PM, Robert Van Voorhees wrote:
>> Sorry for mass, that last one has a typo:
>>
>> Correct command is:
>>
>> sudo dnf install -y fedora-repos-rawhide && sudo dnf install -y --best
>> --allowerasing --enablerepo rawhide nodejs libuv
>>
>> You need to upgrade libuv as well, otherwise you'll get:
>>
>> node: symbol lookup error: node: undefined symbol: uv_fs_realpath
>>
> 
> Hmm, that should have been specified as an explicit dependency for the nodejs
> package. Looks like a bug. Mind filing a BZ?
> 

Ah, there's a bug in the version requirement. libuv has epoch: 1 but the
requirement didn't account for this, so libuv 1:1.7.5 was satisfying it. I'll
fix that up and push it out momentarily.

Thanks!




signature.asc
Description: OpenPGP digital signature
___
nodejs mailing list
nodejs@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org


Re: Plans for Node.js 6.x

2016-07-18 Thread Stephen Gallagher
On 07/18/2016 04:29 PM, Robert Van Voorhees wrote:
> Sorry for mass, that last one has a typo:
> 
> Correct command is:
> 
> sudo dnf install -y fedora-repos-rawhide && sudo dnf install -y --best
> --allowerasing --enablerepo rawhide nodejs libuv
> 
> You need to upgrade libuv as well, otherwise you'll get:
> 
> node: symbol lookup error: node: undefined symbol: uv_fs_realpath
> 

Hmm, that should have been specified as an explicit dependency for the nodejs
package. Looks like a bug. Mind filing a BZ?





signature.asc
Description: OpenPGP digital signature
___
nodejs mailing list
nodejs@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org


Re: Plans for Node.js 6.x

2016-07-18 Thread Robert Van Voorhees
Sorry for mass, that last one has a typo:

Correct command is:

sudo dnf install -y fedora-repos-rawhide && sudo dnf install -y --best
--allowerasing --enablerepo rawhide nodejs libuv

You need to upgrade libuv as well, otherwise you'll get:

node: symbol lookup error: node: undefined symbol: uv_fs_realpath

On Mon, Jul 18, 2016 at 4:27 PM Robert Van Voorhees 
wrote:

> Awesome,
>
> In the event anyone else is interested:
>
> sudo dnf install -y fedora-repos-rawhide && sudo dnf install -y --best
> --allowerasing --enablerepo rawhide nodejs
>
> Appreciate the fast response time as well!
>
> On Mon, Jul 18, 2016 at 4:16 PM Stephen Gallagher 
> wrote:
>
>> On 07/18/2016 04:05 PM, Robert Van Voorhees wrote:
>> > Hey guys, do we have a COPR or capability to run Node 6 on Fedora 24 at
>> the
>> > moment?  I realize we're still pushing for Node v4, but since we were
>> definitely
>> > building it at one point, do we have a semi-official means to upgrade
>> to 6?
>> >
>>
>>
>> It's built and functional in Rawhide right now, so you should be able to
>> pull it
>> from there...
>>
>> ___
>> nodejs mailing list
>> nodejs@lists.fedoraproject.org
>> https://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org
>>
>
___
nodejs mailing list
nodejs@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org


Re: Plans for Node.js 6.x

2016-07-18 Thread Stephen Gallagher
On 07/18/2016 04:05 PM, Robert Van Voorhees wrote:
> Hey guys, do we have a COPR or capability to run Node 6 on Fedora 24 at the
> moment?  I realize we're still pushing for Node v4, but since we were 
> definitely
> building it at one point, do we have a semi-official means to upgrade to 6?
> 


It's built and functional in Rawhide right now, so you should be able to pull it
from there...



signature.asc
Description: OpenPGP digital signature
___
nodejs mailing list
nodejs@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org


Re: Plans for Node.js 6.x

2016-07-18 Thread Robert Van Voorhees
Hey guys, do we have a COPR or capability to run Node 6 on Fedora 24 at the
moment?  I realize we're still pushing for Node v4, but since we were
definitely building it at one point, do we have a semi-official means to
upgrade to 6?

-R

On Mon, May 2, 2016 at 4:35 PM Robert Van Voorhees 
wrote:

> Thanks guys, I have Node.js v4.4.3 working under Fedora 23 now.
> Definitely a fun whirlwind tour through the various Fedora build systems,
> would have been easier if mock-scm was working!
>
> On Mon, May 2, 2016 at 2:41 PM Tom Hughes  wrote:
>
>> On 02/05/16 19:31, Robert Van Voorhees wrote:
>>
>> > When building Node for Fedora 23 I think I encountered the error you
>> > were alluding to with `libuv` [3]:
>>
>> Yes you will need to build a newer libuv package first.
>>
>> Tom
>>
>> --
>> Tom Hughes (t...@compton.nu)
>> http://compton.nu/
>> ___
>> nodejs mailing list
>> nodejs@lists.fedoraproject.org
>> http://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org
>>
>
___
nodejs mailing list
nodejs@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org


Re: Plans for Node.js 6.x

2016-05-02 Thread Robert Van Voorhees
Thanks guys, I have Node.js v4.4.3 working under Fedora 23 now.  Definitely
a fun whirlwind tour through the various Fedora build systems, would have
been easier if mock-scm was working!

On Mon, May 2, 2016 at 2:41 PM Tom Hughes  wrote:

> On 02/05/16 19:31, Robert Van Voorhees wrote:
>
> > When building Node for Fedora 23 I think I encountered the error you
> > were alluding to with `libuv` [3]:
>
> Yes you will need to build a newer libuv package first.
>
> Tom
>
> --
> Tom Hughes (t...@compton.nu)
> http://compton.nu/
> ___
> nodejs mailing list
> nodejs@lists.fedoraproject.org
> http://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org
>
___
nodejs mailing list
nodejs@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org


Re: Plans for Node.js 6.x

2016-05-02 Thread Tom Hughes

On 02/05/16 19:31, Robert Van Voorhees wrote:


When building Node for Fedora 23 I think I encountered the error you
were alluding to with `libuv` [3]:


Yes you will need to build a newer libuv package first.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
___
nodejs mailing list
nodejs@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/nodejs@lists.fedoraproject.org


Re: Plans for Node.js 6.x

2016-05-02 Thread Robert Van Voorhees
Hi Stephen,

Thanks for the fast response time.  I did end up pulling the SRPM from the
latest build on Kodi [1], but before that I was also trying to use Mock
SCM.  There's apparently an issue going on with that [2] at the moment --
would that eventually be the preferred way, since it can pull straight from
a git repo?

When building Node for Fedora 23 I think I encountered the error you were
alluding to with `libuv` [3]:

```
../src/node_os.cc: In function 'void node::os::GetHomeDirectory(const
v8::FunctionCallbackInfo&)':
../src/node_os.cc:279:42: error: 'uv_os_homedir' was not declared in this
scope
   const int err = uv_os_homedir(buf, );
  ^
../src/node_os.cc:282:54: error: return-statement with a value, in function
returning 'void' [-fpermissive]
 return env->ThrowUVException(err, "uv_os_homedir");
  ^
node.target.mk:143: recipe for target
'/builddir/build/BUILD/node-v4.4.3/out/Debug/obj.target/node/src/node_os.o'
failed
```
Would I need to update the nodejs.spec file for Fedora 23 to reflect a
newer version, or different version in order to get around that?

[1] https://copr.fedorainfracloud.org/coprs/voor/nodejs-lts/build/182807/
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1312820
[3]
https://copr-be.cloud.fedoraproject.org/results/voor/nodejs-lts/fedora-23-x86_64/00182807-nodejs/build.log.gz



On Mon, May 2, 2016 at 1:37 PM Stephen Gallagher 
wrote:

> On 05/02/2016 12:43 PM, Robert Van Voorhees wrote:
> > Hey guys,
> >
> > Long time lurker, who wants to try and get more involved with Stephen's
> shifting
> > responsibilities.  Is there a "getting started" or "hey new guy don't
> E-mail the
> > mailing list" approach to contributing to this?  I've heard Stephen
> refer to a
> > COPR every now and then -- I'm aware of the COPR at [1] which I forked
> into my
> > own COPR, and then also the wiki [2] with basic information on actually
> using
> > Node.JS in Fedora.  The packaging Node.JS page [3] looks severely
> outdated,
> > since we are now no longer attempting to RPM package each individual NPM
> > dependency and instead using that built in process?  (That was a
> question)
> >
>
> Why do you think it's outdated? We have a single special case for the
> embedded
> npm in nodejs because it was necessary to enable us to move quickly when
> nodejs
> updates land. (npm keeps getting random additional dependencies all the
> time and
> trying to maintain its monstrous chain separately to get a nodejs security
> fix
> out the door was proving impossible).
>
> Other Node.js modules should absolutely continue to follow those packaging
> guidelines.
>
>
> > The other part I'm confused on is that the COPR shows the build was
> triggered by
> > a SRPM that was uploaded [4], but then also refers to a git repository
> at [5]
> >
>
> That git repository is pretty much an internal implementation detail of
> COPR. As
> it is, the existing COPR repositories are pretty out of date (they were
> more-or-less abandoned once we landed the updated Node versions in F24 and
> Rawhide).
>
> However, we should probably look at prepping the Node.js 6.x upgrade
> through
> COPR before we push it to Rawhide, since we know that there are
> backwards-compatibility issues.
>
>
> > I wanted to "cut my teeth" on trying to configure the COPR to do a
> Fedora 23
> > build, since I'm still on Fedora 23.  How would I go about doing that?
> As I
> > said I forked the COPR and activated Fedora 23 as an option, would I
> need to
> > upload my own SRPM based on the git repository, or should I be setting
> it up to
> > pull automagically from elsewhere?
>
>
> I'm not aware of any reason Fedora 23 couldn't just pull in the SRPM of the
> latest builds from Koji (since most of what it needs is bundled in). You'll
> probably need to build `libuv` first, then try to build nodejs and see
> what happens.
>
>
> >
> > [1] https://copr.fedorainfracloud.org/groups/g/nodejs-sig/coprs/
> > 
> > [2] https://fedoraproject.org/wiki/Node.js
> > [3] https://fedoraproject.org/wiki/Packaging:Node.js
> > [4]
> https://copr.fedorainfracloud.org/coprs/g/nodejs-sig/nodejs-lts/build/181534/
> > [5]
> http://copr-dist-git.fedorainfracloud.org/cgit/@nodejs-sig/nodejs-lts/nodejs.git/
> >
>
>
> Also, there are many modules in Fedora that were added specifically to
> support
> the 'npm' package which is now bundled with the nodejs package: We should
> probably take an inventory of them and figure out which ones are worth
> continuing to support as distribution packages (meaning they're valuable to
> something else we want to distribute, like nodejs-less or Visual Studio
> Code,
> etc.) or if we should continue retiring some of them so as not to need to
> continue maintaining them.
>
>
>
> >
> >
> > On Wed, Apr 27, 2016 at 8:38 AM Stephen Gallagher  >