You are not logged in.

#1 2010-12-03 20:40:51

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

can't build a working gcc package

Dunno what my problem is with building a gcc package that actually works.

1) I rebuild and installed libtool
2) I cleared by ~/.bashrc
3) I added the de locales
4) I built gcc

When I install it however, I get an error and nothing compiles tongue

$ sudo pacman -U /var/bauerbill/core/gcc/gcc-4.5.1-2-x86_64.pkg.tar.xz 
resolving dependencies...
looking for inter-conflicts...

Targets (1): gcc-4.5.1-2

Total Download Size:    0.00 MB
Total Installed Size:   69.60 MB

Proceed with installation? [Y/n] 
checking package integrity...
(1/1) checking for file conflicts                               [##################################] 100%
(1/1) upgrading gcc                                             [##################################] 100%
error: command failed to execute correctly

Love to know what I'm doing incorrectly.

Offline

#2 2010-12-03 23:08:08

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: can't build a working gcc package

That is an error due to the .install file failing.  Is your package missing info files?  Or are they nor compressed?

Offline

#3 2010-12-04 16:03:41

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: can't build a working gcc package

@allan - no, the package does contains both an .install and .info file.  They are both compressed.

The notes in the PKGBUILD:

# $Id: PKGBUILD 101006 2010-11-27 11:52:52Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Allan McRae <allan@archlinux.org>

# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# NOTE: libtool requires rebuilt with each new gcc version

Does this imply that I need to build and install these in the order specified prior to attempting the gcc build?

Offline

Board footer

Powered by FluxBB