Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162546 - sys-freebsd/freebsd-lib-6.2 - failed don't know how to make /var/tmp/portage/sys-freebsd/freebsd-lib-6.2/work/include/../sys/conf/newvers.sh. Stop
Summary: sys-freebsd/freebsd-lib-6.2 - failed don't know how to make /var/tmp/portage/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High minor (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-17 15:47 UTC by catfish
Modified: 2007-01-18 03:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description catfish 2007-01-17 15:47:02 UTC
Hi,  I was upgrading a 6.1 system to a 6.2 system as per the instructions issued when an attempt to emerge portage is made.  During the `emerge -e world` freebsd-lib-6.2 fails with the following error:

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-freebsd/freebsd-lib-6.2/work/lib ...
Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-lib-6.2/work/include
make: don't know how to make /var/tmp/portage/sys-freebsd/freebsd-lib-6.2/work/include/../sys/conf/newvers.sh. Stop

!!! ERROR: sys-freebsd/freebsd-lib-6.2 failed.
Call stack:
  ebuild.sh, line 1618:   Called dyn_compile
  ebuild.sh, line 975:   Called qa_call 'src_compile'
  environment, line 3552:   Called src_compile
  freebsd-lib-6.2.ebuild, line 142:   Called die

!!! make include failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-freebsd/freebsd-lib-6.2/temp/build.log'.
------------------------------------

The problem is that ../sys links to /usr/src/sys-6.2 which did not exist on my system.  I am not sure what ebuild is responsible for this but I suspect it issys-freebsd/freebsd-sources-6.2 since this ebuild owns /usr/src/sys-6.2-r0 according to equery. Symlinking sys-6.2-r0 to sys-6.2 of course allows the freebsd-lib ebuild to continue.

Reproducible: Always
Comment 1 catfish 2007-01-17 16:44:18 UTC
hmm, this ebuild may blow away libedit.so.5 which is needed by /bin/sh (real bourne?).  I tried a few workarounds like linking libedit.so to libedit.so.5 but I got complaints about file format. Without a working "sh" nothing will build.  I moved sh to osh and linked bash to sh (which should put bash in sh compatibility mode AFAIK).

Everything seems to be building okay so far.

/libexec/ld-elf.so.1: Shared object "libedit.so.5" not found, required by "sh"

freebsd-bin may complain when it goes to install I suppose.
Comment 2 catfish 2007-01-18 03:52:47 UTC
hehe, my bad -- the proper activation of the "symlink" USE flag on freebsd-sources would probably go a long way to fixing my booboo :-).

Also, freebsd-bin happily replaced /bin/sh with the real Bourne sh (and without clobbering bash via the link).