[SOLVED] Source Architectures Arrays not recognized by makepkg

Hello,
I am in the process of updating my PKGBUILD's in order to migrate them to AUR4.
As suggested here, one should rework a PKGBUILD in order to not use bash conditionals regarding source architecture selection.
On my system (x86_64 architecture) - after reworking my package PKGBUILD script - on issuing 'makepkg --source' the system does not take into account neither the source_x86_64 or md5sums_x86_64 arrays; the i686 source/md5sums arrays are always selected:
# Maintainer: Frontier (frontier314 at gmail dot com)
pkgname=jaspersoftstudio
_pkgname=JaspersoftStudio
_binname="Jaspersoft Studio"
pkgver=6.1.0
pkgrel=1
pkgdesc="Eclipse based Jasper Reports generator"
arch=('i686' 'x86_64')
url="http://community.jaspersoft.com/project/jaspersoft-studio"
license=('Eclipse')
depends=('java-runtime' 'gtk2')
source_x86_64=("http://sourceforge.net/projects/jasperstudio/files/JaspersoftStudio-${pkgver}/TIBCOJaspersoftStudio-${pkgver}.final-linux-x86_64.tgz")
source=("http://sourceforge.net/projects/jasperstudio/files/JaspersoftStudio-${pkgver}/TIBCOJaspersoftStudio-${pkgver}.final-linux-x86.tgz")
md5sums_x86_64=('01e1da5e396a07b82dbc0cd20be437de')
md5sums=('2e6710b79c96f2f21880640fe8176048')
package() {
install -d -m 0755 ${pkgdir}/opt/${pkgname}
cp -a ${srcdir}/TIBCOJaspersoftStudio-${pkgver}.final/* ${pkgdir}/opt/${pkgname}
install -d -m 0755 ${pkgdir}/usr/bin
ln -sf "/opt/${_pkgname}/${_binname}" ${pkgdir}/usr/bin/${_pkgname}
ln -sf "/opt/${_pkgname}/${_binname}" ${pkgdir}/usr/bin/${pkgname}
cat > ${_pkgname}.desktop << EoF
[Desktop Entry]
Version=${pkgver}
Encoding=UTF-8
Name=Jaspersoft Studio
Comment=${pkgdesc}
Exec=GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc /opt/${_pkgname}/${_binname}
Icon=/opt/${_pkgname}/icon.xpm
Terminal=false
Type=Application
Categories=Java;Development;
EoF
install -D -m 0644 ${srcdir}/${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
Both makepkg.conf and pacman.conf have the correct architecture setting (snippets):
makepkg.conf
# ARCHITECTURE, COMPILE FLAGS
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"
pacman.conf
Architecture = x86_64
Can someone explain to me what I am doing wrong here?
Many thanks in advance.
Last edited by Frontier (2015-06-09 05:30:07)

Scimmia wrote:The PKGBUILD posted is wrong, it will use both x86.tgz and x86_64.tgz files. I you tried something else, post it.
Nothing more than Raynman and WorMzy suggested; using architecture-specific source arrays.
The updated PKGBUILD:
# Maintainer: Frontier (frontier314 at gmail dot com)
pkgname=jaspersoftstudio
_pkgname=JaspersoftStudio
_binname="Jaspersoft Studio"
pkgver=6.1.0
pkgrel=1
pkgdesc="Eclipse based Jasper Reports generator"
arch=('i686' 'x86_64')
url="http://community.jaspersoft.com/project/jaspersoft-studio"
license=('Eclipse')
depends=('java-runtime' 'gtk2')
source_x86_64=("http://sourceforge.net/projects/jasperstudio/files/JaspersoftStudio-${pkgver}/TIBCOJaspersoftStudio-${pkgver}.final-linux-x86_64.tgz")
source_i686=("http://sourceforge.net/projects/jasperstudio/files/JaspersoftStudio-${pkgver}/TIBCOJaspersoftStudio-${pkgver}.final-linux-x86.tgz")
md5sums_x86_64=('01e1da5e396a07b82dbc0cd20be437de')
md5sums_i686=('2e6710b79c96f2f21880640fe8176048')
package() {
install -d -m 0755 ${pkgdir}/opt/${pkgname}
cp -a ${srcdir}/TIBCOJaspersoftStudio-${pkgver}.final/* ${pkgdir}/opt/${pkgname}
install -d -m 0755 ${pkgdir}/usr/bin
ln -sf "/opt/${_pkgname}/${_binname}" ${pkgdir}/usr/bin/${_pkgname}
ln -sf "/opt/${_pkgname}/${_binname}" ${pkgdir}/usr/bin/${pkgname}
cat > ${_pkgname}.desktop << EoF
[Desktop Entry]
Version=${pkgver}
Encoding=UTF-8
Name=Jaspersoft Studio
Comment=${pkgdesc}
Exec=GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc /opt/${_pkgname}/${_binname}
Icon=/opt/${_pkgname}/icon.xpm
Terminal=false
Type=Application
Categories=Java;Development;
EoF
install -D -m 0644 ${srcdir}/${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
Now, when you say
on issuing 'makepkg --source' the system does not take into account neither the source_x86_64 or md5sums_x86_64 arrays
What exactly do you mean? Where are you looking to see if it's taken into account?
On the previous version of the PKGBUILD (still available on the "old" AUR3.5), I've used bash conditionals to check for the correct binary package download:
# Maintainer: Frontier (frontier314 at gmail dot com)
pkgname=jaspersoftstudio
_pkgname=JaspersoftStudio
_binname="Jaspersoft Studio"
pkgver=6.1.0
pkgrel=1
pkgdesc="Eclipse based Jasper Reports generator"
arch=('i686' 'x86_64')
url="http://community.jaspersoft.com/project/jaspersoft-studio"
license=('Eclipse')
depends=('java-runtime' 'gtk2')
if [ "$CARCH" = "i686" ]; then
source=("http://sourceforge.net/projects/jasperstudio/files/JaspersoftStudio-${pkgver}/TIBCOJaspersoftStudio-${pkgver}.final-linux-x86.tgz")
md5sums=('2e6710b79c96f2f21880640fe8176048')
fi
if [ "$CARCH" = "x86_64" ]; then
source=("http://sourceforge.net/projects/jasperstudio/files/JaspersoftStudio-${pkgver}/TIBCOJaspersoftStudio-${pkgver}.final-linux-x86_64.tgz")
md5sums=('01e1da5e396a07b82dbc0cd20be437de')
fi
package() {
install -d -m 0755 ${pkgdir}/opt/${pkgname}
cp -a ${srcdir}/TIBCOJaspersoftStudio-${pkgver}.final/* ${pkgdir}/opt/${pkgname}
install -d -m 0755 ${pkgdir}/usr/bin
ln -sf "/opt/${_pkgname}/${_binname}" ${pkgdir}/usr/bin/${_pkgname}
ln -sf "/opt/${_pkgname}/${_binname}" ${pkgdir}/usr/bin/${pkgname}
cat > ${_pkgname}.desktop << EoF
[Desktop Entry]
Version=${pkgver}
Encoding=UTF-8
Name=Jaspersoft Studio
Comment=${pkgdesc}
Exec=GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-2.0/gtkrc /opt/${_pkgname}/${_binname}
Icon=/opt/${_pkgname}/icon.xpm
Terminal=false
Type=Application
Categories=Java;Development;
EoF
install -D -m 0644 ${srcdir}/${_pkgname}.desktop ${pkgdir}/usr/share/applications/${_pkgname}.desktop
Testing THIS PKGBUILD with namcap produces no warnings, where testing the updated PKGBUILD produces warnings for the source_* arrays (probably namcap isn't updated to 'understand' architecture array strings).
Also with the old PKGBUILD when issuing makepkg --source, due to the bash conditionals, one could 'see' (from the shell messages) that the correct source package was downloaded. Now, when issuing the same command on the new PKGBUILD it downloads the i686 source always; however, issuing makepkg (without --source) downloads the correct source (in my case x86_64).
Last edited by Frontier (2015-06-09 06:02:02)

Similar Messages

  • [Solved] "source tarball may not contain nested subdirectories"

    Hey guys,
    I'm trying to upload (my first!) package to the AUR, however I'm getting the error "Error - source tarball may not contain nested subdirectories."
    I've created the package using `makepkg --source`, it's just a single PKGBUILD file.
    Running tar tvf looks fine:
    $ tar tvf setcolors-git-0.0.0-1.src.tar.gz
    drwxr-xr-x root/root 0 2013-08-17 08:25 setcolors-git/
    -rw-r--r-- root/root 685 2013-08-17 07:19 setcolors-git/PKGBUILD
    I searched around, but it looks like only a few people had this issue, and it was due to SELinx (which I'm not using).
    I must be missing something really simple and I'm sure I'll feel dumb.
    Here's the tarball in question.
    Last edited by EvanPurkhiser (2013-08-19 01:46:07)

    Ichimonji10 wrote:
    I'm also getting this error. The exact error thrown is:
    Error - source tarball may not contain nested subdirectories.
    I'm trying to submit this PKGBUILD: https://github.com/Ichimonji10/PKGBUILD … ybeans-git
    And here's the contents of my package:
    [ichimonji10@hardhack:tmp]$ ls
    vim-jellybeans-git-v1.5.25.gc173b85-1.src.tar.gz
    [ichimonji10@hardhack:tmp]$ tar tfv vim-jellybeans-git-v1.5.25.gc173b85-1.src.tar.gz
    drwxr-xr-x root/root 0 2013-08-17 11:55 vim-jellybeans-git/
    -rw-r--r-- root/root 1094 2013-08-17 09:08 vim-jellybeans-git/LICENSE.txt
    -rw-r--r-- root/root 1022 2013-08-17 11:39 vim-jellybeans-git/PKGBUILD
    Ahhh I get that too, your tar isn't the problem (I think), like mr. developer said, it's probably PHP5.5 that's the problem, it's the site.
    My theory is that PHP5.5 probably upgraded their parsing stuffs and the site's code just isn't compatible yet.

  • [solved] External Hard Drive Not Recognized

    I bought a SATA-to-USB 2.0 external HDD enclosure today (found here), and plugged in a 320gb WD Scorpio Blue. When I first plugged it into my laptop, with Crunchbang Stalter on it, it worked perfectly. I partitioned it and everything. However, I then plugged it into my desktop with Arch on it, kernel version 3.4.4.2, and it was not recognized. lsusb returns nothing related to it, fdisk -l does nothing, and dmesg only displays "fuse init (API version 7.18)". I have tried multiple file systems, set up on my laptop, including ext4, fat32 and ntfs, with absolutely no luck. I would greatly appreciate any help.
    Last edited by mjdudak (2012-07-11 15:56:32)

    I was actually having the same problem with a USB to SATA adapter that only occured on my arch box. When the device was plugged in it showed the event in dmesg and then it got registered as /dev/sde. If I tried to use the mount command though it gave me some error like "could not read from inode" or something like that. After upgrading to kernel 3.4.4-4 the problem seems to have corrected its self now. Are you using systemd or udev?
    Last edited by mynis01 (2012-07-10 09:01:38)

  • Partitions on raid-array not recognized on boot

    Hey there,
    I already had my share of problems with my raid setup and kernel/udev updates, but this one is new:
    I have a raid1 setup with several partitions on the array which get recognized as /dev/md0p1, /dev/md0p2, etc.
    My root-device is on /dev/md0p2 by the way.
    After the last kernel-update I get dropped in the rescue shell at boot because the message "waiting 10 seconds for device /dev/md0p2" timed out. In the rescue shell I can see, that indeed the array is properly assembled (cat /proc/mdstat) is fine, but somehow the corresponding partitions (md0p1, sda1, sdb2, etc) are not linked in /dev or recognized at all (/proc/partitions).
    However one execution of "blkid" seems to trigger some udev-event and afterwards all partitions and links magically appeared.
    Has anyone any idea what causes this behaviour and how to fix it? It would be very enlightening to know which part of my system is actually responsible for setting up the partition-links (udev?).

    Sorry guys, I've been inundated with problems lately.
    Anyway, to answer your questions, yes I've swapped out everything.
    As it stands right now, I have green lights on everything both sides even show up on IP and in ARD. The only issue now is that I can't see half of my RAID in DiskUtilities from my Xserve. I can format one side and not the other.
    My server is an older G5 single 2GHz, build 7W98 and 2.5GB memory, (for reference).
    Thank you for your input. I appreciate it.
    DaveB

  • [SOLVED] PCMCIA wireless card not recognized

    Hi, in reading other forums i have seen several others with similar problems to mine but never a solution, so my question is: is there a way to manually change pcmcia_cs or card firmware to make my existing card work (rather than buying an 802.11b card with prism chipset or similar)?
    Card is a Buffalo 802.11g/b wireless pcmcia card (broadcom chipset - notoriously bad with linux).  I am willing to buy the linuxant ndiswrapper to load the windows driver.  However the card is not even recognized by the kernel.
    lspci shows a broadcom device present
    cardctl ident lists no devices in either pcmcia port
    power indicator led on card remains off in linux (card functions well in windows XP)  Neither PCLinuxOS live cd nor Knoppix live cd were able to detect presence of card either.
    So, although i can install the windows driver for the card, the driver is not linked to any pcmcia device because the system is not aware of its existance.
    Again, is there anyway to change pcmcia_cs or update firmware to allow linux to see that this card exists?
    thanks

    Ok, here is all the info I can think to give.  I really appreciate all of your help.
    Card: Buffalo Airstation WLI-CB-G54A
    included here: http://ndiswrapper.sourceforge.net/phpw … x.php/List
    [root@hendrix ~]# lspci
    00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
    00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
    00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02)
    00:1d.1 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #2) (rev 02)
    00:1d.2 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #3) (rev 02)
    00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42)
    00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
    00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02)
    00:1f.3 SMBus: Intel Corp. 82801CA/CAM SMBus (rev 02)
    00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio (rev 02)
    00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem (rev 02)
    01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
    02:05.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
    02:05.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev a8)
    02:05.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
    02:08.0 Ethernet controller: Intel Corp. 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller (rev 42)
    03:00.0 Network controller: Broadcom Corporation: Unknown device 4320 (rev 03)
    [root@hendrix ~]# cardctl ident
    Socket 0:
    no product info available
    Socket 1:
    no product info available
    [root@hendrix ~]# cardctl info
    PRODID_1=""
    PRODID_2=""
    PRODID_3=""
    PRODID_4=""
    MANFID=0000,0000
    FUNCID=255
    PRODID_1=""
    PRODID_2=""
    PRODID_3=""
    PRODID_4=""
    MANFID=0000,0000
    FUNCID=255
    [root@hendrix ~]# cardctl config
    Socket 0:
    Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
    interface type is "cardbus"
    irq 9 [exclusive] [level]
    function 0:
    Socket 1:
    not configured
    (note, using DSL PPPOE connection to post right now)
    [root@hendrix ~]# lsmod
    Module Size Used by
    ppp_synctty 12032 0
    ppp_async 13312 1
    crc_ccitt 2432 1 ppp_async
    ppp_generic 32788 6 ppp_synctty,ppp_async
    slhc 7936 1 ppp_generic
    radeon 78336 1
    ohci_hcd 23048 0
    ehci_hcd 36488 0
    parport_pc 29252 1
    eth1394 22280 0
    pcspkr 4044 0
    rtc 13260 0
    ohci1394 35716 0
    ieee1394 111800 2 eth1394,ohci1394
    yenta_socket 23560 3
    snd_intel8x0m 19396 0
    snd_intel8x0 34624 2
    snd_ac97_codec 79224 2 snd_intel8x0m,snd_intel8x0
    snd_pcm_oss 56608 0
    snd_mixer_oss 21376 1 snd_pcm_oss
    snd_pcm 98948 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss
    snd_timer 27524 1 snd_pcm
    snd 60004 11 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
    soundcore 11232 1 snd
    snd_page_alloc 10244 3 snd_intel8x0m,snd_intel8x0,snd_pcm
    i2c_i801 8972 0
    i2c_core 23808 1 i2c_i801
    hw_random 5908 0
    usb_storage 72000 0
    usbhid 47744 0
    uhci_hcd 33424 0
    usbcore 125816 6 ohci_hcd,ehci_hcd,usb_storage,usbhid,uhci_hcd
    shpchp 100996 0
    pci_hotplug 35400 1 shpchp
    e100 37760 0
    mii 5760 1 e100
    pcmcia 26512 0
    rsrc_nonstatic 11648 1 yenta_socket
    pcmcia_core 51872 3 yenta_socket,pcmcia,rsrc_nonstatic
    tsdev 8256 0
    evdev 9984 0
    sonypi 25184 0
    lp 12548 0
    parport 38984 2 parport_pc,lp
    nls_cp437 6144 1
    vfat 14976 1
    fat 41884 1 vfat
    ntfs 187792 2
    [root@hendrix ~]# modprobe i82365
    FATAL: Error inserting i82365 (/lib/modules/2.6.11.3-ARCH/kernel/drivers/pcmcia/i82365.ko): No such device
    [root@hendrix ~]# insmod -f /lib/modules/2.6.11.3-ARCH/kernel/drivers/pcmcia/i82365.ko
    insmod: error inserting '/lib/modules/2.6.11.3-ARCH/kernel/drivers/pcmcia/i82365.ko': -1 No such device
    It just occurred to me after previewing my post that I unintentionally updated my kernel the other day.  I'll try to revert to the original 2.6.10 kernel, but i doubt this will fix the pcmcia problem. (though, it will allow me to use phrakture's ndiswrapper pkg.)

  • [solved] Digital Camera not recognized in device-manager

    My digital camera "Canon Powershot SX120 is" is not recognized by the devicemanager. I have read Digital Cameras.
    $ groups
    wheel storage users printadmin
    The "camera"-Group isn't needed anymore and this group doesn't exist on my system.
    The Powershot SX 120 has a  MTP/PTP connection mode (as the manual says). But:
    # mtp-detect
    Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6
    Listing raw device(s)
    No raw devices found.
    gphoto succeed:
    $ gphoto2 --auto-detect
    Modell Port
    Canon PowerShot SX120 IS usb:002,019
    A gphoto --summary could be found here
    There is no udev-rule for this camera. If i create one while copying a rule from a similar camera from /etc/udev/rules.d/69-libmtp.rules, and store it into /etc/udev/rules.d/69-canon.rules, the device-manager shows up. My udev-rule:
    # Canon PowerShot SX120AX (PTP/MTP mode)
    ATTR{idVendor}=="04a9", ATTR{idProduct}=="31e0", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
    The device-manager shows me only the option to open with a file-manager. Doing so will result in an error:
    The file or folder udi=/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:02.1/usb2/2-8/ do not exist.
    With my udev-rule:
    solid-hardware listen
    Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath)
    Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath)
    Listening to add/remove events:
    Device Added:
    udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:02.1/usb2/2-8'
    Without the active udev-rule, "solid-hardware listen" produces nothing, but
    udevadm monitor
    monitor will print the received events for:
    UDEV - the event which udev sends out after rule processing
    KERNEL - the kernel uevent
    KERNEL[5077.662572] add /devices/pci0000:00/0000:00:02.1/usb2/2-8 (usb)
    KERNEL[5077.662655] add /devices/pci0000:00/0000:00:02.1/usb2/2-8/2-8:1.0 (usb)
    UDEV [5077.681178] add /devices/pci0000:00/0000:00:02.1/usb2/2-8 (usb)
    UDEV [5077.693035] add /devices/pci0000:00/0000:00:02.1/usb2/2-8/2-8:1.0 (usb)
    Don't know what to do ... is a udev-rule necessary to bring up the message from device-manger? Or is the Camera not recognized as a mtp-device (the Camera has no such settings)? How could i figure it out?
    With Digikam i could import Fotos, but i would do so with gwenview. I've tried to check it out with gwenview_importer:
    $ gwenview_importer --udi '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:02.1/usb2/2-8'
    QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
    gwenview_importer: Missing required source folder argument.
      (don't care about the different udi, i took this example from a former try) but i don't know, how to find out where the "source folder" is ...
    Last edited by quiqueck (2014-02-26 20:10:25)

    I have solved this by making an extra udev-rule for my camera. See my adventure on forum.kde.org for details

  • When i connect my iphone 5 to my pc using the usb cable, my device is not recognized yet when connected to a power source, it charges normally. What should i do to rectify the problem and read sth about debris being in the usb. How do i remove that?

    When i connect my iphone 5 to my pc using the usb cable, my device is not recognized yet when connected to a power source, it charges normally. What should i do to rectify the problem and read sth about debris being in the usb. How do i remove that?

    iOS: Device not recognised in iTunes
    Windows: http://support.apple.com/kb/TS1538

  • Capturing  through Sony HDV using firewire800 to 400 adaptor is not recognizing can any body help me solve this

    I am trying to capture using firewire 800 to 400 adaptor through a Sony HDV VTR. The VTR is not recognizing can some body help me solve this problem.
    I am using FCP7 and IMAC with 10.6.8 version os
    I dont have a 6 pin or 400 firewire port in the system

    Let's start with basics.
    Does your computer recognize that there is a VTR attached?
    • Open up system profiler>Hardware>FireWire.  Does your machine show up?
    If no, you need to figure out if the problem lies with the VTR, the cable, the adapter or your computer.
    My guess is with the adapter. A number of people have expressed frustration getting fw400 device to work through fw800 ports.
    If that's your problem, see if you can find an older Mac w/ fw400 ports or a dedicated fw800 to 400 cable.
    good luck,
    x
    ps - In "locking the barn after the paddle has been lost upstream" mode, this is why non-expandable computers like the iMac are so problematic. A MacBookPro with the expresscard 34 slot or a MacPro with 3 slots can work around these kind of issues. A closed box like the iMac is a dead end. Sorry.

  • SNP Heuristics not recognizing Source of Supply ( TL or Quota )

    Hello,
    I am running SNP Heurisitics and it is not recognizing transportation lane and just proposing Purchase requisition without a source of supply.
    A simple supply chain looks like this:
    MAT1 at LOCNO1 sourced from VENDOR1.
    Transportation lane VENDOR1 --> LOCNO1.
    Inbound Quota for location Locno1 partnered location being vendor1.
    I have demand of 1000 units and SNP Heurisitics proposes 1000 purchase requisitions ( AG ).
    I run SNP Heurisitics or SNP Optimizer but both solutions do not recognize the source of Supply ( TL  or Inbound ).
    However when I run CTM, CTM recognizes the transportation lane ( source of supply ) and creates a SNP PREQ ( EA).
    Can someone help to see what I am missing. Thank you.
    regards,
    Najam

    Aparna,
    Thanks for the reply. Validity dates are okay and the procurement type is set external procurement ( F ). However, I do not have external procurement relationship. Just using a transportation lane created manually.
    regards,
    Najam

  • [solved] texlive problem - supertabular environment not recognized

    Hey!
    I want to use supertabular but actually it's not working… I cannot see why.
    kpsewhich supertabular.sty
    /usr/share/texmf-dist/tex/latex/supertabular/supertabular.sty
    There shouldn't be problems with permissions also:
    ls -la $(kpsewhich supertabular.sty)
    -rw-r--r-- 1 root root 14K Jun 26 08:01 /usr/share/texmf-dist/tex/latex/supertabular/supertabular.sty
    It should be installed inside of http://www.archlinux.org/packages/extra … atexextra/
    pacman -Qs texlive-latexextra
    local/texlive-latexextra 2012.26807-1 (texlive-most)
    TeX Live - Large collection of add-on packages for LaTeX
    So it is. I also ran
    sudo texhash
    several times but it's still not recognized. My LaTeX Editor is latexila from AUR if this somehow important.
    Maybe someone have an idea? I'd love to hear some ideas on this since I'm confused all over…
    Cheers!
    Last edited by domac (2012-10-20 12:27:32)

    Yes, for sure Trilby! Sorry, I don't know how to entitle this thread exactly since I don't get what goes wrong here…
    Some sample file I tried to compile that failed @ line 11 where "supertabular" occurs:
    http://sprunge.us/HGbH?latex
    or
    \documentclass[a4paper,11pt]{article}
    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}
    \usepackage{lmodern}
    \title{foo}
    \author{bar}
    \begin{document}
    \begin{supertabular}{rrrr}
    1 & 1 & 1 & 1 \\
    2 & 4 & 16 & 2 \\
    3 & 9 & 81 & 6 \\
    4 & 16 & 256 & 24 \\
    \end{supertabular}
    \end{document}
    Any ideas?
    EDIT: Totally forgot…
    ! LaTeX Error: Environment supertabular undefined.
    See the LaTeX manual or LaTeX Companion for explanation.
    Type H <return> for immediate help.
    l.11 egin{supertabular}
    {rrrr}
    This is the most helpful error I get at the moment…
    Oh shit… I found the error… missing usepackage… whoupadoup! xD
    Sorry for that big trouble. Marked as solved.
    Last edited by domac (2012-10-20 12:27:18)

  • [solved] pacman mirrorlist "directive 'x' not recognized"

    I'm bungling through an install and tried using reflector to get speedier mirrors. Somehow I hosed myself, as when I checked mirrorlist it was blank(!), so I recopied the back-up to /etc/pacman.d/mirrorlist. Now when I run pacman -Syy I get:
    error: config file /etc/pacman.d/mirrolist, line 1: directive 'x' in repository section 'core' not recognized.
    The a line saying the same holds true for extra and community. Then it tries to sync servers and says: failed to update core (no servers configured for repository), and again for extra and community.  I tried to get openssh so I could go in remotely and copy the screen, but "no servers configured for repository." 
    Can anyone get me out of this can of worms?
    Last edited by pottzie (2011-06-17 23:58:40)

    x#Mirror used during installation
    Server = http:/mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
    (Which now that i look at I recognize as the server i chose for the installation!)
    Then, just the rest of the standard mirror list, and i uncommented the U.S. mirrors.

  • [SOLVED]Hard Disk not recognized when installing

    Hey all, I'm just starting with Arch and I've had some trouble installing it on my Acer netbook.
    My first installation went well except that I had forgot to download the wireless tools so I decided to do a fresh install as I had no access to a wired connection at the time.  The second installation attempt must have had some error on my part as Arch failed to start after selecting it from Grub, saying that the kernel was not available/not recognized.
    Now my subsequent attempts at installing have failed because the hard disk is not recognized when running either cgdisk or cfdisk.  Instead of showing my hard drive partitions after running
    cfdisk /dev/sda
    it shows my usb drive. If I instead use
    cgdisk /dev/sda
    it displays an error saying that the disk is damaged or not recognized.  When I first saw this I thought my disk was failing, so I tried #! to see if it would show the same error, but it was able to recognize the entire disk and install correctly.  Now, even after having the entire disk formatted as ext4 with #! installed, cgdisk is still giving me the same error about a damaged disk.
    Am I doing something incorrectly or is there a fix for this?  I haven't been able to find any information about this after a good while of searching.
    Thanks for your help.
    Last edited by Forest_Leaves (2013-03-05 08:30:24)

    srs5694 wrote:The cgdisk "damaged disk" error is probably a result of the tool seeing an MBR partition table on your USB flash drive, rather than the GPT disk it's expecting. If I'm right, you should not follow s1ln7m4s7r's advice, since that will simply trash your USB flash drive!
    If you mean by trashing the USB flash drive, that it will delete all data and partitions on the selected drive it is correct, because:
    dd if=/dev/zero of=/dev/$disk bs=4096 count=1
    - this will delete all partition-table data
    sgdisk -o /dev/$disk
    - this will clear out all data. This includes GPT header data, all partition definitions, and the protective MBR.
    /dev/$disk
    - this will make you enter ncurses-based GUID partition table (GPT) manipulator, where you can create new partitions
    You should only do this if you are certain of what disk it is.
    Now if when you said this, you were meaning it will became broken, then it may be a special kind of usb drive because i've donne it many times and i've not broken any.
    srs5694 wrote:My guess is that either your hard disk has become /dev/sdb (this can happen in some cases; disk identifiers aren't really fixed) or you're missing a driver for your hard disk controller because you've booted a different kernel or a different initrd file. Another possibility is that there's a hardware fault -- probably a loose cable -- that's preventing the kernel from seeing the disk.
    If the usb drive is not where you installed arch, then you need to find if there are more recognized drives:
    lsblk | grep disk
    And see the uuid of the root partition you want, and add it to your bootloader boot line:
    blkid /dev/sdxx
    Last edited by s1ln7m4s7r (2013-03-04 19:17:36)

  • [SOLVED] pacman - package does not have a valid architecture

    Hello,
    When I was trying to update my system recently, I ran into this problem:
    :: Synchronizing package databases...
    core is up to date
    extra is up to date
    community is up to date 0.0 B 0.00B/s 00:00 [----------------------] 0%
    multilib is up to date
    :: Starting full system upgrade...
    error: failed to prepare transaction (package architecture is not valid)
    :: package wine-1.7.17-1-i686 does not have a valid architecture
    I tried clearing pacman's cache to see if that was the problem, but it didn't do anything. I haven't upgraded the system in over a week before this, and I've installed packages in the mean time without issues. I know that it's not just a wine issue - I tried installing some random packages but ran into the same issue.
    The only thing I can think of that might have caused this would be archiso - I was trying to build a custom ISO but build.sh went wacky for some reason, and it seemed to be trying to install packages onto my system, not into the ISO.
    EDIT: This problem seems to only affect packages in community and extra. Packages from core and multilib don't run into this problem.
    SOLUTION: I think pacman's database files for community and extra got corrupted somehow. I just went into /var/lib/pacman, moved the sync folder to sync_old, then ran pacman -Sy, Everything seems to be good now.
    Last edited by DoctorSelar (2014-04-18 23:04:45)

    DoctorSelar wrote:... then ran pacman -Sy, Everything seems to be good now.
    Unless that's a typo or you immediately followed it by `pacman -Su` then everything is not good now.  Never run `pacman -Sy`.

  • [Solved] After update, media keys not recognized.

    After I updated today, my play, stop, forward and back keys work, but not recognized in xbindkeys -mk. My vol up, down and mute do not work and are not recognized. I also cannot ctrl+alt+backspace to restart x.
    Last edited by haxit (2009-05-02 15:26:49)

    Acecero wrote:
    haxit wrote:I also cannot ctrl+alt+backspace to restart x.
    Add this
    Option "DontZap" "false"
    to the "ServerFlags" Section in the xorg.conf file.
    Zapping has been disabled by default with xorg-server 1.6
    Thanks a lot.

  • ODBC driver not recognized by Windows ODBC Data Source Administrator

    Using Windows XP Professional with all patches. I installed Oracle 10g Client, then removed ODBC driver and loaded 10.1.0.1.3 ODBC driver. Windows ODBC Data Source Administrator will not see this driver. (It also didn't see the previous driver, which is why I tried the new one.) The driver is in the registry (HKEY_LOCAL_MACHINE: SOFTWARE\ODBC\ODBCINST.INI) properly configured. It was not in the odbcinst.ini (Windows directory) file however, so I manually added it. I found directions on this site to be sure the drivers were loaded in the Oracle home directory, which is where I put them.

    Hi Joe,
    According to your description, after you run C:\Windows\SysWOW64\odbcad32.exe, Access driver is not displayed when you expand HKEY_LOCAL_MACHINE>ODBC>ODBCINST.INI node.
    The issue is caused by wrong path of odbccad32, please make sure that you are using Administrator account or you have administrative privileges, then refer to the following steps:
    Go to Control Panel.
    Click Administrative Tools.
    Right-click Data Sources(ODBC) to open Properties dialog box.
    In Target text box, type  %windir%\syswow64\odbcad32.exe             
    In Start in text box, type %windir%\syswow64, then click OK to  save the settings.
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

Maybe you are looking for

  • I'm getting an error in HP Support Assistant: HPSF.exe has stopped working.

    This app has encountered a serious problem & must close.  Click OK to auto restart.  It does nothing though... I have a HP Desktop s5-1014  QN653AA#ABA

  • Payment detail in purchase order history in PO

    Dear All, My Client wants that he should able to see the payment details in  purchase order history in PO. as we can see the GR, IR and down paymeny there. i have tried by putting PO number in bank line item at the time of payment but it is not worki

  • I have no audio v. 4.0.1

    For the Nth time... I HAVE NO AUDIO ON v 4.0.1 RUNNING ON WINDOWS 7 ULTIMATE. If I don't get any help, I am going back to IE

  • Blackberry 8120 is driving me mad!

    Hello All New to forums and also Blackberry. Recently bought a Blackberry 8120 on Orange in the UK, Everything works great, email, calls, text, everything is fab. What is really driving me insane is the phone is so unreliable. For some unknown reason

  • Non US resident mail ordering LR from US shop

    I am not from the US, but intend to mail order a boxed version of  Lightroom 3 from BH Photo. Will I be able to register & update LR from my country? No mention is made on the EUA of Adobe, except that Adobe reads my IP when I update my software. So