Packaging query

How is packaging process(along with Handling Unit) is carried out and is linked to delivery

Packing for Inbound and Outbound Deliveries
Use
Packing delivery items is carried out right in the delivery itself. From the overview screen, choose Edit ® Pack in order to access the packing screen.
Features
The following functions are available during packing:
Packing delivery items in handling units (HUs) and allocating individual items to several handling units.
In addition to the standard packing of delivery items in handling units, you have the option of automatically packing a specific quantity into several different handling units.
Multi-level packing
You can pack handling units in one another. In this case, packing is multi-level. The number of possible packing levels is 999999.
Unpacking items that were already packed
Items that have already been packed can be unpacked again. This is also the case for handling units that were packed in multiple levels.
Responses to exceeding weight or volume
If the weight or volume limit is reached when packing items in handling units, then only the maximum packable partial quantity is packed. If you have selected another handling unit that has space for packing, the remaining quantities are packed into that handling unit.
Deleting handling units
Handling units can be deleted in the delivery. First, the handling unit that is to be deleted is unpacked and then it is removed from any higher-level handling units (if applicable) before it is actually deleted.
Emptying handling units
Handling units can be emptied out. Unlike unpacking, where only selected items are removed from the HU, here the handling unit in question is emptied completely.
Handling unit single entry
You can enter HUs and HU contents manually by using the single entry function.
Changing packing quantities
Changing the packing quantities is possible in various overviews. However, the packing quantities can no longer be changed after goods issue has been posted. In Customizing for packing, you can specify further conditions under which packing is not to be possible.
Creating delivery items from handling units
Delivery items can be created from handling units. In this way, it is possible to keep inventory for packaging materials and also to include packaging material in the invoice. To accomplish this, the system must generate delivery items for packaging materials, which must be set for the delivery type in Customizing, and the packaging material type must suggest delivery item generation as a default.
Displaying the Allowed packaging materials
You can display a list of all allowed packaging materials for an item to be packed, as long as the material group Packaging material is maintained in the packaging data in the material master for the material concerned.
Checking for allowed packaging materials
A check is carried out to make sure that the packaging material is intended for packing a certain material. Customizing for packing is used to control which packaging materials are allowed for packing.
Packing proposals in sales orders and scheduling agreements
It is possible to enter packing proposals in sales orders and scheduling agreements. These specifications automatically lead to a packing proposal in the delivery if a special data transfer routine is maintained in Customizing for copying control between the sales documents and the delivery. The packing proposal can be changed in the delivery. It is also possible to pack the delivery according to the packing proposal in the preceding document by using the Use proposal function in delivery processing.
Packing and decentralized Warehouse Management
If you are working with  decentralized Warehouse Management, packing takes place in several steps.
The packing proposal that was determined in the central system is reported to the decentralized system.
The packing proposal can be copied or changed in the decentralized system, depending on the actual packing process.
With confirmation of the delivery to the central system, the original packing proposal is deleted and is replaced by the actual packing from the decentralized system.
Automatic packing and batch split
For a batch split in the delivery, you can set the item category in Customizing to indicate whether the entire batch quantity or only an individual batch item is to be packed.
If you enter " " in the Pack batch main item field and no split items are available, then no items are proposed for packing. If the delivery item contains an HU-managed storage location, this delivery item must be packed at the split level. In this case, the indicator (pack batch main item) is overridden.
If a packing proposal has been defined in the order for materials that are handled in batches, and if automatic batch determination is not carried out when a delivery is created, then this delivery is not automatically packed.
You must then pack this delivery manually (see also Automatic packing in the delivery).
Example for packing with batch split, taking the Batch main item indicator into consideration:
Item
Material
Delivery qty.
Accum.batch qty
Batch main item
Result
10
Mat1
10 pcs
     Nothing packed
10
Mat1
10 pcs
   X
10 pcs
10
Mat1
0 pcs
10
X
10 pcs
900001
Mat1
4 pcs
   X
Batch 1 not packed
900002
Mat1
6 pcs
   X
Batch 2 not packed
10
Mat1
0 pcs
10
   Not packed
900001
Mat1
4 pcs
     Batch 1 = 4 pcs
900002
Mat1
6 pcs
     Batch 2 = 6 pcs
Creating packing data from subsystems
It is possible to copy packaging data from subsystems to the delivery.
Cross-delivery packing in shipment processing
In shipment processing you can pack in the following ways:
Delivery items that have not been packed in the delivery and which are not required to be packed in the delivery can be packed.
Highest-level handling units in the delivery can be packed in shipment handling-units.
Since the packing depends on the shipment, different packing methods can be used in a follow-up shipment with the same deliveries. If a delivery HU is packed in a shipment HU, the entire contents of the handling unit in the delivery can no longer be changed. No storage units are created for shipment HUs.
The following diagram shows how handling units are packed in the delivery.
http://help.sap.com/saphelp_46c/helpdata/en/38/c1853488601e33e10000009b38f83b/frameset.htm
regard,
Amlan Sarkar

