octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mxe-octave build failing on libgcryp


From: PhilipNienhuis
Subject: Re: mxe-octave build failing on libgcryp
Date: Tue, 24 Dec 2013 01:35:13 -0800 (PST)

PhilipNienhuis wrote
> 
> John Donoghue-2 wrote
>> ------------------------------
>> 
>> Message: 4
>> Date: Sun, 22 Dec 2013 09:29:17 -0800 (PST)
>> From: PhilipNienhuis <

>> pr.nienhuis@

>> >
>> To: 

>> octave-maintainers@

>> Subject: Re: mxe-octave build failing on libgcrypt
>> Message-ID: <

>> address@hidden

>>>
>> Content-Type: text/plain; charset=us-ascii
>> 
>> John W. Eaton wrote
>>> On 12/05/2013 12:24 PM, Philip Nienhuis wrote:
>>> 
>>>> What version? 3.9.0+ (default)? 3.8.0-rc1?
>>> 
>>> I'm trying to verify that things still build correctly with the 
>>> release candidate, then I'm planning to create a stable branch in 
>>> mxe-octave that will be used for the 3.8.0 release.
>>> 
>>> I just tried again and the libgcrypt build worked.  I don't know what 
>>> the difference was.  If it happens again, I'll try to debug it.
>> 
>> Just had the same experience. 
>> Cross-building octave-3.8.0-rc2 with my (somewhat outdated) mxe-octave
>> tree
>> failed in the install phase (something like "no rule to make
>> octave-cli"),
>> so I decided to start with a new mxe-octave clone.
>> 
>> With the nex cloned mxe-octave, using:
>> 
>> ./mk-dist --jobs 4 --installer
>> 
>> .... the build falied at libgcrypt (repeatedly -I restarted the build
>> several times). 
>> The log says:
>> <excerpt>
>> :
>> make[4]: Entering directory
>> `/home/philip/devel/octdev/mxe-new/mxe-octdec13/tmp-
>> libgcrypt/libgcrypt-1.5.3/src'
>> /usr/bin/install -c ./libgcrypt.def
>> /home/philip/devel/octdev/mxe-new/mxe-octdec
>> 13/tmp-libgcrypt-install/home/philip/devel/octdev/mxe-new/mxe-octdec13/usr/i
>> 686-
>> pc-mingw32/lib/libgcrypt.def
>> /usr/bin/install: cannot create regular file
>> `/home/philip/devel/octdev/mxe-new/
>> mxe-octdec13/tmp-libgcrypt-install/home/philip/devel/octdev/mxe-new/mxe-octd
>> ec13
>> /usr/i686-pc-mingw32/lib/libgcrypt.def': No such file or directory
>> make[4]: *** [install-def-file] Error 1
>> :
>> </excerpt>
>> which made me think it could be a race condition.
>> 
>> Indeed, restarting with  --jobs 1  (lets) the build continue (so far that
>> is
>> :-) - after libgcrypt I restarted the buid with  --jobs 4 parameter 
>> again,
>> but it'll be still building for the next hours I suppose)
>> 
>> Philip 
>> 
>> ---
>> 
>> Octave rc2 fails for me with the no rule to make octave-cli, with the
>> latest
>> mxe-octave.
> Natively or cross- ?
> 
> I just reported that in the other rc2 thread.
> 
> Good that you could confirm it.
>> For the libgcrypt issue, what happens if you make link in libgcrypt.mk
>> from:
>>     $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS=
>> noinst_PROGRAMS= DESTDIR='$(3)'
>> 
>> To
>> 
>>     $(MAKE) -C '$(1)' -j '$(JOBS)' 
>>     $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS=
>> noinst_PROGRAMS= DESTDIR='$(3)'
> From the log:
> 
> make[4]: Entering directory
> `/home/philip/devel/octdev/mxe-new/mxe-octdec13/tmp-
> libgcrypt/libgcrypt-1.5.3/src'
> /usr/bin/install -c ./libgcrypt.def
> /home/philip/devel/octdev/mxe-new/mxe-octdec
> 13/tmp-libgcrypt-install/home/philip/devel/octdev/mxe-new/mxe-octdec13/usr/i686-
> pc-mingw32/lib/libgcrypt.def
> /usr/bin/install: cannot create regular file
> `/home/philip/devel/octdev/mxe-new/
> mxe-octdec13/tmp-libgcrypt-install/home/philip/devel/octdev/mxe-new/mxe-octdec13
> /usr/i686-pc-mingw32/lib/libgcrypt.def': No such file or directory
>  /bin/mkdir -p
> '/home/philip/devel/octdev/mxe-new/mxe-octdec13/tmp-libgcrypt-ins
> tall/home/philip/devel/octdev/mxe-new/mxe-octdec13/usr/i686-pc-mingw32/lib'
> make[4]: *** [install-def-file] Error 1
> make[4]: *** Waiting for unfinished jobs....
> 
> I.e., much the same thing.

Sorry, this was due to a typo by me.

With your fix libgcrypt builds fine. 

Philip



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Re-mxe-octave-build-failing-on-libgcryp-tp4660305p4660355.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]