I am attempting to use Gentoo Prefix on Interix (self-bootstrapped, since I don't have the needed permissions for the installer), but I keep running into the following error: !!! All ebuilds that could satisfy "~dev-lang/perl-5.12.3" have been masked. !!! One of the following masked packages is required to complete your request: - dev-lang/perl-5.12.3::gentoo_prefix (masked by: package.mask) /dev/fs/C/Users/jens727/gprefix/usr/portage/profiles/prefix/windows/interix/package.mask: # Markus Duft <mduft@gentoo.org> (17 Feb 2010) # not quite yet... seems that perl itself is simply not even trying # to compile - something with the ebuild? need time ... Perl 5.12.3 is the only version in the tree, so this completely blocks any update attempt on Interix Reproducible: Always Steps to Reproduce: 1. Have Gentoo Prefix running on Interix 2. Attempt to emerge -uDNav world (or just emerge perl, for that matter) Actual Results: The error posted above Expected Results: Successfully update, possible continuing to use an old version of perl.
I don't have access to Interix myself, but can you try to unmask and merge perl? Please attach the build log to this bug, perhaps I can see where things go wrong.
Created attachment 270709 [details] Build log from perl-5.12.3 The build seems to get through the configuration, but no Makefile is generated (despite output to the effect that it is being generated). It appears that these files are being generated: makeaperl makedepend myconfig pod/Makefile Policy.sh runtests writemain x2p/cflags While these are not: Makefile utils/Makefile x2p/Makefile
hmm, can this be a case-sensitivity issue perhaps? (Is there a directory makefile or something)
argl. i currently have no time to really look into this (should get better in one or two weeks). In the meantime, if you can live with a little bit outdated system, just manually unpack the snapshot tar.gz from the setup dvd iso. look at the files in the GPXPostinst.zip, which do all the magic to the unpacked snapshot to get permissions and users right. hope that helps... :/
perl-5.12.3 is fixed in the tree now for interix. the patch was rather simple, but searching for the solution took me some time ;) it seems perl also works pretty well, so i just unmasked it for interix now. please test.
Let me know if I should file a separate bug for this. The build now gets past the configuration phase (Thanks!), but now fails with the following error during the build phase. Note that I have added -lsuacomp to my LD_FLAGS, since it wasn't happening automatically, for some reason. I am hoping that the problem will go away when I 'emerge -e world', but I haven't gotten that far, yet. I did try rebuilding perl without the the flag, but I still got the same error. Let me know if you want the full build log. And, without further ado, the error: LD_LIBRARY_PATH=/dev/fs/C/Users/jens727/gprefix/var/tmp/portage/dev-lang/perl-5.12.3/work/perl-5.12.3 gcc -lsuacomp -o miniperl \ gv.o toke.o perly.o pad.o regcomp.o dump.o util.o mg.o reentr.o mro.o hv.o av.o run.o pp_hot.o sv.o pp.o scope.o pp_ctl.o pp_sys.o doop.o doio.o regexec.o utf8.o taint.o deb.o universal.o globals.o perlio.o perlapi.o numeric.o mathoms.o locale.o pp_pack.o pp_sort.o \ miniperlmain.o opmini.o perlmini.o -lc sv.o(.text+0x340f):sv.c: undefined reference to `_frexp' pp.o(.text+0xa6e9):pp.c: undefined reference to `_floor' pp.o(.text+0xa85c):pp.c: undefined reference to `_ceil' pp.o(.text+0xaa62):pp.c: undefined reference to `_sin' pp.o(.text+0xab31):pp.c: undefined reference to `_sqrt' pp.o(.text+0xabc5):pp.c: undefined reference to `_cos' pp.o(.text+0xabdf):pp.c: undefined reference to `_log' pp.o(.text+0xabf7):pp.c: undefined reference to `_exp' pp.o(.text+0xad32):pp.c: undefined reference to `_atan2' pp.o(.text+0xc875):pp.c: undefined reference to `_floor' pp.o(.text+0xc8ba):pp.c: undefined reference to `_fmod' pp.o(.text+0xc9f8):pp.c: undefined reference to `_floor' pp.o(.text+0xcc74):pp.c: undefined reference to `_pow' pp_sys.o(.text+0x1ae6):pp_sys.c: undefined reference to `_fmod' pp_sys.o(.text+0x1b24):pp_sys.c: undefined reference to `_floor' pp_sys.o(.text+0x1b3c):pp_sys.c: undefined reference to `_fmod' pp_sys.o(.text+0x1b7a):pp_sys.c: undefined reference to `_floor' pp_sys.o(.text+0x1b92):pp_sys.c: undefined reference to `_fmod' pp_sys.o(.text+0x1bd0):pp_sys.c: undefined reference to `_floor' pp_sys.o(.text+0x1c11):pp_sys.c: undefined reference to `_fmod' pp_sys.o(.text+0x1c84):pp_sys.c: undefined reference to `_floor' pp_sys.o(.text+0x1e2b):pp_sys.c: undefined reference to `_ceil' pp_sys.o(.text+0x1ff2):pp_sys.c: undefined reference to `_ceil' pp_sys.o(.text+0x200b):pp_sys.c: undefined reference to `_ceil' pp_sys.o(.text+0x2024):pp_sys.c: undefined reference to `_ceil' pp_sys.o(.text+0x208e):pp_sys.c: undefined reference to `_floor' pp_pack.o(.text+0x435d):pp_pack.c: undefined reference to `_floor' pp_pack.o(.text+0x4371):pp_pack.c: undefined reference to `_floor' pp_pack.o(.text+0x4393):pp_pack.c: undefined reference to `_floor' pp_pack.o(.text+0x5052):pp_pack.c: undefined reference to `_modf' /opt/gcc.3.3/bin/ld: BFD 2.13.90 20021111 assertion fail /dev/fs/E/gnu2.intel/egcs.source/bfd/cofflink.c:5211 /opt/gcc.3.3/bin/ld: BFD 2.13.90 20021111 assertion fail /dev/fs/E/gnu2.intel/egcs.source/bfd/cofflink.c:5211 /opt/gcc.3.3/bin/ld: BFD 2.13.90 20021111 assertion fail /dev/fs/E/gnu2.intel/egcs.source/bfd/cofflink.c:5211 /opt/gcc.3.3/bin/ld: BFD 2.13.90 20021111 assertion fail /dev/fs/E/gnu2.intel/egcs.source/bfd/cofflink.c:5211 /opt/gcc.3.3/bin/ld: BFD 2.13.90 20021111 assertion fail /dev/fs/E/gnu2.intel/egcs.source/bfd/cofflink.c:5211 collect2: ld returned 1 exit status make: *** [miniperl] Error 1 emake failed
hmm... thats interesting. seems like -lm is missing there. it built for me... i'm just doing (better: trying to do) a fresh bootstrap on interix, so i'll see in a few hours whether it works or not (remember: you need a new suacomp (which is in the tree for an hour or two now))...
i just successfully compiled perl during the fresh bootstrap (no idea whether the whole bootstrap will succeed though ;)). chances are something different is wrong (outdated?) on ur system... :)
Created attachment 272617 [details] successful perl build log FYI: the log of my successfull build (excluding some install output, as i copied it during the install phase) :)
It looks like a library issue: adding -lm to my LDFLAGS allows perl to emerge successfully. Everything is up to date except for python (I haven't managed to emerge python 2.7, yet). Are there instructions for bootstrapping on Interix anywhere? I just kind of made it up as I went along based on the FreeBSD instructions, which my be the cause of some of my issues. Are there any extra configuration steps that I should be aware of? Unfortunately, I don't have the privileges necessary to use the installer to test whether that would solve any of my problems.