[pacman-dev] x86_64 experiences

Andreas Radke a.radke at arcor.de
Mon Feb 12 19:14:31 EST 2007


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

and at the end of the build section:

sed -i 21d $startdir/pkg/etc/makepkg3.conf
sed -i 23,25d $startdir/pkg/etc/makepkg3.conf

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


Maybe we can do this in a better way. Especially the CARCH that goes
into /etc/makepkg.conf should not be autodetected in such a way.

I suggest to use a configure switch or a special export "wanted CARCH"
before the build starts and that should go into makepkg.conf

I guess you can easily fix those issues. Now to the bad part: Nothing
happens :(

[root at workstation64 andyrtr]# pacman3 -Syu
:: Synchronisiere Paketdatenbank ...
 current                   70,7K   33,9K/s 00:00:02
[##################################################################################################]
100% extra                    252,7K   31,1K/s 00:00:08
[##################################################################################################]
100% community                 24,0K   29,5K/s 00:00:01
[##################################################################################################]
100% :: Starting full system upgrade... Warnung: k3b: local
(0.12.17-2.1) is newer than extra (0.12.17-2) Warnung: kernel26: local
(2.6.20-2) is newer than current (2.6.19.2-1) Warnung: nvidia: local
(1.0.9746-1) is newer than extra (1.0.9631-1) Warnung: nvidia-utils:
local (1.0.9746-1) is newer than extra (1.0.9631-1) Löse Abhängigkeiten
auf ... beendet. looking for inter-conflicts... beendet.

Pakete: jre-6-2  azureus-2.5.0.4-1  dbus-1.0.2-4  dbus-glib-0.72-2
gnome-icon-theme-2.17.91-1  evince-0.7.2-1  kdelibs-3.5.6-4
kdepim-3.5.6-3 libgtop-2.14.7-1  libmatroska-0.8.1-1  mktemp-1.5-1.2
nx-common-2.1.0-2  nxserver-2.1.0-2  p7zip-4.44-1  spidermonkey-1.60-1
vlc-0.8.6a-3  

Total Package Size:   95,25 MB

Proceed with installation? [Y/n] y
[root at workstation64 andyrtr]# 

How to debug that?

In other parts it works well.

[root at workstation64 andyrtr]# pacman3
-U /home/daten/arch64/packages/testing/pacman-rc-2007.02.12-2.pkg.tar.gz 
Lade Paketdaten ... beendet.
Prüfe Abhängigkeiten ... beendet.
cleaning up... beendet.
(1/1) checking for file conflicts
[##################################################################################################]
100%
Warnung: /etc/makepkg3.conf installiert
als /etc/makepkg3.conf.pacnew                                                                                        
(1/1) aktualisiere pacman-rc
[##################################################################################################]
100%

[root at workstation64 andyrtr]# pacman3
-U /home/daten/arch64/packages/testing/pacman-rc-2007.02.12-1.pkg.tar.gz 
Lade Paketdaten ... beendet.
Prüfe Abhängigkeiten ... beendet.
cleaning up... beendet.
(1/1) checking for file conflicts
[##################################################################################################] 100%
Warnung: /etc/makepkg3.conf installiert
als /etc/makepkg3.conf.pacnew                                                                                        
(1/1) aktualisiere pacman-rc
[##################################################################################################]
100%

[root at workstation64 andyrtr]# 

btw: i don't like the localisation. can u add a switch in pacman.conf
to disable that behavior?

Andy




More information about the pacman-dev mailing list