First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 134956
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Embedded Gentoo Team <embedded@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Natanael Copa <natanael.copa@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mawk-mathlib.patch Patch for ebuild patch Natanael Copa 2006-05-30 13:50 0000 296 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134956 depends on: Show dependency tree
Bug 134956 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-30 13:48 0000
gcc -march=i386 -Os -pipe -fomit-frame-pointer -DMAWK -I..   -c -o rexp3.o
rexp3.c
make[1]: Leaving directory `/var/tmp/portage/mawk-1.3.3/work/mawk-1.3.3/rexp'
gcc -march=i386 -Os -pipe -fomit-frame-pointer -o mawk parse.o scan.o memory.o
main.o hash.o execute.o code.o da.o error.o init.o bi_vars.o cast.o print.o
bi_funct.o kw.o jmp.o array.o field.o  split.o re_cmpl.o zmalloc.o fin.o
files.o  scancode.o matherr.o  fcall.o version.o missing.o rexp/rexp.o
rexp/rexp0.o rexp/rexp1.o rexp/rexp2.o rexp/rexp3.o  /lib/libm.so.6
gcc: /lib/libm.so.6: No such file or directory
make: *** [mawk] Error 1

This is caused by the line:

  export MATHLIB="/lib/libm.so.6"

in the ebuild. To fix, replace "/lib/libm.so.6" with "-lm".

  sed -i 's:/lib/libm.so.6:-lm:' mawk-1.3.3.ebuild

Please apply.

------- Comment #1 From Natanael Copa 2006-05-30 13:50:04 0000 -------
Created an attachment (id=87910) [edit]
Patch for ebuild

This patch show the fix.

------- Comment #2 From solar 2006-05-31 02:12:53 0000 -------
Jon,
26 months ago you made a change to the ebuild to attempt to correct the 
problem in bug #45636 but you used a hardcoded full path.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/mawk/mawk-1.3.3.ebuild?r1=1.4&r2=1.5

------- Comment #3 From solar 2006-05-31 02:23:07 0000 -------
Fixed InCVS. Thanks for reporting.

First Last Prev Next    No search results available      Search page      Enter new bug