From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2112.outbound.protection.outlook.com [40.107.94.112]) by sourceware.org (Postfix) with ESMTPS id EC6A83840C0C for ; Tue, 19 May 2020 23:04:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EC6A83840C0C ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T8LxFwSSueW8m6kRJcCpoibinto/bIaGHwq4Jbw+xULtoRojt405FmhvjeahXahJCRgRowhjhktddKFMzk41gy3dtWy7879yVs2jf5xjAm4ZRO35m2AMC6eUaAW0bfzQCDz6B2l1lmJG/iwMoBcUhtVKZCCzLb+GoKTcQX6nxGV7wcD+T1HYDiVqMOQiOX8cQ/zy/ox3AbceF7aU5Dg0UGnry9Izb7liGzYj+RRWniy2Qbh03EA2mS0Kba+42LXoqNqQqeIvuCyEhYRTtaVbl/AmviBYYz9PlAPYrXbGPNqteFHk5MYP7DHiwvi0dwgME01VA2SOQieZ3RHr2kK2Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Syf/GNGIVW4nnCuY2KjevtPFIIy3Tt2ZMLpbIr6/xf4=; b=X2xTuWA621fRrTXSbQe4anpBky0xdALLNazqE1wU/xgPOIJVyJPnkXgkNTrmZui2lqxOYkSyWAcvhEeYvK5o8spW6jWYAANUfcqrbiF1OxKaxgtDSGg/JhrLoUXJT6iUdQuz5a6OGQ4kycbJuEBvQXq4BeFuuLTU9OjX5MY2AHqc63PRJM5ZdRAXRIW15UaP/amC8dnhPZtofgAm/3fsoFZcQBsne3c5hlLw4vTh1c/sfEHhhaH/qxr7ybY+R8tpdQQxv+V24BgHY2htq3KFKUl8AS+RGymQOQW3BzbJ4ybsw9BhLh4JkcLak+KjNTpavWba3lQ01jM3R/S1o6NRZw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none Received: from DM6PR04MB6075.namprd04.prod.outlook.com (2603:10b6:5:127::31) by DM6PR04MB4300.namprd04.prod.outlook.com (2603:10b6:5:98::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.27; Tue, 19 May 2020 23:04:52 +0000 Received: from DM6PR04MB6075.namprd04.prod.outlook.com ([fe80::f48b:4e13:94d7:f7c4]) by DM6PR04MB6075.namprd04.prod.outlook.com ([fe80::f48b:4e13:94d7:f7c4%4]) with mapi id 15.20.3000.034; Tue, 19 May 2020 23:04:52 +0000 To: cygwin-apps From: Ken Brown Subject: Help needed with gobject-introspection Message-ID: <2c0802e9-e66c-768e-61f2-f2797acc1acb@cornell.edu> Date: Tue, 19 May 2020 19:04:49 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Content-Type: multipart/mixed; boundary="------------8504670BEA2E7AAAD034CDBF" Content-Language: en-US X-ClientProxiedBy: MN2PR22CA0003.namprd22.prod.outlook.com (2603:10b6:208:238::8) To DM6PR04MB6075.namprd04.prod.outlook.com (2603:10b6:5:127::31) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.17] (68.175.129.7) by MN2PR22CA0003.namprd22.prod.outlook.com (2603:10b6:208:238::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Tue, 19 May 2020 23:04:51 +0000 X-Originating-IP: [68.175.129.7] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a0df6db4-8893-4624-ec13-08d7fc49099a X-MS-TrafficTypeDiagnostic: DM6PR04MB4300: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-Forefront-PRVS: 040866B734 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ElIVZlx+sdUvVluWN3ZQpsCsyE2mDm7hervr1cXdIFTIxPNF6mhTJRPNCYolYR5UMoygZRuEg5nwkyUqE8gMZHbeKSWTkwfBrVN0YNvglt8ei2cuVfKEH0H3lABfu7SeKq4qpND7WVWnIQ5XD7M4XccHJNzKMf2nsK6J9KWkiGq5y6LtDlNR0XRVFNWjQ3SOB4sHu8hltpAgzCDW+cYbSTanQ78mu+oUSjfZbP4AzvS00Z7hbdvQqxGhoXUZylZVfkr1rBlm1rX/E9T9rIRlQX3qqYjooGBoBdmt+1kjV2gzOCJjBAp+Pgu56jHKTXsUv7IpsxNfwJch/Wv21VhxEMoxLgGpQsMM/MrKJyDtcih2lhTFWvnRQZZyRJPDAtp/CRdYhz4stFC7fDGCQxzLS+S6aJvlogbRqvPDD+Rq6HD8AX9wvGn6kS2Bn9KCeW+Fz4/gYq3DRE4T9vJ1wk7vR7WI6Fk759yTqiQ0jLY3Junk3UaZOBdbtPbbT/yNbv29Hebfz0cEgSwQry3DOY7WXA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR04MB6075.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(366004)(39860400002)(376002)(136003)(396003)(346002)(31686004)(31696002)(52116002)(6916009)(8676002)(5660300002)(235185007)(478600001)(8936002)(33964004)(36756003)(2906002)(86362001)(66476007)(26005)(786003)(956004)(186003)(16576012)(75432002)(316002)(6486002)(66556008)(66576008)(66946007)(16526019)(2616005)(43740500002)(460985005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: UdY5JeNCB3xKUnhXfqyEFFh/UVCNm2dCyny24tlwg3iuuB609fnzwpf9TEUv5Pa1P79R4pz5hFjnQG2jDwnc6t2V88SN5Nb5pkzjPgxdjgyF3vZ/NU6VLhUp06nBYwpx+UZhk6P4JXu9WitZ4z4WowJe6BG1TOzxnBrDAaXeENZ832dw3JZ+R0NsCvpWBbRl/D4je/NDOgn72ldEKG0S2gOmWO85S2debiIiwmRclShZFekjdGnBb3tmmoG7KsVCpOK/7UM54CF8Gf0xOxEZaDqWN1ZNkJnIVlNaDKKH12weeWccbZE8JE9vv+2FNraWFJvRf2glAYgHlKI9XAd1vfV6vB916nwCnOpjV9Gd/WPFwRMc3PrIDvkio3+fc+KDH6DdUYLRQO+/jFgpgRAc6ZsFnayGnY0tnMyiUgRSHnrNvvtyA8WvjvWdrITP0PRgKQGoXO9x9RMaCy6MtpC2RCA9vt+kbNWWidNyGzRz4j4= X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: a0df6db4-8893-4624-ec13-08d7fc49099a X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 May 2020 23:04:52.4972 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bxkb2jRwMajzhblRjjiQbBoNzo1LlHiaXBOMK1Mz2kDc7m0N+2jYWBoj1DH5KrMdFwceJf0C/9oqV0JqC1vhVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB4300 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2020 23:04:57 -0000 --------------8504670BEA2E7AAAD034CDBF Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit I would like to adopt gimp and related packages. At the moment I'm having trouble with babl, which is needed for gegl0.4, which is needed for gimp. The problem involves gobject-introspection. If I disable introspection, the build works fine. This would be OK, since babl has been built without introspection for several years. But then the gegl0.4 build complains about the missing babl introspection files, so I would have to disable introspection there too, which hasn't been done in the past. So my preference is to figure out what the problem is and get the babl build working with introspection. I'm attaching my cygport file and patch. Here's the failing command... /usr/bin/g-ir-scanner -I/usr/include/gobject-introspection-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT --no-libtool --namespace=Babl --nsversion=0.1 --warn-all --output babl/Babl-0.1.gir --c-include=babl.h '--identifier-filter-cmd=/usr/bin/python3 /tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/babl/identfilter.py' -DBABL_IS_BEING_COMPILED -I/tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/babl -I/tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/babl -I./. -I../. -I./babl/base/. -I../babl/base/. --filelist=/tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/babl/4170c83@@babl-0.1@sha/Babl_0.1_gir_filelist --cflags-begin -fno-unsafe-math-optimizations -Wdeclaration-after-statement -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -mmmx -msse -mfpmath=sse -I./. -I../. -I./babl/base/. -I../babl/base/. --cflags-end --library babl-0.1 -L/tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/babl --extra-library=m --extra-library=dl --extra-library=lcms2 ...and the error message: g-ir-scanner: link: gcc -o /tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/tmp-introspectCwCaUc/Babl-0.1.exe -ggdb -O2 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -fdebug-prefix-map=/tmp/cygbabl/babl-0.1.74-1.x86_64/build=/usr/src/debug/babl-0.1.74-1 -fdebug-prefix-map=/tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74=/usr/src/debug/babl-0.1.74-1 /tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/tmp-introspectCwCaUc/Babl-0.1.o -L. -lbabl-0.1 -lm -ldl -llcms2 -L/tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/babl -Wl,-rpath,/tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/babl -lgio-2.0 -lgobject-2.0 -Wl,--export-all-symbols -lgmodule-2.0 -lglib-2.0 -lintl ERROR: can't resolve libraries to shared libraries: babl-0.1 I don't understand the error message, because the command line contains -L/tmp/cygbabl/babl-0.1.74-1.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/babl and that directory contains libbabl-0.1.dll.a and cygbabl-0.1-0.dll. I even tried adding that directory to my PATH to make sure the right cygbabl-0.1-0.dll would be found, but that didn't help. Can anyone help? Thanks. Ken --------------8504670BEA2E7AAAD034CDBF Content-Type: text/plain; charset=UTF-8; name="babl.cygport" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="babl.cygport" inherit meson NAME="babl" VERSION=0.1.74 RELEASE=1 CATEGORY="Libs" SUMMARY="Any-to-any pixel format conversion library" DESCRIPTION="Babl is a dynamic, any to any, pixel format conversion library. It provides conversions between the myriad of buffer types images can be stored in. Babl doesn't only help with existing pixel formats, but also facilitates creation of new and uncommon ones." HOMEPAGE="http://www.gegl.org/babl/" SRC_URI="http://download.gimp.org/pub/babl/${VERSION%.*}/babl-${VERSION}.tar.xz" PATCH_URI="0.1.74-cygwin.patch" PKG_NAMES="libbabl0.1_0 libbabl-devel" # girepository-Babl0.1 vala-babl0.1" libbabl0_1_0_SUMMARY="${SUMMARY} (runtime)" libbabl0_1_0_CONTENTS="usr/bin/*-0.1-0.dll usr/lib/babl-0.1/ usr/share/doc/" libbabl_devel_SUMMARY="${SUMMARY} (development)" libbabl_devel_CONTENTS="usr/include/ usr/lib/lib* usr/lib/pkgconfig/" girepository_Babl0_1_SUMMARY="${SUMMARY} (GObject Introspection)" girepository_Babl0_1_CONTENTS="usr/*/gir*/Babl-0.1.*" vala_babl0_1_SUMMARY="${SUMMARY} (Vala bindings)" vala_babl0_1_CONTENTS="usr/share/vala/" CYGMESON_ARGS="-Dwith-docs=false" # CYGMESON_ARGS+=" -Denable-gir=false" --------------8504670BEA2E7AAAD034CDBF Content-Type: text/plain; charset=UTF-8; name="0.1.74-cygwin.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0.1.74-cygwin.patch" --- origsrc/babl-0.1.74/meson.build 2020-01-12 18:26:51.000000000 -0500 +++ src/babl-0.1.74/meson.build 2020-05-18 18:11:58.729959300 -0400 @@ -104,7 +104,6 @@ host_os = host_machine.system() message('Host os: ' + host_os) platform_win32 = (host_os.startswith('mingw') or - host_os.startswith('cygwin') or host_os.startswith('windows')) platform_osx = host_os.startswith('darwin') @@ -118,7 +117,7 @@ platform_android = host_os.contains('and path_sep = ( platform_win32 ? ';' : ':' ) dirs_sep = ( platform_win32 ? '\\\\' : '/' ) -if platform_win32 +if platform_win32 or host_os.startswith('cygwin') lib_ext = '.dll' elif platform_osx lib_ext = '.dylib' @@ -145,7 +144,6 @@ build_os = build_machine.system() message('Build os: ' + build_os) build_platform_win32 = (build_os.startswith('mingw') or - build_os.startswith('cygwin') or build_os.startswith('windows')) # Only run cross compile objects if we have exe wrapper --------------8504670BEA2E7AAAD034CDBF--