Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 220379
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo non-Linux Team <alt@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Shaun Cloherty <s.cloherty@ieee.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 220379 depends on: Show dependency tree
Bug 220379 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-05-05 15:10 0000
Executing:

  ./bootstrap-prefix.sh $EPREFIX/tmp coreutils

when bootstrapping prefix-portage on Mac OS X 10.5 fails with:

gcc -std=gnu99  -O2 -pipe  -Wl,-search_paths_first -L/Library/Gentoo/usr/lib
-L/
Library/Gentoo/lib -o basename  basename.o ../lib/libcoreutils.a 
../lib/libcore
utils.a 
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I. -I../lib -I../lib
-I/Li
brary/Gentoo/usr/include  -O2 -pipe -MT date.o -MD -MP -MF ".deps/date.Tpo" -c
-
o date.o date.c; \
        then mv -f ".deps/date.Tpo" ".deps/date.Po"; else rm -f
".deps/date.Tpo"
; exit 1; fi
gcc -std=gnu99  -O2 -pipe  -Wl,-search_paths_first -L/Library/Gentoo/usr/lib
-L/
Library/Gentoo/lib -o date  date.o ../lib/libcoreutils.a  ../lib/libcoreutils.a 

Undefined symbols:
  "_rpl_putenv$UNIX2003", referenced from:
      _main in date.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [date] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
1. export EPREFIX="$HOME/Gentoo"
   export
PATH="$EPREFIX/usr/bin:$EPREFIX/bin:$EPREFIX/tmp/usr/bin:$EPREFIX/tmp/bin:$PATH"
2. ./bootstrap-prefix.sh $EPREFIX tree  <-- fetched
prefix-portage-2.2.00.10181.tar.bz2
3. ./bootstrap-prefix.sh $EPREFIX/tmp wget
   ./bootstrap-prefix.sh $EPREFIX/tmp sed
   ./bootstrap-prefix.sh $EPREFIX/tmp python
   ./bootstrap-prefix.sh $EPREFIX/tmp coreutils

Actual Results:  
The linker complains about symbol(s) not being found.

Expected Results:  
Installation of coreutils to $EPREFIX/tmp.

Attempting to continue without coreutils results in failure of:

  ./bootstrap-prefix.sh $EPREFIX/tmp findutils

with

Making install in doc
restore=: && backupdir=".am$$" && \
        am__cwd=`pwd` && cd . && \
        rm -rf $backupdir && mkdir $backupdir && \
        if (/bin/sh
/Library/Gentoo/tmp/var/tmp/findutils-4.4.0/findutils-4.4.0/build-aux/missing
--run makeinfo --version) >/dev/null 2>&1; then \
          for f in find.info find.info-[0-9] find.info-[0-9][0-9] find.i[0-9]
find.i[0-9][0-9]; do \
            if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
          done; \
        else :; fi && \
        cd "$am__cwd"; \
        if /bin/sh
/Library/Gentoo/tmp/var/tmp/findutils-4.4.0/findutils-4.4.0/build-aux/missing
--run makeinfo   -I . \
         -o find.info find.texi; \
        then \
          rc=0; \
          cd .; \
        else \
          rc=$?; \
          cd . && \
          $restore $backupdir/* `echo "./find.info" | sed 's|[^/]*$||'`; \
        fi; \
        rm -rf $backupdir; exit $rc
find.texi:10: @include `../locate/dblocation.texi': No such file or directory.
find.texi:554: warning: undefined flag: LOCATE_DB.
find.texi:2681: warning: undefined flag: LOCATE_DB.
find.texi:2683: warning: undefined flag: LOCATE_DB.
find.texi:3160: warning: undefined flag: LOCATE_DB.
find.texi:3346: warning: undefined flag: LOCATE_DB.
find.texi:5230: warning: undefined flag: LOCATE_DB.
find.texi:5238: warning: undefined flag: LOCATE_DB.
makeinfo: Removing output file `find.info' due to errors; use --force to
preserve.
make[1]: *** [find.info] Error 1
make: *** [install-recursive] Error 1

------- Comment #1 From Fabian Groffen 2008-05-05 15:12:22 0000 -------
you're right, I missed a '6'

use

 ./bootstrap-prefix.sh $EPREFIX/tmp coreutils6


thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug