You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/10/13 08:46:00 UTC

[jira] [Commented] (HDDS-11570) HDDS Docs Build Fails with Hugo v0.135.0 on M1 Mac Pro

    [ https://issues.apache.org/jira/browse/HDDS-11570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17888965#comment-17888965 ] 

Attila Doroszlai commented on HDDS-11570:
-----------------------------------------

Thanks [~scolley] for reporting this issue.  Would you like to work on the fix?  I think changing from month name to numeric would be fine.

> HDDS Docs Build Fails with Hugo v0.135.0 on M1 Mac Pro
> ------------------------------------------------------
>
>                 Key: HDDS-11570
>                 URL: https://issues.apache.org/jira/browse/HDDS-11570
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Scolley Huang
>            Priority: Minor
>
> I encountered a build issue while building Ozone on an M1 Max MacBook Pro using the following command:
> {code:java}
> mvn clean install -DskipTests -Dos.arch=x86_64{code}
> Hugo version is v0.135
> {code:java}
> $ hugo version
> hugo v0.135.0-f30603c47f5205e30ef83c70419f57d7eb7175ab darwin/arm64 BuildDate=2024-09-27T13:17:08Z VendorInfo=gohugoio
> {code}
> The Maven build fails specifically at the {{hadoop-hdds-docs}} module with the following error:
> {code:java}
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.4.1:exec (default) on project hdds-docs: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]
> {code}
>  
> After downgrading Hugo to v0.134.3, the build succeeds.
> The root cause seems to be related to the markdown front matter in certain files. For example, the following error occurred:
> {code:java}
> ERROR invalid front matter: date: 2020-October-22: see /Users/scolley/Desktop/ozone/ozone/hadoop-hdds/docs/content/feature/Quota.zh.md {code}
> By modifying the markdown date format from:
> {code:java}
> date: 2020-October-22{code}
> to
> {code:java}
> date: 2020-10-22{code}
> the build succeeds with Hugo v0.135.0 as well.
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org