View previous topic :: View next topic |
Author |
Message |
Vanquirius Retired Dev


Joined: 14 Jun 2002 Posts: 1297 Location: Ethereal plains
|
Posted: Sun Aug 04, 2002 1:39 am Post subject: gmp-4.1-r1 ebuild (using gentoo 1.3a built from stage1) |
|
|
Hello,
I found what I believe is a bug in the gmp-4.1-r1 ebuild.
Here are my basic system specs:
pentium3 700mhz, 128ram + 1Gb swap
I recently built a new Gentoo system using the 1.3a,
and was attempting step 7 of the desktop conf guide, "apache and squirrelmail webmail".
I've successfully installed these programs in similar Gentoo systems, so I believe it must be a bug in the ebuild, due to a change in the "mechanics" of the compilation process of gmp.
I typed the following emerge command:
Code: | emerge apache php mod_ssl |
The installation went normally until it tried to merge gmp-4.1-r1. Here's the output:
Code: | 21:37:33 (19.22 KB/s) - `/usr/portage/distfiles/gmp-4.1.tar.gz' saved [2145387/2145387]
>>> md5 ;-) gmp-4.1.tar.gz
>>> Unpacking source...
>>> Unpacking gmp-4.1.tar.gz
patching file randraw.c
>>> Source unpacked.
configure: error: --target is not appropriate for GMP
Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system
explicitly. Use --host if cross-compiling (see "Installing GMP" in the
manual for more on this).
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -130, Exitcode 1
!!! configure failed
!!! emerge aborting on /usr/portage/dev-libs/gmp/gmp-4.1-r1.ebuild . |
In order to solve this problem, I opened the gmp-4.1-r1 ebuild in nano, and removed the --target line.
Code: | nano -w /usr/portage/dev-libs/gmp/gmp-4.1-r1.ebuild |
After that, I ran and gmp merged with no further problems.
Hope it helps other people...  _________________ Hello. |
|
Back to top |
|
 |
notX n00b

Joined: 04 Jul 2002 Posts: 10
|
Posted: Sun Aug 04, 2002 10:43 am Post subject: |
|
|
Hi.
Had the same problem and solved it the way you did.
I also guess that this i a bug. |
|
Back to top |
|
 |
Skreems n00b

Joined: 03 Jul 2002 Posts: 57 Location: ISU - Ames, Iowa
|
Posted: Sun Aug 04, 2002 4:42 pm Post subject: Dito... sort of |
|
|
Well, I got the same error as you, and I fixed it the same way. On my build, though, it had another error later on. It claimed in /usr/sbin/ebuild.sh that there was a line reading --localstatedir=/var/state/gmp and that this was not a directory. So, I created the directory for it, no dice. I edited out the line in the .sh, no luck there either. In fact, it then gave me an error "--build=i686-linux-gnu-pc" is not a recognized command. The strange part is that neither of these lines are actually in the .sh file. So, I just pulled back to version 4.1 (non r1), and it looks like it's working so far. I guess the r1 package needs a bit of work still, though.
Edit: Correction, 4.1 had OTHER errors, this time with no clear cause. Fortunately rolling back to 3.1.1r1 doesn't kill php. |
|
Back to top |
|
 |
Cloim Tux's lil' helper

Joined: 02 Aug 2002 Posts: 99
|
Posted: Sun Aug 04, 2002 7:42 pm Post subject: |
|
|
I ran into this also on Gentoo 1.2 system. The 'fix' appears to have worked. Thanks. |
|
Back to top |
|
 |
kendricbeachey n00b


Joined: 07 Aug 2002 Posts: 7 Location: Kansas City
|
Posted: Wed Aug 07, 2002 4:17 am Post subject: |
|
|
I had the same gmp problem here while trying to emerge php. Before I found this post, I wondered if maybe I had some stale code, so I did emerge rsync and tried again, and then it worked fine.
I guess this means the bug is fixed in the latest version of the portage tree? |
|
Back to top |
|
 |
Cloim Tux's lil' helper

Joined: 02 Aug 2002 Posts: 99
|
Posted: Thu Aug 08, 2002 10:47 pm Post subject: |
|
|
It compiles correctly for me now. The changelog lists a revision on Aug 4, so I assume my emerge rsync took place just a little too early  |
|
Back to top |
|
 |
|