[Debichem-devel] Bug#1061639: FTBFS on riscv64: tries to uses rdcycle, privileged since kernel 6.6

Aurelien Jarno aurel32 at debian.org
Sat Jan 27 20:00:28 GMT 2024


Source: gromacs
Version: 2023.3-1
Severity: important
Tags: ftbfs patch upstream
User: debian-riscv at lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv at lists.debian.org

Dear maintainer,

Since the build daemons have been upgraded to kernel 6.6, gromacs FTBFS
with SIGILL in the testsuite:

| 69% tests passed, 26 tests failed out of 83
| 
| Label Time Summary:
| GTest              = 156.25 sec*proc (81 tests)
| IntegrationTest    =  44.87 sec*proc (25 tests)
| MpiTest            =  21.70 sec*proc (19 tests)
| QuickGpuTest       =  25.14 sec*proc (17 tests)
| SlowGpuTest        =  26.10 sec*proc (14 tests)
| SlowTest           =  99.77 sec*proc (13 tests)
| UnitTest           =  11.62 sec*proc (43 tests)
| 
| Total Test time (real) = 156.87 sec
| 
| The following tests FAILED:
| 	  1 - GmxapiExternalInterfaceTests (ILLEGAL)
| 	  4 - NbLibSamplesTestArgon (ILLEGAL)
| 	  5 - NbLibSamplesTestMethaneWater (ILLEGAL)
| 	  8 - NbLibTprTests (ILLEGAL)
| 	  9 - NbLibIntegrationTests (ILLEGAL)
| 	 42 - GmxTimingTests (ILLEGAL)
| 	 60 - MdrunOutputTests (ILLEGAL)
| 	 61 - MdrunModulesTests (ILLEGAL)
| 	 62 - MdrunIOTests (ILLEGAL)
| 	 63 - MdrunTestsOneRank (ILLEGAL)
| 	 64 - MdrunTestsTwoRanks (ILLEGAL)
| 	 65 - MdrunSingleRankAlgorithmsTests (ILLEGAL)
| 	 66 - MdrunNonIntegratorTests (ILLEGAL)
| 	 67 - MdrunTpiTests (ILLEGAL)
| 	 68 - MdrunMpiTests (ILLEGAL)
| 	 72 - MdrunMpi1RankPmeTests (ILLEGAL)
| 	 73 - MdrunMpi2RankPmeTests (ILLEGAL)
| 	 74 - MdrunCoordinationBasicTests1Rank (ILLEGAL)
| 	 75 - MdrunCoordinationBasicTests2Ranks (ILLEGAL)
| 	 76 - MdrunCoordinationCouplingTests1Rank (ILLEGAL)
| 	 77 - MdrunCoordinationCouplingTests2Ranks (ILLEGAL)
| 	 78 - MdrunCoordinationConstraintsTests1Rank (ILLEGAL)
| 	 79 - MdrunCoordinationConstraintsTests2Ranks (ILLEGAL)
| 	 80 - MdrunFEPTests (ILLEGAL)
| 	 81 - MdrunPullTests (ILLEGAL)
| 	 83 - MdrunVirtualSiteTests (ILLEGAL)
| Errors while running CTest
| make: *** [debian/rules:113: build-basic] Error 8
| dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2

A full build log is available here:
https://buildd.debian.org/status/fetch.php?pkg=gromacs&arch=riscv64&ver=2023.3-1%2Bb1&stamp=1706327375&raw=0

This happens because the rdcycle instruction has been changed to a
privileged instruction starting with this kernel version.

A patch to fix the issue has been submitted upstream [1]. Would it be
possible to include it in the next upload?

Thanks
Aurelien

[1] https://gitlab.com/gromacs/gromacs/-/merge_requests/4040



More information about the Debichem-devel mailing list