Subject: bug#24335: Error when invoking usermod while reconfiguring

From: [email-masked] (Ludovic Courtès)
Date: Tue, 30 Aug 2016 17:58:04 +0200

Alex Kost <[email-masked]> skribis:

> Leo Famulari (2016-08-30 08:44 +0300) wrote:
>
>> While reconfiguring my GuixSD system from 1062f2451 (gnu: Add stagit),
>> the process fails as show below.
>>
>> When I revert 2d1a2f4af (system: Add 'create-home-directory?' field to
>> <user-account>) and the associated commit cb58b2cd, the reconfigure
>> completes successfully.
>
> This "... create-home-directory? ..." commit is eb56ee027 actually:
>
> http://git.savannah.gnu.org/cgit/guix.git/commit/?id=eb56ee027b4c6b5682f69fa885d16e55c4495bd8
>
>> [...]
>> In unknown file:
>>    ?: 0 [system* "usermod" "-u" ...]
>>
>> ERROR: In procedure system*:
>> ERROR: Wrong type (expecting string): #t
>
> I think that commit is an ABI-breaking thing.  Try to do "make clean-go"
> and remake the guix checkout again.

Indeed, you’re right.  Sorry for not mentioning it earlier.

Ludo’.