Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331349 - sci-libs/gdal-1.7.2 does not build/install with parallel make
Summary: sci-libs/gdal-1.7.2 does not build/install with parallel make
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-08-05 18:44 UTC by Jeremy Stent
Modified: 2010-08-08 17:13 UTC (History)
3 users (show)

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


Attachments
Outupt of emerge --info =sci-libs/gdal-1.7.2 (gdal_emerge-info,39.45 KB, text/plain)
2010-08-05 18:46 UTC, Jeremy Stent
Details
Output of emerge -pqv =sci-libs/gdal-1.7.2 (gdal_emerge-pqv,194 bytes, text/plain)
2010-08-05 18:46 UTC, Jeremy Stent
Details
Environment file from the build of gdal (gdal_environment,224.81 KB, text/plain)
2010-08-05 18:47 UTC, Jeremy Stent
Details
Build log from the build of gdal (gdal_build.log,1.04 MB, text/plain)
2010-08-05 18:47 UTC, Jeremy Stent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Stent 2010-08-05 18:44:22 UTC
Attempting to emerge sci-libs/gdal fails.

Reproducible: Always

Steps to Reproduce:
1. emerge =sci-libs/gdal-1.7.2

Actual Results:  
/var/tmp/portage/sci-libs/gdal-1.7.2/work/gdal-1.7.2/libgdal.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [gdalinfo] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.7.2/work/gdal-1.7.2/apps'
make: *** [install-actions] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sci-libs/gdal-1.7.2/work/gdal-1.7.2'
 * ERROR: sci-libs/gdal-1.7.2 failed:
 *   make install failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_install
 *   environment, line 5826:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "make install failed";
 *
 * If you need support, post the output of 'emerge --info =sci-libs/gdal-1.7.2',
 * the complete build log and the output of 'emerge -pqv =sci-libs/gdal-1.7.2'.
 * The complete build log is located at '/var/tmp/portage/sci-libs/gdal-1.7.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/gdal-1.7.2/temp/environment'.
 * S: '/var/tmp/portage/sci-libs/gdal-1.7.2/work/gdal-1.7.2'


Expected Results:  
Successful merge
Comment 1 Jeremy Stent 2010-08-05 18:46:19 UTC
Created attachment 241547 [details]
Outupt of emerge --info =sci-libs/gdal-1.7.2
Comment 2 Jeremy Stent 2010-08-05 18:46:50 UTC
Created attachment 241549 [details]
Output of emerge -pqv =sci-libs/gdal-1.7.2
Comment 3 Jeremy Stent 2010-08-05 18:47:41 UTC
Created attachment 241551 [details]
Environment file from the build of gdal
Comment 4 Jeremy Stent 2010-08-05 18:47:57 UTC
Created attachment 241553 [details]
Build log from the build of gdal
Comment 5 Jouni Rinne 2010-08-06 21:12:30 UTC
Same error here with -j5, but works with -j1
Comment 6 Jeremy Stent 2010-08-06 22:18:54 UTC
Forcing MAKEOPTS="-j1" does allow it to merge.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2010-08-07 08:41:52 UTC
Disable ccache. Retry and report if it still fails.
Comment 8 Jeremy Stent 2010-08-07 19:21:46 UTC
Package does merge with MAKEOPTS="-j2" and without FEATURES="ccache".  Having done this I tried to merge again with ccache re-enabled and it still failed with ccache
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-08 16:50:30 UTC
Reproduced without ccache around.
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2010-08-08 17:13:03 UTC
Thanks for confirming Diego. I disabled parallel make in global scope.

Please retry and reopen if still occurs or close as fixed if it now workie