From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 2 Aug 2015 02:13:30 -0700 (PDT) From: Thorsten Johannvorderbrueggen To: voidlinux Message-Id: <7c322c1f-0fb3-47bf-a499-ed64d7bd1771@googlegroups.com> In-Reply-To: <55313082-4079-4f25-8869-77825406f1c5@googlegroups.com> References: <55313082-4079-4f25-8869-77825406f1c5@googlegroups.com> Subject: Re: Problem with ./xbps-src -a armv7hf -N pkg base-system MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_80_1468141246.1438506810343" ------=_Part_80_1468141246.1438506810343 Content-Type: multipart/alternative; boundary="----=_Part_81_1474067504.1438506810343" ------=_Part_81_1474067504.1438506810343 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi@all, i invest some more time to search for a reason ... the base-system build breaks by building ncurses ... so i thought that it would be useful to check if it crossbuilds outside a base-system build ... -> i first tried to build it in the same void-package repo where i first did a base-system build ... i faced the same problem (what i expected :-) ...) -> next i cloned the void-package repo again and binary-bootstrapped it ... and then i crossbuild ncurses with ./xbps-src -a armv7hf-musl pkg ncurses ... and to my surprise it builds without any breakage .... Note: This is my fith day with void-linux ... so pls give me some hints if i did something in a wrong way :-) Cheers Thorsten Am Freitag, 31. Juli 2015 20:47:05 UTC+2 schrieb Thorsten Johannvorderbrueggen: > > Hi@all, > > i have another problem :-) ... so armv7hf-musl wont work at the moment so > i tried the "normal" glibc build ... > > ./xbps-src -a armv7hf -N pkg base-system > > SNIP > > => ncurses-5.9_14: building (dependency of base-system) ... > [host] ncurses-5.9_14: found (/host/binpkgs) > => ncurses: building (dependency of base-system) ... > => ncurses-5.9_14: installing host dependency 'ncurses-5.9_14' ... > => ncurses-5.9_14: running do-fetch hook: 00-distfiles ... > => ncurses-5.9_14: verifying checksum for distfile 'ncurses-5.9.tar.gz'... > OK. > => ncurses-5.9_14: running do-extract hook: 00-distfiles ... > => ncurses-5.9_14: extracting distfile(s), please wait... > => ncurses-5.9_14: running post-extract hook: 00-patches ... > => ncurses-5.9_14: patch applied: no-xopen.patch. > => ncurses-5.9_14: running pre-configure hook: 00-gnu-configure-asneeded > ... > => ncurses-5.9_14: running pre-configure hook: 01-override-config ... > => ncurses-5.9_14: running pre-configure hook: 02-script-wrapper ... > => ncurses-5.9_14: running do_configure ... > checking for egrep... grep -E > Configuring NCURSES 5.9 ABI 5 (Fri Jul 31 20:33:58 CEST 2015) > checking build system type... x86_64-unknown-linux-gnu > checking host system type... armv7l-unknown-linux-gnueabihf > checking target system type... armv7l-unknown-linux-gnueabihf > Configuring for linux-gnueabihf > checking for prefix... /usr > checking for armv7l-linux-gnueabihf-gcc... armv7l-linux-gnueabihf-gcc > checking for C compiler default output... configure: error: C compiler > cannot create executables > => ERROR: ncurses-5.9_14: failed to run do_configure() at line 29. > > Here it end with that error ... if i take a look at the template for > ncurses it looks good ... so i think it should work ... > > Cheers > Thorsten > ------=_Part_81_1474067504.1438506810343 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi@all,

i invest some more time to search for a rea= son ... the base-system build breaks by building ncurses ... so i thought t= hat it would be useful to check if it crossbuilds outside a base-system bui= ld ...
-> i first tried to build it in the same void-package repo wh= ere i first did a base-system build ... i faced the same problem (what i ex= pected :-) ...)
-> next i cloned the void-package repo again and bina= ry-bootstrapped it ... and then i crossbuild ncurses with ./xbps-src -a arm= v7hf-musl pkg ncurses ... and to my surprise it builds without any breakage= ....

Note: This is my fith day with void-linux ... so pls give me s= ome hints if i did something in a wrong way :-)

Cheers
=C2=A0 Tho= rsten

Am Freitag, 31. Juli 2015 20:47:05 UTC+2 schrieb Thorsten Joha= nnvorderbrueggen:
Hi@all,

i have another problem :-) ... so armv7hf-musl wont work= at the moment so i tried the "normal" glibc build ...

./= xbps-src -a armv7hf -N pkg base-system

SNIP

=3D> ncurses-5= .9_14: building (dependency of base-system) ...
=C2=A0=C2=A0 [host] ncur= ses-5.9_14: found (/host/binpkgs)
=3D> ncurses: building (dependency = of base-system) ...
=3D> ncurses-5.9_14: installing host dependency &= #39;ncurses-5.9_14' ...
=3D> ncurses-5.9_14: running do-fetch hoo= k: 00-distfiles ...
=3D> ncurses-5.9_14: verifying checksum for distf= ile 'ncurses-5.9.tar.gz'... OK.
=3D> ncurses-5.9_14: running = do-extract hook: 00-distfiles ...
=3D> ncurses-5.9_14: extracting dis= tfile(s), please wait...
=3D> ncurses-5.9_14: running post-extract ho= ok: 00-patches ...
=3D> ncurses-5.9_14: patch applied: no-xopen.patch= .
=3D> ncurses-5.9_14: running pre-configure hook: 00-gnu-configure-a= sneeded ...
=3D> ncurses-5.9_14: running pre-configure hook: 01-overr= ide-config ...
=3D> ncurses-5.9_14: running pre-configure hook: 02-sc= ript-wrapper ...
=3D> ncurses-5.9_14: running do_configure ...
che= cking for egrep... grep -E
Configuring NCURSES 5.9 ABI 5 (Fri Jul 31 20:= 33:58 CEST 2015)
checking build system type... x86_64-unknown-linux-gnu<= br>checking host system type... armv7l-unknown-linux-gnueabihf
checking = target system type... armv7l-unknown-linux-gnueabihf
Configuring for lin= ux-gnueabihf
checking for prefix... /usr
checking for armv7l-linux-gn= ueabihf-gcc... armv7l-linux-gnueabihf-gcc
checking for C compiler defaul= t output... configure: error: C compiler cannot create executables
=3D&g= t; ERROR: ncurses-5.9_14: failed to run do_configure() at line 29.

H= ere it end with that error ... if i take a look at the template for ncurses= it looks good ... so i think it should work ...

Cheers
=C2=A0 Th= orsten
------=_Part_81_1474067504.1438506810343-- ------=_Part_80_1468141246.1438506810343--