Hi,

This is due to the lack of python libraries called distutils in my environment.
`distutils` has been removed since python 3.12, so this might be an
issue for beginners.
I have fixed it by `brew install python-setuptools` [1].
I suggest we add the basic requirement for building from source code
to the documentation.


[1] 
https://stackoverflow.com/questions/77251296/distutils-not-found-when-running-npm-install

On Thu, Aug 15, 2024 at 4:15 PM Jianbin Chen <jian...@apache.org> wrote:
>
> It may be related to your network and the version of npm. My npm version is
> 9.6.7. You need to check if you can connect to registry.npmmirror.com
> properly.
>
> Best Regards.
> Jianbin Chen, githubId: funky-eyes
>
> Huxing Zhang <hux...@apache.org> 于 2024年8月14日周三 22:12写道:
>
> > Hi,
> >
> > When I am trying to build from source code using:
> >  mvn clean package -DskipTests=true -Parrch64
> >
> > I get the following error:
> > ...
> > [INFO] Seata bom 2.1.0 .................................... SUCCESS [
> > 0.025 s]
> > [INFO] seata-config-all 2.1.0 ............................. SUCCESS [
> > 0.303 s]
> > [INFO] seata-console 2.1.0 ................................ FAILURE [
> > 34.835 s]
> > [INFO] Seata dependencies 2.1.0 ........................... SKIPPED
> > [INFO] seata-discovery-all 2.1.0 .......................... SKIPPED
> > [INFO] seata-distribution 2.1.0 ........................... SKIPPED
> > [INFO] seata-dubbo 2.1.0 .................................. SKIPPED
> > [INFO] seata-spring-autoconfigure 2.1.0 ................... SKIPPED
> > [INFO] seata-spring-autoconfigure-core 2.1.0 .............. SKIPPED
> > [INFO] seata-spring-autoconfigure-server 2.1.0 ............ SKIPPED
> > [INFO] seata-metrics-core 2.1.0 ........................... SKIPPED
> > [INFO] seata-metrics-registry-compact 2.1.0 ............... SKIPPED
> > [INFO] seata-metrics-exporter-prometheus 2.1.0 ............ SKIPPED
> > [INFO] seata-metrics-all 2.1.0 ............................ SKIPPED
> > [INFO] seata-server 2.1.0 ................................. SKIPPED
> > [INFO] seata-mock-server 2.1.0 ............................ SKIPPED
> > [INFO] seata-test 2.1.0 ................................... SKIPPED
> > [INFO] seata-spring-autoconfigure-client 2.1.0 ............ SKIPPED
> > [INFO] seata-spring-boot-starter 2.1.0 .................... SKIPPED
> > [INFO] apm-seata-skywalking-plugin 2.1.0 .................. SKIPPED
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time:  02:03 min
> > [INFO] Finished at: 2024-08-14T22:00:56+08:00
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > com.github.eirslett:frontend-maven-plugin:1.15.0:npm (npm install) on
> > project seata-console: Failed to run task: 'npm install
> > --registry=https://registry.npmmirror.com/' failed.
> > org.apache.commons.exec.ExecuteException: Process exited with an
> > error: 1 (Exit value: 1) -> [Help 1]
> > [ERROR]
> > [ERROR] To see the full stack trace of the errors, re-run Maven with
> > the -e switch.
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > [ERROR]
> > [ERROR] For more information about the errors and possible solutions,
> > please read the following articles:
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> > [ERROR]
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > [ERROR]   mvn <args> -rf :seata-console
> >
> > Any ideas?
> >
> > On Fri, Aug 9, 2024 at 9:44 PM Min Ji <ji...@apache.org> wrote:
> > >
> > > Hello,
> > >
> > > This is a call for vote to release Apache Seata(incubating) 2.1.0-RC5.
> > > This is the first release of Apache Seata(incubating).
> > >
> > > The vote thread:
> > > https://lists.apache.org/thread/rwco6lms9qo10whjj8gg1dr8j7drl2gf
> > >
> > > Vote Result:
> > > https://lists.apache.org/thread/ybo9c5hrx2h2glg2bdgs3t22xg734y7r
> > >
> > > The release candidates:
> > >
> > https://dist.apache.org/repos/dist/dev/incubator/seata/incubator-seata/2.1.0-RC5/
> > >
> > > The staging repo:
> > > https://repository.apache.org/content/repositories/orgapacheseata-1132/
> > >
> > > Git tag for the release:
> > > https://github.com/apache/incubator-seata/releases/tag/v2.1.0
> > >
> > > Git commit id for the release:
> > >
> > https://github.com/apache/incubator-seata/commit/c2c6ad4815b0633cee957dc0ac36857cc3ae602b
> > >
> > > Release Notes:
> > > https://github.com/apache/incubator-seata/releases/tag/v2.1.0
> > >
> > > The artifacts have been signed with Key [ 9FA7635C ], corresponding to
> > > [ ji...@apache.org ]
> > > which can be found in the keys file:
> > > https://downloads.apache.org/incubator/seata/KEYS
> > >
> > > Build Environment: JDK 8+, Apache Maven 3.6.0+.
> > >  - osx_aarch64: ./mvnw clean package -DskipTests=true -Parrch64
> > >  - osx-x86_64/other:  ./mvnw clean package -DskipTests=true
> > >
> > > CI Test Workflow:
> > >
> > https://github.com/apache/incubator-seata/actions/runs/10125262393/job/28000538210
> > >
> > > The vote will be open for at least 72 hours.
> > >
> > > Please vote accordingly:
> > >
> > > [ ] +1 approve
> > > [ ] +0 no opinion
> > > [ ] -1 disapprove with the reason
> > >
> > > Checklist for reference:
> > > [ ] Download links are valid.
> > > [ ] Checksums and signatures.
> > > [ ] LICENSE/NOTICE files exist
> > > [ ] No unexpected binary files
> > > [ ] All source files have ASF headers
> > > [ ] Can compile from source
> > >
> > > To learn more about Apache Seata , please see https://seata.apache.org/
> > >
> > >
> > > Warm regards,
> > >
> > > Ji Min
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> > > For additional commands, e-mail: general-h...@incubator.apache.org
> > >
> >
> >
> > --
> > Best Regards!
> > Huxing
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
> > For additional commands, e-mail: general-h...@incubator.apache.org
> >
> >



-- 
Best Regards!
Huxing

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org

Reply via email to