*** drnic has quit IRC | 03:45 | |
*** drnic has joined #baserock | 04:21 | |
*** zoli__ has joined #baserock | 06:30 | |
*** rdale has joined #baserock | 06:57 | |
*** mariaderidder has joined #baserock | 07:06 | |
*** paulw has joined #baserock | 07:13 | |
*** gary_perkins has joined #baserock | 07:54 | |
*** mdunford has joined #baserock | 08:05 | |
*** zoli__ has quit IRC | 08:06 | |
*** bashrc_ has joined #baserock | 08:07 | |
*** straycat has joined #baserock | 08:24 | |
*** straycat has left #baserock | 08:27 | |
*** rdale has quit IRC | 08:36 | |
*** straycat has joined #baserock | 08:37 | |
*** ssam2 has joined #baserock | 08:42 | |
*** ChanServ sets mode: +v ssam2 | 08:42 | |
straycat | hello, i've finished adapting definitions and morphlib/buildsystems.py to use a more vanilla layout for the perl installation. how would we prefer to land it? currently the definitions change i would propose would require everyone to switch to the latest morph | 08:49 |
---|---|---|
persia | straycat: Is your proposed new layout available somewhere? | 08:51 |
persia | Or the related definitions change? | 08:51 |
*** zoli__ has joined #baserock | 08:52 | |
SotK | I think if the definitions change needs people to use latest morph, we'll need a release which contains that latest morph doing before the definitions change is merged, and a version bump in definitions. | 08:53 |
persia | Practically, yes, but I want to review the nature of the definitions change before having an opinion on whether we ought do that. | 08:53 |
persia | Because if there is a way to can communicate that with existing semantics, we have an easier life: incompatible changes irritate users. | 08:54 |
straycat | I'm proposing switching to the default (see https://metacpan.org/pod/distribution/perl/INSTALL#Installation-Directories ) using definitions change https://bitbucket.org/richardipsum/definitions/commits/97e5b243a46cf8cb39864ecf27545a5b5c6f5051?at=ripsum/upgrade-perl-5.22 | 09:01 |
straycat | possibly losing the definition of vendorprefix, I'm not sure we need that | 09:02 |
ssam2 | fyi, I'm going to propose a way of doing automated migrations of definitions on baserock-dev very soon, and next week or the week after will look at moving default buildsystem commands into definitions.git | 09:03 |
ssam2 | I don't know how any of that will pan out yet, so can't really give useful advice at this point | 09:04 |
ssam2 | but maybe it's useful to know | 09:04 |
ssam2 | the simplified perl .morph file looks handy | 09:05 |
straycat | http://sprunge.us/CSUM is work in progress, but as you can see we drop the overriding of all the install paths because we're now using the perl defaults | 09:06 |
ssam2 | looks simpler. But I would have thought that setting PREFIX to /foo.inst/usr instead of /usr would break things | 09:07 |
persia | straycat: I like those changes, but I don't understand why this requires updated morph | 09:08 |
persia | Is it just the changes from INSTALL_BASE to PREFIX? | 09:09 |
straycat | ssam2, what ExtUtils::MakeMaker means by PREFIX isn't quite the same, http://search.cpan.org/~bingos/ExtUtils-MakeMaker-7.04/lib/ExtUtils/MakeMaker.pm#PREFIX_and_LIB_attribute might help | 09:12 |
ssam2 | straycat: ok, that's good to know. Might be worth adding a comment for the benefit of other people who are used to the 'autotools' meaning of PREFIX | 09:13 |
*** lachlanmackenzie has joined #baserock | 09:14 | |
persia | Indeed: I was also misled | 09:14 |
straycat | persia, Sorry that patch is not based off master so may be a little confusing, it's based off https://gerrit.baserock.org/#/c/966/ using --install_base was my mistake, using INSTALL_BASE causes modules to be installed into a different set of paths: http://search.cpan.org/~bingos/ExtUtils-MakeMaker-7.04/lib/ExtUtils/MakeMaker.pm#INSTALL_BASE | 09:15 |
persia | Heh. I think it is worth stealing the comment "INSTALL_BASE can be passed into Makefile.PL to change where your module will be installed. INSTALL_BASE is more like what everyone else calls "prefix" than PREFIX is." from the docs. | 09:16 |
straycat | essentially morph is doing some work right now to make sure everything goes into /usr/lib/perl, we could stick with that if we wanted and I could modify the Module::Build support I added to buildsystems.py to do something similar, but I just thought it might make more sense for us to have a more standard configuration | 09:18 |
ssam2 | I think it makes sense to have a more standard configuration. I'm struggling to work out the implications though | 09:20 |
persia | I mostly wish that there was a sane way to do this without modifying both morph and definitions simultaneously. | 09:21 |
Kinnison | There is | 09:21 |
Kinnison | Move the build systems into definitions first | 09:21 |
Kinnison | in a back/forward compatible way | 09:21 |
straycat | ssam2, Instead of all perl modules (both modules included in the perl distribution and modules Baserock installs) being stored in /usr/lib/perl, modules included in the perl distribution will be in /usr/lib/perl5/$perl_version and modules installed by baserock will be in /usr/lib/perl5/site_perl/$perl_version | 09:22 |
ssam2 | straycat: cool, that part makes sense. It's the version of morphs vs. versions of definitions bit where I'm a bit lost | 09:23 |
ssam2 | does it mean that Perl chunks built with "new" versions of Morph won't work with our current build of Perl ? | 09:23 |
straycat | yes | 09:24 |
ssam2 | right | 09:24 |
ssam2 | so at present, it would have to be wrapped up in a change to the definitions format version. which does indeed highlight that the default build-commands would be much better placed in definitions.git | 09:24 |
ssam2 | which still requires a change to the definitions format version, but a more widely useful one | 09:24 |
* straycat nods | 09:25 | |
ssam2 | and one I need to do anyway to make it so a useful data model can be generated from definitions.git alone | 09:25 |
persia | Then let us do it that way. | 09:25 |
straycat | Actually I'm wrong, the problem I had yesterday was because I was incorrectly using install_base, if I use prefix then the build tools should still use the layout set in perl's configure stage: so if a new morph went to build using the current perl the modules would just end up in /usr/share/perl which would be on @INC so it *should* be fine, even if a bit weird, sorry I was being stupid. | 09:39 |
straycat | but if I'm right then this should be simpler, I'll make the changes to morph and verify that we can still build all the perl modules okay. | 09:40 |
straycat | so I guess morph is just overriding to avoid modules going into /usr/share? i'm still not really sure | 09:42 |
*** nowster has quit IRC | 09:44 | |
*** nowster has joined #baserock | 09:46 | |
persia | I'm interested, but I really don't understand either. My suggestion is to test. | 09:51 |
persia | e.g. try the half of it, and see what happens. | 09:51 |
* straycat nods | 09:57 | |
*** nowster has quit IRC | 11:15 | |
*** nowster has joined #baserock | 11:17 | |
*** paulw has quit IRC | 11:18 | |
*** paulw has joined #baserock | 11:22 | |
*** nowster has quit IRC | 11:42 | |
ssam2 | straycat: I used your virtualenv+pip Python import branch for something and it worked really well | 11:51 |
ssam2 | straycat: i'm curious if you remember any PyPI packages which are good testcases for the Python import tool? | 11:51 |
ssam2 | sphinx seems to have lots of deps, that's a good one | 11:53 |
*** nowster has joined #baserock | 11:57 | |
ssam2 | oh, TODO.python lists some packages that failed with the old 'pip --list-dependencies' method | 11:58 |
ssam2 | which presumably will all work with the new method! | 11:58 |
straycat | i don't think i've tried any that aren't documented in TODO.python, hopefully more of those will work with the new method, where they fail hopefully it's because we don't search for distributions that are released as zips (which we can change now that we can lorry zips) | 12:30 |
ssam2 | I got 'ImportError: No module named writeexts' trying to deploy something with Morph | 13:30 |
ssam2 | master of Morph, in fact | 13:31 |
SotK | o.O | 13:33 |
*** mariaderidder has quit IRC | 13:33 | |
*** mariaderidder has joined #baserock | 13:33 | |
Kinnison | :-( | 13:34 |
SotK | what ref of definitions? | 13:34 |
straycat | ssam2, are you using extensions/<extname> in your cluster? | 13:36 |
ssam2 | based off master of definitions | 13:37 |
ssam2 | hmm, I had 'type: tar' not 'type: extensions/tar' | 13:37 |
straycat | *nod* i had the same problem the other day, it's a little annoying that we have to do this now | 13:38 |
*** mariaderidder has quit IRC | 13:38 | |
*** mariaderidder has joined #baserock | 13:39 | |
*** paulw has quit IRC | 13:39 | |
straycat | the error message might be less confusing if we removed the exts from morph | 13:40 |
*** paulw has joined #baserock | 13:43 | |
*** mariaderidder has quit IRC | 13:57 | |
ssam2 | straycat: yeah, we could do that neatly if we bumped the version of the definitions format to 6, and then changed Morph so new versions refused build anything older than definitions version 6 | 13:58 |
*** mariaderidder has joined #baserock | 14:19 | |
*** mariaderidder has quit IRC | 14:27 | |
*** mariaderidder has joined #baserock | 14:27 | |
*** mariaderidder has quit IRC | 14:36 | |
*** edcragg has joined #baserock | 14:53 | |
*** mariaderidder has joined #baserock | 15:14 | |
*** mariaderidder has quit IRC | 15:20 | |
*** zoli__ has quit IRC | 15:38 | |
*** ssam2 has quit IRC | 15:49 | |
*** ssam2 has joined #baserock | 15:50 | |
*** ChanServ sets mode: +v ssam2 | 15:50 | |
*** paulw has quit IRC | 16:00 | |
*** paulw has joined #baserock | 16:00 | |
*** paulw has quit IRC | 16:14 | |
*** zoli__ has joined #baserock | 16:34 | |
*** zoli__ has quit IRC | 16:36 | |
*** mdunford has quit IRC | 16:43 | |
*** mdunford has joined #baserock | 16:57 | |
*** nowster has quit IRC | 17:00 | |
*** bashrc_ has quit IRC | 17:04 | |
*** mdunford has quit IRC | 17:04 | |
*** tiagogomes has quit IRC | 17:16 | |
*** nowster has joined #baserock | 17:26 | |
*** ssam2 has quit IRC | 17:31 | |
*** gary_perkins has quit IRC | 17:33 | |
*** zoli__ has joined #baserock | 17:34 | |
*** edcragg has quit IRC | 17:41 | |
*** paulw has joined #baserock | 21:37 | |
*** paulw has quit IRC | 21:44 | |
*** zoli__ has joined #baserock | 22:41 | |
*** zoli__ has quit IRC | 22:45 | |
*** juergbi has quit IRC | 23:21 | |
*** juergbi has joined #baserock | 23:22 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!