[SOLVED]/tmp fills up when building packages
When I try to install Red Eclipse with:
yaourt redeclipse
I get a BUNCH of write failed errors then:
redeclipse/bin/reserver_freebsd_64: Write failed
redeclipse/bin/reclient_freebsd_32: Write failed
redeclipse/bin/reserver_linux_32: Write failed
redeclipse/bin/reclient_freebsd_64: Write failed
redeclipse/bin/reserver_linux_64: Write failed
redeclipse/bin/reclient_linux_32: Write failed
redeclipse/readme.txt: Write failed
redeclipse/redeclipse.sh: Write failed
redeclipse/server.sh: Write failed
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract redeclipse_1.1_linux_bsd.tar.bz2
Aborting...
==> ERROR: Makepkg was unable to build redeclipse.
==> Restart building redeclipse ? [y/N]
==> -----------------------------------
==>
sort: fflush failed: standard output: No space left on device
sort: write error
sort: write failed: standard output: No space left on device
sort: write error
==> WARNING: Following packages have not been installed:
redeclipse
┌─[11:22 PM]─[eric]─[~]
└─[$]─>
df -h
┌─[11:22 PM]─[eric]─[~]
└─[$]─> df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 228G 2.6G 214G 2% /
udev 10M 0 10M 0% /dev
/run 10M 256K 9.8M 3% /run
/dev/sda3 228G 2.6G 214G 2% /
shm 497M 132K 497M 1% /dev/shm
tmpfs 497M 497M 0 100% /tmp
/dev/sda2 92M 24M 63M 28% /boot
┌─[11:23 PM]─[eric]─[~]
└─[$]─>
says that /tmp is full. I'm guessing I need to increase the size of the /tmp tmpfs. How would I do this?
EDIT: after I try to install if I try to gksudo thunar I get an error "unable to copy xauthorization file" unless I delete all the files in /tmp and reboot
Last edited by TheCash (2011-12-27 07:02:48)
You can tell yaourt to build somewhere else, use --tmp commandline switch or edit /etc/yaourtrc, uncomment and change
#TMPDIR="/tmp"
to somewhere else.
Similar Messages
-
Any plans of taking Libav into concideration when building packages?
Hi,
I guess itæs till too early to say which side will "win" in the feude between libav and ffmpeg. As I haven't cared at all, I haven't done anything but keep using ffmpeg. But I currently had to install libav from AUR because ffmpeg just can't handle the Apple HTTP LS streams from Norwegian Broadcaster NRK, while someome said the command I used that should have worked, worked nice for them under ubuntu, whic uses libav. An indeed it does.
Ths broke several players though, Dragon and vlc I hve noticed so far. The reason is that the dependencies (among) other things are not idential.
Now, I won't say Arch should go with the one or the other, but it certainly would be nice if it was possible to have them both in the repos and working alongside each other when it comes to deps and conlicts with other pacjages. (Naturally they couldn't coexist on the same system.) At this point, after so much time has passed, and concidering the number of distros that have switched to libav, NOT recognizing and providing libav as an option seems very muh like taking sides, which I was under the impression from the initial discusion back in '11 that Arch wouldn't do. So if any TU ha the time, and the will, would it be posible to provide both.
I expect minor differences in breakage and functionality to crop up mor and more often, and having bth availible could certainly be a plus.
It's just too bad tht none of the projects spends any time whatsoever improving their documentation, which is often outdated and incorrect. Now, THAT would have been nice...
edit: Is it corect that every package has to be compiled specifically for one or the other? I guess that's that for including them bot, then.
Last edited by naguz (2012-08-02 23:18:48)DrZaius wrote:How can I reproduce this? Please show your command and the complete console output. FFmpeg should be able to do anything libav does and probably more since FFmpeg merges most stuff from libav (which occasionally cherry-picks from FFmpeg).
Here is the output from ffmpeg (This include the command line, Best:)
[spoiler]
[gert@blad ~]$ ffmpeg -i http://nordond39a-f.akamaihd.net/i/no/open/bf/bf8ca71f099953f35eec1d087cc8fd5bc13ecd0d/bf8ca71f099953f35eec1d087cc8fd5bc13ecd0d_,141,316,563,1266,2250,.mp4.csmil/master.m3u8#t=10,20 -vcodec copy -acodec copy -f mp4 -absf aac_adtstoasc Moby_Dick_part1.mp4
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 9 2012 13:50:13 with gcc 4.7.0 20120505 (prerelease)
configuration: --prefix=/usr --enable-libmp3lame --enable-libvorbis --enable-libxvid --enable-libx264 --enable-libvpx --enable-libtheora --enable-libgsm --enable-libspeex --enable-postproc --enable-shared --enable-x11grab --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libschroedinger --enable-libopenjpeg --enable-librtmp --enable-libpulse --enable-libv4l2 --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-debug --disable-static
libavutil 51. 54.100 / 51. 54.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.100 / 54. 6.100
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, hls,applehttp, from 'http://nordond39a-f.akamaihd.net/i/no/open/bf/bf8ca71f099953f35eec1d087cc8fd5bc13ecd0d/bf8ca71f099953f35eec1d087cc8fd5bc13ecd0d_,141,316,563,1266,2250,.mp4.csmil/master.m3u8#t=10,20':
Duration: 01:31:03.00, start: 0.100667, bitrate: 0 kb/s
Stream #0:0: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p, 320x180 [SAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 213000
Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, mono, s16
Metadata:
variant_bitrate : 213000
Stream #0:2: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p, 480x270 [SAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 388000
Stream #0:3: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, mono, s16
Metadata:
variant_bitrate : 388000
Stream #0:4: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 713000
Stream #0:5: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16
Metadata:
variant_bitrate : 713000
Stream #0:6: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 960x540 [SAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 1412000
Stream #0:7: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16
Metadata:
variant_bitrate : 1412000
Stream #0:8: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 90k tbn, 50 tbc
Metadata:
variant_bitrate : 2394000
Stream #0:9: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, s16
Metadata:
variant_bitrate : 2394000
Stream #0:10: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, mono, s16
Metadata:
variant_bitrate : 77000
File 'Moby_Dick_part1.mp4' already exists. Overwrite ? [y/N] y
Output #0, mp4, to 'Moby_Dick_part1.mp4':
Metadata:
encoder : Lavf54.6.100
Stream #0:0: Video: h264 (![0][0][0] / 0x0021), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 90k tbn, 90k tbc
Metadata:
variant_bitrate : 2394000
Stream #0:1: Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, stereo
Metadata:
variant_bitrate : 713000
Stream mapping:
Stream #0:8 -> #0:0 (copy)
Stream #0:5 -> #0:1 (copy)
Press [q] to stop, [?] for help
No longer receiving variant 5ze= 2601kB time=00:00:10.32 bitrate=2065.0kbits/s
frame= 289 fps=8.8 q=-1.0 Lsize= 2991kB time=00:00:11.52 bitrate=2126.6kbits/s
video:2759kB audio:227kB global headers:0kB muxing overhead 0.174383%
[/spoiler]
The same thing works fine runnning Libavs ffmpeg-command (but, strangly NOT running Libavs avconv, even though I thought it was basicly the same binay. I uess Apple Http is still somewhat in the early stages of implementation in both projects?)
Might be the ffmpeg documentation is better than Libavs. I found several of the Libavs posted options to give an "unrecognzed variable" error with their ffmpeg-binary. They might have worked with avconv thought the documentaion did not mention it shouldn't work with the fmpeg one, just that you shouldn't use it. (But avconv, as mentioned, didn't work.)
Note that I had to use the -map option with libav because it was unable to choose the highest qualty stream, it just chose the firt ones. Fmmpegs ffmpeg handled this nicely, but always stops after 2759kB of video. My theory is that it fails to travrse the "playlist" file, so it ends up with no more chunks to encode. Note hat ffmpegs ffplay handle it without a hitch, so there does indeed seem to be bug somewhere here.
Various other commands were tired both usin Libav and ffmpeg to the same efffect: fmmpeg got the right stream for 2759kB, Libav never got the right stream unless specified, but got the whole file.
DrZaius wrote:libav-git in AUR seems to be filling this niche just fine. I see no reason for Arch to move libav to community or extra, and the maintenance burden of providing two similar (but different) packages, and getting the dependencies to work with both, would probably be an unreasonable expectation. However, I am not an Arch maintainer, but I can imagine that it is a large undertaking for Ioni to deal with FFmpeg alone.
Yes, it's well and good hat it is in AUR, the problem is that replacing ffmpeg with libav breakes any video application using ffmpegs libvacodec, including vlc, Drgin etc., becuae these apllications in Arch repos are compiled for ffmpeg, not Libav.
But as I have read a bit about it and realized this, there is simply no way to make them coexist with each other and other dependencies. (Well, unless I could find a way to make them still use ffmpegs libav, which is a separate package). Still, I don't believe this is anything arch packagers could or should do anything with. Guess it is one or the other. I guess I'l file a ug report sometime in October when I have time.
Best: You could also use the bash script found on this page: http://nrkbeta.no/2012/04/23/test-nrks- … e-nett-tv/. Just search the page for "bash", and you will fid a comment form a user called gspr. Note tht that sript probaly have uite a few input-issues, don't run it on anything othr than nrk-URLS.
Also, DrZaius: The URL I posted is probably NOT available outside Norway. You could go to tv.nrk.no and find a program you can watch where you ar located (basicly most of NRKs own-produced content), and then use the curl part of the mentioned script to get a dirct link. Or you could try this: http://nordond3c-f.akamaihd.net/i/wo/op … u8#t=10,20
Sorry for all the typos, I have a replacement keyboard on the way. Someimes it writes out the key next to the key I push, and sometimes it just doesn't registrer the presses atall. Believe me, I have corrected more mistakes than the ones that are left, but they are still way too many...
Last edited by naguz (2012-08-04 22:31:18) -
[SOLVED]"Missing url variable" when uploading package
AUR gives me this error when trying to upload my tile-world.tar.gz file. The PKGBUILD is the only file in the archive. Am I missing something?
Missing url variable in PKGBUILD.
# Contributor: Phillip Smith ([email protected]
pkgname=tile-world
pkgver=1.3.0
pkgrel=1
pkgdesc="emulation of the game Chip's Challenge"
arch=(i686 x86_64)
url="http://www.muppetlabs.com/~breadbox/software/tworld/"
license=('GPL')
depends=()
optdepends=()
source=(http://www.muppetlabs.com/~breadbox/pub/software/tworld/tworld-$pkgver-CCLP2.tar.gz)
md5sums=(100311f324b00a13649148448a20dc29)
build() {
cd "$srcdir/tworld-$pkgver"
echo ./configure --prefix=$pkgdir/usr
./configure --prefix=$pkgdir/usr
echo "=========================="
echo " MAKE "
echo "=========================="
make || return 1
echo "=========================="
echo " MAKE INSTALL to $pkgdir"
echo "=========================="
make install
# vim:set ts=2 sw=2 et:
EDIT: found the problem. The missing ) after my e-mail address seems to make it sad... Bug perhaps?
Last edited by fukawi2 (2009-02-04 05:25:21)The AUR code seems to have issues with handling comments in general (e.g. reported bug about source array comments: FS#12698).
Last edited by tdy (2009-02-04 19:42:16) -
[SOLVED] Transient prob, can't resolve host when building AUR packages
I'm building xscreensaver-arch-logo from the AUR. I downloaded the PKGBUILD into an empty directory, ran
makepkg -s
, but I get this error:
==> Making package: xscreensaver-arch-logo 5.15-3 (Sat May 12 03:13:31 CDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading xscreensaver-5.15.tar.gz...
Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
curl: (6) Could not resolve host: www.jwz.org; No address associated with hostname
==> ERROR: Failure while downloading xscreensaver-5.15.tar.gz
Aborting...
My internet connection is working at the moment. I can download the tarball from the AUR (this link: https://aur.archlinux.org/packages.php?ID=26586), but if I place it in the same directory as the PKGBUILD file, I get this error when I run makepkg -s:
==> Making package: xscreensaver-arch-logo 5.15-3 (Sat May 12 03:18:59 CDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found xscreensaver-5.15.tar.gz
==> ERROR: add-electricsheep.diff was not found in the build directory and is not a URL.
Any help here? I've read of the benefits of using this package over the one in the official repositories, so I'd prefer to use the AUR version if at all possible.
Last edited by pythonscript (2012-05-27 16:05:26)I believe I did download the wrong source package for xscreensaver, but if I download the package from this link: https://aur.archlinux.org/packages/xs/x … ogo.tar.gz and extract it, these are the files I see.
add-electricsheep.diff logo-180.png logo-50.png PKGBUILD
LICENSE logo-180.xpm logo-50.xpm xscreensaver.pam
That all appears correct. However, running makepkg -s in that directory yields the same error as the original post:
==> Making package: xscreensaver-arch-logo 5.15-3 (Fri May 11 23:11:01 CDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading xscreensaver-5.15.tar.gz...
Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
curl: (6) Could not resolve host: www.jwz.org; No address associated with hostname
==> ERROR: Failure while downloading xscreensaver-5.15.tar.gz
Aborting...
Also, I receive a highly similar error when building the dropbox package from the AUR, which hints to me that this is a wider problem than simply the xscreensaver package. When downloading the dropbox tar file (link to file: https://aur.archlinux.org/packages/dr/d … ox.tar.gz), extracting it and listing the directory yields this:
dropbox.desktop dropbox.png PKGBUILD terms.txt
However, the error upon running makepkg -s is similar.
==> Making package: dropbox 1.4.3-1 (Fri May 11 23:13:01 CDT 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading dropbox-lnx.x86-1.4.3.tar.gz...
Warning: Transient problem: timeout Will retry in 3 seconds. 3 retries left.
Warning: Transient problem: timeout Will retry in 3 seconds. 2 retries left.
Warning: Transient problem: timeout Will retry in 3 seconds. 1 retries left.
curl: (6) Could not resolve host: dl-web.dropbox.com; No address associated with hostname
==> ERROR: Failure while downloading dropbox-lnx.x86-1.4.3.tar.gz
Aborting... -
Can't build packages not enough space [Solved]
I'm trying to compile latest -ck kernel but after it gets built I get an error saying: there is not enough space to build package.
I remember that last time I was compiling the kernel, I've set-up so that /tmp is loaded in memory or something like that..
And now when I try to compile the kernel, even though I choose menuconfig I still don't get in ti, to turn it off or even check what it was.
My /tmp just have 1,3GB free space left, so that could be it, but I doubt it...
Last edited by Primoz (2010-06-03 11:46:33)fukawi2 wrote:
Copy paste the actual error message and surrounding test (eg, the output from makepkg) would be helpful.
EDIT: Spelling
Yeah I tought so... Sorry for not including it in my OP, but I've just done it then and forgot to copy-paste and didn't want to do it again.
/bin/sh: line 0: echo: write error: No space left on device
make[1]: *** [crypto/lrw.ko] Error 1
make: *** [modules] Error 2
==> ERROR: Build Failed.
Aborting...
ERROR: makepkg exited with an error (512)
WARNING: expected package does not exist: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
--> scanning /tmp/bauerbill/build/aur/kernel26-ck for matching packages...
ERROR: no package found: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
:: Abort? [Y/n]
aborting...
That's what happens, but I think it is problem with root, as when this happens there's only 9,7MB free space left.
I guess I have either remove unneeded packages or make root bigger... -
Error when building gyachi [finally SOLVED]
now when i go to issue the command
makepkg -s
i get the following error
configure: error: cannot find include files for libpulse-simple. Perhaps you need to install the libpulse or libpulse-simple development package?
make: *** No targets specified and no makefile found. Stop.
what exactly do i need to fufill this dependency is it to install pulseadio package??
and also one more question how do i go about generating or finding the md5sum for this package that i want to build i am new to building packages in Arch Linux and i already exhausted looking at google.
Last edited by okplayer02 (2008-12-20 23:27:46)here is a copy of the pkgbuild
# An adaptation by Tajidin Abd <>
# Ex-Contributor: Conor Callahan <>
pkgname=gyachi
pkgver=1.1.59
pkgrel=1
arch=('i686')
pkgdesc="Improved Yahoo! client for Linux"
depends=('libgtkhtml' 'jasper' 'xmms' 'libmcrypt' 'gpgme' 'codecs')
source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
url="http://gyachi.sourceforge.net"
license="GPL"
md5sums=('e9c8767b35b3bf17ea152ed79c9c8ef0')
build() {
cd $startdir/src/$pkgname-$pkgver
./autogen.sh
./configure --prefix=/usr --enable-v4l2 --disable-gtktest --disable-glibtest \
--with-x
make || return 1
make DESTDIR=$startdir/pkg install
# Remove conflicting codec files
rm -rf $startdir/pkg/usr/lib
i will look to see if there was any err0rs but strange i figured if its missing a lib like this it wont compile successfully
Last edited by okplayer02 (2008-12-19 06:56:57) -
[SOLVED]fail to build package: no such file or directory error
EDIT1: read my last post
I'm getting an error while installing pacman-color from the aur repository. I'm still a newbie so my only guess is to make such directory? why should I have to do that? anyone help?
==> Validating source files with md5sums...
pacman-3.4.2.tar.gz ... Passed
pacman-color-3.4.2-1.patch ... Passed
color.conf ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
/tmp/yaourt-tmp-root/aur-pacman-color/./PKGBUILD: line 21: cd: pacman-3.4.2: No such file or directory
Aborting...
==> ERROR: Makepkg was unable to build pacman-color.
Last edited by aluser (2011-01-21 04:48:16)Here once again a failed attempt after removing pacman-color. I am beginning to think that maybe running yaourt as sudo is probably a bad idea. I think that may have had something to do with it.
archuser@archws ~ % sudo yaourt -S abiword-light <11:54>
Password:
==> Downloading abiword-light PKGBUILD from AUR...
x PKGBUILD
Comment by: mango on Thu, 25 Mar 2010 21:53:12 +0000
./configure --prefix=/usr \
--disable-spell \
--disable-print
Comment by: chessboxing on Wed, 19 May 2010 14:33:51 +0000
doesn't want to build
rule 23: make: command not found
== ERROR: Build Failed.
Aborting...
Eventhough I Had to install flex psiconv, it didn't help.
Its a minefield man.
Comment by: sHyLoCk on Wed, 02 Jun 2010 13:54:43 +0000
http://aur.archlinux.org/packages.php?ID=37738
Comment by: zenny on Thu, 02 Sep 2010 05:59:05 +0000
Quite confusing statements. Below sHyLoCk recommends http://aur.archlinux.org/packages.php?ID=37738 on June 2 2010 and on June 27 he declares his recommended package obsolet and ask a TU to delete! The problem with the sHyLoCk package is there is not page setup option. So I installed this package, it has got the page setup menu, but once I click the option, the application dies with the following output (Maybe helpful to debug for the maintainer, I am not an expert):
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_get_label: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_markup: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_spin_button_set_value: assertion `GTK_IS_SPIN_BUTTON (spin_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(abiword:32455): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_clear: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_pack_start: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_set_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_clear: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_pack_start: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_cell_layout_set_attributes: assertion `GTK_IS_CELL_LAYOUT (cell_layout)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_append: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_list_store_set_valist: assertion `GTK_IS_LIST_STORE (list_store)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_combo_box_get_model: assertion `GTK_IS_COMBO_BOX (combo_box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed
(abiword:32455): Gdk-CRITICAL **: gdk_pixmap_colormap_create_from_xpm_d: assertion `drawable != NULL || colormap != NULL' failed
(abiword:32455): Gtk-CRITICAL **: gtk_image_set_from_pixmap: assertion `mask == NULL || GDK_IS_PIXMAP (mask)' failed
(abiword:32455): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(abiword:32455): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_box_pack: assertion `GTK_IS_BOX (box)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_toggle_button_set_active: assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed
(abiword:32455): Gtk-CRITICAL **: gtk_widget_get_colormap: assertion `GTK_IS_WIDGET (widget)' failed
(abiword:32455): Gdk-CRITICAL **: gdk_pixmap_colormap_create_from_xpm_d: assertion `drawable != NULL || colormap != NULL' failed
Aborted
First Submitted: Wed, 15 Apr 2009 17:01:46 +0000
abiword-light 2.8.6-2 : A fully-featured word processor without some gnome dependencies
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n
==> abiword-light dependencies:
- fribidi>=0.10.9 (already installed)
- wv>=1.2.4 (already installed)
- libglade>=2.0 (already installed)
- pkgconfig (already installed)
==> Continue building abiword-light ? [Y/n]
==> ---------------------------------------
==>
==> Building and installing package
==> WARNING: Building package as root is dangerous.
Please run yaourt as a non-privileged user.
==> Making package: abiword-light 2.8.6-2 (Fri Jan 21 11:54:35 JST 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading abiword-2.8.6.tar.gz...
--2011-01-21 11:54:35-- http://www.abisource.com/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz
Resolving www.abisource.com... 130.89.149.216
Connecting to www.abisource.com|130.89.149.216|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9218827 (8.8M) [application/x-gzip]
Saving to: "abiword-2.8.6.tar.gz.part"
100%[=======================================>] 9,218,827 414K/s in 28s
2011-01-21 11:55:04 (325 KB/s) - "abiword-2.8.6.tar.gz.part" saved [9218827/9218827]
==> Validating source files with md5sums...
abiword-2.8.6.tar.gz ... Passed
==> Extracting Sources...
==> Starting build()...
/tmp/yaourt-tmp-root/aur-abiword-light/./PKGBUILD: line 16: cd: /tmp/yaourt-tmp-root/aur-abiword-light/src/abiword-2.8.6/: No such file or directory
Aborting...
==> ERROR: Makepkg was unable to build abiword-light.
==> Restart building abiword-light ? [y/N]
==> --------------------------------------
==> archuser@archws ~ % <11:find /usr/{bin,lib} -type f -size 0
/usr/lib/python3.1/tkinter/test/__init__.py
/usr/lib/python3.1/tkinter/test/test_ttk/__init__.py
/usr/lib/python3.1/tkinter/test/test_tkinter/__init__.py
/usr/lib/python3.1/test/nullcert.pem
/usr/lib/python3.1/site-packages/ranger/gui/__init__.py
/usr/lib/python3.1/email/mime/__init__.py
/usr/lib/python3.1/email/test/__init__.py
/usr/lib/python3.1/urllib/__init__.py
/usr/lib/python3.1/sqlite3/test/__init__.py
/usr/lib/python3.1/pydoc_data/__init__.py
/usr/lib/python3.1/lib2to3/tests/data/fixers/myfixes/__init__.py
/usr/lib/python2.7/test/nullcert.pem
/usr/lib/python2.7/site-packages/git_remote_helpers/git/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/GL/MESAX/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/GL/VERSION/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/GLU/EXT/__init__.py
/usr/lib/python2.7/site-packages/OpenGL/AGL/__init__.py
/usr/lib/python2.7/site-packages/pychess/__init__.py
/usr/lib/python2.7/site-packages/pychess/widgets/__init__.py
/usr/lib/python2.7/site-packages/pychess/Utils/__init__.py
/usr/lib/python2.7/site-packages/pychess/Utils/lutils/__init__.py
/usr/lib/python2.7/site-packages/pychess/ic/__init__.py
/usr/lib/python2.7/site-packages/pychess/ic/managers/__init__.py
/usr/lib/python2.7/site-packages/pychess/System/__init__.py
/usr/lib/python2.7/site-packages/pychess/Players/__init__.py
/usr/lib/python2.7/site-packages/pychess/gfx/__init__.py
/usr/lib/python2.7/site-packages/xml2po/modes/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/gen_ext/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/f2py_ext/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/pyrex_ext/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/swig_ext/__init__.py
/usr/lib/python2.7/site-packages/numpy/distutils/tests/f2py_f90_ext/__init__.py
/usr/lib/python2.7/site-packages/bzrlib/util/__init__.py
/usr/lib/python2.7/site-packages/bzrlib/util/configobj/__init__.py
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/__init__.py
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_LINK_FAILED
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_EXCEPTION
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_UNPARSEABLE
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/TESTS_FAILED
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/TESTS_INVALID
/usr/lib/python2.7/site-packages/pygame/tests/util/build_page/libs/build_client/test_fixtures/BUILD_FAILED_UNKNOWN
/usr/lib/python2.7/site-packages/pygame/examples/__init__.py
/usr/lib/python2.7/site-packages/gtk-2.0/egg/__init__.py
/usr/lib/python2.7/site-packages/gtk-2.0/gi/overrides/__init__.py
/usr/lib/python2.7/site-packages/sonata/__init__.py
/usr/lib/python2.7/site-packages/sonata/plugins/__init__.py
/usr/lib/python2.7/email/mime/__init__.py
/usr/lib/python2.7/email/test/__init__.py
/usr/lib/python2.7/sqlite3/test/__init__.py
/usr/lib/python2.7/pydoc_data/__init__.py
/usr/lib/python2.7/bsddb/test/__init__.py
/usr/lib/python2.7/lib-tk/test/test_ttk/__init__.py
/usr/lib/python2.7/lib-tk/test/test_tkinter/__init__.py
/usr/lib/python2.7/lib2to3/tests/data/fixers/myfixes/__init__.py
/usr/lib/purple-2/perl/auto/Purple/Purple.bs
/usr/lib/perl5/vendor_perl/auto/HTML/Parser/Parser.bs
/usr/lib/perl5/vendor_perl/auto/XML/Parser/Expat/Expat.bs
/usr/lib/perl5/vendor_perl/auto/Crypt/SSLeay/SSLeay.bs
/usr/lib/perl5/vendor_perl/auto/Irssi/Irssi.bs
/usr/lib/perl5/vendor_perl/auto/Irssi/UI/UI.bs
/usr/lib/perl5/vendor_perl/auto/Irssi/Irc/Irc.bs
/usr/lib/perl5/vendor_perl/auto/Irssi/TextUI/TextUI.bs
/usr/lib/pidgin/perl/auto/Pidgin/Pidgin.bs
/usr/lib/firefox-3.6/.autoreg
archuser@archws ~ %
Last edited by aluser (2011-01-21 03:02:22) -
[SOLVED] Find out when a package has first appeared in repos
Is it possible to find out the year/month/date when a package was first submitted to official repositories (core/extra/community).
I guess I can go to for example https://projects.archlinux.org/svntogit … youtube-dl , then scroll down, then click "next" at the bottom several times till it's last page and look at the bottom row. But I need a way to automate this for a large number of packages. Is there an interface available for that, like this one for AUR: https://aur.archlinux.org/rpc.php ?
Last edited by axper (2014-05-27 18:44:52)$ pacman -Ssq game | while read p ; do [[ -d $p ]] || continue ; echo -n "$p - " ; git log --format=%aD $p|tail -n1 ; done
0ad - Mon, 5 Mar 2012 15:52:40 +0000
0ad-data - Mon, 5 Mar 2012 15:47:20 +0000
abuse - Sat, 13 Nov 2010 16:51:57 +0000
alienarena - Sun, 19 Dec 2010 02:47:03 +0000
alienarena-data - Sun, 19 Dec 2010 00:07:21 +0000
allegro - Sun, 4 Mar 2012 23:43:58 +0000
angband - Mon, 13 Sep 2010 12:32:13 +0000
barrage - Thu, 16 Jul 2009 04:12:59 +0000
blobby2 - Sun, 22 Aug 2010 12:32:30 +0000
blobwars - Thu, 16 Jul 2009 04:12:59 +0000
blobwars-data - Thu, 27 Oct 2011 18:26:26 +0000
bomberclone - Sat, 13 Nov 2010 17:01:26 +0000
box2d - Thu, 15 Jul 2010 00:03:07 +0000
bsd-games - Thu, 16 Jul 2009 04:12:59 +0000
btanks - Tue, 3 Nov 2009 17:11:00 +0000
btanks-data - Sat, 14 Nov 2009 14:31:48 +0000
caph - Mon, 22 Nov 2010 23:37:43 +0000
ccgo - Tue, 26 Nov 2013 20:31:21 +0000
clanlib - Sun, 24 Oct 2010 04:16:30 +0000
critter - Thu, 16 Jul 2009 04:12:59 +0000
curseofwar - Fri, 20 Sep 2013 12:50:01 +0000
cuyo - Thu, 16 Jul 2009 04:12:59 +0000
dolphin-emu - Tue, 26 Feb 2013 13:52:19 +0000
dopewars - Sat, 13 Nov 2010 17:16:24 +0000
dosbox - Fri, 13 May 2011 20:09:40 +0000
enigma - Sat, 13 Nov 2010 17:19:06 +0000
extremetuxracer - Thu, 16 Jul 2009 04:12:59 +0000
fillets-ng - Thu, 16 Jul 2009 04:12:59 +0000
fillets-ng-data - Thu, 16 Jul 2009 04:12:59 +0000
fortune-mod - Wed, 29 Aug 2012 11:09:33 +0000
freecol - Sun, 22 Aug 2010 14:01:31 +0000
freedroid - Thu, 16 Jul 2009 04:12:59 +0000
freedroidrpg - Thu, 16 Jul 2009 04:12:59 +0000
frogatto - Sun, 25 Jul 2010 19:55:51 +0000
frogatto-data - Tue, 27 Jul 2010 23:40:59 +0000
gbrainy - Thu, 16 Jul 2009 04:12:59 +0000
glob2 - Thu, 16 Jul 2009 04:12:59 +0000
gluon - Sun, 24 Apr 2011 06:07:11 +0000
gnome-hearts - Sun, 9 Jun 2013 15:54:50 +0000
gnujump - Sat, 19 Jan 2013 16:16:51 +0000
gtkballs - Thu, 16 Jul 2009 04:12:59 +0000
guichan - Thu, 16 Jul 2009 04:12:59 +0000
hawknl - Sun, 26 Sep 2010 18:22:34 +0000
hedgewars - Thu, 16 Jul 2009 04:12:59 +0000
hex-a-hop - Thu, 16 Jul 2009 04:12:59 +0000
hitori - Sun, 8 Apr 2012 19:43:39 +0000
instead-launcher - Wed, 19 Sep 2012 13:57:56 +0000
kcheckers - Thu, 16 Jul 2009 04:12:59 +0000
lbreakout2 - Fri, 6 Dec 2013 11:48:55 +0000
lincity-ng - Thu, 16 Jul 2009 04:12:59 +0000
love - Tue, 6 Mar 2012 06:17:50 +0000
love08 - Mon, 16 Dec 2013 18:13:16 +0000
mahjong - Sun, 27 Jan 2013 16:20:32 +0000
mari0 - Thu, 5 Apr 2012 01:05:00 +0000
megaglest - Sat, 14 Aug 2010 19:21:13 +0000
megaglest-data - Sat, 14 Aug 2010 19:09:25 +0000
minetest - Sun, 2 Jun 2013 11:16:42 +0000
naev - Wed, 28 Jul 2010 19:35:31 +0000
naev-data - Wed, 28 Jul 2010 20:58:30 +0000
nethack - Wed, 5 Jan 2011 15:12:17 +0000
openmw - Wed, 15 Jan 2014 11:36:30 +0000
paintown - Sat, 12 Mar 2011 08:29:09 +0000
performous - Sat, 7 Aug 2010 23:10:55 +0000
performous-freesongs - Sat, 7 Aug 2010 23:10:55 +0000
pingus - Thu, 16 Jul 2009 04:12:59 +0000
plib - Thu, 16 Jul 2009 04:12:59 +0000
pokerth - Thu, 16 Jul 2009 04:12:59 +0000
pysolfc - Thu, 16 Jul 2009 04:12:59 +0000
rocksndiamonds - Thu, 16 Jul 2009 04:12:59 +0000
rocksndiamonds-data - Tue, 25 Aug 2009 15:55:38 +0000
rogue - Thu, 8 Nov 2012 06:31:45 +0000
scorched3d - Thu, 16 Jul 2009 04:12:59 +0000
scratch - Sat, 15 Sep 2012 22:19:31 +0000
scummvm - Thu, 11 Oct 2012 14:19:17 +0000
scummvm-tools - Sun, 8 Aug 2010 01:39:09 +0000
simgear - Thu, 16 Jul 2009 04:12:59 +0000
simutrans - Mon, 13 Aug 2012 23:24:06 +0000
singularity - Sun, 8 Aug 2010 01:55:09 +0000
slimevolley - Thu, 16 Jul 2009 04:12:59 +0000
spring - Mon, 9 Aug 2010 02:17:34 +0000
spring-1944 - Fri, 8 Oct 2010 19:26:37 +0000
stone-soup - Sun, 12 Sep 2010 13:20:12 +0000
stuntrally - Tue, 26 Feb 2013 06:36:11 +0000
stuntrally-data - Tue, 26 Feb 2013 07:54:44 +0000
supertux - Thu, 16 Jul 2009 04:12:59 +0000
supertuxkart - Thu, 16 Jul 2009 04:12:59 +0000
tesseract-game - Thu, 15 May 2014 18:28:42 +0000
vor - Mon, 7 Jan 2013 10:17:10 +0000
warzone2100 - Thu, 16 Jul 2009 04:12:59 +0000
wesnoth - Mon, 6 Feb 2012 15:40:16 +0000
wesnoth-data - Mon, 6 Feb 2012 15:40:16 +0000
widelands - Mon, 9 Aug 2010 02:23:35 +0000
xmoto - Wed, 19 May 2010 18:12:18 +0000
xpacman - Thu, 16 Jul 2009 04:12:59 +0000
xpacman2 - Thu, 16 Jul 2009 04:12:59 +0000
zaz - Sat, 21 Aug 2010 10:13:40 +0000 -
Replacing a package with a self-build package
If I have a self-build package that provides something (another package) that I allready have installed and also conflicts with, how do I replace the installed package with the self-build?
When I try to install it with
pacman -A /path/to/package
pacman first tells me that my self-build package conflicts with the installed and whether I want to remove it. If I tell him that he should remove the installed package I get a list of dependencies that would get broke and the installation aborts.
Any hints on how to solve that problem?Use -U (upgrade) switch if updating the package with the same name.
Use -Rd (remove without dependencies) to uninstall a package and then install the one that provides the same.
Last edited by lucke (2007-02-11 23:15:27) -
How to bridge (fill) gaps when converting a 2006 geometry into a 2002 geometry
Is it at all possible to bridge (fill) gaps when converting a 2006 geometry into a single 2002 geometry. I have a solution for the conversion from 2006 to 2002 provided by BHall but upon further investigation investigation of my dataset some of the multi line polygons have gaps which I need to fill and I am not sure how to go about this.
Here is a simple example of what I am trying to achieve
Before
SELECT (sdo_geometry(2006, 81989, NULL,
mdsys.sdo_elem_info_array(1,2,1,5,2,1,9,2,1,13,2,1),
mdsys.sdo_ordinate_array(16,0.999,16.998,-0.001,17.253,-0.001,18.003,0.999,18.003,0.999,19.001,0.999,19.001,0.999,19.999,-0.001)))
FROM dual
After
SELECT (sdo_geometry(2006, 81989,NULL,
mdsys.sdo_elem_info_array(1,2,1),
mdsys.sdo_ordinate_array(16,0.999,17.253,-0.001,18.003,0.999,19.001,0.999,19.999,-0.001))) FROM dual
Thanks in advanceOkay Roché,
You might need to break this problem down into smaller parts for the forum. All your examples show the gap being replaced by a single vertice - e.g. you want to "snap" the gap together. I'd suggest this is just complicating your question. Once the gap is filled (with a line) then you can run SDO_UTIL.REMOVE_DUPLICATE_VERTICES afterwards to remove the new line if its below your tolerance. I think that Bryan's code wrapped in remove duplicate vertices will solve your second scenario. But overall I think it would be helpful to focus just on the filling and leave the snapping for a follow-up question.
So back to scenario #1, below is some code I wrote a while back that might do what you want or at least get you started. Note that the input must be a multistring and the multistring cannot be "spaghetti". In other words each line in the multistring must be disjoint or at most touch other lines only at endpoints. The goal is to sift through the lines and create a single linestring using the smallest gaps. It's not subtle and will indeed produce bad geometries if the inputs are setup in an impossible manner. There are also some rare geodetic bugs with SDO_GEOM.RELATE that crop up. So you'll note I test both distance and relate in some places. That's intentional though kind of dumb.
Hopefully this helps. If you improve the code please shoot a copy back to me.
Cheers,
Paul
CREATE OR REPLACE PACKAGE dz_gap_fill
AUTHID CURRENT_USER
AS
FUNCTION linear_gap_filler(
p_input IN MDSYS.SDO_GEOMETRY
,p_tolerance IN NUMBER DEFAULT 0.05
) RETURN MDSYS.SDO_GEOMETRY;
END dz_gap_fill;
CREATE OR REPLACE PACKAGE BODY dz_gap_fill
AS
FUNCTION fast_point(
p_x IN NUMBER
,p_y IN NUMBER
,p_z IN NUMBER DEFAULT NULL
,p_m IN NUMBER DEFAULT NULL
,p_srid IN NUMBER DEFAULT 8265
) RETURN MDSYS.SDO_GEOMETRY
AS
BEGIN
-- Step 10
-- Check over incoming parameters
IF p_x IS NULL
OR p_y IS NULL
THEN
RAISE_APPLICATION_ERROR(-20001,'x and y cannot be NULL');
END IF;
-- Step 20
-- Do the simplest solution first
IF p_z IS NULL
AND p_m IS NULL
THEN
RETURN SDO_GEOMETRY(
2001
,p_srid
,SDO_POINT_TYPE(
p_x
,p_y
,NULL
,NULL
,NULL
END IF;
-- Step 30
-- Do the other wilder choices
IF p_z IS NULL
AND p_m IS NOT NULL
THEN
RETURN SDO_GEOMETRY(
3301
,p_srid
,SDO_POINT_TYPE(
p_x
,p_y
,p_m
,NULL
,NULL
ELSIF p_z IS NOT NULL
AND p_m IS NULL
THEN
RETURN SDO_GEOMETRY(
3001
,p_srid
,SDO_POINT_TYPE(
p_x
,p_y
,p_z
,NULL
,NULL
ELSIF p_z IS NOT NULL
AND p_m IS NOT NULL
THEN
RETURN SDO_GEOMETRY(
4401
,p_srid
,NULL
,SDO_ELEM_INFO_ARRAY(1,1,1)
,SDO_ORDINATE_ARRAY(p_x,p_y,p_z,p_m)
ELSE
RAISE_APPLICATION_ERROR(-20001,'ERR!');
END IF;
END fast_point;
FUNCTION get_start_point(
p_input IN MDSYS.SDO_GEOMETRY
) RETURN MDSYS.SDO_GEOMETRY
AS
int_dims PLS_INTEGER;
int_gtyp PLS_INTEGER;
int_lrs PLS_INTEGER;
BEGIN
-- Step 10
-- Check over incoming parameters
IF p_input IS NULL
THEN
RETURN NULL;
END IF;
-- Step 20
-- Gather information about the geometry
int_dims := p_input.get_dims();
int_gtyp := p_input.get_gtype();
int_lrs := p_input.get_lrs_dim();
-- Step 30
-- Handle point and multipoint inputs
IF int_gtyp = 1
THEN
RETURN p_input;
ELSIF int_gtyp = 5
THEN
RETURN SDO_UTIL.EXTRACT(p_input,1);
END IF;
-- Step 40
-- Return results
IF int_dims = 2
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(1)
,p_input.SDO_ORDINATES(2)
,NULL
,NULL
,p_input.SDO_SRID
ELSIF int_dims = 3
AND int_lrs = 3
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(1)
,p_input.SDO_ORDINATES(2)
,NULL
,p_input.SDO_ORDINATES(3)
,p_input.SDO_SRID
ELSIF int_dims = 3
AND int_lrs = 0
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(1)
,p_input.SDO_ORDINATES(2)
,p_input.SDO_ORDINATES(3)
,NULL
,p_input.SDO_SRID
ELSIF int_dims = 4
AND int_lrs IN (4,0)
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(1)
,p_input.SDO_ORDINATES(2)
,p_input.SDO_ORDINATES(3)
,p_input.SDO_ORDINATES(4)
,p_input.SDO_SRID
ELSIF int_dims = 4
AND int_lrs = 3
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(1)
,p_input.SDO_ORDINATES(2)
,p_input.SDO_ORDINATES(4)
,p_input.SDO_ORDINATES(3)
,p_input.SDO_SRID
ELSE
RAISE_APPLICATION_ERROR(-20001,'ERR!');
END IF;
END get_start_point;
FUNCTION get_end_point(
p_input IN MDSYS.SDO_GEOMETRY
) RETURN MDSYS.SDO_GEOMETRY
AS
int_dims PLS_INTEGER;
int_gtyp PLS_INTEGER;
int_lrs PLS_INTEGER;
int_len PLS_INTEGER;
BEGIN
-- Step 10
-- Check over incoming parameters
IF p_input IS NULL
THEN
RETURN NULL;
END IF;
-- Step 20
-- Gather information about the geometry
int_dims := p_input.get_dims();
int_gtyp := p_input.get_gtype();
int_lrs := p_input.get_lrs_dim();
int_len := p_input.SDO_ORDINATES.COUNT();
-- Step 30
-- Handle point and multipoint inputs
IF int_gtyp = 1
THEN
RETURN p_input;
ELSIF int_gtyp = 5
THEN
RETURN SDO_UTIL.EXTRACT(
p_input
,SDO_UTIL.GETNUMELEM(p_input)
END IF;
-- Step 40
-- Return results
IF int_dims = 2
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(int_len - 1)
,p_input.SDO_ORDINATES(int_len)
,NULL
,NULL
,p_input.SDO_SRID
ELSIF int_dims = 3
AND int_lrs = 3
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(int_len - 2)
,p_input.SDO_ORDINATES(int_len - 1)
,NULL
,p_input.SDO_ORDINATES(int_len)
,p_input.SDO_SRID
ELSIF int_dims = 3
AND int_lrs = 0
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(int_len - 2)
,p_input.SDO_ORDINATES(int_len - 1)
,p_input.SDO_ORDINATES(int_len)
,NULL
,p_input.SDO_SRID
ELSIF int_dims = 4
AND int_lrs IN (4,0)
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(int_len - 3)
,p_input.SDO_ORDINATES(int_len - 2)
,p_input.SDO_ORDINATES(int_len - 1)
,p_input.SDO_ORDINATES(int_len)
,p_input.SDO_SRID
ELSIF int_dims = 4
AND int_lrs = 3
THEN
RETURN fast_point(
p_input.SDO_ORDINATES(int_len - 3)
,p_input.SDO_ORDINATES(int_len - 2)
,p_input.SDO_ORDINATES(int_len)
,p_input.SDO_ORDINATES(int_len - 1)
,p_input.SDO_SRID
ELSE
RAISE_APPLICATION_ERROR(-20001,'ERR!');
END IF;
END get_end_point;
FUNCTION is_spaghetti(
p_input IN MDSYS.SDO_GEOMETRY
,p_tolerance IN NUMBER DEFAULT 0.05
) RETURN VARCHAR2
AS
num_tolerance NUMBER := p_tolerance;
ary_strings MDSYS.SDO_GEOMETRY_ARRAY := MDSYS.SDO_GEOMETRY_ARRAY();
ary_starts MDSYS.SDO_GEOMETRY_ARRAY := MDSYS.SDO_GEOMETRY_ARRAY();
ary_ends MDSYS.SDO_GEOMETRY_ARRAY := MDSYS.SDO_GEOMETRY_ARRAY();
int_count PLS_INTEGER;
ary_start_count MDSYS.SDO_NUMBER_ARRAY := MDSYS.SDO_NUMBER_ARRAY();
ary_end_count MDSYS.SDO_NUMBER_ARRAY := MDSYS.SDO_NUMBER_ARRAY();
ary_inside_count MDSYS.SDO_NUMBER_ARRAY := MDSYS.SDO_NUMBER_ARRAY();
BEGIN
-- Step 10
-- Check over incoming parameters
IF p_input IS NULL
THEN
RETURN NULL;
ELSIF p_input.get_gtype = 2
THEN
RETURN 'FALSE';
ELSIF p_input.get_gtype <> 6
THEN
RAISE_APPLICATION_ERROR(-20001,'input gtype must be 2 or 6');
END IF;
IF num_tolerance IS NULL
THEN
num_tolerance := 0.05;
END IF;
-- Step 20
-- Break multistring into single linestrings with nodes
int_count := SDO_UTIL.GETNUMELEM(p_input);
ary_strings.EXTEND(int_count);
ary_starts.EXTEND(int_count);
ary_ends.EXTEND(int_count);
ary_start_count.EXTEND(int_count);
ary_end_count.EXTEND(int_count);
ary_inside_count.EXTEND(int_count);
FOR i IN 1 .. int_count
LOOP
ary_strings(i) := SDO_UTIL.EXTRACT(p_input,i);
ary_starts(i) := get_start_point(ary_strings(i));
ary_ends(i) := get_end_point(ary_strings(i));
END LOOP;
-- Step 30
-- Loop through and count the nodes connections
FOR i IN 1 .. int_count
LOOP
ary_start_count(i) := 0;
ary_end_count(i) := 0;
ary_inside_count(i) := 0;
FOR j IN 1 .. int_count
LOOP
IF i != j
THEN
IF SDO_GEOM.RELATE(
ary_starts(i),
'DETERMINE',
ary_strings(j),
num_tolerance
) IN ('TOUCH','CONTAINS','COVERS','ON')
THEN
ary_start_count(i) := ary_start_count(i) + 1;
ELSIF SDO_GEOM.RELATE(
ary_ends(i),
'DETERMINE',
ary_strings(j),
num_tolerance
) IN ('TOUCH','CONTAINS','COVERS','ON')
THEN
ary_end_count(i) := ary_end_count(i) + 1;
ELSIF SDO_GEOM.RELATE(
ary_strings(i),
'DETERMINE',
ary_strings(j),
num_tolerance
) IN ('TOUCH','CONTAINS','COVERS','OVERLAPBYINTERSECT')
THEN
ary_inside_count(i) := ary_inside_count(i) + 1;
END IF;
END IF;
END LOOP;
IF ary_start_count(i) > 1
OR ary_end_count(i) > 1
OR ary_inside_count(i) > 0
THEN
RETURN 'TRUE';
END IF;
END LOOP;
RETURN 'FALSE';
END is_spaghetti;
FUNCTION points2segment(
p_point_one IN MDSYS.SDO_POINT_TYPE
,p_point_two IN MDSYS.SDO_POINT_TYPE
,p_srid IN NUMBER
) RETURN MDSYS.SDO_GEOMETRY
AS
BEGIN
IF ( p_point_one.Z IS NULL AND p_point_two.Z IS NOT NULL )
OR ( p_point_one.Z IS NOT NULL AND p_point_two.Z IS NULL )
THEN
RAISE_APPLICATION_ERROR(
-20001,
'both points must have the same number of dimensions, point_one Z is ' ||
NVL(TO_CHAR(p_point_one.Z),'') ||
' and point_two Z is ' ||
NVL(TO_CHAR(p_point_two.Z),'')
END IF;
IF p_point_one.Z IS NULL
THEN
RETURN SDO_GEOMETRY(
2002
,p_srid
,NULL
,SDO_ELEM_INFO_ARRAY(1,2,1)
,SDO_ORDINATE_ARRAY(p_point_one.X,p_point_one.Y,p_point_two.X,p_point_two.Y)
ELSE
RETURN SDO_GEOMETRY(
3002
,p_srid
,NULL
,SDO_ELEM_INFO_ARRAY(1,2,1)
,SDO_ORDINATE_ARRAY(p_point_one.X,p_point_one.Y,p_point_one.Z,p_point_two.X,p_point_two.Y,p_point_two.Z)
END IF;
END points2segment;
FUNCTION points2segment(
p_point_one IN MDSYS.SDO_GEOMETRY
,p_point_two IN MDSYS.SDO_GEOMETRY
) RETURN MDSYS.SDO_GEOMETRY
AS
int_gtype1 PLS_INTEGER;
int_dims1 PLS_INTEGER;
int_gtype2 PLS_INTEGER;
int_dims2 PLS_INTEGER;
point_one MDSYS.SDO_POINT_TYPE;
point_two MDSYS.SDO_POINT_TYPE;
BEGIN
int_gtype1 := p_point_one.get_gtype();
int_dims1 := p_point_one.get_dims();
int_gtype2 := p_point_two.get_gtype();
int_dims2 := p_point_two.get_dims();
IF int_gtype1 = 1
AND int_gtype2 = 1
AND int_dims1 = int_dims2
AND p_point_one.SDO_SRID = p_point_two.SDO_SRID
THEN
NULL; -- Good
ELSE
RAISE_APPLICATION_ERROR(
-20001
,'both point objects must be points and have the same number of dimensions and SRIDs'
END IF;
IF int_dims1 = 4
THEN
RETURN SDO_GEOMETRY(
4402
,p_point_one.SDO_SRID
,NULL
,SDO_ELEM_INFO_ARRAY(1,2,1)
,SDO_ORDINATE_ARRAY(
p_point_one.SDO_ORDINATES(1)
,p_point_one.SDO_ORDINATES(2)
,p_point_one.SDO_ORDINATES(3)
,p_point_one.SDO_ORDINATES(4)
,p_point_two.SDO_ORDINATES(1)
,p_point_two.SDO_ORDINATES(2)
,p_point_two.SDO_ORDINATES(3)
,p_point_two.SDO_ORDINATES(4)
ELSE
-- Use the sdo_point_type method for the rest
IF p_point_one.SDO_POINT IS NOT NULL
THEN
point_one := p_point_one.SDO_POINT;
ELSE
IF int_dims1 = 3
THEN
point_one := SDO_POINT_TYPE(
p_point_one.SDO_ORDINATES(1)
,p_point_one.SDO_ORDINATES(2)
,p_point_one.SDO_ORDINATES(3)
ELSE
point_one := SDO_POINT_TYPE(
p_point_one.SDO_ORDINATES(1)
,p_point_one.SDO_ORDINATES(2)
,NULL
END IF;
END IF;
IF p_point_two.SDO_POINT IS NOT NULL
THEN
point_two := p_point_two.SDO_POINT;
ELSE
IF int_dims1 = 3
THEN
point_two := SDO_POINT_TYPE(
p_point_two.SDO_ORDINATES(1)
,p_point_two.SDO_ORDINATES(2)
,p_point_two.SDO_ORDINATES(3)
ELSE
point_two := SDO_POINT_TYPE(
p_point_two.SDO_ORDINATES(1)
,p_point_two.SDO_ORDINATES(2)
,NULL
END IF;
END IF;
RETURN points2segment(
p_point_one => point_one
,p_point_two => point_two
,p_srid => p_point_one.SDO_SRID
END IF;
END points2segment;
FUNCTION linear_gap_filler(
p_input IN MDSYS.SDO_GEOMETRY
,p_tolerance IN NUMBER DEFAULT 0.05
) RETURN MDSYS.SDO_GEOMETRY
AS
sdo_input MDSYS.SDO_GEOMETRY := p_input;
num_tolerance NUMBER;
int_counter PLS_INTEGER;
ary_edges MDSYS.SDO_GEOMETRY_ARRAY;
ary_starts MDSYS.SDO_GEOMETRY_ARRAY;
ary_ends MDSYS.SDO_GEOMETRY_ARRAY;
ary_nearest MDSYS.SDO_NUMBER_ARRAY;
ary_distance MDSYS.SDO_NUMBER_ARRAY;
num_temp NUMBER;
num_nearest NUMBER;
int_winner PLS_INTEGER;
int_winner2 PLS_INTEGER;
sdo_point1 MDSYS.SDO_GEOMETRY;
sdo_point2 MDSYS.SDO_GEOMETRY;
boo_done BOOLEAN;
num_one NUMBER;
num_two NUMBER;
int_looper PLS_INTEGER := 1;
BEGIN
-- Step 10
-- Check over incoming parameters
IF num_tolerance IS NULL
THEN
num_tolerance := 0.05;
END IF;
IF sdo_input IS NULL
OR sdo_input.get_gtype() <> 6
THEN
RETURN sdo_input;
END IF;
IF is_spaghetti(sdo_input,p_tolerance) = 'TRUE'
THEN
RETURN sdo_input;
END IF;
<> ary_edges := MDSYS.SDO_GEOMETRY_ARRAY();
ary_starts := MDSYS.SDO_GEOMETRY_ARRAY();
ary_ends := MDSYS.SDO_GEOMETRY_ARRAY();
ary_nearest := MDSYS.SDO_NUMBER_ARRAY();
ary_distance := MDSYS.SDO_NUMBER_ARRAY();
-- Step 20
-- Break multistring into edges and start and end nodes
int_counter := SDO_UTIL.GETNUMELEM(sdo_input);
ary_edges.EXTEND(int_counter);
ary_starts.EXTEND(int_counter);
ary_ends.EXTEND(int_counter);
FOR i IN 1 .. int_counter
LOOP
ary_edges(i) := SDO_UTIL.EXTRACT(sdo_input,i);
ary_starts(i) := get_start_point(ary_edges(i));
ary_ends(i) := get_end_point(ary_edges(i));
END LOOP;
-- Step 30
-- Determine the closest endpoints
ary_nearest.EXTEND(int_counter);
ary_distance.EXTEND(int_counter);
FOR i IN 1 .. int_counter
LOOP
num_nearest := NULL;
int_winner := NULL;
FOR j IN 1 .. int_counter
LOOP
IF j != i
THEN
num_temp := SDO_GEOM.SDO_DISTANCE(
ary_edges(i)
,ary_edges(j)
,num_tolerance
IF num_nearest IS NULL
OR num_temp < num_nearest
THEN
num_nearest := num_temp;
int_winner := j;
END IF;
END IF;
END LOOP;
ary_nearest(i) := int_winner;
ary_distance(i) := num_nearest;
END LOOP;
-- Step 40
-- Find the smallest gap
int_winner := NULL;
num_nearest := NULL;
FOR i IN 1 .. int_counter
LOOP
IF num_nearest IS NULL
OR ary_distance(i) < num_nearest
THEN
int_winner := i;
num_nearest := ary_distance(i);
int_winner2 := ary_nearest(i);
END IF;
END LOOP;
-- Step 50
-- Determine the endpoints to connect
num_one := SDO_GEOM.SDO_DISTANCE(
get_start_point(ary_edges(int_winner)),
ary_edges(int_winner2),
num_tolerance
num_two := SDO_GEOM.SDO_DISTANCE(
get_end_point(ary_edges(int_winner)),
ary_edges(int_winner2),
num_tolerance
IF ( num_one = 0 AND SDO_GEOM.RELATE(
get_start_point(ary_edges(int_winner)),
'ANYINTERACT',
ary_edges(int_winner2),
num_tolerance
) = 'TRUE' )
OR ( num_two = 0 AND SDO_GEOM.RELATE(
get_end_point(ary_edges(int_winner)),
'ANYINTERACT',
ary_edges(int_winner2),
num_tolerance
) = 'TRUE' )
THEN
sdo_point1 := NULL;
ELSIF num_one < num_two
THEN
sdo_point1 := get_start_point(ary_edges(int_winner));
ELSE
sdo_point1 := get_end_point(ary_edges(int_winner));
END IF;
num_one := SDO_GEOM.SDO_DISTANCE(
get_start_point(ary_edges(int_winner2)),
ary_edges(int_winner),
num_tolerance
num_two := SDO_GEOM.SDO_DISTANCE(
get_end_point(ary_edges(int_winner2)),
ary_edges(int_winner),
num_tolerance
IF ( num_one = 0 AND SDO_GEOM.RELATE(
get_start_point(ary_edges(int_winner2)),
'ANYINTERACT',
ary_edges(int_winner),
num_tolerance
) = 'TRUE' )
OR ( num_two = 0 AND SDO_GEOM.RELATE(
get_end_point(ary_edges(int_winner2)),
'ANYINTERACT',
ary_edges(int_winner),
num_tolerance
) = 'TRUE' )
THEN
sdo_point2 := NULL;
ELSIF num_one < num_two
THEN
sdo_point2 := get_start_point(ary_edges(int_winner2));
ELSE
sdo_point2 := get_end_point(ary_edges(int_winner2));
END IF;
-- Step 50
-- Smash together
IF sdo_point1 IS NULL
OR sdo_point2 IS NULL
THEN
sdo_input := SDO_UTIL.CONCAT_LINES(
ary_edges(int_winner),
ary_edges(int_winner2)
ELSE
sdo_input := SDO_UTIL.CONCAT_LINES(
SDO_UTIL.CONCAT_LINES(
ary_edges(int_winner),
points2segment(sdo_point1,sdo_point2)
ary_edges(int_winner2)
END IF;
boo_done := TRUE;
FOR i IN 1 .. int_counter
LOOP
IF i NOT IN (int_winner,int_winner2)
THEN
sdo_input := SDO_UTIL.APPEND(sdo_input,ary_edges(i));
boo_done := FALSE;
END IF;
END LOOP;
-- Step 60
-- Check if valid if returning
IF sdo_input.get_gtype() = 2
OR boo_done = TRUE
THEN
RETURN sdo_input;
END IF;
int_looper := int_looper + 1;
GOTO TOP_OF_IT;
END linear_gap_filler;
END dz_gap_fill; -
Icon path restricted error when building release version for ipad3
Hi,
i get the following error when building the release build ipa file for ipad 3: "The path icon.png is restricted. If you were trying to package Icon.png you should correct the case." In debug mode everything works. My icon is under assets folder and added in the app-xml with:
<icon>
<image72x72>assets/icon_72.png</image72x72>
</icon>
Did I missed something in configuration? Seems to be that the problem is known but cant find a solution for it. If i try to packegae per command line despite the fact building works I could not install the app. When I change the icon tag to use no icon everything works fine. Any ideas?
Greetz and thanks in advance!I solved it. When you export the release build you can choose package contents to be compiled in the ipa. When I tried to add an icon at first I named it icon.png, which seems to be a reserved name. The configuration to include this icon.png was still saved though i deleted it. Wired... After unchecking the ceckbox for icon.png not to be compiled in the ipa, the release build was build.
-
"Undefined symbols for architecture" when building Universal Binaries
The build I'm doing works fine when specifying either i386 or x86_64 or ppc *by itself*, however whenever I try to combine the archs to make a UB, I get problems building libraries. I'm using an existing makefile system as this needs to be portable across many platforms. Any ideas?
Here's the output (trying i386 & x86_64):
gcc -I/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/include -D_REENTRANT -DOSX_X86 -DNO_TERMCAP -DNOPOSIXMUTEXES -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -DNO_ENCRYPTION -DTASK_DEFN -DNO_ENCRYPTION -c sddlp_util.c -o osx/static/sddlp_util.o
ar ru osx/librdmeddl9_static.a osx/static/ddlp.o osx/static/ddlalign.o osx/static/ddllex.o osx/static/ddlp_util.o osx/static/ddltable.o osx/static/ddlxref.o osx/static/writejni.o osx/static/sddlp.o osx/static/sddlp_util.o
ar: creating archive osx/librdmeddl9_static.a
cp -f /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/source/tools/ddl/osx/librdmeddl9static.a /Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/lib/osx
gcc -c -I/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/include -D_REENTRANT -DOSX_X86 -DNO_TERMCAP -DNOPOSIXMUTEXES -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -DNO_ENCRYPTION -DTASK_DEFN -DNO_ENCRYPTION ddlp_main.c -o osx/static/ddlp_main.o
gcc -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.5 -o osx/ddlp_static osx/static/ddlp_main.o -L/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/lib/osx -lrdmeddl9_static -L/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/lib/osx -lrdmebase9_static -L/Users/Documents/AccurevWorkspace/RDMe-AurigaDevmacosx/lib/osx -lrdmepsp9_static
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmeddl9static.a, file is not of required architecture
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmebase9static.a, file is not of required architecture
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmepsp9static.a, file is not of required architecture
Undefined symbols for architecture i386:
"pspinit", referenced from:
_main in ddlp_main.o
"pspterm", referenced from:
_main in ddlp_main.o
"ddlpmain", referenced from:
_main in ddlp_main.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmeddl9static.a, file is not of required architecture
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmebase9static.a, file is not of required architecture
ld: warning: in /Users/Documents/AccurevWorkspace/RDMe-AurigaDev_macosx/lib/osx/librdmepsp9static.a, file is not of required architecture
Undefined symbols for architecture x86_64:
"pspinit", referenced from:
_main in ddlp_main.o
"pspterm", referenced from:
_main in ddlp_main.o
"ddlpmain", referenced from:
_main in ddlp_main.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/0H/0H34PYrnF7SXdZBPnDciuU+jA/-Tmp-//cciWTBHk.out (No such file or directory)
make: * [osx/ddlp_static] Error 1OK, solved the problem. AR requires the -s flag when building UBs:
If you are building for multiple arches then you should pass ar the -s
flag (as Rainer said) to ar to ensure that the table of contents is
created. As you can see from the ar sources it calls ranlib -q normally,
and ranlib -f if it saw the -s flag. Ranlib -q will "Do nothing if a
universal file would be created." whereas ranlib -f will create the fat
archive.
http://www.nabble.com/Why-ar-doesn't-call-ranlib-on-Mac--td22319721.html -
Package Error when create package via Methods onTables
Even though I am an APEX developer for 3 years, I just found out about Methods on Tables Utility in SQL Workshop from Dan McGhan's demo. I tried to create a package for about 7 tables in one package. When the package was created, it was invalid. I tried to compile it and it produced several errors. I noticed that the UPDATE table procedure was incomplete as it did not provide parameters even though the procedure uses them.
I was able to replicate it in APEX.ORACLE.COM.
WORKSPACE: RGWORK
PACKAGE: CSRSR_DML
USER : TESTER
Password: test123
Is this a bug? Is there a workaround? Did anyone else experience similar outcome?
APEX 4.1
Oracle 10g Rel 2
Robert
http://apexjscss.blogspot.comsect55 wrote:
Come on APEX team and gurus, please help....As far as this "guru" is concerned, it's not something I'd ever use:
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:672724700346558185
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:25405782527721
Given Tom's well-known opposition to this approach, I was more than a little surprised when this appeared in APEX as he also appears to have close links to the APEX team. I'd really rather have seen development effort invested elsewhere.
I'd definitely advocate building applications based on PL/SQL APIs, just not on table-centric, row-by-row ones...
I tried to create a package for about 7 tables in one package.Why?
One of the main purposes of packages is to modularize an application. Sticking methods for all of the entities in one package defeats this and makes development, testing and maintenance harder. If you must use the flawed TAPI concept, create a separate API for each table—at most only combine those where there exist mandatory dependencies, e.g. an <tt>order</tt> package with methods for <tt>orders</tt> and <tt>order_items</tt>.
As to the immediate problem, it appears to be due to the lack of primary key definitions on some of your tables. This means the generator is unable to identify which columns to use as unique row identifiers. -
[SOLVED] .SRCINFO file and multiarch PKGBUILD/package
Is it a bad practice to have one PKGBUILD/package for x86 and x86_64 when they have not the same source?
Exemple:
# Maintainer: Tanguy ALEXIS <[email protected]>
# Contributer: Shaun Hammill <[email protected]>
# Contributer: Travis Lyons <[email protected]>
pkgname=magicassistant-gtk
pkgver=1.4.2.001
pkgrel=1
pkgdesc="Card Browser, Library Organizer, Deck Builder and Tournament Manager for Magic the Gathering Card Game"
arch=(i686 x86_64)
url="http://sourceforge.net/projects/mtgbrowser/"
license=('EPL')
depends=(gtk2 'java-runtime>=8' unzip libwebkit)
source=('source')
md5sums=('md5sums')
if test "$CARCH" == "x86_64"; then
source=(http://downloads.sourceforge.net/project/mtgbrowser/Magic_Assistant/${pkgver}/magicassistant-${pkgver}-linux.gtk.x86_64.zip magicassistant.desktop)
md5sums=('ae780a748d2d245b2f3220694cec5986'
'37f143dbb28032d4fcc7a0a6e4e7f239')
fi
if test "$CARCH" == "i686"; then
source=(http://downloads.sourceforge.net/project/mtgbrowser/Magic_Assistant/${pkgver}/magicassistant-${pkgver}-linux.gtk.x86.zip magicassistant.desktop)
md5sums=('cb0e8e8fb8bf3f37326432302954fecf'
'37f143dbb28032d4fcc7a0a6e4e7f239')
fi
package() {
msg "Installing..."
install -d "$pkgdir"/{/usr/bin,/opt,/usr/share/applications}
install -m644 $srcdir/magicassistant.desktop $pkgdir/usr/share/applications/magicassistant.desktop
mv $srcdir/MagicAssistant $pkgdir/opt
msg "Link to bin..."
ln -s /opt/MagicAssistant/magicassistant $pkgdir/usr/bin/magicassistant
msg2 "Done!"
This work but not with mksrcinfo even if I skip the integrity check, because it will check for a "source" file instead of the actual source.
So, is there any way to deal with this or I just have to split this in two package? Sorry if this has been answered before, can't find it.
Last edited by Nyutag (2015-06-17 07:55:24)Read 'man PKGBUILD', particularly the section about the source array and how you can specify architecture-specific sources. Look into the corresponding *sum arrays too. Lose the bash conditionals outside the build/package functions.
-
Placing ini file in specific location when building the application
Hello,
I have a small problem. I have an ini file that I use to store certain parameters. Lets call this file app.ini. When I build the Application.exe, it puts that file into the data directory. I was hoping that it would be one level higher and be located in the same directory as Application.exe is (otherwise it won't read the file correctly.) I looked at the Source File Settings in the Category list in the properties window for the build and set the Destination to be "Same as caller", but that didn't put it where I wanted it. I'd really like this file to be one directory higher when I make my build in order for my app to read it correctly. Any suggestions?
I use this executable later on when I make my installer and the problem simply propagates there too, not good.
Solved!
Go to Solution.One way to solve the problem:
1) In build properties window select Destinations and create a new destination. Select as "Destination Path" the same dir where the exe will be stored
2) Assign this destination to the .ini file.
Let me know if it works
Marco
Maybe you are looking for
-
Email Address (SMTP-ADDR) in Employee Vendor Creation through PRAA
Hi All, We have a requirement tp update Vendor Email Address (SMTP-ADDR) from HR master Data (Infotype 0105). I have checked the Available BADI "BADI_EXITS_RPRAPA00" but nothing helpful. Can you please suggest on the same ? Thanks and Regards, -Pooja
-
Function module/ program for deleting Vendor purchasing org. in BBPMAININT?
Hi, Is there any function module or program available by which i can delete purchasing org. maintained for SRM vendors in BBPMAININT. Regards Bharat M
-
Wrong cost price in good receipt
Hello, I try to to make good receipt, but when the document is done, there is wrong cost price. I tried to set various properties but I haven't found any solution. Price and PriceAfterVat is Ok, only Cost Price is wrong. Is there any way how, can I s
-
TIFF images are displayed as thumbnails but will not open for editing
I have noticed a problem with my iPhoto 7.xx iPhoto displays the thumbnail of TIFF files but when it is selected (for editing as an example), iPhoto displays a grey circle with a black question mark. This happens with TIFF images from any source (mul
-
Restoring iPhone backup from previous phone to new one
Hi All, I have just created a new iPHone in my iTunes it actually the same (1st generation iPHone) but I have updated to 2.0 and in the iTunes instead of restoring to original backup that I did before upgrading. I have selected to create a new Iphone