Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235964 - x11-libs/tslib-1.0 fails on rpl_malloc and the .pc file is wrong
Summary: x11-libs/tslib-1.0 fails on rpl_malloc and the .pc file is wrong
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 23:17 UTC by Damien Thébault
Modified: 2009-03-29 19:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge log where compilation fails with rpl_malloc (tslib-1.0-rpl_malloc_bug.log,42.65 KB, text/plain)
2008-08-27 23:18 UTC, Damien Thébault
Details
Working tslib-1.0 ebuild (tslib-1.0.ebuild,1.36 KB, text/plain)
2008-08-27 23:19 UTC, Damien Thébault
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Damien Thébault 2008-08-27 23:17:18 UTC
first, tslib fails to build with a cross-arm toolchain:
> fbutils.o: In function `open_framebuffer':
> fbutils.c:(.text+0xa84): undefined reference to `rpl_malloc'
(I'll attach the complete log)

I found on some mailing lists that one fix is to remove the AC_FUNC_MALLOC, and it worked.

The other problem is version of the .pc file: it's still 0.0 in the 1.0 release.
I fixed this by changing the number in configure.ac: AC_INIT and LT_RELEASE).

I did those 3 changes with sed (I'll attach the ebuild doing this), but since we have a patch archive, it's possible add two patchs too)

Reproducible: Always

Steps to Reproduce:
1. emerge tslib on cross- arm-angstrom-linux-gnueabi-gcc

Actual Results:  
It fails by an error on rpl_malloc, and when it's fixed, it's not the right version.

Expected Results:  
Compiles successfully and install with the good version number.
Comment 1 Damien Thébault 2008-08-27 23:18:21 UTC
Created attachment 163948 [details]
emerge log where compilation fails with rpl_malloc
Comment 2 Damien Thébault 2008-08-27 23:19:12 UTC
Created attachment 163950 [details]
Working tslib-1.0 ebuild
Comment 3 solar (RETIRED) gentoo-dev 2009-03-29 19:54:28 UTC
This was solved in -r1