Making 32-bit packages in Arch64

Hi Arch community,
I have successfully installed a 32-bit chroot in my Arch64 system.
When I download 32-bit PKGBUILDs from AUR, and run makepkg, it warns me that making packages as root can seriously damage my system.
Is there a good, safe way to build 32-bit packages on a 64-bit Arch system?
Thanks

Also, if you've set up the chroot according to the wiki you can just do "su [username]" inside the chroot to become a regular user inside the chroot.

Similar Messages

  • Some 32-bit packages in Arch64 repo

    Can you include wine32 and flash into Arch64 repo? I understand that you must rebuild them with other deps (some 32-bit libs), but it will be cool and many Arch64 users says "tnx" for it

    Check in [community] and AUR for packages. Arch64 doesn't support a mixed 32/64-bit environment officially.

  • How to cross compile 32bit packages on Arch64 via distcc?

    Is there a way to cross compile 32 bit packages on Arch64 via distcc?
    Use 32bit chroot on Arch64, maybe?
    If anyone has done such things, please tell me how.
    Thank you very much!

    Themaister wrote:http://wiki.archlinux.org/index.php/Arc … bit_system <--- good place to start
    That's exactly what I followed to make a 32bit chroot on a 64bit machine. Then just use pacman inside the chroot to install the base-devel group, and you can start compiling packages from AUR, exactly the same way as you usually do. That's what I do (I have eee laptop on which it's pain to compile, so I use my 64bit machine for compiling). Then just transfer the newly created packages to the 32bit machine and install...
    I don't use distcc for that, so can't help you with this, sorry.

  • Unable to install Adobe CS5 64 bit package created using Adobe Application Manager on Windows 7 64

    I am unable to install Adobe CS5 64 bit package created using Adobe Application Manager on Windows 7 64 bit.Basically installation rollback on Win 7 64 bit image.
    MSI Log File :-
    Property(S): ProductToBeRegistered = 1
    MSI (s) (5C:D4) [17:59:21:784]: Note: 1: 1708
    MSI (s) (5C:D4) [17:59:21:784]: Product: Adobe_CreativieSuite_5_MNT -- Installation operation failed.
    MSI (s) (5C:D4) [17:59:21:784]: Windows Installer installed the product. Product Name: Adobe_CreativieSuite_5_MNT. Product Version: 1.2.0000. Product Language: 1033. Manufacturer: Adobe Systems Incorporated. Installation success or error status: 1603.
    Please let me how to install 64 bit package on Win7 64 bit.
    Thanks in Advance.

    Ok so I downloaded the most current installer CS5.1, My previous installer was version 5.0. It did install fine fully updated to my license version. I just wanted to update in case anyone in the future has a similiar experience. Too bad this advice was not offered by the "experts" here.

  • [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

    I was upgrading my Arch Linux i686 install, and I got the following error:
    error: The mirror 'http://mirror.rit.edu/archlinux/$repo/os/$arch' contains the $arch variable, but no Architecture is defined.
    I added Architecture = i686 to /etc/pacman.conf under [options], and when I run pacman -Syu, I get these errors:
    error: failed to prepare transaction (package architecture is not valid)
    :: package clucene-2.3.3.4-2-x86_64 does not have a valid architecture
    :: package filezilla-3.5.3-1-x86_64 does not have a valid architecture
    :: package lshw-B.02.16-1-x86_64 does not have a valid architecture
    :: package yajl-2.0.4-1-x86_64 does not have a valid architecture
    Why is pacman trying to install x86_64 packages on my i686 system?
    Last edited by nticompass (2012-01-13 03:24:43)

    Got errors
    :: Retrieving packages from community...
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from archlinux.supsec.org : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from cake.lib.fit.edu : File unavailable (e.g., file not found, no access)
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirrors.cat.pdx.edu : Not Found
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirror.ece.vt.edu : Not Found
    error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from ftp.gtlib.gatech.edu : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from community
    error: failed to commit transaction (File unavailable (e.g., file not found, no access))
    Seems to be looking for 64 bit packages still. Had a similar issue when installing another prog as well

  • Core dump using OCI HP 32 bit package

    Does any one successfully run OCI application on HP using 32 bit libraries?
    I got core dump at the end of running application, around desctruction part. Following are the statement I got from GDB:
    #0 0xc005db14 in pthread_mutex_destroy+0x18 () from /usr/lib/libpthread.1
    #1 0xc021efd8 in __thread_mutex_free+0x40 () from /usr/lib/libc.2
    #2 0xc0abb4b8 in HPMutexWrapper::~HPMutexWrapper+0x48 () from /usr/lib/libstd_v2.2
    #3 0x613c in std::basic_string<char,std::char_traits<char>,std::allocator<char>>::_C_unlink (this=0x7bff153c) at /opt/aCC/include_std/string:1002
    #4 0xccd0 in ociWrapper::cursor::~cursor (this=0x7bff1538, #free=2) at /vobs/Guru2/IDCE/ociWrapper/ociWrapper.cpp:220
    #5 0x65a8 in main () at /vobs/Guru2/Oracle/HP-UX/sdk/demo/oci_wrapper_insert.cpp:73
    If I build my application in 64 bit using OCI 64 bit package, no problem at all. But I have to make my application work in 32 bit so that I can not simply switch to 64 bit.
    Please give me some help. Thanks.

    I got the problem solved myself. The core dump happens when use OCI 32 bit libraries with STL string. It cores at destroying the STL string.
    Add the option "-mt" to the compile command, the problem will go away.

  • What is your favorite way of running 32 bit apps in Arch64?

    I'm curious as to what methods Arch64 users use to run their 32 bit applications and what is your opinion on them.
    I myself relies mostly on lib32 packages to run a few applications that I need (mostly flash & wine), which works quite nicely expect it makes my system feel a bit 'messier'. chroot looks like a nice option but I've not tried it out yet (it looks complicated to setup to be honest).

    Agent69 wrote:
    azleifel wrote:I use a chroot to run Epson's 32bit-only binary driver for my 3170 Photo scanner plus XSane and VueScan - something of a waste of disk space but needs must etc. - and lib32 packages for everything else that's 32bit, including nspluginwrapper-flash, CrossOver Linux and Google Earth.
    It's good to know that someone has VueScan working on their x64 box. It is the one thing that keeps me dual booting with Vista.
    However, just like Zodmaner, chroot looks complicated.
    Setting up a chroot isn't that difficult, there are just has a lot of steps to follow!  VueScan works for me in a 32bit chroot with just one issue - for some reason it loses the ability to initialise my scanner and I have to run XSane first to do the initialisation before starting VueScan.  I had the same problem running VueScan in a 32bit chroot on 64bit Ubuntu, so it's not an Arch-specific problem, and Ed Hamrick wasn't able to help when I emailed him.

  • How to make use of 32bit packages on Arch64

    Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs. 
    My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
    Arch x86_64 / XFCE4
    Thanks in advance
    Last edited by kaola_linux (2008-12-09 15:24:36)

    kaola_linux wrote:
    Hello everyone, I recently installed arch 64bit which was not yet fully tweaked to suit my needs. 
    My 32bit version has some nice apps and I would like to know how to make use of them or even reuse them so that I won't download things anymore because I have a slow internet connection...:)
    Arch x86_64 / XFCE4
    Thanks in advance
    You can reuse the packages in /var/cache/pacman/pkg/ on your  Arch32.
    You can use these saved packages in a 32bit chroot ENV on your Arch64. Just pacman -U all of them.

  • 64 bit packages in i686 repos?!?

    Just another day with pacman... I thought.
    [root@lysithea stijn]# pacman -Syu
    :: Synchronizing package databases...
    borromini is up to date
    core is up to date
    extra is up to date
    community is up to date
    :: Starting full system upgrade...
    warning: pan: local (0.132-1) is newer than extra (0.14.2.91-3)
    resolving dependencies... done.
    looking for inter-conflicts... done.
    Targets: libgphoto2-2.4.0-3 unzip-5.52-3
    Total Package Size: 1,42 MB
    Beginning upgrade process...
    :: Retrieving packages from extra...
    error: failed retrieving file 'unzip-5.52-3-x86_64.pkg.tar.gz' from ftp.belnet.be : File unavailable (e.g., file not found, no access)
    warning: failed to retrieve some files from extra
    error: failed to commit transaction (unexpected error)
    This must be the weirdest error I've ever seen on Arch. Unless my system has 'upgraded' itself to a 64 bit one overnight.

    omgwtf i'm having the same problem
    [root@freeking danthux]# uname -a
    Linux freeking 2.6.23-ARCH #1 SMP PREEMPT Sat Oct 27 09:04:14 UTC 2007 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
    [root@freeking danthux]# pacman -Syu
    :: Sincronizando las bases de datos de paquetes...
    core esta actualizado
    extra esta actualizado
    community esta actualizado
    :: iniciando actualización completa del sistema...
    resolviendo dependencias... Hecho.
    verificando conflictos... Hecho.
    A instalar: libgphoto2-2.4.0-3 unzip-5.52-3
    Tamaño total de paquetes: 1,42 MB
    ¿Continuar con la instalación? [Y/n] y
    :: Descargando paquetes desde extra...
    error: failed retrieving file 'unzip-5.52-3-x86_64.pkg.tar.gz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
    warning: fallo al descargar algunos archivos desde extra
    error: failed to commit transaction (error inesperado)
    [root@freeking danthux]#
    Last edited by danthux (2007-11-18 22:30:55)

  • Can i install a mix of 32-bit and 64-bit package ? and they work together ?

    Customer environment is Linux x86-64 having package pam-0.99.6.2-6.el5_4.1.x86_64 installed as per x86-64 server and application requirement.
    i.e # rpm -qi pam-0.99.6.2-6.el5_4.1
    Name : pam Relocations: (not relocatable)
    Version : 0.99.6.2 Vendor: Oracle America
    Release : 6.el5_4.1 Build Date: Thu 11 Mar 2010 02:58:52 AM MST
    Install Date: Tue 27 Apr 2010 02:12:43 AM MST Build Host: ca-build9.us.oracle.com
    Group : System Environment/Base Source RPM: pam-0.99.6.2-6.el5_4.1.src.rpm
    Size : 2577739 License: GPL or BSD
    Signature : DSA/SHA1, Thu 11 Mar 2010 02:59:17 AM MST, Key ID 66ced3de1e5e0159
    URL : http://www.us.kernel.org/pub/linux/libs/pam/index.html
    Summary : A security tool which provides authentication for applications
    Description :
    PAM (Pluggable Authentication Modules) is a system security tool that
    allows system administrators to set authentication policy without
    having to recompile programs that handle authentication.
    Now customer is installing other oracle monitoring application which is looking/requesting for 32 bit version of pam-0.99.6.2.6.el5_4.1 (i386), i.e this library
    Question:
    So, is there any way we can install the 32 bit version of this ?  While 64 bit is still there ?
    Concern with installing the 32 bit library, is that something picks it up mistakenly when it expects the 64 bit version.
    Edited by: sgaraga on Jun 8, 2012 4:39 PM

    You can run 32-bit software under a x86-64 OS provided you install the necessary x86 (32-bit) libraries.
    The x86_64 CPU is fully backwards compatible with Intel x86 16-bit and 32-bit code. Because the full x86 16-bit and 32-bit instruction sets remains implemented in hardware without any intervening emulation, existing x86 executables run with no compatibility or performance penalties (http://en.wikipedia.org/wiki/X86-64)
    An application that is 32-bit or 64-bit will have to be linked or share the appropriate library. 32-bit and 64-bit libraries won't be confused because they use different names.

  • [SOLVED]How to use pulseaudio with in 32 bit chroot on ARch64

    I am trying to running some 32bit software from chroot environment on Arch64.
    I set up pulseaudio on Arch64 property.
    However, within 32 bit chroot, I cannot use pulseaudio.
    For an example,
    arch32 chroot /home/xxxx/Audio > paplay Front_Center.wav
    Connection failure: Connection refused
    How can I fix this?
    Last edited by phabulosa (2008-04-27 19:37:15)

    I made this to work by the following steps:
    1. Install pulseaudio and alsa-plugin stuff in Arch32;
    2. Edit /etc/pulse/default.pa on Arch64 and enable "load-module module-native-protocol-tcp";
    3. Edit /etc/rc.d/pulseaudio and add a line "cp /var/run/pulse/.pulse-cookie /opt/arch32/etc/pulse-cookie" after pulseaudio line in 'start' part;
    4. Add some lines in /etc/hosts.allow on Arch64 (some of them may not be necessary) ;
    pulseaudio-native: 127.0.0.1
    pulseaudio-simple: 127.0.0.1
    pulseaudio-cli: 127.0.0.1
    pulseaudio-http: 127.0.0.1
    esound: 127.0.0.1
    5. Follow the "PulseAudio over Network" in Arch Wiki on Pulse audio http://wiki.archlinux.org/index.php/Pul … er_network and configure my Arch32 as a remote client on the network while setting the server address as 127.0.0.1;
    6. Restart Pulseaudio daemon on Arch64 and Run "paplay" on Arch32 to test.

  • CS5 64-Bit packages crashing in open and save dialogs

    Hi all,
    I am having a big problem running photoshop 64-bit, it opens ok but when you go to file and click either Open or Save the application just closes with no error report. I have been on quite a few forums about this, common answers seem to be the following:-
    Open GL (switch off or take vertical option Off)
    update graphics driver (fully up to date)
    Windows Updates ( fully up to date)
    Delete the CS5 Service Manager folder out of the local profile
    Stop WACOM service (haven't got a tablet installed)
    Create new user (unfortunately the default user profile has been overwrite for sysprep purposes so nit affects every new user)
    None of which have worked, I would really like to avoid rebuilding as it takes about 2 days to rebuild from scratch. We are using CS5 on a College network I currently have over 250 pc's using Windows 64-bit, on four different pc specs the main spec is as follows:-
    Core i7-2600S
    4 GB Ram
    Intel Q67 Express Chipset Family (version 9.2.0.1025)
    Intel Processor Graphics 2000 (Version 8.15.10.2509)
    Video Bios A00 (2089)
    This spec is only used for photoshop and illustrator, my other specs are for premiere and after effects which also have the same problem although premiere is slightly different it allows you to open the dialog box for import then reports not responding and gives you a dialogue do you want to report to windows but the XML file isn't created.
    Has anyone encountered a similar problem
    Please let me know
    cheers
    lee

    thanks for the suggestions i did abit more digging to find it was a corruption in windows. the fix was:-
    run command prompt as administrtor and run sfc /scannow
    after a reboot everything works fine

  • Issue with makeing a gensplash package

    Hey.
    I've been trying to make a package following the gensplash guide from the wiki: http://wiki.archlinux.org/index.php/Gensplash
    I cannot make it work however. This is the error:
    ==> Starting build()...
    /usr/bin/makepkg: line 599: build: command not found
    ==> ERROR: Build Failed.  Aborting...
    from this PKGBUILD script:
    #Packager: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
    pkgname=splashutils
    pkgver=1.1.9.10
    pkgrel=1
    pkgdesc="It's general aim is creating a set of tools which could 'enrich' the Gentoo boot process (displaying messages, animations, progress bars, etc)."
    url="http://dev.gentoo.org/~spock/projects/gensplash/"
    license=""
    depends=('libjpeg' 'libpng' 'perl')
    conflicts=('gensplashutils')
    source=(http://dev.gentoo.org/~spock/projects/gensplash/current/splashutils-$pkgver.tar.bz2)
    build() {
    cd $startdir/src/$pkgname-$pkgver-pre10
    ln -sf /bin/install /usr/bin/install
    ln -sf /usr/src/linux-`uname -r` linux
    #echo -n 'Please enter full path to patched kernel sources: ' ; read source
    #ln -s $source linux
    make ||| return 1
    make prefix=$startdir/pkg/ install
    rm /usr/bin/install
    I'm useing a custom 2.6.14 kernel on 0.7.1 if it matters. Any help would be appreciated. Thanks in advance.
    regards.

    I'm useing kernel 2.6.14 with the fbsplash-0.9.2-r5-2.6.14 patch. I've reinstalled the gensplashutils package again and this time it apprears to be working more or less, must have been due to a install screw up earlier, then (odd, as I've reinstalled the package twice prior to this). However, I'm left at the silent boot screen when doing a silent boot (runlevel 3), I get no image change untill I hit ALT+Fx or ALT+LeftArrow. What goes for logging out and in, or rebooting, I've been doing this continueously all day, no change, I'm still getting the same error.

  • Making 16 bit grayscale - a image in a color scale

    Hi,
    I want to show a 16bit grayscale image in a scale of a certain color (that means that instead of scale of between black to white i scale of black to a color eg. red)
    I have some image in 16 bit grayscale format, i need to add them together each by a diffrent color scale, to make one image.
    (I am taking images in a grayscale from camera that is connected to a microsope, and each image is taken with a diffrent color filter and i need to accumulate then to make one image).
    thx in advanced!

    hmmm, no, because you need reform the data from an array of three separate images into one image which each pixel reprsents the three image's pixels in color.
    ill try to add the files so you'll see it.
    do you have another idea for doing it more easly?
    Attachments:
    adding three grayscales images to one image in diffrent colors.vi ‏75 KB

  • Howto build 32bit package on Arch64?

    hello,
    yesterday i installed 64bit arch. I need to build 32bit and 64bit packages for my repo. I don't know how to build 32bit packages on my machine. I read http://wiki.archlinux.org/index.php/Arc … _Arch64.3F but I do something wrong. I installed gcc-multilib and tried to build mc-new (linux32 yaourt -S mc-new). I got 64bit package. Although 'linux32 uname -a' says I have i686 machine.
    What did I do wrong?
    Thanks (I don't want i686 chroot)

    I installed i686 system to /opt/arch32. Then I did 'sudo linux32 chroot /opt/arch32'. Now I can build 32bit packages running on i686? Am I right?
    Is this ok? /opt/arch32/etc/makepkg.conf:
    CARCH="i686"
    CHOST="i686-pc-linux-gnu"
    CFLAGS="-march=native -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=native -mtune=generic -O2 -pipe"

Maybe you are looking for

  • How do I import music from my iTunes library to my wife's iPad

    I am trying to populate my wife's iPad with music from my iTunes library which is on a Windows 7 PC. Help.

  • ICC profiles for Photosmart Premium C410a

    I have a Photosmart Premium C410a and previously had a C309 series.  I am using Windows 7 Ultimate (64 bit).  I am trying to print from Photoshop Lightroom 3 using the managed by application setting which requires ICC profiles for the printer. When I

  • Transfering pages to a new site

    I designed a page in one site and would like to transfer it and all of its associated content to a different site. Any tips on doing that in Dreamweaver so all the links are maintained?

  • Can I list/export more than 3-4 all-day events

    Hi: I need a way to list more than 4 all-day events in the monthly view. The three dots up above mean they will list in the daily/weekly view but this does me no good. I also wonder if you can export to .pdf more than 3 all-day events. Why is this no

  • Highlighted Cell

    i know it just a command but i do not how. when i open a table..how to make it automatically the first row of the table will be highlighted? Nice day and thanks for viewing