!WaYPjxOMzwGsYOUWvX:matrix.org

Debian JS Mentors (was Debian Browserify)

218 Members
Mentoring Newbies in node/js packaging | Pre requisitesĀ  https://wiki.debian.org/Packaging/Pre-Requisites (Gives you instructions to setup a development environment) | Outreachy notes https://wiki.debian.org/Javascript/Nodejs/Yarn2-plugin-apt38 Servers

Load older messages


SenderMessageTime
26 Jul 2021
@rojinroy:poddery.comrojinIs cake in the path? It must be findable during the build.08:40:35
@ayoyimika:matrix.orgayoyimika
In reply to @rojinroy:poddery.com
Is cake in the path? It must be findable during the build.
pls what path?
08:41:08
@rojinroy:poddery.comrojinYou have embedded cake in the package. But can you use that during the build? I am not sure.08:44:11
@ayoyimika:matrix.orgayoyimika yeah that is what i also don't knowšŸ¤£šŸ¤£ or how to properly configure the embedded component cake to use for build 08:45:45
@ayoyimika:matrix.orgayoyimika
In reply to @rojinroy:poddery.com
You have embedded cake in the package. But can you use that during the build? I am not sure.
* yeah that is what i also don't knowšŸ¤£šŸ¤£ or how to properly configure the embedded component cake to use for build
08:46:28
@rojinroy:poddery.comrojinOk, from https://wiki.debian.org/Javascript/Nodejs#Cake you need to add cake in debian/nodejs/build.09:14:36
@rojinroy:poddery.comrojinLooks like cake is already in debian as cake.coffeescript09:16:33
@rojinroy:poddery.comrojin * Looks like cake is already in debian as cake.coffeescript09:16:54
@rojinroy:poddery.comrojin ayoyimika: Using apt-file search you can find what package it belongs to. You might want to add it to the build-dependencies. 09:18:17
@rojinroy:poddery.comrojinAbout how to embed build-dependencies I have no idea and would myself love to learn about.09:19:34
@ayoyimika:matrix.orgayoyimika
In reply to @rojinroy:poddery.com
Looks like cake is already in debian as cake.coffeescript
oh really thanks..saw cake.coffeescript didn't know it's same as the cake module
09:32:15
@ayoyimika:matrix.orgayoyimika
In reply to @rojinroy:poddery.com
Ok, from https://wiki.debian.org/Javascript/Nodejs#Cake you need to add cake in debian/nodejs/build.
i already have the cake build command in it
09:34:47
@rojinroy:poddery.comrojin
In reply to @ayoyimika:matrix.org
oh really thanks..saw cake.coffeescript didn't know it's same as the cake module
So is it the same one? I forgot to check that.
09:35:29
@rojinroy:poddery.comrojinIf it is just change it to cake.coffeescript 09:36:08
@ayoyimika:matrix.orgayoyimika
In reply to @rojinroy:poddery.com
If it is just change it to cake.coffeescript
it looks like its working and then its get stuck https://paste.debian.net/1205610/
09:47:15
@ayoyimika:matrix.orgayoyimika
In reply to @rojinroy:poddery.com
About how to embed build-dependencies I have no idea and would myself love to learn about.
am sure PirateĀ ā€Ā Praveen (he/him) will definately have something for us
09:48:38
@rojinroy:poddery.comrojin
In reply to @rojinroy:poddery.com
So is it the same one? I forgot to check that.
From my limited reading they both seem to be the same.
09:55:54
@ayoyimika:matrix.orgayoyimika
In reply to @rojinroy:poddery.com
So is it the same one? I forgot to check that.
i think so because the module am working on has a Cakefile
09:58:02
@ayoyimika:matrix.orgayoyimika
In reply to @ayoyimika:matrix.org
it looks like its working and then its get stuck https://paste.debian.net/1205610/
it generates the lib/ directory of generated files as expected then its just get stuck it doesn't continue the remaining build process
10:09:25
@praveen:poddery.comPirateĀ ā€Ā Praveen (he/him)
In reply to @ayoyimika:matrix.org
oh really thanks..saw cake.coffeescript didn't know it's same as the cake module
It is same, though the version may be old.
10:48:21
@praveen:poddery.comPirateĀ ā€Ā Praveen (he/him)Try with sbuild as well10:49:41
@praveen:poddery.comPirateĀ ā€Ā Praveen (he/him)Also please check carefully before embedding10:50:00
@ayoyimika:matrix.orgayoyimika
In reply to @praveen:poddery.com
Try with sbuild as well
to know why it get stuck while building with dpkg-buildpackage?
10:55:44
@rojinroy:poddery.comrojinBecause sbuild builds in a clean environment, sometimes you might see that your problem is already fixed. Sometimes you find newer problems because you already had a dependency installed and so forgot to mention it in the package.11:02:27
@ayoyimika:matrix.orgayoyimika
In reply to @praveen:poddery.com
Try with sbuild as well
same thing its getting stuck https://paste.debian.net/1205616/
11:03:31
@rojinroy:poddery.comrojinhttps://david-dm.org/Leonidas-from-XIV/node-xml2js?type=dev&view=list that is quite a large list11:12:19
@ayoyimika:matrix.orgayoyimika
In reply to @rojinroy:poddery.com
https://david-dm.org/Leonidas-from-XIV/node-xml2js?type=dev&view=list that is quite a large list
šŸ¤”šŸ¤” pls still don't understand
11:18:22
@rojinroy:poddery.comrojinNothing I was just looking at the dependencies.11:26:21
@ayoyimika:matrix.orgayoyimika

i tried to do further research on cake module the cake.coffeescript build command execute the content of the Cakefile which is this: ->
{spawn, exec} = require 'child_process'

task 'build', 'continually build the JavaScript code', ->
coffee = spawn 'coffee', ['-cw', '-o', 'lib', 'src']
coffee.stdout.on 'data', (data) -> console.log data.toString().trim()

task 'doc', 'rebuild the Docco documentation', ->
exec([
'docco src/xml2js.coffee'
].join(' && '), (err) ->
throw err if err
)

15:36:52
@ayoyimika:matrix.orgayoyimikais there a reason in the Cakefile to stop the other build process when i run build15:38:20

There are no newer messages yet.


Back to Room List