On 04/09/2012 05:12 AM, Nix wrote:
On 6 Apr 2012, David C. Rankin spake thusly:
/build/src/tdegames/kolf/.libs/libkolf.so: file
not recognized: File truncated
collect2: ld returned 1 exit status
libtool: install: error: relink `kolf.la' with the above command before
installing it
make[3]: *** [install-tdeinitLTLIBRARIES] Error 1
make[3]: *** Waiting for unfinished jobs....
That's not a GCC 4.7 error, that's an installation problem. It looks
like you're doing 'make install' in parallel. KDE 3.5.x at least did not
support that, and I thought Trinity didn't either. Is this not true
after cmakeification?
Nix,
You are correct! I got it solved this morning (see the Arch list). It was a
parallel build problem. Setting:
make -j1 DESTDIR="$pkgdir/" install
during the package() phase seems to have solved the relink error. It seems
that parallel building during package WAS the culprit. The build of
tdegames went fine after adding -j1.
Strange that prior to the last update of autoconf, I could build tde with
'MAKEFLAGS="-j${CPUCORES}"' in makepkg.conf. I don't know what
changed, but it
certainly impacted the ability to 'install' with the -j flag set for parallel
builds.
Thanks Nix!
--
David C. Rankin, J.D.,P.E.