From owner-freebsd-ports@freebsd.org Fri Oct 13 03:49:33 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 130EAE3BE90 for ; Fri, 13 Oct 2017 03:49:33 +0000 (UTC) (envelope-from swp04@mathistry.net) Received: from pacmmta56.windstream.net (pacmmta56-sus.windstream.net [162.39.147.247]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C02FB724B3 for ; Fri, 13 Oct 2017 03:49:31 +0000 (UTC) (envelope-from swp04@mathistry.net) Received: from beryllium.local ([98.21.51.179]) by pacmmta56.windstream.net with pacmmta56 id LroP1w00A3ryqQa01roPqc; Thu, 12 Oct 2017 23:48:23 -0400 X-WS-COS: WSOB803 X-Cloudmark-Category: undefined X-Cloudmark-Analysis: v=2.2 cv=Fo/qxyjq c=1 sm=1 tr=0 a=vg5yxnLjwFr4UNCaeqU3QA==:117 a=vg5yxnLjwFr4UNCaeqU3QA==:17 a=IkcTkHD0fZMA:10 a=02M-m0pO-4AA:10 a=a7_CA6RWC-ZUH38yb2QA:9 a=QEXdDO2ut3YA:10 X-Cloudmark-Score: 0.00 X-WS-AID: OTguMjEuNTEuMTc5 Received: from [192.168.1.36] (krypton.local [192.168.1.36]) by beryllium.local (8.15.2/8.15.2) with ESMTP id v9D3mNtw019815; Thu, 12 Oct 2017 23:48:23 -0400 (EDT) (envelope-from swp04@mathistry.net) To: freebsd-ports@freebsd.org, freebsd-ppc@freebsd.org From: Steve Peurifoy Subject: Build failure of gobject-introspection on ppc32 Message-ID: Date: Thu, 12 Oct 2017 23:48:23 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Oct 2017 03:49:33 -0000 On attempting to build x11-wm/xfce4 on an ibook G4 running 11.1-RELEASE with a ports tree updated on 2017/10/04, I encountered a failure indevel/gobject-introspection: ERROR: Failed to re-parse gir file; scanned='/tmp/tmpASp2z3.gir' passthrough='/tmp/tmpMHZdPr.gir' gmake[3]: *** [Makefile:3521: Gio-2.0.gir] Error 1 gmake[3]: Leaving directory '/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.50.0' gmake[2]: *** [Makefile:2810: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.50.0' gmake[1]: *** [Makefile:1570: all] Error 2 gmake[1]: Leaving directory '/usr/ports/devel/gobject-introspection/work/gobject-introspection-1.50.0' ===> Compilation failed unexpectedly. Rifling through the source at giscanner/scannermain.py, one finds that the failure stems from a simple comparison of the two named files and that they do in fact differ in one line (out of ~92,000): *** tmpASp2z3.gir Wed Oct 11 23:24:40 2017 --- tmpMHZdPr.gir Wed Oct 11 23:24:41 2017 *************** *** 45286,45292 **** the new #GIOExtensionPoint. This object is owned by GIO and should not be freed. ! --- 45286,45292 ---- the new #GIOExtensionPoint. This object is owned by GIO and should not be freed. ! The line in the "passthrough" file appears to have a 20 byte blob of alien substring from elsewhere in the file dropped into it. Curiously, the final character of that substring is at offset 0x1fffff in the file. I could be wrong, but I'm having a hard time believing that that's just a coincidence. This is repeatable. Is this port known to be broken on ppc32? Any advice on how best to track it down? My knowledge of python is thus far inadequate to decipher what the function that generates the passthrough file is doing, so I'll have to work on that. I'm not sure the problem isn't at a lower level though. Thanks, -Steve