Subject: bug#40819: closed (Re: bug#40819: [core-updates] font-gnu-freefont fails to build)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 24 Apr 2020 16:21:02 +0000

Your bug report

#40819: [core-updates] font-gnu-freefont fails to build

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
40819: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40819
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#40819: [core-updates] font-gnu-freefont fails to build
From: Marius Bakke <[email-masked]>
To: Jack Hill <[email-masked]>, [email-masked]
Date: Fri, 24 Apr 2020 18:20:34 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Jack Hill <[email-masked]> writes:

> Hi Guix,
>
> On the current core-updates branch, font-gnu-freefont fails to build with 
> the attatched build log.
>
> Based on the messages about syntax errors, it looks like gnu-freefont is 
> not compatible with python3, and instead needs python2.

A new version of GNU FreeFont that supports Python 3 is slated for later
this year.  Meanwhile I fixed this by providing an older FontForge in
commit 4affa9182d93c77505c40e95964b8ab9d436298b.

Thanks!

Subject: [core-updates] font-gnu-freefont fails to build
From: Jack Hill <[email-masked]>
To: [email-masked]
Date: Fri, 24 Apr 2020 10:33:27 -0400 (EDT)
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi Guix,

On the current core-updates branch, font-gnu-freefont fails to build with 
the attatched build log.

Based on the messages about syntax errors, it looks like gnu-freefont is 
not compatible with python3, and instead needs python2.

However, we already try to do this in the package definition:

;; replace python 3 with python 2
;; python 3 support commits aren't yet released in 20120503
;; so freefont needs python 2 support in fontforge
(native-inputs `(("fontforge" ,(package (inherit fontforge)
                                  (inputs `(("python-2" ,python-2)
                                  ,@(package-inputs fontforge)))))))

Best,
Jack