Glenn Morris <rgm@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Glenn Morris <rgm@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 May 2015 17:49:51 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 17 13:49:51 2015 Received: from localhost ([127.0.0.1]:48317 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1Yu2hD-0005in-3b for submit <at> debbugs.gnu.org; Sun, 17 May 2015 13:49:51 -0400 Received: from eggs.gnu.org ([208.118.235.92]:32802) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from <nithisai@HIDDEN>) id 1Ytsz3-0000I2-TC for submit <at> debbugs.gnu.org; Sun, 17 May 2015 03:27:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <nithisai@HIDDEN>) id 1Ytsyx-0003Gi-7i for submit <at> debbugs.gnu.org; Sun, 17 May 2015 03:27:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <nithisai@HIDDEN>) id 1Ytsyx-0003Ga-0L for submit <at> debbugs.gnu.org; Sun, 17 May 2015 03:27:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <nithisai@HIDDEN>) id 1Ytsyv-0003Hm-3o for bug-libtool@HIDDEN; Sun, 17 May 2015 03:27:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <nithisai@HIDDEN>) id 1Ytsyt-0003F8-By for bug-libtool@HIDDEN; Sun, 17 May 2015 03:27:29 -0400 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]:32908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <nithisai@HIDDEN>) id 1Ytsyo-00037F-0s for bug-libtool@HIDDEN; Sun, 17 May 2015 03:27:27 -0400 Received: by obblk2 with SMTP id lk2so103923639obb.0 for <bug-libtool@HIDDEN>; Sun, 17 May 2015 00:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=elJdNNgoTj0ny7omNdUeK+FBIUAwVfPO/c+h/hh2leU=; b=rRPtgobCBIBmxlKtjOEPer6mhF88xIlpPrfV5mQxiObSaZ6HHTl4KaZaumL6yFQJjp 9HAvZHdHa5zO3CPjhsLj1ZJUp8gVnE8NrvRjtuTHLDMTqd9EpOyuan4onWEbiefp9NXL ScpBnj/Wa9GjNeeIr/4aU48VnYomK2bdmXci57wicjJHxUe7gfHnbzxlXWvGN//kOMZs JfnphV3hNbkrvMkY8paFb1Y+/Z05+iPButgxJkVDKulLn5e33X/t3av56EQSZgF3NIcP txLnPSzCJ7LmIb4Bpbin1pnmlhDPYQJ69aEWuJk4lIYVit5jEsKv1JD8sLTm1brgVXIV dCXA== MIME-Version: 1.0 X-Received: by 10.182.133.40 with SMTP id oz8mr15049214obb.68.1431847641055; Sun, 17 May 2015 00:27:21 -0700 (PDT) Received: by 10.202.128.9 with HTTP; Sun, 17 May 2015 00:27:20 -0700 (PDT) Date: Sun, 17 May 2015 12:57:20 +0530 Message-ID: <CACj2azt6QKggo+ZD6TsT1-t4E-C3mkS6ExvaRy0tZNa4d03AeQ@HIDDEN> Subject: `.libs/libgiognutls.lai': No such file or directory From: Nithyakala Sainath <nithisai@HIDDEN> To: bug-libtool@HIDDEN Content-Type: multipart/mixed; boundary=e89a8ff1ce140581ee05164202cd X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 17 May 2015 13:49:48 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> --e89a8ff1ce140581ee05164202cd Content-Type: multipart/alternative; boundary=e89a8ff1ce140581e805164202cb --e89a8ff1ce140581e805164202cb Content-Type: text/plain; charset=UTF-8 Hi, I am trying to cross compile glib-networking-2.31 for arm using open embedded. I am facing problems with libtool. I am getting this error but no solutions in google. | /bin/sed: can't read =/usr/lib/libgobject-2.0.la: No such file or directory | libtool: link: `=/usr/lib/libgobject-2.0.la' is not a valid libtool archive I deciphered what the problem was. In line 9713 in the attached file, the sed is parsing =/usr/lib/libgobject-2.0.la instead of SYSROOT//usr/lib/ libgobject-2.0.la file. I added func_resolve_sysroot and fixed this. (I don't know if I should) After I fixed this, I ran into another problem: | libtool: install: /usr/bin/install -c .libs/libgiognutls.lai /home/local/ANT/nithyaks/ram/environ/tmp/work/armv5-poky-linux-gnueabi/glib-networking/2.31.0-eink/image/usr/lib/gio/modules/ libgiognutls.la | /usr/bin/install: cannot stat `.libs/libgiognutls.lai': No such file or directory Can you please help me solve the problem ? I am stuck on this for two days now. Libtool version info: host-triplet: x86_64-pc-linux-gnu shell: /bin/bash compiler: gcc compiler flags: -Wall -g -O2 linker: /usr/bin/ld -m elf_x86_64 (gnu? yes) libtool: (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1 automake: automake (GNU automake) 1.11.3 autoconf: autoconf (GNU Autoconf) 2.68 The same source compiles when compiling in scratchbox where corss compiling doesn't come into play. Thanks, Nithya. --e89a8ff1ce140581e805164202cb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi,<div><br></div><div>I am trying to cross compile g= lib-networking-2.31 for arm using open embedded. I am facing problems with = libtool.</div><div><br></div><div>I am getting this error but no solutions = in google.=C2=A0</div><div><br></div><div><div>| /bin/sed: can't read = =3D/usr/lib/<a href=3D"http://libgobject-2.0.la" target=3D"_blank">libgobje= ct-2.0.la</a>: No such file or directory</div><div>| libtool: link: `=3D/us= r/lib/<a href=3D"http://libgobject-2.0.la" target=3D"_blank">libgobject-2.0= .la</a>' is not a valid libtool archive</div></div><div><br></div><div>= I deciphered what the problem was. In line 9713 in the attached file, the s= ed is parsing =3D/usr/lib/<a href=3D"http://libgobject-2.0.la" target=3D"_b= lank">libgobject-2.0.la</a>=C2=A0instead of SYSROOT//usr/lib/<a href=3D"htt= p://libgobject-2.0.la" target=3D"_blank">libgobject-2.0.la</a> =C2=A0file.= =C2=A0</div><div><br></div><div>I added func_resolve_sysroot and fixed this= . (I don't know if I should)</div><div><br></div><div>After I fixed thi= s, I ran into another problem:</div><div><div>| libtool: install: /usr/bin/= install -c .libs/libgiognutls.lai /home/local/ANT/nithyaks/ram/environ/tmp/= work/armv5-poky-linux-gnueabi/glib-networking/2.31.0-eink/image/usr/lib/gio= /modules/<a href=3D"http://libgiognutls.la" target=3D"_blank">libgiognutls.= la</a></div><div>| /usr/bin/install: cannot stat `.libs/libgiognutls.lai= 9;: No such file or directory</div></div><div><br></div><div>Can you please= help me solve the problem ? I am stuck on this for two days now.<br><br></= div><div>Libtool version info:<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 host-triplet:=C2=A0=C2=A0=C2=A0 x86_64-pc-linux-gnu<br>=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 shell:=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 /bi= n/bash<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 compiler:=C2=A0=C2=A0= =C2=A0 =C2=A0=C2=A0=C2=A0 gcc<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= compiler flags:=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 -Wall -g -O2<br>=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 linker:=C2=A0=C2=A0=C2=A0 =C2=A0=C2= =A0=C2=A0 /usr/bin/ld -m elf_x86_64 (gnu? yes)<br>=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 libtool:=C2=A0=C2=A0=C2=A0 (GNU libtool) 2.4.2 Debian-2.= 4.2-1ubuntu1<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 automake:=C2=A0= =C2=A0=C2=A0 automake (GNU automake) 1.11.3<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 autoconf:=C2=A0=C2=A0=C2=A0 autoconf (GNU Autoconf) 2.68<br= ><br></div><div>The same source compiles when compiling in scratchbox where= corss compiling doesn't come into play.<br></div><div><br></div><div>T= hanks,<br></div><div>Nithya.<br></div></div></div> --e89a8ff1ce140581e805164202cb-- --e89a8ff1ce140581ee05164202cd Content-Type: application/octet-stream; name=libtool Content-Disposition: attachment; filename=libtool Content-Transfer-Encoding: base64 X-Attachment-Id: f_i9s51qyr0 IyEgL2Jp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IyAgICAgICAtLW5vLXZlcmJvc2UgICAgICAgICBkb24ndCBwcmludCB0aGUgZXh0cmEgaW5m b3JtYXRpb25hbCBtZXNzYWdlcwojICAgICAgIC0tdmVyc2lvbiAgICAgICAgICAgIHByaW50IHZl cnNpb24gaW5mb3JtYXRpb24KIyAgIC1oLCAtLWhlbHAsIC0taGVscC1hbGwgICBwcmludCBzaG9y dCwgbG9uZywgb3IgZGV0YWlsZWQgaGVscCBtZXNzYWdlCiMKIyBNT0RFIG11c3QgYmUgb25lIG9m IHRoZSBmb2xsb3dpbmc6CiMKIyAgICAgICAgIGNsZWFuICAgICAgICAgICAgICByZW1vdmUgZmls ZXMgZnJvbSB0aGUgYnVpbGQgZGlyZWN0b3J5CiMgICAgICAgICBjb21waWxlICAgICAgICAgICAg Y29tcGlsZSBhIHNvdXJjZSBmaWxlIGludG8gYSBsaWJ0b29sIG9iamVjdAojICAgICAgICAgZXhl Y3V0ZSAgICAgICAgICAgIGF1dG9tYXRpY2FsbHkgc2V0IGxpYnJhcnkgcGF0aCwgdGhlbiBydW4g YSBwcm9ncmFtCiMgICAgICAgICBmaW5pc2ggICAgICAgICAgICAgY29tcGxldGUgdGhlIGluc3Rh bGxhdGlvbiBvZiBsaWJ0b29sIGxpYnJhcmllcwojICAgICAgICAgaW5zdGFsbCAgICAgICAgICAg IGluc3RhbGwgbGlicmFyaWVzIG9yIGV4ZWN1dGFibGVzCiMgICAgICAgICBsaW5rICAgICAgICAg ICAgICAgY3JlYXRlIGEgbGlicmFyeSBvciBhbiBleGVjdXRhYmxlCiMgICAgICAgICB1bmluc3Rh bGwgICAgICAgICAgcmVtb3ZlIGxpYnJhcmllcyBmcm9tIGFuIGluc3RhbGxlZCBkaXJlY3RvcnkK IwojIE1PREUtQVJHUyB2YXJ5IGRlcGVuZGluZyBvbiB0aGUgTU9ERS4gIFdoZW4gcGFzc2VkIGFz IGZpcnN0IG9wdGlvbiwKIyBgLS1tb2RlPU1PREUnIG1heSBiZSBhYmJyZX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NlciBleHBsaWNpdGx5IHJlcXVlc3RlZCAtZGxwcmVvcGVuIDxp bXBvcnQgbGlicmFyeT4uCgkgICAgICAgICAgICAkc2hhcmVkbGliX2Zyb21fbGlua2xpYl9jbWQg IiRkbHByZWZpbGUiCgkgICAgICAgICAgICBkbHByZWZpbGVfZGxiYXNlbmFtZT0kc2hhcmVkbGli X2Zyb21fbGlua2xpYl9yZXN1bHQKCSAgICAgICAgICBmaQoJICAgICAgICBmaQoJICAgICAgICAk b3B0X2RyeV9ydW4gfHwgewoJICAgICAgICAgIGlmIHRlc3QgLW4gIiRkbHByZWZpbGVfZGxiYXNl bmFtZSIgOyB0aGVuCgkgICAgICAgICAgICBldmFsICckRUNITyAiOiAkZGxwcmVmaWxlX2RsYmFz ZW5hbWUiID4+ICIkbmxpc3QiJwoJICAgICAgICAgIGVsc2UKCSAgICAgICAgICAgIGZ1bmNfd2Fy bmluZyAiQ291bGQgbm90IGNvbXB1dGUgRExMIG5hbWUgZnJvbSAkbmFtZSIKCSAgICAgICAgICAg IGV2YWwgJyRFQ0hPICI6ICRuYW1lICIgPj4gIiRubGlzdCInCgkgICAgICAgICAgZmkKCSAgICAg ICAgICBmdW5jX3RvX3Rvb2xfZmlsZSAiJGRscHJlZmlsZSIgZnVuY19jb252ZXJ0X2ZpbGVfbXN5 c190b193MzIKCSAgICAgICAgICBldmFsICIkTk0gXCIkZnVuY190b190b29sX2ZpbGVfcmVzdWx0 XCIgMj4vZGV2L251bGwgfCAkZ2xvYmFsX3N5bWJvbF9waXBlIHwKCSAgICAgICAgICAgICRTRUQg LWUgJy9JIF9faW1wL2QnIC1lICdzL0kgX19ubV8vRCAvO3MvX25tX18vLycgPj4gJyRubGlzdCci CgkgICAgICAgIH0KCSAgICAgIGVsc2UgIyBub3QgYW4gaW1wb3J0IGxpYgoJICAgICAgICAkb3B0 X2RyeV9ydW4gfHwgewoJICAgICAgICAgIGV2YWwgJyRFQ0hPICI6ICRuYW1lICIgPj4gIiRubGlz dCInCg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kgY29tcGlsZXIKICAgICAgIyAtclswLTldWzAtOV0qICAgICAg ICBzcGVjaWZ5IHByb2Nlc3NvciBmb3IgdGhlIFNHSSBjb21waWxlcgogICAgICAjIC14YXJjaD0q LCAteHRhcmdldD0qIGVuYWJsZSA2NC1iaXQgbW9kZSBmb3IgdGhlIFN1biBjb21waWxlcgogICAg ICAjICtEQSosICtERCogICAgICAgICAgIGVuYWJsZSA2NC1iaXQgbW9kZSBmb3IgdGhlIEhQIGNv bXBpbGVyCiAgICAgICMgLXEqICAgICAgICAgICAgICAgICAgY29tcGlsZXIgYXJncyBmb3IgdGhl IElCTSBjb21waWxlcgogICAgICAjIC1tKiwgLXRbNDVdKiwgLXR4c2NhbGUqIGFyY2hpdGVjdHVy ZS1zcGVjaWZpYyBmbGFncyBmb3IgR0NDCiAgICAgICMgLUYvcGF0aCAgICAgICAgICAgICAgcGF0 aCB0byB1bmluc3RhbGxlZCBmcmFtZXdvcmtzLCBnY2Mgb24gZGFyd2luCiAgICAgICMgLXAsIC1w ZywgLS1jb3ZlcmFnZSwgLWZwcm9maWxlLSogIHByb2ZpbGluZyBmbGFncyBmb3IgR0NDCiAgICAg ICMgQGZpbGUgICAgICAgICAgICAgICAgR0NDIHJlc3BvbnNlIGZpbGVzCiAgICAgICMgLXRwPSog ICAgICAgICAgICAgICAgUG9ydGxhbmQgcGdjYyB0YXJnZXQgcHJvY2Vzc29yIHNlbGVjdGlvbgog ICAgICAjIC0tc3lzcm9vdD0qICAgICAgICAgIGZvciBzeXNyb290IHN1cHBvcnQKICAgICAgIyAt TyosIC1mbHRvKiwgLWZ3aG9wciosIC1mdXNlLWxpbmtlci1wbHVnaW4gR0NDIGxpbmstdGltZSBv cHRpbWl6YXRpb24KICAgICAgLTY0fC1taXBzWzAtOV18LXJbMC05XVswLTldKnwteGFyY2g9Knwt eHRhcmdldD0qfCtEQSp8K0REKnwtcSp8LW0qfCBcCiAgICAgIC10WzQ1XSp8LXR4c2NhbGUqfC1w fC1wZ3w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ElCVE9PTCBUQUcgQ09ORklHOiBkaXNhYmxl LXNoYXJlZAoKIyAjIyMgQkVHSU4gTElCVE9PTCBUQUcgQ09ORklHOiBkaXNhYmxlLXN0YXRpYwpi dWlsZF9vbGRfbGlicz1gY2FzZSAkYnVpbGRfbGlidG9vbF9saWJzIGluIHllcykgZWNobyBubzs7 ICopIGVjaG8geWVzOzsgZXNhY2AKIyAjIyMgRU5EIExJQlRPT0wgVEFHIENPTkZJRzogZGlzYWJs ZS1zdGF0aWMKCiMgTG9jYWwgVmFyaWFibGVzOgojIG1vZGU6c2hlbGwtc2NyaXB0CiMgc2gtaW5k ZW50YXRpb246MgojIEVuZDoKIyB2aTpzdz0yCgo= --e89a8ff1ce140581ee05164202cd--
Nithyakala Sainath <nithisai@HIDDEN>
:bug-libtool@HIDDEN
.
Full text available.bug-libtool@HIDDEN
:bug#20596
; Package libtool
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.