*** mavrick61 has quit IRC | 03:27 | |
*** mavrick61 has joined #crux-devel | 03:28 | |
Romster | nrxtx, what are you trying todo? | 07:52 |
---|---|---|
Romster | timestamps on the built archive. there is none in pkgadd's database | 07:52 |
teK_ | pitillo: on updating elementary I get some requirement failures: http://dpaste.com/1547612/ | 08:54 |
teK_ | Romster: mind checking out gst-plugins-base? does not work for me: http://dpaste.com/1547619/ | 09:01 |
Romster | great gir thanks frinnst | 09:04 |
Romster | rebuild gstreamer | 09:04 |
teK_ | ah, I remember there was something :P | 09:08 |
Romster | what to do frinnst commited it as optional but did it in a way that made it required | 09:10 |
Romster | do i go adding it to every port i maintain that needs it to compile now | 09:11 |
Romster | or should frinnst fix it so its optional | 09:11 |
teK_ | that's not up to me ;) | 09:19 |
teK_ | rebuilding gstreamer helped, thanks | 09:19 |
frinnst | you cant really make it optional | 09:20 |
Romster | why not? | 09:21 |
frinnst | because gtk sucks | 09:21 |
Romster | you can patch gtk2 configure to make it build i it's pressent and if not don't enable it. | 09:21 |
Romster | s/i its/if it'/ | 09:22 |
Romster | s/i its/if it's/ | 09:22 |
Romster | have you tried? | 09:22 |
frinnst | yeah but what happens when you install gobject down the line? | 09:22 |
Romster | i'll give it a go as i have patched aototools stuff before. | 09:22 |
frinnst | it will fuck up everything again | 09:22 |
Romster | later down the line requires a rebuild of everything. but not everyone will want it. | 09:23 |
Romster | what do you do? | 09:23 |
Romster | force it on everyone that only a few use? | 09:23 |
frinnst | look, its a tiiiny lib that has quite big consequenses (sp?) | 09:23 |
Romster | or make it a pain to recompile everything that uses gir | 09:23 |
Romster | so it stays in. more bloat add it to the iso as well. | 09:24 |
frinnst | it adds a couple of tiiiiny files do the footprint of files that use it | 09:24 |
Romster | gets that's settled. thought crux was about minimalist | 09:24 |
frinnst | yeah but should we fuck over everyone that wants to use a DE? | 09:24 |
frinnst | i dont think thats right either | 09:25 |
Romster | ok i'll have to check over everything that needs it in my ports and fix those. | 09:25 |
frinnst | i dont have any use for gobject myself. i'd rather not use it either | 09:25 |
Romster | not all DE's use it? | 09:25 |
Romster | only cinemon? | 09:25 |
frinnst | no, not kde | 09:25 |
frinnst | cinnamon, mate, gnome whatever | 09:25 |
frinnst | xfce doesnt either i think | 09:25 |
Romster | i'm happy having it optional not forced. and such a change like that should of waited for crux 3.1 | 09:26 |
Romster | it's a mess. | 09:26 |
Romster | the fact your commit said optional when it's not also bugged me | 09:26 |
Romster | it's done now i'll fix my stuff. | 09:27 |
frinnst | thanks, sry | 09:27 |
frinnst | afk again, shoulder still hurts when i type | 09:27 |
teK_ | uh get better soon :) | 09:28 |
frinnst | close to two weeks now. maybe i should go see a doctor :) | 09:28 |
teK_ | still able to play clash of clans? :} | 09:28 |
frinnst | yes :) | 09:28 |
frinnst | afk | 09:28 |
Romster | frinnst, should go see a chiropractor | 09:31 |
Romster | you been sore for ages. | 09:31 |
nrxtx | Romster: the timestamps of last change/modifing of the file built | 10:37 |
nrxtx | (executables/libs/...) | 10:41 |
Romster | are you using noatime? | 10:43 |
Romster | mount option | 10:43 |
Romster | the built package file would be a good indication of build date time. | 10:43 |
Romster | but installed date/time not so much | 10:44 |
nrxtx | not of the package itself, the files in it | 10:44 |
Romster | can look for them on the system but pkgadd does not store that information. | 10:46 |
Romster | nor pkgmk | 10:46 |
Romster | unless you make a patch for it. | 10:46 |
nrxtx | hm, my problem is that golang tries to rebuild itself when the installed source files are "older" than the binaries according to the timestamps | 10:51 |
nrxtx | which fails since normal user does not have permission for modifying /usr/* | 10:52 |
nrxtx | (not using noatime) | 10:56 |
Romster | really it checks that. | 10:57 |
Romster | you can use touch on the $SRC | 10:57 |
Romster | with --date=STRING | 10:57 |
Romster | but this would be the first case of ever seeing that ever. | 10:58 |
pitillo | hey teK_, you are using 1.7.x libraries... you need elementary-e17 | 11:06 |
*** tx_ has joined #crux-devel | 11:23 | |
tx_ | Romster: its also the first time i'm seeing it, i already use a touch to the according files, but pkgadd does not preserve them when installing the pkg, i always have to touch them again after installing the pkg then it works | 11:24 |
tx_ | but it's not a good way, since you always have to stop after installing go, then you can continue installing packages depending on it | 11:25 |
Romster | no i mean touch the $SRC in the clang Pkgfile to be older than on the system? | 11:30 |
Romster | is it a big issue that it recompiles itself? | 11:31 |
tx_ | not clang -> golang, yes because it tries recompiling as normal user even tough the files are up to date, since while installing the pkgfiles the timestamps are not preserved: let me explain it: you build "go" you install src and binaries both needed at runtime in one pkg, when using it later as unpriviliged user, it checks if src is newer than bin, then recompiles bin but has no permissions for /usr | 11:36 |
Romster | tx_, pastebin your work or where your Pkgfile is i'll try it out | 11:42 |
Romster | i can't function this way without seeing it for myself. | 11:42 |
Romster | oh | 11:43 |
Romster | was wondering why you install source as well. | 11:43 |
Romster | and touching the source is not preserved at install time.... i'd touch $PKG/usr/bin ahead a little like a second in the future or the source behind a little. | 11:44 |
Romster | if that does not work. then i guess you will have to use a post-install script to do that on the system | 11:44 |
Romster | or add a README file explaining what todo after installing. | 11:44 |
Romster | tx^ | 11:45 |
tx_ | is there a way for a post-install script? | 11:46 |
tx_ | you can get the Pkgfile of my repo | 11:46 |
Romster | yeah you just make a shell script called post-install | 11:47 |
Romster | that prt-get runs when it's enabled to run install scripts | 11:47 |
*** prologic has joined #crux-devel | 11:47 | |
nrxtx | is this enabled or disabled by default? | 11:47 |
Romster | maybe the better idea might be a wrapper script oper golang that gets called as root to check the source data and touch it older than the binaries? | 11:48 |
Romster | disabled by default. | 11:48 |
Romster | openssl is bugging me hacking time | 11:48 |
nrxtx | Romster: the wrapper script still has the problem that it it is not allowed to touch /usr/lib/files | 11:49 |
nrxtx | seems like i have to place a README for the correct instructions in addition to a post install script | 11:49 |
Romster | without being ran as root yes. | 11:49 |
Romster | i thought pkgadd kept the time stamps as is from the tarballs | 11:50 |
Romster | libcrypto.so.1.0.0 still missing what is wrong... | 11:50 |
nrxtx | i'll have an additional look into the pkgadd sources | 11:50 |
*** deus_ex has joined #crux-devel | 11:51 | |
*** nrxtx has joined #crux-devel | 11:51 | |
*** teK_ has joined #crux-devel | 11:51 | |
nrxtx | missing in core/openssl? | 11:54 |
Romster | yes on all my systems | 12:00 |
Romster | since the f update | 12:00 |
nrxtx | after prt-get update/sysup? | 12:09 |
Romster | figures the openssl issue with only 1 missing lib is due to me using distcc. | 12:12 |
nrxtx | oh ok have no distcc setup around | 12:13 |
Romster | never seen that issue before and because all my machines use distcc i could reproduce this same issue on all my machines | 12:13 |
Romster | the previous openssl versions were fine. | 12:14 |
Romster | going by the gentoo ebuild the openssl code is a mess. | 12:14 |
Romster | http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/openssl/openssl-1.0.1f.ebuild?view=markup | 12:14 |
nrxtx | this timestamp stuff is kind of weird, mtime is reserved, a time is not the problem stays only ctime as bad timestam | 12:22 |
Romster | sure it's not your system due to noatime mount option? | 12:33 |
Romster | or something like that. filesystem related | 12:33 |
nrxtx | don't have noatime set | 12:37 |
nrxtx | just going through the source of go looking for the point what he checks for rebuild | 12:38 |
Romster | yeah that may be an option too. | 12:38 |
Romster | sed/patch that. | 12:38 |
nrxtx | i checked pkgmk and pkgadd, both correctly handle and preserve timestamps | 12:40 |
Romster | https://raw.github.com/zero-io/ports/master//go/Pkgfile | 12:41 |
Romster | that's your work | 12:41 |
nrxtx | yes | 12:42 |
Romster | tref="usr/lib/go/pkg/*/runtime.a" | 12:45 |
Romster | find $PKG/usr/lib/go -type f \ | 12:46 |
Romster | -exec touch -r $PKG$tref {} \; | 12:47 |
Romster | modified slightly from http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-lang/go/go-1.2.ebuild?view=markup | 12:48 |
nrxtx | will try it, but according to go src it should not rebuild the package as it is in GOROOT | 12:49 |
nrxtx | but for some reason the check for GOROOT is after checking the file | 12:50 |
nrxtx | modification time | 12:51 |
Romster | find $PKG/usr/{lib/go/pkg,bin} -type f -exec touch '{}' + | 12:51 |
Romster | from arch will probably do the job looks cleaner than the gentoo one. | 12:51 |
Romster | hmm that may expalin why https://projects.archlinux.org/svntogit/community.git/tree/trunk/go.sh?h=packages/go hs a go.sh file. | 12:52 |
Romster | i would try a pre-install if we even have that in prt-get for setting export GOROOT=/usr/lib/go | 12:52 |
Romster | poke around the arch/genoo builds it should give you clues. | 12:53 |
Romster | gentoo* | 12:55 |
Romster | other distros out there if your really stuck | 12:55 |
Romster | one of them always has a patch or some line to get around it. | 12:55 |
nrxtx | yeah i did that is where my last line in the pkgbuild came from | 12:55 |
Romster | hmm that go.sh is some profile.d thing forget that you need a README for the environment settings needed in either /etc/profile or there home environment | 12:59 |
Romster | that find line should be all that's required.. | 13:00 |
Romster | and if pkgadd does not keep timestamps then i guess it'll be a run on system command in README to fix that. | 13:00 |
Romster | i'm gonna go play some games before sleeping | 13:01 |
*** Romster has quit IRC | 13:01 |
Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!