Skip to contentSkip to conversation

mpfr-2.4.1.patch not found

Buildroot Ormund Williams 4 participants 8 messages Sep 24, 2009 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

I'm getting this error on a clean build:

bzcat ./../dl/mpfr-2.4.1.tar.bz2 | tar -C .../buildroot/output/toolchain -xf - toolchain/patch-kernel.sh .../buildroot/output/toolchain/mpfr-2.4.1 package/mpfr/ \*.patch cp -f package/gnuconfig/config.sub package/gnuconfig/config.guess .../buildroot/output/toolchain/mpfr-2.4.1 ( cd .../buildroot/output/toolchain/mpfr-2.4.1; patch -p1 -N -Z < ./../dl/mpfr-2.4.1.patch; ) /bin/sh: ./../dl/mpfr-2.4.1.patch: No such file or directory
make: *** [.../buildroot/output/toolchain/mpfr-2.4.1/.unpacked] Error 1

Where is this patch suppose to come from?

Signature · 2 lines
Ormund Williams
OrmLab LLC
#1 lore raw
Quoted 4 lines · Ormund Williams

/bin/sh: ./../dl/mpfr-2.4.1.patch: No such file or directory
make: *** [.../buildroot/output/toolchain/mpfr-2.4.1/.unpacked] Error 1

Where is this patch suppose to come from?

http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.patch I would think, but that gives me a 404 currently.

-Austin

#3 lore raw
In reply to Austin Foxley
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Austin" == Austin Foxley <[email protected]> writes:

Quoted 4 lines · Ormund Williams
Quoted 4 lines

/bin/sh: ./../dl/mpfr-2.4.1.patch: No such file or directory
make: *** [.../buildroot/output/toolchain/mpfr-2.4.1/.unpacked] Error 1

Where is this patch suppose to come from?

Austin> http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.patch I would think, but that gives me Austin> a 404 currently.

http://www.mpfr.org/mpfr-2.4.1/patches to be exact, but we rename that unlucky filename to mpfr-2.4.1.patch after downloading (see mpfr.mk).

It's on the mirror as well:

http://buildroot.net/downloads/sources/mpfr-2.4.1.patch

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw
Quoted 11 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Austin" == Austin Foxley <[email protected]> writes:

Quoted 4 lines · Ormund Williams
Quoted 4 lines

/bin/sh: ./../dl/mpfr-2.4.1.patch: No such file or directory
make: *** [.../buildroot/output/toolchain/mpfr-2.4.1/.unpacked] Error 1

Where is this patch suppose to come from?

Austin> http://www.mpfr.org/mpfr-2.4.1/mpfr-2.4.1.patch I would think, but that gives me Austin> a 404 currently.

Quoted 7 lines

http://www.mpfr.org/mpfr-2.4.1/patches to be exact, but we rename that unlucky filename to mpfr-2.4.1.patch after downloading (see mpfr.mk).

It's on the mirror as well:

http://buildroot.net/downloads/sources/mpfr-2.4.1.patch

I have just experienced the problem. It looks like this is a relative path issue actually:
When you look at mpfr.mk the patch command is the following:
( cd $(MPFR_DIR); patch -p1 -N -Z < $(MPFR_PATCH_SOURCE); ) with MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE) which is replaced in my case by ./dl/mpfr-2.4.1.patch where it should be an absolute path.

Emmanuel.

#6 lore raw
In reply to a message not in the archive
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Emmanuel" == Emmanuel Riou <[email protected]> writes:

Hi,

Emmanuel> I have just experienced the same problem. It looks like this Emmanuel> is a relative path issue actually: When you look at mpfr.mk Emmanuel> the patch command is the following: ( cd $(MPFR_DIR); patch Emmanuel> -p1 -N -Z < $(MPFR_PATCH_SOURCE); ) with Emmanuel> MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE) which is Emmanuel> replaced

You're right, that's a drop out from the recent dl dir move patch. I didn't notice as I have BUILDROOT_DL_DIR defined in my environment to an absolute patch.

I have fixed it in git (bdccd7b2e67cc) - Thanks!

Signature · 1 line
Bye, Peter Korsgaard
#7 lore raw
Quoted 2 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Emmanuel" == Emmanuel Riou <[email protected]> writes:

Hi!

Quoted 9 lines

Hi,

Emmanuel> I have just experienced the same problem. It looks like this Emmanuel> is a relative path issue actually: When you look at mpfr.mk Emmanuel> the patch command is the following: ( cd $(MPFR_DIR); patch Emmanuel> -p1 -N -Z < $(MPFR_PATCH_SOURCE); ) with Emmanuel> MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE) which is Emmanuel> replaced

Quoted 5 lines

You're right, that's a drop out from the recent dl dir move patch. I didn't notice as I have BUILDROOT_DL_DIR defined in my environment to an absolute patch.

I have fixed it in git (bdccd7b2e67cc) - Thanks!

Many thanks for the fix!

Emmanuel.

Quoted 1 line
#8 lore raw
In reply to Peter Korsgaard
Quoted 11 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Emmanuel" == Emmanuel Riou <[email protected]> writes:

Hi,

Emmanuel> I have just experienced the same problem. It looks like this Emmanuel> is a relative path issue actually: When you look at mpfr.mk Emmanuel> the patch command is the following: ( cd $(MPFR_DIR); patch Emmanuel> -p1 -N -Z < $(MPFR_PATCH_SOURCE); ) with Emmanuel> MPFR_PATCH_SOURCE:=$(DL_DIR)/$(MPFR_PATCH_FILE) which is Emmanuel> replaced

Quoted 6 lines

You're right, that's a drop out from the recent dl dir move patch. I didn't notice as I have BUILDROOT_DL_DIR defined in my environment to an absolute patch.

I have fixed it in git (bdccd7b2e67cc) - Thanks!

Thanks, this had me confused since the patch was in my dl directory.

Signature · 2 lines
Ormund Williams
OrmLab LLC