From owner-freebsd-ports@freebsd.org Mon Dec 7 17:53:12 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4DD1E4B0128 for ; Mon, 7 Dec 2020 17:53:12 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from gmailer.gwdg.de (gmailer.gwdg.de [134.76.11.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CqWBH2dp8z3Knt for ; Mon, 7 Dec 2020 17:53:11 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-03.um.gwdg.de ([134.76.9.218] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1kmKhA-00062l-JB; Mon, 07 Dec 2020 18:53:08 +0100 Received: from krabat.raven.hur (10.250.9.199) by EXCMBX-03.um.gwdg.de (134.76.9.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2044.4; Mon, 7 Dec 2020 18:53:08 +0100 Subject: Re: textproc/cast2gif not compiling on i386 To: Nuno Teixeira , References: Reply-To: From: Rainer Hurling Message-ID: Date: Mon, 7 Dec 2020 18:53:07 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: excmbx-24.um.gwdg.de (134.76.9.234) To EXCMBX-03.um.gwdg.de (134.76.9.218) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 4CqWBH2dp8z3Knt X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rhurlin@gwdg.de designates 134.76.11.17 as permitted sender) smtp.mailfrom=rhurlin@gwdg.de X-Spamd-Result: default: False [-3.50 / 15.00]; HAS_REPLYTO(0.00)[rhurlin@FreeBSD.org]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:134.76.10.0/23]; RCVD_COUNT_THREE(0.00)[3]; RCVD_IN_DNSWL_MED(-0.20)[134.76.11.17:from]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:680, ipnet:134.76.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FREEFALL_USER(0.00)[rhurlin]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_TRACE(0.00)[0:+]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gwdg.de]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[134.76.11.17:from]; MAILMAN_DEST(0.00)[freebsd-ports] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Dec 2020 17:53:12 -0000 Hi Nuno, I think you are right. cargo-crates/font-kit lists only the following platforms: x86_64-unknow-linux-gnu x86_64-pc-windows-msvc i686-pc-windows-msvc x86_64-apple-darwin ONLY_FOR_ARCHS=amd64 seems right to me. Greetings, Rainer Am 07.12.20 um 08:09 schrieb Nuno Teixeira: > Hello, > > textproc/cast2gif is not compiling on i386 and "expected `i32`, found > `i64`" error seems to tell that font-kit rust dependency is not i386 > buildable. > > Should I use ONLY_FOR_ARCHS= amd64? > > Full log > > > Thanks, > > Nuno Teixeira > > (...) > > error[E0308]: mismatched types > --> /wrkdirs/usr/ports/textproc/cast2gif/work/cast2gif-4f76eeb/cargo-crates/font-kit-0.6.0/src/loaders/freetype.rs:811:21 > | > 811 | yy: matrix.w() as i64, > | ^^^^^^^^^^^^^^^^^ expected `i32`, found `i64` > > error: aborting due to 6 previous errors > > For more information about this error, try `rustc --explain E0308`. > error: could not compile `font-kit` > > Caused by: > process didn't exit successfully: `/usr/local/bin/rustc --crate-name > font_kit --edition=2018 > /wrkdirs/usr/ports/textproc/cast2gif/work/cast2gif-4f76eeb/cargo-crates/font-kit-0.6.0/src/lib.rs > --error-format=json --json=diagnostic-rendered-ansi,artifacts > --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C > linker-plugin-lto --cfg 'feature="default"' --cfg 'feature="freetype"' > --cfg 'feature="loader-freetyp > > (...) > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" >