[pacman-dev] x86_64 experiences
Aaron Griffin
aaronmgriffin at gmail.com
Mon Feb 12 20:35:22 EST 2007
On 2/12/07, Andreas Radke <a.radke at arcor.de> wrote:
> Here are the changes I had to add to the latest PKGBUILD (12022007) to
> make it build the way I want to have it:
>
> sed -i "s|k8|x86_64|g" configure.ac
> sed -i "s|i686|x86_64|g" etc/pacman.conf.in
>
> before
> ./autogen.sh
Fixed in CVS.
> sed -i 21d $startdir/pkg/etc/makepkg3.conf
> sed -i 23,25d $startdir/pkg/etc/makepkg3.conf
What are these removing? The line numbers seem like nothing here.
> sed -i "s|CURRENT|CURRENT-64|g" $startdir/pkg/etc/abs3/supfile.arch
> sed -i "s|CURRENT|CURRENT-64|g" $startdir/pkg/etc/abs3/supfile.extra
> sed -i "s|CURRENT|CURRENT-64|g" $startdir/pkg/etc/abs3/supfile.community
> sed -i "s|TESTING|TESTING-64|g" $startdir/pkg/etc/abs3/supfile.testing
> sed -i "s|CURRENT|CURRENT-64|g" $startdir/pkg/etc/abs3/supfile.unstable
This is a simple sed, really, but if you can think of a fix that's
simpler than just running sed, let me know.
On 2/12/07, Andreas Radke <a.radke at arcor.de> wrote:
> and more:
>
> in /etc/makepkg.conf the march is badly detected as x86_64 where it has
> to be march=x86-64 for CFLAGS/CXXFLAGS
Actually, this is due to your sed line. k8 should have been replaced
with "x86-64"
> makepkg3 fails though i have added the arch tag in varios ways:
>
> arch=('i686' 'x86_64')
>
> [andyrtr at workstation64 pacman3]$ rm -rf src/ && time makepkg3 -f 2>&1 |
> tee build.log ==> ERROR: pacman-rc is not available for the 'x86_64'
> architecture. Note that many packages may need a line added to their
> PKGBUILD such as arch=('x86_64').
I'll look into this
More information about the pacman-dev
mailing list