[SOLVED] First crack at packaging

After the first instance ever on Arch where a (admittedly very new) program has to be done by source, and not on the AUR. It got me wanting to know how to package things, although nothing so complex as the program I'm after yet, I want to crawl before walking.
I decided to have a crack at a smaller program - so chose a rouge like game I hadn't yet seen in the AUR - not that it matters even if it was.
I paste the PKGBUILD I made for it below - it's not finished, but the instructions to make and build the package are there:
I took a lot of "inspiration" from the ASCIIPortal PKGBUILD because, like this game "AQuestTooFar", in the source, there is no "make install" part of the process, only a "make" and then an executable is made that you run straight from wherever the source and everything was downloaded to. Theres also no Package() part. But it works and makes a package nonetheless. However after intallation with pacman, I get an error when I try and launch it from terminal, about not being able to load one of the files in the "Data" folder, which I've checked it included and is present in my package.
Hopefully some of you would be able to offer any feedback and advice, and any thoughts on this error. I'm a complete newb to doing things from source and then packaging them - Oh package managers, how you spoil us =].
Cheers,
Ben.
# Maintainer: Ben Ward <[email protected]>
pkgname=AQuestTooFar
pkgver=1.3
pkgrel=1
pkgdesc="A rouge-like dungeon crawling game, using text."
arch=(any)
url="http://www.randomstuff.org.uk/~geoffrey/roguelikes/aquesttoofar.html"
license=()
depends=()
makedepends=('')
optdepends=('')
source=(http://www.randomstuff.org.uk/~geoffrey/roguelikes/AQuestTooFar1.3-091010.zip)
md5sums=('68545729914de7c7549b8d5ece13f061') #generate with 'makepkg -g'
build() {
cd "${srcdir}/AQuestTooFar1.3-091010"
make
install -d $pkgdir/opt/AQuestTooFar
install -D AQuestTooFar $pkgdir/opt/AQuestTooFar/
install -D readme.txt $pkgdir/usr/share/doc/AQuestTooFar/README
cp -r Build Data $pkgdir/opt/AQuestTooFar
mkdir $pkgdir/usr/bin
ln -s $pkgdir/opt/AQuestTooFar/AQuestTooFar $pkgdir/usr/bin/AQuestTooFar
chmod -x $pkgdir/opt/AQuestTooFar/*/*
Last edited by Ben9250 (2011-03-06 15:09:44)

Ben9250 wrote:Is there a certain situation then when ('any') is ok to be used or should one always try to put either i686 or x86_64 or both?
Yes, for example if your build only contains python code, then it runs on every platform which python runs on. That's when you can put arch=(any) into the PKGBUILD, because it runs everywhere.
Ben9250 wrote:
"install -Dm755 ${_realname} $pkgdir/opt/${_realname}/${_realname}"
"install -Dm644 readme.txt ${pkgdir}/usr/share/doc/${_realname}/README"
With these such lines, the -Dm755 part for example, it looks to me as though this is setting permissions, rather in a chmod kindof manner?
It's always good to set the permissions directly. Only that way you can be sure that the permissions will be right.
Ben9250 wrote:
for i in Data/*;do install -Dm644 "$i" ${pkgdir}/opt/${_realname}/"$i";done
This line is a loop, which loops around for every file in the Data folder, and copies them to the opt directory, essentially getting rid of the cp line?
Unfortunately something like install -Dm644 Data/* ${pkgdir}/opt/${_realname}/ doesn't work, so I solved it with a loop. But this line is basically doing the same as
cp -r Data/* ${pkgdir}/opt/${_realname}/
chmod 644 ${pkgdir}/opt/${_realname}/Data/*
but as I wrote before, the PKGBUILD I posted is how I would do it and I don't like to use cp in a build function, it's a matter of personal taste I guess.
Ben9250 wrote:
echo "#!/bin/sh  - forgive me but I don't know about this line, echo is something to do with printing things, and theres someting going on with a shebang and sh, so something to do with bash?
"cd /opt/${_realname}"
"./${_realname}" > ${pkgdir}/usr/bin/${_realname}"
"chmod +x ${pkgdir}/usr/bin/${_realname}"
This looks to me like the answer to the softlinking?
Yes. If you use a softlink in /usr/bin which directs to /opt/${_realname}, it's kind of like the binary file is in /usr/bin. The binary expects the data directory in the same directory, but it's in /opt/${_realname}. That's why the ln -s method doesn't work. The shell script however first does cd into /opt/${_realname} and then executes the binary. That way everything's fine, because the data directory is in the same directory.
Last edited by Army (2011-03-04 13:18:30)

Similar Messages

  • I regularly have 15 MB of Available Memory - Should I upgrade or is there an issue I should solve first? EtreCheck report pasted below

    Hello,
    My MacBook is running super slow. I downloaded Memory Clean from the App Store and I regularly have 15MB or free memory available.
    In Activity Monitor I usually see the following:
    ~800 MB kernel_task
    ~500 MB softwareupdated
    ~500 MB Image Capture Extension
    In Console, I see mdworker.bundle errors attributed to UID's: 501, 503, 1422
    My current UID from what I can tell is 502. Other UID's left over from various upgrades are 89, 99, 235.
    Lastly, Drive Genius is giving me a Drive Integrity Warning. But I can't create a bootable clone.
    I have no idea if the above problems are related. I'd like to think I just run a lot of stuff that eats my memory and upgrading the RAM would be the easy path. What say you all?
    -Jeff
    Problem description:
    I regularly have 15 MB of Available Memory - Should I upgrade or is there an issue I should solve first?
    EtreCheck version: 2.1.8 (121)
    Report generated February 27, 2015 at 1:42:38 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (17-inch, Late 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,3
        1 2.5 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 412
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 512 MB
            Color LCD 1920 x 1200
        AMD Radeon HD 6770M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 11 days 16:29:20
    Disk Information: ℹ️
        APPLE HDD HTS727575A9E362 disk0 : (750.16 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 748.93 GB (73.11 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Boom.app
        [not loaded]    com.globaldelight.driver.BoomDevice (1.1 - SDK 10.9) [Click for support]
            /Applications/DiskWarrior.app
        [not loaded]    com.alsoft.Preview (4.4) [Click for support]
            /Applications/Parallels Desktop.app
        [not loaded]    com.parallels.kext.hidhook (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.hypervisor (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.netbridge (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.usbconnect (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.vnic (9.0 24237.1028877) [Click for support]
            /Applications/VMware Fusion.app
        [not loaded]    com.vmware.kext.vmci (90.5.7) [Click for support]
        [not loaded]    com.vmware.kext.vmioplug.12.1.17 (12.1.17) [Click for support]
        [not loaded]    com.vmware.kext.vmnet (0188.79.83) [Click for support]
        [not loaded]    com.vmware.kext.vmx86 (0188.79.83) [Click for support]
        [not loaded]    com.vmware.kext.vsockets (90.5.7) [Click for support]
    Startup Items: ℹ️
        HP IO: Path: /Library/StartupItems/HP IO
        Startup items are obsolete in OS X Yosemite
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.Maps.pushdaemon.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        [killed]    com.apple.xpc.loginitemregisterd.plist
        4 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.GSSCred.plist
        [killed]    com.apple.ifdreader.plist
        [failed]    com.apple.loginwindow.LFVTracer.plist
        [killed]    com.apple.nesessionmanager.plist
        [killed]    com.apple.periodic-monthly.plist
        [killed]    com.apple.periodic-weekly.plist
        [killed]    com.apple.xpc.smd.plist
        8 processes killed due to memory pressure
    Launch Agents: ℹ️
        [running]    com.bjango.istatmenusagent.plist [Click for support]
        [running]    com.bjango.istatmenusnotifications.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.[redacted].UpdatePodcastsAgent.plist [Click for support]
        [unknown]    ~ [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.backblaze.bzserv.plist [Click for support]
        [running]    com.bjango.istatmenusdaemon.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2.Agent.plist [Click for support]
        [loaded]    com.prosofteng.DriveGenius.locum.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.akamai.client.plist [Click for support]
        [running]    com.akamai.single-user-client.plist [Click for support]
        [running]    com.backblaze.bzbmenu.plist [Click for support]
        [loaded]    com.divx.agent.postinstall.plist [Click for support]
        [running]    com.ecamm.printopia.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.scheduledScan.plist [Click for support]
        [loaded]    com.macpaw.CleanMyMac2Helper.trashWatcher.plist [Click for support]
        [running]    com.prosofteng.DGMonitor.plist [Click for support]
        [running]    ws.agile.1PasswordAgent.plist [Click for support]
    User Login Items: ℹ️
        Dropbox    Application Hidden (/Applications/Dropbox.app)
        Fantastical    Application Hidden (/Applications/Fantastical.app)
        TextExpander    Application Hidden (/Applications/TextExpander.app)
        HazelHelper    Application Hidden (/Users/[redacted]/Library/PreferencePanes/Hazel.prefPane/Contents/MacOS/HazelH elper.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Google Earth Web Plug-in: Version: 6.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 3.3.1.3   - SDK 10.8 [Click for support]
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        npP3Remote: Version: 0.3 [Click for support]
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        DivXBrowserPlugin: Version: 2.2 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        iPhotoPhotocast: Version: 7.0
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
    User internet Plug-ins: ℹ️
        BrowserPlus_2.9.8: Version: 2.9.8 [Click for support]
        CitrixOnlineWebDeploymentPlugin: Version: 1.0 [Click for support]
        WebEx64: Version: 1.0 - SDK 10.5 [Click for support]
    Safari Extensions: ℹ️
        1Password
        FastestTube
        DivX Plus Web Player HTML5 <video>
        Open in Internet Explorer
    3rd Party Preference Panes: ℹ️
        Akamai NetSession Preferences  [Click for support]
        Backblaze Backup  [Click for support]
        BrowserPlus  [Click for support]
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Hazel  [Click for support]
        Logitech Control Center  [Click for support]
        MacFUSE  [Click for support]
        Printopia  [Click for support]
        Xmarks for Safari  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: ON
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 748.93 GB Disk used: 675.81 GB
        Destinations:
            Time Machine [Local]
            Total size: 999.85 GB
            Total number of backups: 49
            Oldest backup: 2014-10-30 20:23:53 +0000
            Last backup: 2015-02-26 13:07:38 +0000
            Size of backup disk: Too small
                Backup size 999.85 GB < (Disk used 675.81 GB X 3)
    Top Processes by CPU: ℹ️
            12%    WindowServer
             7%    bzfilelist
             1%    loginwindow
             1%    Dropbox
             0%    bztransmit
    Top Processes by Memory: ℹ️
        361 MB    bztransmit
        326 MB    Finder
        206 MB    Safari
        163 MB    WindowServer
        146 MB    Console
    Virtual Memory Information: ℹ️
        647 MB    Free RAM
        2.99 GB    Active RAM
        2.45 GB    Inactive RAM
        1.67 GB    Wired RAM
        10.17 TB    Page-ins
        6.32 GB    Page-outs
    Diagnostics Information: ℹ️
        Feb 27, 2015, 09:46:13 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/helpd_2015-02-27-094613_[redac ted].crash

    Ok.
    I think that got it all. Anything else you see?
    Problem description:
    Uninstalled CleanMyMac2
    EtreCheck version: 2.1.8 (121)
    Report generated February 27, 2015 at 3:31:40 PM EST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (17-inch, Late 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,3
        1 2.5 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 412
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 512 MB
            Color LCD 1920 x 1200
        AMD Radeon HD 6770M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 0:51:42
    Disk Information: ℹ️
        APPLE HDD HTS727575A9E362 disk0 : (750.16 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 748.93 GB (76.14 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Boom.app
        [not loaded]    com.globaldelight.driver.BoomDevice (1.1 - SDK 10.9) [Click for support]
            /Applications/DiskWarrior.app
        [not loaded]    com.alsoft.Preview (4.4) [Click for support]
            /Applications/Parallels Desktop.app
        [not loaded]    com.parallels.kext.hidhook (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.hypervisor (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.netbridge (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.usbconnect (9.0 24237.1028877) [Click for support]
        [not loaded]    com.parallels.kext.vnic (9.0 24237.1028877) [Click for support]
            /Applications/VMware Fusion.app
        [not loaded]    com.vmware.kext.vmci (90.5.7) [Click for support]
        [not loaded]    com.vmware.kext.vmioplug.12.1.17 (12.1.17) [Click for support]
        [not loaded]    com.vmware.kext.vmnet (0188.79.83) [Click for support]
        [not loaded]    com.vmware.kext.vmx86 (0188.79.83) [Click for support]
        [not loaded]    com.vmware.kext.vsockets (90.5.7) [Click for support]
    Startup Items: ℹ️
        HP IO: Path: /Library/StartupItems/HP IO
        Startup items are obsolete in OS X Yosemite
    Launch Agents: ℹ️
        [running]    com.bjango.istatmenusagent.plist [Click for support]
        [running]    com.bjango.istatmenusnotifications.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [loaded]    com.[redacted].UpdatePodcastsAgent.plist [Click for support]
        [unknown]    ~ [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.backblaze.bzserv.plist [Click for support]
        [running]    com.bjango.istatmenusdaemon.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.prosofteng.DriveGenius.locum.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [loaded]    com.akamai.client.plist [Click for support]
        [running]    com.akamai.single-user-client.plist [Click for support]
        [running]    com.backblaze.bzbmenu.plist [Click for support]
        [loaded]    com.divx.agent.postinstall.plist [Click for support]
        [running]    com.ecamm.printopia.plist [Click for support]
        [running]    ws.agile.1PasswordAgent.plist [Click for support]
    User Login Items: ℹ️
        Dropbox    Application Hidden (/Applications/Dropbox.app)
        Fantastical    Application Hidden (/Applications/Fantastical.app)
        TextExpander    Application Hidden (/Applications/TextExpander.app)
        HazelHelper    Application Hidden (/Users/[redacted]/Library/PreferencePanes/Hazel.prefPane/Contents/MacOS/HazelH elper.app)
    Internet Plug-ins: ℹ️
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Google Earth Web Plug-in: Version: 6.1 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flip4Mac WMV Plugin: Version: 3.3.1.3   - SDK 10.8 [Click for support]
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        npP3Remote: Version: 0.3 [Click for support]
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        DivXBrowserPlugin: Version: 2.2 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        iPhotoPhotocast: Version: 7.0
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
    User internet Plug-ins: ℹ️
        BrowserPlus_2.9.8: Version: 2.9.8 [Click for support]
        CitrixOnlineWebDeploymentPlugin: Version: 1.0 [Click for support]
        WebEx64: Version: 1.0 - SDK 10.5 [Click for support]
    Safari Extensions: ℹ️
        1Password
        FastestTube
        DivX Plus Web Player HTML5 <video>
        Open in Internet Explorer
    3rd Party Preference Panes: ℹ️
        Akamai NetSession Preferences  [Click for support]
        Backblaze Backup  [Click for support]
        BrowserPlus  [Click for support]
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Hazel  [Click for support]
        Logitech Control Center  [Click for support]
        MacFUSE  [Click for support]
        Printopia  [Click for support]
        Xmarks for Safari  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: ON
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 748.93 GB Disk used: 672.78 GB
        Destinations:
            Time Machine [Local]
            Total size: 999.85 GB
            Total number of backups: 49
            Oldest backup: 2014-10-30 20:23:53 +0000
            Last backup: 2015-02-26 13:07:38 +0000
            Size of backup disk: Too small
                Backup size 999.85 GB < (Disk used 672.78 GB X 3)
    Top Processes by CPU: ℹ️
            32%    Finder
            25%    Console
            14%    WindowServer
             4%    NotificationCenter
             3%    hazelworker
    Top Processes by Memory: ℹ️
        395 MB    bztransmit
        186 MB    Finder
        146 MB    Console
        146 MB    WindowServer
        129 MB    mds_stores
    Virtual Memory Information: ℹ️
        1.51 GB    Free RAM
        4.26 GB    Active RAM
        1.38 GB    Inactive RAM
        1.44 GB    Wired RAM
        21.08 GB    Page-ins
        3 MB    Page-outs
    Diagnostics Information: ℹ️
        Feb 27, 2015, 02:36:10 PM    Self test - passed
        Feb 27, 2015, 02:13:40 PM    /Library/Logs/DiagnosticReports/Memory Clean_2015-02-27-141340_[redacted].cpu_resource.diag [Click for details]
        Feb 27, 2015, 01:49:15 PM    /Library/Logs/DiagnosticReports/WindowServer_2015-02-27-134915_[redacted].cpu_r esource.diag [Click for details]
        Feb 27, 2015, 09:46:13 AM    /Users/[redacted]/Library/Logs/DiagnosticReports/helpd_2015-02-27-094613_[redac ted].crash

  • [svn] 3190: - First legacy-compatibility package; runs TC acceptance tests

    Revision: 3190
    Author: [email protected]
    Date: 2008-09-11 20:02:41 -0700 (Thu, 11 Sep 2008)
    Log Message:
    - First legacy-compatibility package; runs TC acceptance tests
    -- Live variable analysis for local vars
    - Some comments and verboseStatus tracing
    - OP_kill marked as having side effect (kills the variable)
    - GO side of asc/GO integration
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/adobe/abc/GlobalOptimizer.java

  • [SOLVED] python2-parted (debian package)

    Would really appreciate it if you could bring this to Arch. I've tried
    deb2targz but got confused about the proper Arch directory structure. I
    don't know enough about Python to do it justice.
    Download: http://packages.ubuntu.com/quantal/python-parted
    Wasted a day trying to line up the deps for Arch Linux ARM to virtualize,
    these Debian packages are getting in the way, to put it mildly.
    Last edited by atweiden (2013-03-27 20:17:21)

    I did see pyparted, but after investigating python-parted
    on packages.ubuntu.com, it appeared that python-parted depends upon
    pyparted, which in Ubuntu land means who knows how or where or in
    what weird ways Ubuntu expects python-parted to be there. In any case,
    linaro-image-tools fails for a plethora of reasons and there's no way
    I can ascertain whether pyparted made a difference.
    Words of advice, If you're trying to follow the MDN guide to virtualize
    ARM, you have to virtualize Ubuntu first.
    I'm marking this thread solved: I bought a development board.

  • [SOLVED] Cannot install any package thru pacman

    I cannot install any package thru pacman
    when i try to install the package with pacman -S,
    I started getting error when my sytem crashed and i have to forcefully switch off my laptop through power button
    after that when i install anything from pacman i got following error:
    [tan@ARCH ~]$ sudo pacman -S shotwell
    Password:
    warning: shotwell-0.9.3-1 is up to date -- reinstalling
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): shotwell-0.9.3-1
    Total Download Size: 0.00 MB
    Total Installed Size: 9.12 MB
    Proceed with installation? [Y/n] y
    (1/1) checking package integrity [##########] 100%
    (1/1) checking for file conflicts [##########] 100%
    (1/1) upgrading shotwell [##########] 100%
    ldconfig: File /usr/lib/libgexiv2.so.0.0.0 is empty, not checked.
    ldconfig: File /usr/lib/libgexiv2.so.0 is empty, not checked.
    ldconfig: File /usr/lib/libgexiv2.so is empty, not checked.
    ldconfig: File /usr/lib/libraw.so is empty, not checked.
    ldconfig: File /usr/lib/libraw.so.2 is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so.2 is empty, not checked.
    ldconfig: File /usr/lib/libraw.so.2.0.1 is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so is empty, not checked.
    ldconfig: File /usr/lib/libraw_r.so.2.0.1 is empty, not checked.
    Thanks in advance
    Last edited by tan (2011-05-29 05:45:28)

    Thank God, everything is fixed now:
    First, I deleted all these files, then i follows the following procedure
    1. For libgexiv2 file i upgraded 'xorg-server, xorg-xinit, xorg-utils, xorg-server-utils' from pacman
    # pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
    2. For libraw file i upgraded 'libraw' from pacman
    # pacman -S libraw
    There will be some conflicting files
    After deleting some conflicting files it solves the problem and restore all the 'lib' file.

  • [Solved] First installation: HP Photosmart C4280 - Epson EPL-4200L

    Hi,
    this is my first post in the forum since two day ago have removed kubuntu and installed arch. Thanks the awesome wiki I was able to configure lvm, wireless, bluetooth, graphics, etc but have great problems configuring my two printers.
    I have installed, as in wiki,
    cups
    ghostscript
    gsfonts
    gutenprint
    foomatic-db
    foomatic-db-engine
    foomatic-db-nonfree
    foomatic-filters
    hplip
    cups-pdf
    have added cups to the DAEMONS array in rc.conf and my account to lp group and edited /etc/cups/cupsd.conf so now I have SystemGroup lp
    **Epson EPL-4200L**
    It's a laser print working on parallel port. Was not necessary add in rc.conf lp, parport, parport_pc modules since they are loaded automatically.
    Obviously neither kde systemsetting printer applet nor cups web interface find my printer. Here some output of dmesg:
    dmesg | egrep -i "parport|lp|epson"
    lp: driver loaded but no devices found
    parport_pc 00:06: reported by Plug and Play ACPI
    parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
    parport0: Printer, EPSON EPL-6200L
    lp0: using parport0 (interrupt-driven)
    **HP Photosmart C4280**
    It's a combo (printer/scanner) connected through usb. In lsusb I have:
    Bus 003 Device 004: ID 03f0:5c11 Hewlett-Packard PhotoSmart C4200 Printer series
    I've blacklisted usblp in /etc/rc.conf and changed device node permission. Since:
    ls -l /dev/bus/usb/003/004
    crw-rw----+ 1 root lp 189, 259 2 giu 20.12 /dev/bus/usb/003/004
    have created /etc/udev/rules.d/10-usbprinter.rules and inserted this:
    #HP Photosmart C4280
    ATTR{idVendor}=="03f0", ATTR{idProduct}=="5c11", MODE:="0660", GROUP:="lp"
    LABEL="usbprinter_rules_end"
    usbcore is already loaded so no need to insert it in rc.conf
    Even this printer is unrecognized.
    I have made an attempt using hp tools: with sudo have launched hp-setup and it finds the printer but clicking on "Printer test page" nothing appens; the same from hp-toolbox.
    I need a very big help. Thanks
    P.S. I have added my account to sudoers and disabled root: I don't know if this is important.
    Last edited by gcala (2010-06-04 10:19:58)

    Solved! It was probably a permission problem; used to kubuntu I had added my account to sudoers and blocked root so during printer configuration i used my account/password as credentials; even if they are accepted there is a problem with sudo configuration that make it unusable with cups; so root account is necessary. Using root make other settings useless: inserting !usblp in rc.conf, modify device node permission. Adding own account to lp group is enough.
    To use HP scanner add your account to scanner group and uncomment hpaio line in /etc/sane.d/dll.conf

  • [solved] Build of php package with mssql support - checking my process

    Since the straight 'php' package doesn't support mssql, I'm in the process of trying to build and install an updated copy that has that switch turned on. The information I've seen out there seems pretty straight forward, but my results are odd, so I'm checking my work here...
    I did an abs to pull down the tree (had to use abs -t), created an abs directory under my root home dir, then copied the extra/php branch to /root/abs/php
    Edit the PKGBUILD adding the line
        --with-mssql \
    to the end (line 130) of the list of  phpextensions= that is later used in the ./configure line of PKGBUILD. Then from the same directory, run makepkg --asroot -f
    then remove the old php with pacman -Rd php
    then install the new php with pacman -U ./php-5.3.2-6-i686.pkg.tar.xz
    Then modify my php.ini for mssql support
    and then get the wierd results:
    - php reports it does not have mssql support. phpinfo() shows the ./configure command line and the --with-mssql piece is not there.
    - a php -m reports "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mssql.so' - /usr/lib/php/modules/mssql.so: cannot open shared object file: No such file or directory in Unknown on line 0
    A search for mssql.so comes up empty on the system. I am not sure why it isn't there, but I wanted to make sure I was doing the above steps first before running down the php code specific rabbit hole trying to find mssql.so in case it is under a different name in the source and then compiled out to be mssql.so in the end result.
    (note - I have freetds on the system along with it's source files from the package, and no mssql.so in there either)
    Thanks,
    -Jeff
    Last edited by jethro (2010-09-22 19:33:55)

    Did all that, no real errors, only a few warnings, but did figure out what was going on and will put it here in case anyone searches on this and is in the same boat. In search of mssql.so I found this web page http://howtogetitworking.com/2008/02/26 … p-on-unix/ which talks about needing to build the mssql.so file yourself. Specifically, going into src//ext/mssql/ then
    # cd /uploaded_path/mssql/
    # phpize
    # ./configure
    # make
    # make install
    and suddenly I have mssql.so, restart apache and I have mssql support. I wasn't expecting to have to compile a subsection of php after doing a package build with the switches I wanted, but I guess that's what I had to do.
    Thanks,
    -Jeff

  • How to solve problem with Installer Package for itunes

    Hi! I'm attempting to upadte itunes so I can get the latest software for my iphone. It's a 3GS. Every time when ready to instal it says I have a problem with the installer package  -  something is missing. What can I do to solve this?

    Repair your Apple software update.
    Go to START/ALL PROGRAMS/Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install
    If you don't find ASU, go to Control Panel:
    START > CONTROL PANEL >
    Add n Remove Programs(XP)
    Programs n Features(Win7/Vista)
    highlight ASU and click CHANGE then REPAIR,

  • How to solve this error 'This package is using an app name that hasn't been reserved for this app: "Matest"

    i already reserved app name as Ma_Test. But only one error showing "This package is using an app name that hasn't been reserved for this app: "Matest". how to solve?

    Hello,
    You need to make sure both names match exactly

  • [Solved] Failed to install package

    The package in case is Steam .
    I'm running Arch Linux on a 64bit system. Therefore I have multilib enabled in my pacman.conf
    # /etc/pacman.conf
    # See the pacman.conf(5) manpage for option and repository directives
    # GENERAL OPTIONS
    [options]
    # The following paths are commented out with their default values listed.
    # If you wish to use different paths, uncomment and update the paths.
    #RootDir = /
    #DBPath = /var/lib/pacman/
    #CacheDir = /var/cache/pacman/pkg/
    #LogFile = /var/log/pacman.log
    #GPGDir = /etc/pacman.d/gnupg/
    HoldPkg = pacman glibc
    #XferCommand = /usr/bin/curl -C - -f %u > %o
    #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
    #CleanMethod = KeepInstalled
    #UseDelta = 0.7
    Architecture = auto
    # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
    #IgnorePkg =
    #IgnoreGroup =
    #NoUpgrade =
    #NoExtract =
    # Misc options
    #UseSyslog
    #Color
    #TotalDownload
    CheckSpace
    #VerbosePkgLists
    # By default, pacman accepts packages signed by keys that its local keyring
    # trusts (see pacman-key and its man page), as well as unsigned packages.
    SigLevel = Required DatabaseOptional
    LocalFileSigLevel = Optional
    #RemoteFileSigLevel = Required
    # NOTE: You must run `pacman-key --init` before first using pacman; the local
    # keyring can then be populated with the keys of all official Arch Linux
    # packagers with `pacman-key --populate archlinux`.
    # REPOSITORIES
    # - can be defined here or included from another file
    # - pacman will search repositories in the order defined here
    # - local/custom mirrors can be added here or in separate files
    # - repositories listed first will take precedence when packages
    # have identical names, regardless of version number
    # - URLs will have $repo replaced by the name of the current repo
    # - URLs will have $arch replaced by the name of the architecture
    # Repository entries are of the format:
    # [repo-name]
    # Server = ServerName
    # Include = IncludePath
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.
    # The testing repositories are disabled by default. To enable, uncomment the
    # repo name header and Include lines. You can add preferred servers immediately
    # after the header, and they will be used before the default mirrors.
    #[testing]
    #Include = /etc/pacman.d/mirrorlist
    [core]
    Include = /etc/pacman.d/mirrorlist
    [extra]
    Include = /etc/pacman.d/mirrorlist
    #[community-testing]
    Include = /etc/pacman.d/mirrorlist
    [community]
    Include = /etc/pacman.d/mirrorlist
    # If you want to run 32 bit applications on your x86_64 system,
    # enable the multilib repositories as required here.
    #[multilib-testing]
    #Include = /etc/pacman.d/mirrorlist
    #[multilib]
    Include = /etc/pacman.d/mirrorlist
    # An example of a custom package repository. See the pacman manpage for
    # tips on creating your own repositories.
    #[custom]
    #SigLevel = Optional TrustAll
    #Server = file:///home/custompkgs
    [archlinuxfr]
    SigLevel = Never
    Server = http://repo.archlinux.fr/$arch
    I found some other cases of this, but it was from people not having multilib enabled.
    Also tried runnning pacman -Syyu. Didn't work.
    And yes, the package name is correct.
    Thanks in advance for your answers.
    Last edited by pwhyz (2014-09-22 17:12:53)

    pwhyz wrote:
    Damn, you're right.
    I thought only the Include= line was needed, didn't even realize multilib didn't pop up during pacman -Sy.
    Sorry guys!
    You should read the comments when they are available
    # The header [repo-name] is crucial - it must be present and
    # uncommented to enable the repo.

  • [SOLVED] Make Pacman cache packages installed with -U

    When installing a package with -U, pacman doesn't cache packages as it does when installing with -S. Is there a way to change this behavior?
    I read somewhere that specifying the package's full path and prepending "file://", as in "pacman -U file://path/to/package.pkg.tar.xz", but this often complains of an "invalid or corrupted package (PGP signature)".
    How can I make pacman always copy installed packages to the cache?
    MOD EDIT: change 'closed' to 'solved' in title to avoid confusion
    Last edited by fukawi2 (2013-07-06 13:09:21)

    You can't.  This has been discussed on the bugtracker several times.
    https://bugs.archlinux.org/task/35699
    https://bugs.archlinux.org/task/31243
    https://bugs.archlinux.org/task/15143
    https://bugs.archlinux.org/task/18012
    If you're building the packages yourself with makepkg, you can set PKGDEST to your cache in makepkg.conf.  Otherwise you could write a small pacman wrapper that copies the package after installing it.

  • [SOLVED]How to search package name only when using yaourt

    I often install a AUR package by yaourt term, but it does not only search terms in package name but also package description, since there are so much packages in AUR, it produce many pages of items, and it can not support more to page one screenful at a time, It
    become difficult to get the right choice,
    Thank you in advance!
    Last edited by netawater (2013-06-14 00:47:06)

    Hey, that's one thing I actually know how to do with regexes! All package descriptions have some spaces at their beginning, the package names themselves have not, so you can just use inverted grepping like so:
    $ pacman -Ss test | grep -v '^ '
    core/perl 5.10.1-5 (base)
    extra/fprint_demo 0.4-2 (fprint)
    extra/ghc 6.12.1-2
    extra/haskell-hunit 1.2.2.1-1
    extra/haskell-quickcheck 2.1.0.3-1
    extra/junit 4.7-1
    extra/kdesdk-kpartloader 4.4.0-1 (kde kdesdk)
    extra/libxtst 1.1.0-1
    extra/memtest86+ 4.00-1
    extra/mono-tools 2.6.1-1
    extra/openoffice-base 3.2.0-1
    extra/openoffice-base-beta 3.2.0_ooo320_m12-1
    extra/perl-test-pod 1.41-1
    extra/python-nose 0.11.1-1
    extra/qemu-kvm 0.12.2-1
    extra/testdisk 6.11.3-2
    extra/unarj 2.63a-2
    extra/xbill 2.1-6
    xyne-any/reflector 5.0-2
    community/buildbot 0.7.11p3-1
    community/cppunit 1.12.1-1
    community/cxxtest 3.10.1-3
    community/dsniff 2.4b1-15
    community/gtk-aurora-engine 1.5.1-1
    community/gtkperf 0.40-3
    community/java-jdom 1.1.1-1
    community/lib32-libxtst 1.1.0-1 (lib32)
    community/perl-test-base 0.59-1
    community/perl-test-deep 0.106-1
    community/perl-test-differences 0.500-1
    community/perl-test-exception 0.29-1
    community/perl-test-manifest 1.23-1
    community/perl-test-mockobject 1.09-1
    community/perl-test-nowarnings 1.01-1
    community/perl-test-tester 0.107-1
    community/perl-test-warn 0.21-2
    community/phoronix-test-suite 2.4.0-1
    community/pmtools 20100123-1
    community/reflector 5.0-2
    community/stress 1.0.0-2
    community/typespeed 0.6.5-2
    arch-games/mangler-snapshot 1.1.20100116-3
    arch-games/ultimatestunts 0.7.5.1-1
    This still shows the repos and the versions (nothing cut wouldn't be able to handle though). It works fine with pacman as you just saw, I can't guarantee for yaourt as I don't have it installed.
    Edit: Hm… I just realized that this still displays the results where 'test' only occured in the package description. Give me some time to figure this out.
    Edit 2: Another grep for 'test' would solve it:
    $ pacman -Ss test | grep -v '^ ' | grep test
    extra/memtest86+ 4.00-1
    extra/perl-test-pod 1.41-1
    extra/testdisk 6.11.3-2
    community/cxxtest 3.10.1-3
    community/perl-test-base 0.59-1
    community/perl-test-deep 0.106-1
    community/perl-test-differences 0.500-1
    community/perl-test-exception 0.29-1
    community/perl-test-manifest 1.23-1
    community/perl-test-mockobject 1.09-1
    community/perl-test-nowarnings 1.01-1
    community/perl-test-tester 0.107-1
    community/perl-test-warn 0.21-2
    community/phoronix-test-suite 2.4.0-1
    arch-games/ultimatestunts 0.7.5.1-1
    Still, it's not that pretty to write the same thing twice. If you really want to do it like this, I suggest you make it a function in your ~/.${SHELL}rc.
    Last edited by Runiq (2010-02-27 08:36:11)

  • [SOLVED] bundle from ruby package can not install gems

    Hello, I was stuck with 'bundle' for hours, I do not know anything about Ruby, and even looking at the code won't get my anywhere. kindda don't like it... (guilty). Anyway, I'm gonna post it here to save someone else's time.
    What I was trying to do:
      I was trying to run this command, as developing an omega sub-theme for Drupal requires this. This command will read GemFile and install all GEM dependencies.
    bundle install
    What happened? What's the problem?
      this happened:
    Fetching gem metadata from https://rubygems.org/............
    Fetching additional metadata from https://rubygems.org/..
    Resolving dependencies...
    Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
    /home/MY_USER/.rvm/rubies/ruby-2.1.2/bin/ruby extconf.rb
    *** extconf.rb failed ***
    Could not create Makefile due to some reason, probably lack of necessary
    libraries and/or headers. Check the mkmf.log file for more details. You may
    need configuration options.
    Provided configuration options:
    --with-opt-dir
    --without-opt-dir
    --with-opt-include
    --without-opt-include=${opt-dir}/include
    --with-opt-lib
    --without-opt-lib=${opt-dir}/lib
    --with-make-prog
    --without-make-prog
    --srcdir=.
    --curdir
    --ruby=/home/MY_USER/.rvm/rubies/ruby-2.1.2/bin/ruby
    --with-ffi_c-dir
    --without-ffi_c-dir
    --with-ffi_c-include
    --without-ffi_c-include=${ffi_c-dir}/include
    --with-ffi_c-lib
    --without-ffi_c-lib=${ffi_c-dir}/lib
    --with-libffi-config
    --without-libffi-config
    --with-pkg-config
    --without-pkg-config
    /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
    You have to install development tools first.
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:541:in `try_link0'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:556:in `try_link'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:642:in `block in try_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:635:in `with_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:641:in `try_ldflags'
    from /home/MY_USER/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/mkmf.rb:1762:in `pkg_config'
    from extconf.rb:15:in `<main>'
    extconf failed, exit code 1
    Gem files will remain installed in /home/MY_USER/.rvm/gems/ruby-2.1.2/gems/ffi-1.9.3 for inspection.
    Results logged to /home/MY_USER/.rvm/gems/ruby-2.1.2/extensions/x86_64-linux/2.1.0/ffi-1.9.3/gem_make.out
    An error occurred while installing ffi (1.9.3), and Bundler cannot continue.
    Make sure that `gem install ffi -v '1.9.3'` succeeds before bundling.
    What was tried?
      Everything: cloning eventmachine directly from github which produced same result, removing gems depending on eventmachine however other packages produced the same result, ...
      The error message says: You have to install development tools first. however it was installed:
    sudo pacman --needed -S base-devel
    What was the problem? What's the solution then?
      Well, I had previously enabled multilib in pacman.com which resulted in gcc-multilib and gcc-libs-multilib being installed however these multilib packages does NOT work, gcc and gcc-libs needs to be installed instead. I do not know what is the proper solution for having these multilib packages and compiling ruby gems? (maybe adding multilib back to pacman.conf!) but it finally worked for me.
    I would create a wiki article but I don't know if it deserve's one + I'm not very good english writer + not sure if the solution is 100% right. probably this should be added to ruby page: in order to compile ruby gems you have to install gcc and gcc-libs instead of gcc-multilib and gcc-libs-multilib since multilib packages wont work because of...?
    Last edited by loolooyyyy (2014-06-19 17:33:08)

    Don't have the 7100 board , but some of theese issues are common .
    Enter BIOS in the following submenus :
    Advanced BIOS Features:
    -HD-Boot order - Make sure your SATA drive where you install OS is first in the list .
    (always check this one when altering HD's and connections of drives/usb-drives/card readers etc)
    Set normal boot order
    1'st boot device : CDROM
    2'nd boot device :Harddisk
    3'rd boot device : Harddisk (just to have something there)
    or if having floppy
    1'st boot device : Floppy
    2'nd boot device : CDROM
    3'rd boot device : Harddisk
    Boot other device : disabled
    Disconnect all USB cables coming from case or multicard dreader device etc. terminated on the motherboards JUSB1/JUSB2 .. headers .
    Enter Advanced Chipset features
    Integrated pheripherals
    Ide function setup ->
    Onchip IDE channel 0 : Disabled
    Onchip IDE channel 1 : Disabled
    SATA 1/2 : Enabled
    SATA 3/4 : Enabled
    Onboard device->
    OnBoard Sil3132 RAID : disabled
    OnBoard Sil3132 Mode :SATA
    Also recommend setting
    USB KB/Storage Support : Disabled
    (and connect the keyboard to PS2 via the delivered USB/PS2 adapter )
    Boot once , and enter bios again to verify the HDbootorder
    BTW: Having only 2.5GB for is not gonna cut it as OS partition is not enough as pagefile written under install is 1.5 times installed memory
    and the install will halt .
    Windows updates and other stuff as mail storage , my documents , user prifiles and registry hives need space and grow some over time .
    Primary OS partition workes best having altleast a minimum 20% free space all the time for housekeeping tasks lige changing layout ini , prefetch data
    defragmenting etc.
    Don't use anything less than 15GB to have peace of mind . ( I usually make it 30GB or more to avoid having lack of space later on , as that is a bitch )
     

  • [SOLVED]fail to build package: no such file or directory error

    EDIT1: read my last post
    I'm getting an error while installing pacman-color from the aur repository. I'm still a newbie so my only guess is to make such directory? why should I have to do that? anyone help?
    ==> Validating source files with md5sums...
        pacman-3.4.2.tar.gz ... Passed
        pacman-color-3.4.2-1.patch ... Passed
        color.conf ... Passed
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    /tmp/yaourt-tmp-root/aur-pacman-color/./PKGBUILD: line 21: cd: pacman-3.4.2: No such file or directory
        Aborting...
    ==> ERROR: Makepkg was unable to build pacman-color.
    Last edited by aluser (2011-01-21 04:48:16)

    Here once again a failed attempt after removing pacman-color. I am beginning to think that maybe running yaourt as sudo is probably a bad idea. I think that may have had something to do with it.
    archuser@archws ~ % sudo yaourt -S abiword-light <11:54>
    Password:
    ==> Downloading abiword-light PKGBUILD from AUR...
    x PKGBUILD
    Comment by: mango on Thu, 25 Mar 2010 21:53:12 +0000
    ./configure --prefix=/usr \
    --disable-spell \
    --disable-print
    Comment by: chessboxing on Wed, 19 May 2010 14:33:51 +0000
    doesn't want to build
    rule 23: make: command not found
    == ERROR: Build Failed.
    Aborting...
    Eventhough I Had to install flex psiconv, it didn't help.
    Its a minefield man.
    Comment by: sHyLoCk on Wed, 02 Jun 2010 13:54:43 +0000
    http://aur.archlinux.org/packages.php?ID=37738
    Comment by: zenny on Thu, 02 Sep 2010 05:59:05 +0000
    Quite confusing statements. Below sHyLoCk recommends http://aur.archlinux.org/packages.php?ID=37738 on June 2 2010 and on June 27 he declares his recommended package obsolet and ask a TU to delete! The problem with the sHyLoCk package is there is not page setup option. So I installed this package, it has got the page setup menu, but once I click the option, the application dies with the following output (Maybe helpful to debug for the maintainer, I am not an expert):
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): GLib-GObject-WARNING **: invalid (NULL) pointer instance
    (abiword:32455): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_clear: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_pack_start: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_clear: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_pack_start: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed
    (abiword:32455): Gdk-CRITICAL **: gdk_pixmap_colormap_create_from_xpm_d: assertion `drawable != NULL || colormap != NULL' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_image_set_from_pixmap: assertion `mask == NULL || GDK_IS_PIXMAP (mask)' failed
    (abiword:32455): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
    (abiword:32455): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_toggle_button_set_active: assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed
    (abiword:32455): Gtk-CRITICAL **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed
    (abiword:32455): Gdk-CRITICAL **: gdk_pixmap_colormap_create_from_xpm_d: assertion `drawable != NULL || colormap != NULL' failed
    Aborted
    First Submitted: Wed, 15 Apr 2009 17:01:46 +0000
    abiword-light 2.8.6-2 : A fully-featured word processor without some gnome dependencies
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> abiword-light dependencies:
    - fribidi>=0.10.9 (already installed)
    - wv>=1.2.4 (already installed)
    - libglade>=2.0 (already installed)
    - pkgconfig (already installed)
    ==> Continue building abiword-light ? [Y/n]
    ==> ---------------------------------------
    ==>
    ==> Building and installing package
    ==> WARNING: Building package as root is dangerous.
    Please run yaourt as a non-privileged user.
    ==> Making package: abiword-light 2.8.6-2 (Fri Jan 21 11:54:35 JST 2011)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Downloading abiword-2.8.6.tar.gz...
    --2011-01-21 11:54:35-- http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
    Resolving www.abisource.com... 130.89.149.216
    Connecting to www.abisource.com|130.89.149.216|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 9218827 (8.8M) [application/x-gzip]
    Saving to: "abiword-2.8.6.tar.gz.part"
    100%[=======================================>] 9,218,827 414K/s in 28s
    2011-01-21 11:55:04 (325 KB/s) - "abiword-2.8.6.tar.gz.part" saved [9218827/9218827]
    ==> Validating source files with md5sums...
    abiword-2.8.6.tar.gz ... Passed
    ==> Extracting Sources...
    ==> Starting build()...
    /tmp/yaourt-tmp-root/aur-abiword-light/./PKGBUILD: line 16: cd: /tmp/yaourt-tmp-root/aur-abiword-light/src/abiword-2.8.6/: No such file or directory
    Aborting...
    ==> ERROR: Makepkg was unable to build abiword-light.
    ==> Restart building abiword-light ? [y/N]
    ==> --------------------------------------
    ==> archuser@archws ~ % <11:find /usr/{bin,lib} -type f -size 0
    /usr/lib/python3.1/tkinter/test/__init__.py
    /usr/lib/python3.1/tkinter/test/test_ttk/__init__.py
    /usr/lib/python3.1/tkinter/test/test_tkinter/__init__.py
    /usr/lib/python3.1/test/nullcert.pem
    /usr/lib/python3.1/site-packages/ranger/gui/__init__.py
    /usr/lib/python3.1/email/mime/__init__.py
    /usr/lib/python3.1/email/test/__init__.py
    /usr/lib/python3.1/urllib/__init__.py
    /usr/lib/python3.1/sqlite3/test/__init__.py
    /usr/lib/python3.1/pydoc_data/__init__.py
    /usr/lib/python3.1/lib2to3/tests/data/fixers/myfixes/__init__.py
    /usr/lib/python2.7/test/nullcert.pem
    /usr/lib/python2.7/site-packages/git_remote_helpers/git/__init__.py
    /usr/lib/python2.7/site-packages/OpenGL/GL/MESAX/__init__.py
    /usr/lib/python2.7/site-packages/OpenGL/GL/VERSION/__init__.py
    /usr/lib/python2.7/site-packages/OpenGL/GLU/EXT/__init__.py
    /usr/lib/python2.7/site-packages/OpenGL/AGL/__init__.py
    /usr/lib/python2.7/site-packages/pychess/__init__.py
    /usr/lib/python2.7/site-packages/pychess/widgets/__init__.py
    /usr/lib/python2.7/site-packages/pychess/Utils/__init__.py
    /usr/lib/python2.7/site-packages/pychess/Utils/lutils/__init__.py
    /usr/lib/python2.7/site-packages/pychess/ic/__init__.py
    /usr/lib/python2.7/site-packages/pychess/ic/managers/__init__.py
    /usr/lib/python2.7/site-packages/pychess/System/__init__.py
    /usr/lib/python2.7/site-packages/pychess/Players/__init__.py
    /usr/lib/python2.7/site-packages/pychess/gfx/__init__.py
    /usr/lib/python2.7/site-packages/xml2po/modes/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/gen_ext/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/f2py_ext/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/pyrex_ext/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/swig_ext/__init__.py
    /usr/lib/python2.7/site-packages/numpy/distutils/tests/f2py_f90_ext/__init__.py
    /usr/lib/python2.7/site-packages/bzrlib/util/__init__.py
    /usr/lib/python2.7/site-packages/bzrlib/util/configobj/__init__.py
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/__init__.py
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_LINK_FAILED
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_EXCEPTION
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_UNPARSEABLE
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/TESTS_FAILED
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/TESTS_INVALID
    /usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_UNKNOWN
    /usr/lib/python2.7/site-packages/pygame/examples/__init__.py
    /usr/lib/python2.7/site-packages/gtk-2.0/egg/__init__.py
    /usr/lib/python2.7/site-packages/gtk-2.0/gi/overrides/__init__.py
    /usr/lib/python2.7/site-packages/sonata/__init__.py
    /usr/lib/python2.7/site-packages/sonata/plugins/__init__.py
    /usr/lib/python2.7/email/mime/__init__.py
    /usr/lib/python2.7/email/test/__init__.py
    /usr/lib/python2.7/sqlite3/test/__init__.py
    /usr/lib/python2.7/pydoc_data/__init__.py
    /usr/lib/python2.7/bsddb/test/__init__.py
    /usr/lib/python2.7/lib-tk/test/test_ttk/__init__.py
    /usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.py
    /usr/lib/python2.7/lib2to3/tests/data/fixers/myfixes/__init__.py
    /usr/lib/purple-2/perl/auto/Purple/Purple.bs
    /usr/lib/perl5/vendor_perl/auto/HTML/Parser/Parser.bs
    /usr/lib/perl5/vendor_perl/auto/XML/Parser/Expat/Expat.bs
    /usr/lib/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.bs
    /usr/lib/perl5/vendor_perl/auto/Irssi/Irssi.bs
    /usr/lib/perl5/vendor_perl/auto/Irssi/UI/UI.bs
    /usr/lib/perl5/vendor_perl/auto/Irssi/Irc/Irc.bs
    /usr/lib/perl5/vendor_perl/auto/Irssi/TextUI/TextUI.bs
    /usr/lib/pidgin/perl/auto/Pidgin/Pidgin.bs
    /usr/lib/firefox-3.6/.autoreg
    archuser@archws ~ %
    Last edited by aluser (2011-01-21 03:02:22)

  • [Solved] Using pacman's package signing correctly

    When pacman 4 first came out, I just merged the pacnew file so that package signing was disabled. I did initialise the keys etc. but I didn't import or sign the master keys or enable signature checks.
    So tonight I figured I would start seeing how this worked. I took the fingerprints from the master key list on archlinux's site and I checked they matched the fingerprints listed on Allan's blog. I then imported the five master keys using pacman-key, signed them locally and used --edit-key to assign each of the five marginal trust.
    I then commented out the "Never" line for package signing in pacman.conf so that it would use the compiled in default to make signatures optional but check them if available. I also set PackageRequired for the core repository.  I left the other repos I have enabled to default to the default policy as I think signing isn't complete for them.
    I then ran pacman -Syu. This mostly went OK but I'm slightly worried about this bit:
    error: gsm: key "7F2D434B9741E8AC" is unknown
    :: Import PGP key 9741E8AC, "Pierre Schmitz <[email protected]>", created 2011-04-10? [Y/n] y
    error: jbig2dec: key "BBE43771487328A9" is unknown
    :: Import PGP key 487328A9, "Bartlomiej Piotrowski <[email protected]>", created 2011-10-10? [Y/n] y
    error: p11-kit: key "E8F18BA1615137BC" is unknown
    :: Import PGP key 615137BC, "Ionut Biru <[email protected]>", created 2011-04-19? [Y/n] y
    error: pacmatic: key "396E3E25BAB142C1" is unknown
    :: Import PGP key BAB142C1, "Kyle Keen <[email protected]>", created 2011-02-03? [Y/n] y
    error: patchutils: key "06096A6AD1CEDDAC" is unknown
    :: Import PGP key D1CEDDAC, "Laurent Carlier <[email protected]>", created 2011-10-30? [Y/n] y
    error: perl-encode-locale: key "F99FFE0FEAE999BD" is unknown
    :: Import PGP key EAE999BD, "Allan McRae <[email protected]>", created 2011-06-03? [Y/n] y
    error: vlc: key "B7310AE5F04569AE" is unknown
    :: Import PGP key F04569AE, "Giovanni Scafora <[email protected]>", created 2011-10-15? [Y/n] y
    I initially thought I was just telling pacman to import the keys but now I'm wondering if I also told it to trust them and if I wasn't meant to do that? Should they have been automatically handled if they were signed correctly? I was trying to follow the instructions on Allan's blog which show this question and Allan answering yes. However, I now realise that I got confused and that that bit comes *before* Allan imports and trusts the master keys, but I'd already done that at this point. (But it didn't complain they were untrusted once imported...)
    Could somebody either reassure me that I did this correctly (securely)? Or advise me on how to undo it if that's what I should do?
    Last edited by cfr (2012-02-19 15:14:02)

    I followed Allan's guide on page
    http://allanmcrae.com/2011/12/pacman-pa … rch-linux/
    and pacman -Syu gave:
    error: xorg-bdftopcf: signature from "Allan McRae <[email protected]>" is marginal trust
    Which is suprising as his key is one of master keys. Currently several master keys were revoked.
    Based on GPG's output it is maybe requires some additional input to mark the revoked key as trusted:
    sub  3072R/B20030F3  created: 2011-11-25  revoked: 2011-11-25  usage: A   
    [  full  ] (1). Ionut Biru (Arch Linux Master Key) <[email protected]>
    Please decide how far you trust this user to correctly verify other users' keys
    (by looking at passports, checking fingerprints from different sources, etc.)
    gpg gives this:
      1 = I don't know or won't say
      2 = I do NOT trust
      3 = I trust marginally
      4 = I trust fully
      5 = I trust ultimately
      m = back to the main menu
    full story:
    [root@archbang ~]# for key in FFF979E7 CDFD6BB0 4C7EA887 6AC6A4C2 824B18E8; do
    > printf 'trust\n3\nquit\n' | gpg --homedir /etc/pacman.d/gnupg/ --no-permission-warning --command-fd 0 --edit-key $key
    > done
    pub  3072R/4C7EA887  created: 2011-11-25  expires: never       usage: SC 
                         trust: marginal      validity: full
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  1024R/93F91AC3  created: 2011-11-25  revoked: 2011-11-25  usage: E   
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  3072R/B20030F3  created: 2011-11-25  revoked: 2011-11-25  usage: A   
    [  full  ] (1). Ionut Biru (Arch Linux Master Key) <[email protected]>
    pub  3072R/4C7EA887  created: 2011-11-25  expires: never       usage: SC 
                         trust: marginal      validity: full
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  1024R/93F91AC3  created: 2011-11-25  revoked: 2011-11-25  usage: E   
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  3072R/B20030F3  created: 2011-11-25  revoked: 2011-11-25  usage: A   
    [  full  ] (1). Ionut Biru (Arch Linux Master Key) <[email protected]>
    Please decide how far you trust this user to correctly verify other users' keys
    (by looking at passports, checking fingerprints from different sources, etc.)
      1 = I don't know or won't say
      2 = I do NOT trust
      3 = I trust marginally
      4 = I trust fully
      5 = I trust ultimately
      m = back to the main menu
    pub  3072R/4C7EA887  created: 2011-11-25  expires: never       usage: SC 
                         trust: marginal      validity: full
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  1024R/93F91AC3  created: 2011-11-25  revoked: 2011-11-25  usage: E   
    This key was revoked on 2011-11-25 by RSA key 4C7EA887 Ionut Biru (Arch Linux Master Key) <[email protected]>
    sub  3072R/B20030F3  created: 2011-11-25  revoked: 2011-11-25  usage: A   
    [  full  ] (1). Ionut Biru (Arch Linux Master Key) <[email protected]>
    pub  3072R/6AC6A4C2  created: 2011-11-18  expires: never       usage: SC 
                         trust: marginal      validity: full
    sub  1024R/86872C2F  created: 2011-11-18  expires: never       usage: E   
    sub  3072R/1B516B59  created: 2011-11-18  expires: never       usage: A   
    [  full  ] (1). Pierre Schmitz (Arch Linux Master Key) <[email protected]>
    pub  3072R/6AC6A4C2  created: 2011-11-18  expires: never       usage: SC 
                         trust: marginal      validity: full
    sub  1024R/86872C2F  created: 2011-11-18  expires: never       usage: E   
    sub  3072R/1B516B59  created: 2011-11-18  expires: never       usage: A   
    [  full  ] (1). Pierre Schmitz (Arch Linux Master Key) <[email protected]>
    Please decide how far you trust this user to correctly verify other users' keys
    (by looking at passports, checking fingerprints from different sources, etc.)
      1 = I don't know or won't say
      2 = I do NOT trust
      3 = I trust marginally
      4 = I trust fully
      5 = I trust ultimately
      m = back to the main menu
    pub  3072R/6AC6A4C2  created: 2011-11-18  expires: never       usage: SC 
                         trust: marginal      validity: full
    sub  1024R/86872C2F  created: 2011-11-18  expires: never       usage: E   
    sub  3072R/1B516B59  created: 2011-11-18  expires: never       usage: A   
    [  full  ] (1). Pierre Schmitz (Arch Linux Master Key) <[email protected]>
    I got to go now I will try gpg key edit later. If someone knows what to do please help.
    Thanks

Maybe you are looking for