There is not currently a way using the `pkg` command, unfortunately. I posted a hacky way to do it in another thread: https://lists.apache.org/thread.html/r7adb9b427ed9651c6a0d6cf722d17412e55da4dbecb5985bc622e674%40%3Cdev.trafficcontrol.apache.org%3E
Does the Traffic Portal RPM build successfully for you now? -Zach On Fri, Apr 9, 2021 at 11:56 AM Hank Beatty <[email protected]> wrote: > Is there a way to use docker-compose so that all components can be built > in parallel instead of in serial? > > On 4/9/21 1:40 PM, Zach Hoffman wrote: > >> That's the command for CentOS 7? > > > > It is not, CentOS 7 is > > > > ./pkg -v -7 traffic_portal_build > > > > The command for CentOS 7 builds the Traffic Portal RPM successfully for > me, > > as well, using > > > https://dist.apache.org/repos/dist/dev/trafficcontrol/5.1.2/RC2/apache-trafficcontrol-5.1.2.tar.gz > > as sources. > > > > -Zach > > > > On Fri, Apr 9, 2021 at 11:18 AM Hank Beatty <[email protected]> wrote: > > > >> That's the command for CentOS 7? > >> > >> On 4/9/21 1:03 PM, Zach Hoffman wrote: > >>>> -1 The traffic_portal rpm does not build for me. > >>> I'm having trouble reproducing this, the Traffic Portal RPM built > >>> successfully for me when building using > >>> > >>> ./pkg -v traffic_portal_build > >>> > >>> using > >>> > >> > https://dist.apache.org/repos/dist/dev/trafficcontrol/5.1.2/RC2/apache-trafficcontrol-5.1.2.tar.gz > >>> as sources. > >>> > >>> -Zach > >>> > >>> On Fri, Apr 9, 2021 at 10:56 AM Hank Beatty <[email protected]> > wrote: > >>> > >>>> -1 The traffic_portal rpm does not build for me. > >>>> > >>>> /usr/lib/node_modules/grunt-cli/node_modules/micromatch/index.js:44 > >>>> let isMatch = picomatch(String(patterns[i]), { ...options, > >> onResult > >>>> }, true); > >>>> ^^^ > >>>> > >>>> SyntaxError: Unexpected token ... > >>>> at createScript (vm.js:56:10) > >>>> at Object.runInThisContext (vm.js:97:10) > >>>> at Module._compile (module.js:549:28) > >>>> at Object.Module._extensions..js (module.js:586:10) > >>>> at Module.load (module.js:494:32) > >>>> at tryModuleLoad (module.js:453:12) > >>>> at Function.Module._load (module.js:445:3) > >>>> at Module.require (module.js:504:17) > >>>> at require (internal/module.js:20:19) > >>>> at Object.<anonymous> > >>>> > >> > (/usr/lib/node_modules/grunt-cli/node_modules/findup-sync/index.js:12:10) > >>>> error: Bad exit status from /var/tmp/rpm-tmp.9gsYil (%build) > >>>> > >>>> > >>>> RPM build errors: > >>>> Bad exit status from /var/tmp/rpm-tmp.9gsYil (%build) > >>>> RPM BUILD FAILED: 1 > >>>> Error on line 1 of traffic_portal/build/build_rpm.sh > >>>> traffic_portal failed: traffic_portal/build/build_rpm.sh > >>>> The following subdirectories had errors: > >>>> traffic_portal > >>>> Error on line 1 of ./build/build.sh > >>>> > >>>> > >>>> > >>>> On 4/7/21 12:11 PM, ocket 8888 wrote: > >>>>> Hello All, > >>>>> > >>>>> I've prepared a release for v5.1.2-RC2 > >>>>> > >>>>> The vote is open for at least 72 hours and passes if a majority of at > >>>> least > >>>>> 3 +1 PMC votes are cast. > >>>>> > >>>>> [ ] +1 Approve the release > >>>>> [ ] -1 Do not release this package because ... > >>>>> > >>>>> Changes since 5.1.1: > >>>>> > >>>> > >> > https://github.com/apache/trafficcontrol/compare/RELEASE-5.1.1...RELEASE-5.1.2-RC > >>>>> < > >>>> > >> > https://github.com/apache/trafficcontrol/compare/RELEASE-5.1.1...RELEASE-5.1.2-RC1 > >>>>> > >>>>> 2 > >>>>> > >>>>> This corresponds to git: > >>>>> Hash: 924138d143febb66e926f0e6be82b22d450bfbd9 > >>>>> Tag: RELEASE-5.1.2-RC2 > >>>>> > >>>>> Which can be verified with the following: git tag -v > RELEASE-5.1.2-RC2 > >>>>> > >>>>> My code signing key is available here: > >>>>> > >>>> > >> > https://keys.gnupg.net/pks/lookup?search=0xF5D560A373B76FA302A95DBFCDFE430685982C95&fingerprint=on&op=index > >>>>> > >>>>> Make sure you refresh from a key server to get all relevant > signatures. > >>>>> The source .tgz file, pgp signature (.asc signed with my key from > >>>>> above), and sha512 checksums are provided here: > >>>>> https://dist.apache.org/repos/dist/dev/trafficcontrol/5.1.2/RC2 > >>>>> > >>>>> Thanks! > >>>>> ocket8888 [email protected] > >>>>> > >>>> > >>> > >> > > >
