Stichting-MINIX-Research-Foundation / minix

Official MINIX sources - Automatically replicated from gerrit.minix3.org
Other
2.99k stars 969 forks source link

bmake malformed conditional error #331

Open Phrunsys opened 2 years ago

Phrunsys commented 2 years ago

Screenshot_2022-02-09_14-17-47

petershh commented 2 years ago

Hello,

Which version of debian and bmake are you using?

Phrunsys commented 2 years ago

Debian 11 but I also tried on debian 8. Everything failed

On Wed, Feb 9, 2022, 10:33 PM Peter @.***> wrote:

Hello,

Which version of debian and bmake are you using?

— Reply to this email directly, view it on GitHub https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/331#issuecomment-1034120795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXII3P6DUMZKEQHGF5DGMG3U2K6QZANCNFSM5N6NG36Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

Phrunsys commented 2 years ago

i tried changing my make. i tried on debian 11 x86-64 then debian 8 i386 using the latest make and bmake all failed

petershh commented 2 years ago

Have you tried building with with build.sh?

Phrunsys commented 2 years ago

no, Tell me how i do it now

petershh commented 2 years ago

https://wiki.minix3.org/doku.php?id=developersguide:crosscompiling

Phrunsys commented 2 years ago

error: POZIX regex.h is required

petershh commented 2 years ago

Did you install build dependencies?

Phrunsys commented 2 years ago

Yes

On Wed, Feb 9, 2022, 10:59 PM Peter @.***> wrote:

Did you install build dependencies?

— Reply to this email directly, view it on GitHub https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/331#issuecomment-1034141254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXII3P2H3HY2Y2FWEXPQ3T3U2LBSFANCNFSM5N6NG36Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

petershh commented 2 years ago

Can you please attach full output of build.sh invocation?

Phrunsys commented 2 years ago

How do I compile only the basic utilities because it seems I'm downloading Llvm and more other tools during compilation Do I have to close the network ?

On Thu, Feb 10, 2022, 12:51 AM Peter @.***> wrote:

Can you please attach full output of build.sh invocation?

— Reply to this email directly, view it on GitHub https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/331#issuecomment-1034225631, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXII3P2LQH2PEKMB7GI4TW3U2LOVDANCNFSM5N6NG36Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

petershh commented 2 years ago

Build process involves compiling cross-compiler which in turn will build Minix system. This is expected behaviour.

Phrunsys commented 2 years ago

So why not GCC ?

On Thu, Feb 10, 2022, 2:14 PM Peter @.***> wrote:

Build process involves compiling cross-compiler which in turn will build Minix system. This is expected behaviour.

— Reply to this email directly, view it on GitHub https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/331#issuecomment-1034793928, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXII3P33XNCGEQACAIFHLBLU2OMZLANCNFSM5N6NG36Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

petershh commented 2 years ago

Because of licensing issues - gcc is distributed under GNU GPL, and Minix is BSD licensed

stux2000 commented 2 years ago

Hi Phrunsys,

Thank you for your interest in Minix. To answer your question briefly: gcc isn't used primarily for licensing but also some technical reasons. However, since this is the github issues system, I'd request that the discussion centers around your original bmake issue.

That said, this issue seems to center more about the usage of bmake and how to build parts of Minix than a specific problem with the Minix build tools. Instead, I would highly recommend posting any questions related to this matter on the google groups mailing list: https://groups.google.com/g/minix3

Thanks, -stux

Phrunsys commented 2 years ago

I get but it's taking longer cross compiling.

On Thu, Feb 10, 2022, 3:06 PM stux2000 @.***> wrote:

Hi Phrunsys,

Thank you for your interest in Minix. To answer your question briefly: gcc isn't used primarily for licensing but also some technical reasons. However, since this is the github issues system, I'd request that the discussion centers around your original bmake issue.

That said, this issue seems to center more about the usage of bmake and how to build parts of Minix than a specific problem with the Minix build tools. Instead, I would highly recommend posting any questions related to this matter on the google groups mailing list: https://groups.google.com/g/minix3

Thanks, -stux

— Reply to this email directly, view it on GitHub https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/331#issuecomment-1034844227, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXII3P2I6KMKB44G3PM6S4DU2OS3BANCNFSM5N6NG36Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

Phrunsys commented 2 years ago

Ok. So if I get clang locally installed before building minix. Do I save trouble and time of building Clang ?

On Thu, Feb 10, 2022, 3:17 PM Phrunsys Emmason < @.***> wrote:

I get but it's taking longer cross compiling.

On Thu, Feb 10, 2022, 3:06 PM stux2000 @.***> wrote:

Hi Phrunsys,

Thank you for your interest in Minix. To answer your question briefly: gcc isn't used primarily for licensing but also some technical reasons. However, since this is the github issues system, I'd request that the discussion centers around your original bmake issue.

That said, this issue seems to center more about the usage of bmake and how to build parts of Minix than a specific problem with the Minix build tools. Instead, I would highly recommend posting any questions related to this matter on the google groups mailing list: https://groups.google.com/g/minix3

Thanks, -stux

— Reply to this email directly, view it on GitHub https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/331#issuecomment-1034844227, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXII3P2I6KMKB44G3PM6S4DU2OS3BANCNFSM5N6NG36Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

petershh commented 2 years ago

1) No 2) As stux said, please post general questions on building minix in minix google group. I think this bmake issue is resolved and issue may be closed.

Phrunsys commented 2 years ago

The malformed conditional issue was resolved by; for var in ${list} Not; for var in list As it's how it comes written from the repo. Kindly update those loops.

On Thu, Feb 10, 2022, 4:57 PM Peter @.***> wrote:

  1. No
  2. As stux said, please post general questions on building minix in minix google group. I think this bmake issue is resolved and issue may be closed.

— Reply to this email directly, view it on GitHub https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/331#issuecomment-1034951654, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXII3PZUP4DSCC2FRYX47JLU2O73HANCNFSM5N6NG36Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

dcvmoole commented 2 years ago

Kindly update those loops.

Hello. It appears you are trying to report a bug for MINIX 3.2.1. Can you also reproduce the issue with the latest MINIX version (3.4.0-rc6)? MINIX 3.2.1 has been released already, a long time ago, and is no longer subject to bug fixes.

Phrunsys commented 2 years ago

That malformed issues still stands when you directly call bmake. Cross Compilation via script works but a manual ivokation of bmake from the source tree fails

On Mon, Feb 14, 2022, 2:12 PM David van Moolenbroek < @.***> wrote:

Kindly update those loops.

Hello. It appears you are trying to report a bug for MINIX 3.2.1. Can you also reproduce the issue with the latest MINIX version (3.4.0-rc6)? MINIX 3.2.1 has been released already, a long time ago, and is no longer subject to bug fixes.

— Reply to this email directly, view it on GitHub https://github.com/Stichting-MINIX-Research-Foundation/minix/issues/331#issuecomment-1038957833, or unsubscribe https://github.com/notifications/unsubscribe-auth/AXII3P4O53HSF7P4XLVTGQ3U3DPRVANCNFSM5N6NG36Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.*** com>

dcvmoole commented 2 years ago

That malformed issues still stands when you directly call bmake.

What made you invoke bmake directly from the cross-compilation host system? Is there documentation that lists that as a step to perform? If so, could you please link that here?