Skip to content

[24.05] vm-tools broken on 6.6 #355369

@motiejus

Description

@motiejus

Describe the bug

#354567 upgraded a Linux kernel patch version in 09b8649, which broke linux-tools on 6.6:

Nov 12 09:02:56 fwminex deployerbot-start[1092534]: error: builder for '/nix/store/jnyj3aayfcz7mjlq8b2959iz0f184rn2-mm-tools-6.6.60.drv' failed with exit code 2;
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        last 10 log lines:
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        > page-types.c:424:49: error: expected ';' before 'if'
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        >   424 |                 printf("@%" PRIu64 "\t", cgroup)
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        >       |                                                 ^
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        >       |                                                 ;
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        >   425 |         if (opt_list_mapcnt)
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        >       |         ~~
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        > page-types.c:417:65: warning: unused parameter 'mapcnt' [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-parameter-Wunused-parameter8;;]
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        >   417 |                       uint64_t flags, uint64_t cgroup, uint64_t mapcnt)
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        >       |                                                        ~~~~~~~~~^~~~~~
Nov 12 09:02:56 fwminex deployerbot-start[1092534]:        > make: *** [Makefile:22: page-types] Error 1

If I revert this commit, it works again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions