[Pkg-javascript-devel] Bug#1026692: underscore: FTBFS: make[1]: *** [debian/rules:21: override_dh_auto_build] Error 1

Lucas Nussbaum lucas at debian.org
Tue Dec 20 17:37:48 GMT 2022


Source: underscore
Version: 1.13.4~dfsg+~1.11.4-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> uglifyjs --compress --mangle \
> 	--source-map \
> 	--output underscore.min.js \
> 	underscore.js
> pigz --force --keep -11 -- underscore.min.js underscore.min.js.map
> brotli --force --keep --best -- underscore.min.js underscore.min.js.map
> rollup -f commonjs -o underscore-esm.cjs underscore-esm.js
> 
> underscore-esm.js → underscore-esm.cjs...
> (!) Mixing named and default exports
> https://rollupjs.org/guide/en/#outputexports
> The following entry modules are using named and default exports together:
> underscore-esm.js
> 
> Consumers of your bundle will have to use chunk.default to access their default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
> created underscore-esm.cjs in 382ms
> rollup -c
> 
> modules/index-all.js → underscore-esm.js...
> created underscore-esm.js in 578ms
> 
> modules/index-default.js → underscore-umd.js...
> created underscore-umd.js in 439ms
> 
> modules/index-default.js, modules/index-all.js → ....
> created . in 440ms
> 
> modules/_baseCreate.js, modules/_baseIteratee.js, modules/_cb.js, modules/_chainResult.js, modules/_collectNonEnumProps.js, modules/_createAssigner.js, modules/_createEscaper.js, modules/_createIndexFinder.js, modules/_createPredicateIndexFinder.js, modules/_createReduce.js, modules/_createSizePropertyCheck.js, modules/_deepGet.js, modules/_escapeMap.js, modules/_executeBound.js, modules/_flatten.js, modules/_getByteLength.js, modules/_getLength.js, modules/_group.js, modules/_has.js, modules/_hasObjectTag.js, modules/_isArrayLike.js, modules/_isBufferLike.js, modules/_keyInObj.js, modules/_methodFingerprint.js, modules/_optimizeCb.js, modules/_setup.js, modules/_shallowProperty.js, modules/_stringTagBug.js, modules/_tagTester.js, modules/_toBufferView.js, modules/_toPath.js, modules/_unescapeMap.js, modules/after.js, modules/allKeys.js, modules/before.js, modules/bind.js, modules/bindAll.js, modules/chain.js, modules/chunk.js, modules/clone.js, modules/compact.js, modules/compose.js, modules/constant.js, modules/contains.js, modules/countBy.js, modules/create.js, modules/debounce.js, modules/defaults.js, modules/defer.js, modules/delay.js, modules/difference.js, modules/each.js, modules/escape.js, modules/every.js, modules/extend.js, modules/extendOwn.js, modules/filter.js, modules/find.js, modules/findIndex.js, modules/findKey.js, modules/findLastIndex.js, modules/findWhere.js, modules/first.js, modules/flatten.js, modules/functions.js, modules/get.js, modules/groupBy.js, modules/has.js, modules/identity.js, modules/index-default.js, modules/index.js, modules/indexBy.js, modules/indexOf.js, modules/initial.js, modules/intersection.js, modules/invert.js, modules/invoke.js, modules/isArguments.js, modules/isArray.js, modules/isArrayBuffer.js, modules/isBoolean.js, modules/isDataView.js, modules/isDate.js, modules/isElement.js, modules/isEmpty.js, modules/isEqual.js, modules/isError.js, modules/isFinite.js, modules/isFunction.js, modules/isMap.js, modules/isMatch.js, modules/isNaN.js, modules/isNull.js, modules/isNumber.js, modules/isObject.js, modules/isRegExp.js, modules/isSet.js, modules/isString.js, modules/isSymbol.js, modules/isTypedArray.js, modules/isUndefined.js, modules/isWeakMap.js, modules/isWeakSet.js, modules/iteratee.js, modules/keys.js, modules/last.js, modules/lastIndexOf.js, modules/map.js, modules/mapObject.js, modules/matcher.js, modules/max.js, modules/memoize.js, modules/min.js, modules/mixin.js, modules/negate.js, modules/noop.js, modules/now.js, modules/object.js, modules/omit.js, modules/once.js, modules/pairs.js, modules/partial.js, modules/partition.js, modules/pick.js, modules/pluck.js, modules/property.js, modules/propertyOf.js, modules/random.js, modules/range.js, modules/reduce.js, modules/reduceRight.js, modules/reject.js, modules/rest.js, modules/restArguments.js, modules/result.js, modules/sample.js, modules/shuffle.js, modules/size.js, modules/some.js, modules/sortBy.js, modules/sortedIndex.js, modules/tap.js, modules/template.js, modules/templateSettings.js, modules/throttle.js, modules/times.js, modules/toArray.js, modules/toPath.js, modules/underscore-array-methods.js, modules/underscore.js, modules/unescape.js, modules/union.js, modules/uniq.js, modules/uniqueId.js, modules/unzip.js, modules/values.js, modules/where.js, modules/without.js, modules/wrap.js, modules/zip.js → amd, cjs...
> (!) The "preserveModules" option is deprecated. Use the "output.preserveModules" option instead.
> (!) Mixing named and default exports
> https://rollupjs.org/guide/en/#outputexports
> The following entry modules are using named and default exports together:
> modules/index.js
> modules/index.js
> 
> Consumers of your bundle will have to use chunk.default to access their default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
> [!] RollupError: Invalid substitution "../../underscore-1.13.4~dfsg_~1.11.4/modules/_baseCreate" for placeholder "[name]" in "output.entryFileNames" pattern, can be neither absolute nor relative path.
>     at error (/usr/share/nodejs/rollup/dist/shared/rollup.js:243:30)
>     at /usr/share/nodejs/rollup/dist/shared/rollup.js:15276:20
>     at String.replace (<anonymous>)
>     at renderNamePattern (/usr/share/nodejs/rollup/dist/shared/rollup.js:15270:20)
>     at Chunk.getPreliminaryFileName (/usr/share/nodejs/rollup/dist/shared/rollup.js:15561:24)
>     at reserveEntryChunksInBundle (/usr/share/nodejs/rollup/dist/shared/rollup.js:16869:19)
>     at renderChunks (/usr/share/nodejs/rollup/dist/shared/rollup.js:16855:5)
>     at Bundle.generate (/usr/share/nodejs/rollup/dist/shared/rollup.js:17069:19)
>     at async /usr/share/nodejs/rollup/dist/shared/rollup.js:25177:27
>     at async catchUnfinishedHookActions (/usr/share/nodejs/rollup/dist/shared/rollup.js:24315:20)
> 
> 
> make[1]: *** [debian/rules:21: override_dh_auto_build] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/12/20/underscore_1.13.4~dfsg+~1.11.4-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221220;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221220&fusertaguser=lucas@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.



More information about the Pkg-javascript-devel mailing list