Message: previous - next
Month: June 2012

Re: [trinity-devel] Cross Check on ftbfs packages (FAILURE Summary)

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 22 Jun 2012 13:58:43 -0500
On 06/22/2012 01:40 PM, David C. Rankin wrote:
> I don't know what the deal was here. I hacked /usr/bin/moc-tqt to see what it
> was doing, then kicked off the build again and it worked:
> <snip>
> ==> Finished making: tde-avahi-tqt 14.0.0_dev-2 (Fri Jun 22 18:37:28 UTC 2012)
> gremlins....

I think I found the issue for some of the TQt/moc issues. Arch updated to
'filesystem 2012.6-2' and for some reason that (or another package update)
prevents the /etc/profile.d/ from being install with the executable bit
set as it has in the past. It was installed 0644 instead of 0755. For those apps
that source it, there was no change, but for those that require it to be
executable, it may have caused path problems. I'm still investigating. In the
past it was installed by the TQt3 build with:


   # Build and install qt.profile
   install -d -m755 "${pkgdir}/etc/profile.d/"
   echo "export QTDIR=${_prefix}" > "${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
   echo "export QT_XFT=true" >> "${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
   echo "export PATH+=:${_prefix}/bin" >> "${pkgdir}/etc/profile.d/${pkgname#*-}.sh"
   echo "export PKG_CONFIG_PATH+=:${_prefix}/pkgconfig" >>

That created it with 0755. Now I'll just add the following to the end:

   chmod 0755 "${pkgdir}/etc/profile.d/${pkgname#*-}.sh"

David C. Rankin, J.D.,P.E.