On 04/13/2012 08:51 AM, David C. Rankin wrote:
On 04/13/2012 07:40 AM, David C. Rankin wrote:
On 04/05/2012 03:43 PM, Baho Utot wrote:
On 04/05/2012 03:36 PM, David C. Rankin wrote:
Guys,
Is there any way to revert my chroot for building back to gcc46 immediately
prior to this last gcc47 update? Obvious reasons - bug fixes required due to
new gcc47 C11& C11++ extension implementation, etc..., but I would like to
continue building until the bugs are fixed. Is there a reasonable way to do
that absent having to set up and point the chroot pacman.conf at a hand-built
repo with just the gcc46 files in it?
copy the gcc binary/pkgbuilt files to<chroot>/root/repo
repo-add gcc<whatever>*
chroot<chroot>/root
pacman -S gcc<whatever>
exit
Doesn't that require:
pacman -U gcc...xz gcc-libs...xz etc..?
With pacman -S, it still tries to pull in gcc 4.7 from the normal repos.
Hmm..
That failed.
created a new chroot 'ch46'
created a new repo in ch46 and copied the needed gcc46 files and libtool, then
tried to use 'pacman -U':
pacman -U gcc-4.6.3-1-x86_64.pkg.tar.xz gcc-fortran-4.6.3-1-x86_64.pkg.tar.xz
gcc-go-4.6.3-1-x86_64.pkg.tar.xz gcc-libs-4.6.3-1-x86_64.pkg.tar.xz
gcc-objc-4.6.3-1-x86_64.pkg.tar.xz libtool-2.4.2-4-x86_64.pkg.tar.xz
warning: downgrading package gcc (4.7.0-4 => 4.6.3-1)
warning: downgrading package gcc-libs (4.7.0-4 => 4.6.3-1)
warning: downgrading package libtool (2.4.2-5 => 2.4.2-4)
resolving dependencies...
looking for inter-conflicts...
Targets (6): gcc-4.6.3-1 gcc-fortran-4.6.3-1 gcc-go-4.6.3-1 gcc-libs-4.6.3-1
gcc-objc-4.6.3-1 libtool-2.4.2-4
Total Installed Size: 146.32 MiB
Net Upgrade Size: 69.35 MiB
Proceed with installation? [Y/n]
(6/6) checking package integrity
[#######################################] 100%
(6/6) loading package files
[#######################################] 100%
(6/6) checking for file conflicts
[#######################################] 100%
error: could not determine filesystem mount points
error: not enough free disk space
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
Huh? So how do you set up a chroot with gcc46?
mount -vt devpts devpts <chroot>/dev/pts
mount -vt tmpfs shm <chroot>/dev/shm
mount -vt proc proc <chroot>/proc
mount -vt sysfs sysfs <chroot>/sys