Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 364163 - dev-lang/perl: all versions masked on Interix
Summary: dev-lang/perl: all versions masked on Interix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Interix
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 20:05 UTC by Erik Jensen
Modified: 2011-05-12 18:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log from perl-5.12.3 (build.log,29.54 KB, text/plain)
2011-04-20 18:33 UTC, Erik Jensen
Details
successful perl build log (build.log,307.52 KB, text/plain)
2011-05-09 13:47 UTC, Markus Duft (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Jensen 2011-04-19 20:05:42 UTC
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.
Comment 1 Fabian Groffen gentoo-dev 2011-04-20 06:53:04 UTC
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.
Comment 2 Erik Jensen 2011-04-20 18:33:03 UTC
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
Comment 3 Fabian Groffen gentoo-dev 2011-04-20 19:47:07 UTC
hmm, can this be a case-sensitivity issue perhaps?  (Is there a directory makefile or something)
Comment 4 Markus Duft (RETIRED) gentoo-dev 2011-04-21 13:06:57 UTC
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... :/
Comment 5 Markus Duft (RETIRED) gentoo-dev 2011-04-27 08:15:57 UTC
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.
Comment 6 Erik Jensen 2011-05-07 00:41:56 UTC
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
Comment 7 Markus Duft (RETIRED) gentoo-dev 2011-05-09 11:06:54 UTC
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))...
Comment 8 Markus Duft (RETIRED) gentoo-dev 2011-05-09 13:42:21 UTC
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... :)
Comment 9 Markus Duft (RETIRED) gentoo-dev 2011-05-09 13:47:54 UTC
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) :)
Comment 10 Erik Jensen 2011-05-12 18:35:32 UTC
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.