Source: node-assume
Version: 2.3.0-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240702 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=nodejs
>    dh_auto_build --buildsystem=nodejs
> No build command found, searching known files
>    dh_auto_test --buildsystem=nodejs
>       mkdir -p node_modules
>       ln -s ../. node_modules/assume
>       /bin/sh -ex debian/tests/pkg-js/test
> + mocha ./test/assume.test.js
> 
> 
>   Assume
>     undefined can configure the amount stacks to slice off
>     undefined throw Error instances
>     undefined aliases chain properly
>     #csliceStacklone
>       undefined increases slice for each clone
>       undefined defaults to the same value if no clone value is provided
>       undefined can clone falsy values
>     #a
>       undefined is aliased as `an`
>       undefined classifies NaN
>       undefined classifies undefined
>       undefined classifies undefined
>       undefined classifies arguments
>       undefined classifies strings
>       undefined classifies numbers
>       undefined classifies arrays
>       undefined classifies dates
>       undefined classifies errors
>       undefined classifies regexps
>       undefined classifies booleans
>       undefined classifies buffers
> (node:3118423) [DEP0005] DeprecationWarning: Buffer() is deprecated due to 
> security and usability issues. Please use the Buffer.alloc(), 
> Buffer.allocUnsafe(), or Buffer.from() methods instead.
> (Use `node --trace-deprecation ...` to show where the warning was created)
>       undefined classifies float32arrays
>       undefined classifies float64arrays
>       undefined classifies int16arrays
>       undefined classifies int32arrays
>       undefined classifies int8arrays
>       undefined classifies uint16arrays
>       undefined classifies uint32arrays
>       undefined classifies uint8arrays
>     #eitherOfType
>       undefined is aliased as `eitherOfType`, `oneOfType`
>       undefined classifies a valid type
>       undefined supports negation properly
>     #instanceof
>       undefined is aliased as `instanceOf`, `inherit`, `inherits`
>       undefined correctly checks the instance
>     #includes
>       undefined is aliased as `instanceOf`, `inherit`, `inherits`
>       undefined check if a key in an object
>       undefined chars are in a given string
>       undefined check array indexes
>       undefined can deeply check array values
>     #ok
>       undefined is aliased as `truthy`, `truly`, `okay`
>       undefined is ok
>     #falsely
>       undefined is aliased as `falsey` and `falsy`
>       undefined is falsely
>     #true
>       undefined only checks booleans
>     #false
>       undefined only checks booleans
>     #exists
>       undefined is aliased as `exist`
>       undefined checks if values are not null
>     #length
>       undefined is aliased as `lengthOf`, `size`
>       undefined checks the length of a string
>       undefined checks the length of an array
>       undefined checks the amount of keys in a object
>       undefined prefers a `.length` key over the size of an object
>       undefined checks the amount of arguments in a function
>     #empty
>       undefined checks if strings are empty
>       undefined checks if array is empty
>       undefined check if objects are empty
>     #above
>       undefined is aliased as `gt`, `greater`, `greaterThan`
>       undefined accepts numbers
>       undefined accepts everything from .length
>     #least
>       undefined is aliased as `gte`, `atleast`
>       undefined accepts numbers
>       undefined accepts everything from .length
>     #below
>       undefined is aliased as `lt`, `less`, `lessThan`
>       undefined accepts numbers
>       undefined accepts everything from .length
>     #most
>       undefined is aliased as `lte`, `atmost`
>       undefined accepts numbers
>       undefined accepts everything from .length
>     #within
>       undefined is aliased as `between`
>       undefined accepts numbers
>       undefined accepts everything from .length
>     #hasOwn
>       undefined is aliased as `own`, `ownProperty`, `haveOwnProperty`, 
> `property`, `owns`, `hasown`
>       undefined works with object.create(null)
>       undefined checks the property value
>       undefined can do deep property checks
>       undefined only accepts added properties
>       undefined can check against null values in an object
>     #match
>       undefined is aliased as `matches`
>       undefined accpets strings instead of regexps
>       undefined accepts regexp
>     #equal
>       undefined is aliased as `equals`, `eq`, `eqs`
>       undefined equals
>       undefined supports .deep
>       undefined supports .not
>     #eql
>       undefined is aliased as `eqls`
>       undefined deeply equals
>     #either
>       undefined equals one of the given values
>       undefined deeply equals one of the given values
>     #throws
>       undefined is aliased as `throw`, `fail`, `fails`
>       undefined captures the thrown error
>       undefined fails when nothing is thrown
>       undefined fails when throw is not expected
>       undefined executes non throwing functions
>       undefined can match using regexp
>       undefined can match instances
>       undefined can throw non errors
>     .finite
>       undefined is aliased as `isFinite`, `finiteness`
>       undefined is finite
>       undefined support strict mode
>     #approximately
>       undefined is aliased as `near`, `close`, `closeTo`
>       undefined should be approximately
>     #start
>       undefined is aliased as `starts`, `startsWith`, `startWith`
>       undefined starts with str
>     #end
>       undefined is aliased as `ends`, `endsWith`, `endWith`
>       undefined ends with str
>     .plan
>       undefined plans the amount of asserts to execute
>       undefined errors on not enough asserts
>       undefined errors on not enough asserts
>       undefined still allows error in the callback
>       undefined throws when not supplied with a callback
>     .wait
>       undefined is and returns a function
>       undefined waits until all callbacks are called
>       undefined allows execution greater than the set wait
>       undefined calls the supplied callback on the first error passed in
>       undefined can plan the assertions in the callbacks
>     type checks
>       undefined .nan
>       undefined .undefined
>       undefined .null
>       undefined .arguments
>       undefined .string
>       undefined .number
>       undefined .array
>       undefined .function
>       undefined .date
>       undefined .error
>       undefined .regexp
>       undefined .boolean
>       1) .buffers
>       undefined .float32arrays
>       undefined .float64arrays
>       undefined .int16arrays
>       undefined .int32arrays
>       undefined .int8arrays
>       undefined .uint16arrays
>       undefined .uint32arrays
>       undefined .uint8arrays
>     .use
>       undefined has a `use` method
>       undefined executes the supplied function
>       undefined exposes helper functions
>       .each
>         undefined iterates over arrays
>         undefined can break out of a array#each
>         undefined iterates over objects
>         undefined can break out of a object#each
>       .format
>         undefined returns a function
>         undefined it replaces the @ with not
>         undefined understands the patterns
> 
>   i
>     .hope
>       .that
>         undefined works
>     .expect
>       .that
>         undefined works
>     .sincerely
>       .hope
>         .that
>           undefined works
> 
>   github issues
>     #2
>       undefined does not throw errors when unspecified properties are accessed
> 
>   environment/language specific tests
>     #generators
>       undefined correctly identifies a generator
>     #rejects
>       undefined is aliased as `rejected`, `rejects`, `throwAsync`, 
> `throwsAsync`, `failAsync`, `failsAsync`
>       undefined Gives success when expected to throw
>       undefined Gives success when expected to not throw
>       undefined Fails expectation when not thrown and expected to throw
>       undefined Fails expectation when thrown and not expected
>       undefined allows pointer to async function
>       undefined works with promises
>       undefined works with successful promises
>     #completedSync
>       undefined is aliased as `resolveSync`, `resolvesSync`, `resolvedSync`, 
> `completeSync`, `completesSync`, `completedSync`
>       undefined succeeds when call is synchronous
>       undefined succeeds when call is asynchronous and expected to be async
>       undefined fails when call is asynchronous and expected to be sync
>       undefined fails when call is synchronous and expected to be async
>       undefined works with promises
>       undefined succeed when rejecting synchronously
>       undefined succeed when rejecting asynchronously and expected to be async
> 
> 
>   164 passing (184ms)
>   1 failing
> 
>   1) Assume
>        type checks
>          .buffers:
>      TypeError: assume(...).is.buffer is not a function
>       at Context.<anonymous> (test/assume.test.js:1294:32)
>       at callFnAsync (/usr/share/nodejs/mocha/lib/runnable.js:394:21)
>       at Runnable.run (/usr/share/nodejs/mocha/lib/runnable.js:338:7)
>       at Runner.runTest (/usr/share/nodejs/mocha/lib/runner.js:677:10)
>       at /usr/share/nodejs/mocha/lib/runner.js:800:12
>       at next (/usr/share/nodejs/mocha/lib/runner.js:592:14)
>       at /usr/share/nodejs/mocha/lib/runner.js:602:7
>       at next (/usr/share/nodejs/mocha/lib/runner.js:485:14)
>       at Immediate._onImmediate (/usr/share/nodejs/mocha/lib/runner.js:570:5)
>       at process.processImmediate (node:internal/timers:478:21)
> 
> 
> 
> dh_auto_test: error: /bin/sh -ex debian/tests/pkg-js/test returned exit code 1


The full build log is available from:
http://qa-logs.debian.net/2024/07/02/node-assume_2.3.0-3_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to