From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-eopbgr760132.outbound.protection.outlook.com [40.107.76.132]) by sourceware.org (Postfix) with ESMTPS id BEDFD383F86D for ; Wed, 20 May 2020 14:50:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BEDFD383F86D ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=esuNSjkc2VhpX472mIE1wg0YeqRiEU4J+YceZDQbtEVtz/UnB+lEYlQyAgL9qNLHdVOBXxaZ+8fhOSISwXIUF/EimGausrQiktZQ0XbXZ8SrGVXvWgMI0mZL/kk+EazMM0sSie14QHH0nKlI4bTitPNy56io3yCxbJCovEUQMfEUEHjx15TH+b5uY94FR1ek+YptTRBZaB7p0uFC0qKKly/TKdcRFqgG9H5VSEl5FD+glaS0k2bVueJCpU3ZkW2zrSGZnQ4Y73qQ9mTpgLzlNPgfC2QHgUCMl8wnx+dH/xD08WkxaqDFj+ZuC/Yzec/VcZQQ6s5IsuqRmW6bIMlFiA== 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=Zb+uR2h8VioPTAjsKvz2T67zxyknAXHxxOHl1T3XkI4=; b=gukI2pzIJPGZKZlaKKv5Pj1FLFq6FBV8OxWTfII4QsduERAVVUqsFPJnKxzCEC843p3oj4zDy2+qRsYvoFsphJh/I2qatwTAZ/jM8X4TehaX2zxoutiBpFEEr5JLW4Ei8p/3xYvaMsNWnvJT37O1dFis4fq7BKkeRfOaX6KH9lvDBkeoin2mk08k251Sd5hG1jd7hy/T1c+Ck4dqe+iDyhGevfO6tUaqFqc7m0vOwUCFPTNsgz0Lycav03Z1S7tfGo+lhuDvYqSjRPUXvxFt/TDDt5+7XfM3EBHBiqvdtBjQB27y2j98E/gyw0m6xZXqppn2ZnSWeqsKgmd8Uhuq1A== 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 DM6PR04MB4491.namprd04.prod.outlook.com (2603:10b6:5:1f::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.31; Wed, 20 May 2020 14:50:37 +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; Wed, 20 May 2020 14:50:37 +0000 Subject: Re: Help needed with gobject-introspection To: cygwin-apps@cygwin.com References: <2c0802e9-e66c-768e-61f2-f2797acc1acb@cornell.edu> From: Ken Brown Message-ID: <78ad982d-8cab-323d-8bc5-682f3f2bc11f@cornell.edu> Date: Wed, 20 May 2020 10:50:34 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 In-Reply-To: <2c0802e9-e66c-768e-61f2-f2797acc1acb@cornell.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: BL0PR02CA0025.namprd02.prod.outlook.com (2603:10b6:207:3c::38) 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 BL0PR02CA0025.namprd02.prod.outlook.com (2603:10b6:207:3c::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Wed, 20 May 2020 14:50:36 +0000 X-Originating-IP: [68.175.129.7] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4ebff69b-4528-4dd7-9d4e-08d7fccd2856 X-MS-TrafficTypeDiagnostic: DM6PR04MB4491: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4941; X-Forefront-PRVS: 04097B7F7F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mHYnh/cQoSefe9idMsIbfgqGo53rHz2MC//MmHuGm3nG7WAvCA2tmPPT+191FxA4o6HIzDnl9F9DCYuK0jkVwMZxeOE6CrWGxMDAsX5oNqqdhIpanb0HQmOZctCDR9wY9qeS0UwSK3YlnVkG0eMx/5XKVPNRUxgbRlIuV1XTLmIujKsDbVLEnCTwFlQdRs2PPzFC3daJShsCBLsLbBS02DRIEfga8p3eqdNKYOr3hFDpn54yQg2AEpEeHjvENF0oL1hE57pM58N5FYeWRX4ocW/GK9fIC6p5ur0p5YFmJpq++fRyakccYAFUdOIiRiqEnjN/LX6h41/vis3OgTtTpzXsKl3KltQWy2Rf+hhJmTCg3574wzp2+StsghEkFj7P8s5+uCckJWgQTmFNNxdxB25hulhLwy8L4EQ+bro1xqEZsyrZLaAmhEjXE5RgDHPwb/Uxj1DLz1wB+m36AbDMCf2PhPNZTzYIeOcPzXN4tsqWZToSwC5kiVOI7u37SvVKaTH8nLk+YIniCEUG5a33+Q== 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)(346002)(376002)(366004)(136003)(39860400002)(396003)(75432002)(186003)(26005)(16576012)(16526019)(2616005)(6486002)(786003)(956004)(316002)(478600001)(52116002)(5660300002)(66556008)(66476007)(36756003)(86362001)(66946007)(2906002)(31696002)(53546011)(31686004)(8936002)(6916009)(8676002)(43740500002)(460985005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: b0V9z6edQQZaWaCg7BI774ORjY1y3FW9RmcpQVGsKJPR5+eANntBzpUd1wvH4UNSgcrbaTkwjAPolJAqIS8+ZyOqnEl7I+hVlZFrUhUDV2c+2nsrUrGgPwJedsd7a2rP3iongORJ8fegpxNfbxrc+hCpknXK+qfx9Om17SajPp4dsZMXFjZduUl4jOgDQulRdT3JGGCnwo55HFb0e5F5SunjsisZSCs/SGcBzhYbosvcj2NC8JhR1iK3obC82BB0OunIsaLCUj/SSyPGLWloL8Q1/Ye9/A3Pp99j6qC3e7fjegJ5hMf9PgFSCNYzK1DsiIQuHQj65XPDmKQ8d4bMOMe1nzqpxzPXHNKPWRiCI90V4G7OAB5iGq0Ngvh10cLnm5dPkL1QVig7FhAR98uuR/kSjDKMCVbaWK9pIrZthYUOQa1X8mpgJGTEL8n6vGwDP/xQ7hEVURN8J13T53jU2NuoN/W9km/Ph67Dp+dwS00= X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 4ebff69b-4528-4dd7-9d4e-08d7fccd2856 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 May 2020 14:50:37.6052 (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: sjqQSlUVnL9dsIs4QDaHbvKERUTeCix9a/XP9jCWP+krjIaMsE/krYfEtyZYBF/1DElhdU3hKxsbm8lPaoDQKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB4491 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_INVALID, DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no 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: Wed, 20 May 2020 14:50:40 -0000 On 5/19/2020 7:04 PM, Ken Brown via Cygwin-apps wrote: > 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. By the way, in case you're wondering why I disabled the building of docs, it's because I was getting a build failure there too. I don't know if this is related to the introspection failure. The failing command there is /usr/bin/meson --internal exe --unpickle /tmp/cygbabl/babl-0.1.74-2.x86_64/src/babl-0.1.74/x86_64-pc-cygwin/meson-private/meson_exe_env_7bf39b99114d34540b83d26a5d8f097e05882836.dat cp: target 'docs/index.html.tmp' is not a directory I don't know why it's not showing me the actual cp command that fails. The corresponding information in docs/meson.build is Reference_html = custom_target('Reference.html', input : [ 'Reference-static.html', 'toc', index_html_tmp, ], output: [ 'Reference.html', ], command: [ env_bin, 'cp', '@INPUT0@', '@OUTPUT@', '&&', xml_insert, '@OUTPUT@', 'TOC', '@INPUT1@', '&&', xml_insert, '@OUTPUT@', 'BablBase', '@INPUT2@', ], build_by_default: true, ) There are several such custom targets in the file, and for all except this one, I see the actual cp command in the log. This is the only one for which meson generates a 'meson --unpickle' command instead of a cp command. Ken