Similar Messages

  • Package-query: error while loading shared libraries: libcurl.so.4: can

    Hi all
    when i run yaourt to install any things :
    package-query: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
    why?
    what can i do?
    I'm very newbie so help me with easy commands!
    thanks

    try to reinstall yahourt :
    https://wiki.archlinux.org/index.php/Yaourt

  • [SOLVED] cannot install package query

    I want to install yaourt, but I can't seem to install package query. I acquired the tarball from here and followed all the steps here
    [maarten@maarten ~]$ cd ~/src
    [maarten@maarten src]$ tar -zxvf package-query.tar.gz
    package-query/
    package-query/PKGBUILD
    [maarten@maarten src]$ cd ~/src/package-query
    [maarten@maarten package-query]$ makepkg -s
    ==> Making package: package-query 1.0.1-1 (Sun Jul 8 11:09:03 CEST 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading package-query-1.0.1.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 361k 100 361k 0 0 205k 0 0:00:01 0:00:01 --:--:-- 226k
    ==> Validating source files with md5sums...
    package-query-1.0.1.tar.gz ... Passed
    ==> Extracting Sources...
    -> Extracting package-query-1.0.1.tar.gz with bsdtar
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
    checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking getopt.h usability... yes
    checking getopt.h presence... yes
    checking for getopt.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking for alpm_version in -lalpm... yes
    checking for yajl_free in -lyajl... yes
    checking for gawk... (cached) gawk
    checking for curl-config... /usr/bin/curl-config
    checking for the version of libcurl... 7.26.0
    checking for libcurl >= version 7.19.4... yes
    checking whether libcurl is usable... yes
    checking for curl_free... yes
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for git... git
    checking for .git/... no
    configure: creating ./config.status
    config.status: creating src/Makefile
    config.status: creating doc/Makefile
    config.status: creating Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing po-directories commands
    package-query:
    Build information:
    source code location : .
    prefix : /usr
    sysconfdir : /etc
    conf file : /etc/pacman.conf
    localstatedir : /var
    database dir : /var/lib/pacman/
    compiler : gcc
    compiler flags : -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
    package-query version : 1.0.1
    using git version : no
    git ver :
    Variable information:
    root working directory : /
    aur base url : [url]http://aur.archlinux.org[/url]
    make all-recursive
    make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
    Making all in src
    make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
    mv -f .deps/aur.Tpo .deps/aur.Po
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
    alpm-query.c: In function 'alpm_pkg_get_realsize':
    alpm-query.c:486:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
    mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
    util.c: In function 'ltostr':
    util.c:532:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
    util.c: In function 'itostr':
    util.c:525:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
    util.c: In function 'concat_backup_list':
    util.c:480:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
    util.c: In function 'string_fcat':
    util.c:342:11: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
    mv -f .deps/util.Tpo .deps/util.Po
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
    mv -f .deps/color.Tpo .deps/color.Po
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
    mv -f .deps/package-query.Tpo .deps/package-query.Po
    /bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lcurl -Wl,-O1,--sort-common,--as-needed,-z,relro -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm
    libtool: link: gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm
    make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
    Making all in doc
    make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
    make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
    make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
    make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    Making install in src
    make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
    make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
    test -z "/usr/bin" || /bin/mkdir -p "/home/maarten/src/package-query/pkg/usr/bin"
    /bin/sh ../libtool --mode=install /usr/bin/install -c package-query '/home/maarten/src/package-query/pkg/usr/bin'
    libtool: install: /usr/bin/install -c package-query /home/maarten/src/package-query/pkg/usr/bin/package-query
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
    make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/src'
    Making install in doc
    make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
    make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/maarten/src/package-query/pkg/usr/share/man/man8"
    /usr/bin/install -c -m 644 package-query.8 '/home/maarten/src/package-query/pkg/usr/share/man/man8'
    make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
    make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1/doc'
    make[1]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
    make[2]: Entering directory `/home/maarten/src/package-query/src/package-query-1.0.1'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
    make[1]: Leaving directory `/home/maarten/src/package-query/src/package-query-1.0.1'
    ==> Tidying install...
    -> Purging unwanted files...
    -> Compressing man and info pages...
    -> Stripping unneeded symbols from binaries and libraries...
    ==> Creating package...
    -> Generating .PKGINFO file...
    -> Compressing package...
    ==> Leaving fakeroot environment.
    ==> Finished making: package-query 1.0.1-1 (Sun Jul 8 11:09:18 CEST 2012)
    [maarten@maarten package-query]$ dir
    PKGBUILD package-query-1.0.1.tar.gz src
    package-query-1.0.1-1-i686.pkg.tar.xz pkg
    [maarten@maarten package-query]$ sudo pacman -U package-query-1.0.1-1-i686.pkg.tar.xz
    Password:
    loading packages...
    error: 'package-query-1.0.1-1-i686.pkg.tar.xz': invalid or corrupted package (PGP signature)
    I already reran pacman-key --init and pacman-key --populate archlinux after removing the allready acquired signatures (/etc/pacman.d/gnupg). But it keeps returning the same error.
    Do I need to add another key manually to install packages manually from the AUR?
    Last edited by maartennnnnnn (2012-07-08 09:44:01)

    I edited your post to change the \[quote\] tags to \[code\] tags - it makes for a much easier to read post
    https://wiki.archlinux.org/index.php/Fo … s_and_Code
    Two options are to change your SigLevel or sign your own key...

  • Error: target not found: package-query =1.0 although I have it

    I used to work on Arch but it was installed for me by a friend, now I decided to install it on my own and it was a success! But when I tried installing yaourt it didn't work. I know that it needs package-query so I installed it, but when I try to build yaourt it fails..
    [clairka@clairka yaourt]$ makepkg -s
    ==> Making package: yaourt 1.3-1 (Thu Aug 22 00:37:27 UTC 2013)
    ==> Checking runtime dependencies...
    ==> Installing missing dependencies...
    [sudo] password for clairka:
    error: target not found: package-query>=1.0
    ==> ERROR: 'pacman' failed to install missing dependencies.
    So I tried to rebuild package-query
    [clairka@clairka package-query]$ makepkg -s
    ==> ERROR: A package has already been built. (use -f to overwrite)
    Even if I use -f to overwrite I get always the same output. Does anybody know how to fix this? I was really used to use yaourt to install packages from AUR. Thanks.
    Last edited by clairka (2013-08-21 22:47:37)

    clairka wrote:Ahh... silly me, thanks a lot! And now I can delete the tar.xz file, right?
    Sure.

  • [SOLVED] makepkg package-query

    I'm trying to make the package for package-query so I can install yaourt but I keep getting this output
    ==> Making package: package-query 1.2-2 (Tue May 28 05:08:29 MDT 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Downloading package-query-1.2.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 367k 100 367k 0 0 201k 0 0:00:01 0:00:01 --:--:-- 201k
    ==> Validating source files with md5sums...
    package-query-1.2.tar.gz ... Passed
    ==> Extracting sources...
    -> Extracting package-query-1.2.tar.gz with bsdtar
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    /home/christian/package-query/src/package-query-1.2/missing: Unknown `--is-lightweight' option
    Try `/home/christian/package-query/src/package-query-1.2/missing --help' for more information
    configure: WARNING: 'missing' script is too old or missing
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... no
    checking whether make supports nested variables... no
    checking for gcc... no
    checking for cc... no
    checking for cl.exe... no
    configure: error: in `/home/christian/package-query/src/package-query-1.2':
    configure: error: no acceptable C compiler found in $PATH
    See `config.log' for more details
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by murray825 (2013-05-28 11:27:01)

    You should learn to use makepkg before you start using a wrapper.
    http://jasonwryan.com/blog/2013/04/09/helpers/

  • [SOLVED] yaourt error package-query

    Hi everyone,
    i have some problem with yourt. It want do the package query. I tried reinstall but no luck. Any idea?
    [liticovjesac@macbook ~]$ yaourt -Ss chromium
    /usr/lib/yaourt/util.sh: line 165: /usr/bin/package-query: No such file or directory
    Last edited by liticovjesac (2011-11-21 06:22:29)

    Yes I have.
    When i try to reinstall i get this:
    [liticovjesac@macbook settings]$ sudo pacman -S package-query
    warning: package-query-0.9-1 is up to date -- reinstalling
    error: failed to prepare transaction (package architecture is not valid)
    :: package package-query-0.9-1-i686 does not have a valid architecture
    [liticovjesac@macbook settings]$
    Last edited by liticovjesac (2011-11-20 15:26:23)

  • [SOLVED]Trying to install package-query again. Cannot find PKGBUILD.

    I'm updating my arch after 4 months. Yes it has been a long time.
    During the update process I had to remove package-query and yaourt, and now I'm trying to get them back.
    I got package-query from here https://aur.archlinux.org/packages.php?ID=35915
    Untared it, went inside, and did makepkg -s, but the PKGBUILD could not be found. I looked through the directories and didn't see a PKGBUILD anywhere.
    Am I missing something?
    Last edited by Aquila (2013-05-13 23:18:36)

    Did you click the 'Download Tarbel' link on the right side of the page? (Correct choice)
    Or the link under the Sources Bar ? (Incorrect choice)

  • Cannot build yaourt as package.query cannot be build

    as mir.archlinux.fr is not available. Is there a working mirror of mir.archlinux.fr around?

    package-query in in the AUR
    http://aur.archlinux.org/packages.php?O … _Search=Go
    BTW: mir.archlinux.fr seems to work fine.
    Last edited by karol (2010-07-26 21:09:23)

  • Cannot upgrade pacman due to conflict with package-query [SOLVED]

    Package query 0.9 requires pacman <4, package-query 1 requires pacman >=4, therefore I am totally unable to upgrade, even using pacman -f
    I'm aware that package-query is unsupported software, but this seems a bit stupid to me! Am I to uninstall package-query and therefore yaourt, only to reinstall them by hand, or is there a safe workaround?
    Last edited by markhadman (2012-01-24 11:02:20)

    jasonwryan wrote:
    markhadman wrote:Groan - guess pacman 4 is going to eat a day of my life after all...
    Or, realistically, 5 minutes.
    But if that is too much for you to spare, rather than bemoaning the fact that the developers have spent a significant amount of time and effort on this upgrade that will cause you such inconvenience, you could just install another distro - that would probably eat a day.
    Every other distro I've tried is inferior and eats up far more frustration time than Arch, which is why it's now on all my machines. I'm still putting off upgrading my 4 machines, though - because painful recent experience tells me that the chances of all 4 getting through this without day-eating breakage is about 6% (If you want a laugh at my expense, see this woeful example of breakage https://bugs.archlinux.org/task/27385). And yes, I'm aware that the longer I put it off, the worse my chances get.
    Edit:
    machine one (netbook).
    Time taken so far: 44 minutes (inc reading up on a few errors, plus line-by-line comparison of rc.conf.pacnew, reboot plus check of basic system workiness, plus waiting unsuccessfully for package-query source to download).
    Status: yaourt uninstallable (package-query git server appears to be down), openjdk6 broken due to bug, system otherwise appears healthy.
    Prognosis: Total 90 minutes for 4 machines seems a reasonable (optimistic) estimate, but I'll further put the other machines off until package-query git server is back up and running.
    And many apologies, this has veered somewhat off-topic and off-forum. I will probably make this my last post and let it die.
    Further edit: How do I mark a thread as SOLVED? I can't see an option anywhere, or any way to edit the thread title!
    edit: Nevermind, the trick is to edit the first post in the thread, it would seem.
    Last edited by markhadman (2012-01-24 11:03:17)

  • [SOLVED] Package-Query build error

    I'm trying to get my new Arch system setup, and I'm having trouble getting Yaourt installed. I can't seem to get package-query to build successfully. I have base-devel installed, and I've followed the instructions in the wiki on installing AUR packages. After running "makepkg -s" from the package-query directory it seems to go fine until the end, where I see this output.
    make: *** [install-recursive] Error 1
    ==> ERROR: A failure occurred in package().
    Aborting...
    And that's it. Not sure what I'm missing here.
    Thanks.
    Last edited by x371322 (2012-05-31 08:11:21)

    I take that back, after another look I did notice a couple of errors. They're near the bottom of the output. I'm sure it's something simple, and I'm probably going to end up looking like an idiot , but anyway, here's the entire output.
    ==> Making package: package-query 1.0.1-1 (Thu May 31 03:21:18 EDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading package-query-1.0.1.tar.gz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 361k 100 361k 0 0 152k 0 0:00:02 0:00:02 --:--:-- 177k
    ==> Validating source files with md5sums...
    package-query-1.0.1.tar.gz ... Passed
    ==> Extracting Sources...
    -> Extracting package-query-1.0.1.tar.gz with bsdtar
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    configure: WARNING: Libtool does not cope well with whitespace in `pwd`
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
    checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking getopt.h usability... yes
    checking getopt.h presence... yes
    checking for getopt.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking for alpm_version in -lalpm... yes
    checking for yajl_free in -lyajl... yes
    checking for gawk... (cached) gawk
    checking for curl-config... /usr/bin/curl-config
    checking for the version of libcurl... 7.26.0
    checking for libcurl >= version 7.19.4... yes
    checking whether libcurl is usable... yes
    checking for curl_free... yes
    checking whether NLS is requested... yes
    checking for msgfmt... /usr/bin/msgfmt
    checking for gmsgfmt... /usr/bin/msgfmt
    checking for xgettext... /usr/bin/xgettext
    checking for msgmerge... /usr/bin/msgmerge
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for shared library run path origin... done
    checking for CFPreferencesCopyAppValue... no
    checking for CFLocaleCopyCurrent... no
    checking for GNU gettext in libc... yes
    checking whether to use NLS... yes
    checking where the gettext function comes from... libc
    checking for git... no
    configure: creating ./config.status
    config.status: creating src/Makefile
    config.status: creating doc/Makefile
    config.status: creating Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    config.status: executing po-directories commands
    package-query:
    Build information:
    source code location : .
    prefix : /usr
    sysconfdir : /etc
    conf file : /etc/pacman.conf
    localstatedir : /var
    database dir : /var/lib/pacman/
    compiler : gcc
    compiler flags : -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2
    package-query version : 1.0.1
    using git version : no
    git ver :
    Variable information:
    root working directory : /
    aur base url : http://aur.archlinux.org
    make all-recursive
    make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
    Making all in src
    make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
    mv -f .deps/aur.Tpo .deps/aur.Po
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT alpm-query.o -MD -MP -MF .deps/alpm-query.Tpo -c -o alpm-query.o alpm-query.c
    alpm-query.c: In function 'alpm_pkg_get_realsize':
    alpm-query.c:486:9: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
    mv -f .deps/alpm-query.Tpo .deps/alpm-query.Po
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
    util.c: In function 'ltostr':
    util.c:532:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
    util.c: In function 'itostr':
    util.c:525:11: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
    util.c: In function 'concat_backup_list':
    util.c:480:12: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result]
    util.c: In function 'string_fcat':
    util.c:342:11: warning: ignoring return value of 'vasprintf', declared with attribute warn_unused_result [-Wunused-result]
    mv -f .deps/util.Tpo .deps/util.Po
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
    mv -f .deps/color.Tpo .deps/color.Po
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT package-query.o -MD -MP -MF .deps/package-query.Tpo -c -o package-query.o package-query.c
    mv -f .deps/package-query.Tpo .deps/package-query.Po
    /bin/sh ../libtool --tag=CC --mode=link gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -lcurl -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o package-query aur.o alpm-query.o util.o color.o package-query.o -lyajl -lalpm
    libtool: link: gcc -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o package-query aur.o alpm-query.o util.o color.o package-query.o -lcurl -lyajl -lalpm
    make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
    Making all in doc
    make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
    make[2]: Nothing to be done for `all'.
    make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
    make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
    make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
    make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
    ==> Entering fakeroot environment...
    ==> Starting package()...
    Making install in src
    make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
    make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
    test -z "/usr/bin" || /bin/mkdir -p "/home/x371322/AUR Builds/package-query/pkg/usr/bin"
    /bin/sh ../libtool --mode=install /usr/bin/install -c package-query '/home/x371322/AUR Builds/package-query/pkg/usr/bin'
    libtool: install: /usr/bin/install -c package-query /home/x371322/AUR Builds/package-query/pkg/usr/bin/package-query
    /usr/bin/install: target 'Builds/package-query/pkg/usr/bin/package-query' is not a directory
    make[2]: *** [install-binPROGRAMS] Error 1
    make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/src'
    Making install in doc
    make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
    make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
    make[2]: Nothing to be done for `install-exec-am'.
    test -z "/usr/share/man/man8" || /bin/mkdir -p "/home/x371322/AUR Builds/package-query/pkg/usr/share/man/man8"
    /usr/bin/install -c -m 644 package-query.8 '/home/x371322/AUR Builds/package-query/pkg/usr/share/man/man8'
    make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
    make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1/doc'
    make[1]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
    make[2]: Entering directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
    make[2]: Nothing to be done for `install-exec-am'.
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
    make[1]: Leaving directory `/home/x371322/AUR Builds/package-query/src/package-query-1.0.1'
    make: *** [install-recursive] Error 1
    ==> ERROR: A failure occurred in package().
    Aborting...
    I appreciate the help guys.

  • (Solved) package-query trying to downgrade pacman

    i want to install yaourt on my system. one of its dependencies package-query (also AUR) depends upon pacman <= 3.6 for installing, while i have pacman 4.0.0rc1-1 on my system. so when i try to install it, it tries to downgrade my pacman to 3.5.4-4.
    is there a way around it? any suggestions would be welcome, even if its very unlikely (i would love to tinker)
    Last edited by testdude281 (2011-08-22 23:18:47)

    just tried that. got the following error
    makepkg -s
    ==> Determining latest git revision...
    -> Version found: 20110817
    ==> Making package: package-query-git 20110817-1 (Wed Aug 17 15:58:00 IST 2011)
    ==> Checking runtime dependencies...
    ==> Installing missing dependencies...
    Password:
    resolving dependencies...
    looking for inter-conflicts...
    Targets (1): yajl-2.0.2-1
    Total Download Size: 0.03 MiB
    Total Installed Size: 0.21 MiB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from community...
    --2011-08-17 15:58:05-- ftp://mirror.cse.iitk.ac.in/archlinux/community/os/i686/yajl-2.0.2-1-i686.pkg.tar.xz
    => `/var/cache/pacman/pkg/yajl-2.0.2-1-i686.pkg.tar.xz.part'
    Resolving mirror.cse.iitk.ac.in... 202.3.77.108
    Connecting to mirror.cse.iitk.ac.in|202.3.77.108|:21... connected.
    Logging in as anonymous ... Logged in!
    ==> SYST ... done. ==> PWD ... done.
    ==> TYPE I ... done. ==> CWD (1) /archlinux/community/os/i686 ... done.
    ==> SIZE yajl-2.0.2-1-i686.pkg.tar.xz ... 36664
    ==> PASV ... done. ==> RETR yajl-2.0.2-1-i686.pkg.tar.xz ... done.
    Length: 36664 (36K) (unauthoritative)
    100%[===============================================================================================================>] 36,664 39.3K/s in 0.9s
    2011-08-17 15:58:14 (39.3 KB/s) - `/var/cache/pacman/pkg/yajl-2.0.2-1-i686.pkg.tar.xz.part' saved [36664]
    (1/1) checking package integrity [------------------------------------------------------] 100%
    (1/1) checking for file conflicts [------------------------------------------------------] 100%
    (1/1) installing yajl [------------------------------------------------------] 100%
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Starting build()...
    Cloning into package-query...
    remote: Counting objects: 752, done.
    remote: Compressing objects: 100% (740/740), done.
    remote: Total 752 (delta 522), reused 0 (delta 0)
    Receiving objects: 100% (752/752), 239.00 KiB | 89 KiB/s, done.
    Resolving deltas: 100% (522/522), done.
    Cloning into package-query-build...
    done.
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking how to print strings... printf
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for fgrep... /bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
    checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... yes
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... yes
    checking ctype.h usability... yes
    checking ctype.h presence... yes
    checking for ctype.h... yes
    checking getopt.h usability... yes
    checking getopt.h presence... yes
    checking for getopt.h... yes
    checking libintl.h usability... yes
    checking libintl.h presence... yes
    checking for libintl.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking locale.h usability... yes
    checking locale.h presence... yes
    checking for locale.h... yes
    checking sys/ioctl.h usability... yes
    checking sys/ioctl.h presence... yes
    checking for sys/ioctl.h... yes
    checking sys/utsname.h usability... yes
    checking sys/utsname.h presence... yes
    checking for sys/utsname.h... yes
    checking for alpm_version in -lalpm... yes
    checking for yajl_free in -lyajl... yes
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0... yes
    checking for LIBCURL... yes
    checking for git... git
    checking for .git/... yes
    configure: creating ./config.status
    config.status: creating src/Makefile
    config.status: creating doc/Makefile
    config.status: creating Makefile
    config.status: creating config.h
    config.status: executing depfiles commands
    config.status: executing libtool commands
    package-query:
    Build information:
    source code location : .
    prefix : /usr
    sysconfdir : /etc
    conf file : /etc/pacman.conf
    localstatedir : /var
    database dir : /var/lib/pacman/
    compiler : gcc
    compiler flags : -march=i686 -mtune=generic -O2 -pipe
    package-query version : 0.8.1
    using git version : yes
    git ver : 0.8-3-gfc24
    Variable information:
    root working directory : /
    aur base url : http://aur.archlinux.org
    make all-recursive
    make[1]: Entering directory `/home/dilip/Downloads/package-query-git/src/package-query-build'
    Making all in src
    make[2]: Entering directory `/home/dilip/Downloads/package-query-git/src/package-query-build/src'
    gcc -DLOCALEDIR=\"/usr/share/locale\" -DCONFFILE=\"/etc/pacman.conf\" -DROOTDIR=\"/\" -DDBPATH=\"/var/lib/pacman/\" -DAUR_BASE_URL=\"http://aur.archlinux.org\" -DHAVE_CONFIG_H -DGIT_VERSION=\"0.8-3-gfc24\" -I. -I.. -D_GNU_SOURCE -march=i686 -mtune=generic -O2 -pipe -MT aur.o -MD -MP -MF .deps/aur.Tpo -c -o aur.o aur.c
    In file included from aur.c:32:0:
    alpm-query.h:55:25: error: unknown type name ‘pmdb_t’
    alpm-query.h:56:25: error: unknown type name ‘pmdb_t’
    alpm-query.h:57:15: error: unknown type name ‘pmdb_t’
    alpm-query.h:58:17: error: unknown type name ‘pmdb_t’
    alpm-query.h:59:14: error: unknown type name ‘pmdb_t’
    alpm-query.h:64:21: error: unknown type name ‘pmpkg_t’
    alpm-query.h:65:1: error: unknown type name ‘pmpkg_t’
    alpm-query.h:66:1: error: unknown type name ‘pmpkg_t’
    alpm-query.h:66:24: error: unknown type name ‘pmpkg_t’
    In file included from aur.c:33:0:
    util.h:124:2: error: unknown type name ‘pmdepmod_t’
    make[2]: *** [aur.o] Error 1
    make[2]: Leaving directory `/home/dilip/Downloads/package-query-git/src/package-query-build/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/dilip/Downloads/package-query-git/src/package-query-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    [dilip@Zeus package-query-git]$
    EDIT : sorry, here is the full output instead of just the error part.
    Last edited by testdude281 (2011-08-17 10:36:13)

  • [SOLOVED] 'pacman -S yaourt' tries for 64bit package-query on 32bit

    I've been getting a 32bit chroot installed recently and have started over several times for learning and documentation purposes. One issue that has occurred every time is as follows:
    - Per the ArchWiki, I have added the following to /opt/arch32/etc/pacman.conf to allow for 'pacman -S yaourt':
    [archlinuxfr]
    Server = http://repo.archlinux.fr/i686
    - the only uncommented mirror in /opt/arch32/etc/pacman.d/mirrorlist is:
    --- Server = http://distro.ibiblio.org/pub/linux/dis … po/os/i686
    - everything that follows is done from my 32bit chroot, setup per the ArchWiki, with base and base-devel, daemon started, etc.
    - pacman -Syu && pacman -S yaourt
    - I have gotten this output every time I've tried:
    [jwhendy@bigBang ~]$ sudo pacman -S yaourt
    resolving dependencies...
    looking for inter-conflicts...
    Targets (6): run-parts-3.2.2-1 ca-certificates-20090814-3 curl-7.20.1-1
    yajl-1.0.9-3 package-query-0.1.1-1 yaourt-0.9.3.2-1
    Total Download Size: 0.62 MB
    Total Installed Size: 2.71 MB
    Proceed with installation? [Y/n]
    :: Retrieving packages from core...
    run-parts-3.2.2-1-i686 8.0K 1581.9K/s 00:00:00 [#####################] 100%
    ca-certificates-200... 108.6K 1109.5K/s 00:00:00 [#####################] 100%
    :: Retrieving packages from extra...
    curl-7.20.1-1-i686.... 419.2K 1126.8K/s 00:00:00 [#####################] 100%
    :: Retrieving packages from community...
    yajl-1.0.9-3-i686.p... 25.3K 1097.4K/s 00:00:00 [#####################] 100%
    :: Retrieving packages from archlinuxfr...
    error: failed retrieving file 'package-query-0.1.1-1-x86_64.pkg.tar.xz' from repo.archlinux.fr : Not Found
    yaourt-0.9.3.2-1-an... 60.3K 1171.3K/s 00:00:00 [#####################] 100%
    warning: failed to retrieve some files from archlinuxfr
    error: failed to commit transaction (Not Found)
    Errors occurred, no packages were upgraded.
    So... everything pacman is grabbing is i686 except package-query. Why in the world would this be? I would assume this happens on an actual 32bit install as well, but not sure... Could it have to do with me being on a 32bit chroot? I can't figure out how it would selectively be grabbing i686 and 64bit packages given my pacman.conf and mirrorlist, though...
    - Workaround:
    --- I've been just doing 'pacman -S curl yajl' and then using makepkg -si to install package-build from AUR
    I wanted to post this, though, as I think something is wrong in a depends list or repo somewhere to be causing this time after time.
    Is this me being stupid or is there something else going on here?
    Last edited by jwhendy (2010-04-20 22:35:08)

    1. First I issued 'pacman -R yaourt' and 'pacman -R package-query' to force a reinitiation of the package-query download
    2. sudo pacman --debug -S yaourt:
    [jwhendy@bigBang ~]$ sudo pacman --debug -S yaourt
    debug: config: attempting to read file /etc/pacman.conf
    debug: config: new section 'options'
    debug: config: HoldPkg: pacman
    debug: config: HoldPkg: glibc
    debug: config: SyncFirst: pacman
    debug: config: new section 'core'
    debug: setlibpaths() called
    debug: option 'cachedir' = /var/cache/pacman/pkg/
    debug: registering sync database 'core'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'core': http://distro.ibiblio.org/pub/linux/dis … re/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'extra'
    debug: registering sync database 'extra'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'extra': http://distro.ibiblio.org/pub/linux/dis … ra/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'community'
    debug: registering sync database 'community'
    debug: config: including /etc/pacman.d/mirrorlist
    debug: config: attempting to read file /etc/pacman.d/mirrorlist
    debug: adding new server URL to database 'community': http://distro.ibiblio.org/pub/linux/dis … ty/os/i686
    debug: config: finished parsing /etc/pacman.d/mirrorlist
    debug: config: new section 'archlinuxfr'
    debug: registering sync database 'archlinuxfr'
    debug: adding new server URL to database 'archlinuxfr': http://repo.archlinux.fr/i686
    debug: config: finished parsing /etc/pacman.conf
    debug: registering local database
    debug: loading package cache for repository 'local'
    debug: loading package cache for repository 'core'
    debug: loading package cache for repository 'extra'
    debug: loading package cache for repository 'community'
    debug: loading package cache for repository 'archlinuxfr'
    debug: adding package yaourt-0.9.3.2-1 to the transaction targets
    resolving dependencies...
    debug: resolving target's dependencies
    debug: started resolving dependencies
    debug: checkdeps: package yaourt-0.9.3.2-1
    debug: checkdeps: missing dependency 'package-query' for package 'yaourt'
    debug: pulling dependency package-query (needed by yaourt)
    debug: checkdeps: package package-query-0.1.1-1
    debug: finished resolving dependencies
    debug: started sorting dependencies
    debug: sorting dependencies finished
    looking for inter-conflicts...
    debug: looking for conflicts
    debug: check targets vs targets
    debug: check targets vs targets
    debug: check targets vs db and db vs targets
    debug: check targets vs db
    debug: check db vs targets
    debug: checking dependencies
    debug: checkdeps: package package-query-0.1.1-1
    debug: checkdeps: package yaourt-0.9.3.2-1
    debug: setting download size 12068 for pkg package-query
    debug: found cached pkg: /var/cache/pacman/pkg/yaourt-0.9.3.2-1-any.pkg.tar.xz
    debug: setting download size 0 for pkg yaourt
    Targets (2): package-query-0.1.1-1  yaourt-0.9.3.2-1 
    Total Download Size:    0.01 MB
    Total Installed Size:   0.41 MB
    Proceed with installation? [Y/n]
    debug: using cachedir: /var/cache/pacman/pkg/
    :: Retrieving packages from archlinuxfr...
    debug: using 'package-query-0.1.1-1-x86_64.pkg.tar.xz' for download progress
    debug: HTTP_PROXY: (null)
    debug: http_proxy: (null)
    debug: FTP_PROXY:  (null)
    debug: ftp_proxy:  (null)
    error: failed retrieving file 'package-query-0.1.1-1-x86_64.pkg.tar.xz' from repo.archlinux.fr : Not Found
    warning: failed to retrieve some files from archlinuxfr
    error: failed to commit transaction (Not Found)
    Errors occurred, no packages were upgraded.
    debug: unregistering database 'local'
    debug: freeing package cache for repository 'local'
    debug: unregistering database 'core'
    debug: freeing package cache for repository 'core'
    debug: unregistering database 'extra'
    debug: freeing package cache for repository 'extra'
    debug: unregistering database 'community'
    debug: freeing package cache for repository 'community'
    debug: unregistering database 'archlinuxfr'
    debug: freeing package cache for repository 'archlinuxfr'

  • LMS 3.0.1 Package Query

    Hi All
    Just a quick query.
    Running LMS 3.0.1 with the following component versions
    RME     4.1.1
    CS      3.1.1
    CM     5.0.6
    CV     6.1.7
    Asst     1.0.1
    Portal     1.0.1
    HUM     1.0.0
    Is there a next highest revision for any of these packages. I've been told that we cannot buy 3.2, so need to get 3.0.1 upto the highest level we can.
    Regards
    Paul

    I believe you're up to date as much as possible with LMS 3.0.1 as your base.
    Please refer to the nice document covering LMS package versions which Martin has put together and posted here.

  • Import package query

    which is the best way to import any class or package ?
    As Servlet throw IOException and my servlet not throwing any IO exception. In this way whether I call IOException class only,
    as ----java.io.IOException;----
    or should I call whole package
    as ------import java.io.*;----------
    which is the best way ? And if I call whole package, what is the effect of this on memory
    Please help
    Amit

    they both compile to the same thing, which is to replace all mentions of "IOException" with "java.io.IOException", the import statement only tells the compiler where to look.
    If, as you said, you don't acutually throw any IOExceptions, you could probably get away with only using:try
      //whatever
    catch (java.io.IOException e)
      //whatever
    }and not worry about the import at all. The imports are only there for readability, to serve as a hint as to what the class actually uses, and of course to save on typing so you don't have to include package names for everything.

  • Urgent: Simple packages query.

    I have two .java files (Assign1.java, Support.java) in the same package (cis.unisa) and need an instance of Assign1 to access a class in Support.java (FileAccess). I thought this would be simple but not so far.
    I tried just FileAccess.method() but I get 'cannot resolve symbol. symbol: variable FileAccess' I've also tried unisa.cis.FileAccess.method() and importing unisa.cis.* but I get the same message in all. It seems as if it just can't find the FileAccess class but it is there.
    Any help would be greatly appreciated, A.S.A.P. thanks.

    Don't flag your question as urgent, even if it is for you. Claiming urgency is very likely to be counter-productive: most forum regulars will simply ignore such messages as rude and selfish attempts to elicit immediate and special attention.
    Besides, unless the entire Bolivian army is about to chase you over the edge of a cliff, your problem probably isn't as urgent as you think. :o)

Maybe you are looking for