Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209283 - attr 2.4.32 fails to build and configure script hard coded to non-prefix'd dep root for nls functions
Summary: attr 2.4.32 fails to build and configure script hard coded to non-prefix'd de...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: High normal
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-07 18:58 UTC by G. Gibson
Modified: 2009-07-05 11:18 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 G. Gibson 2008-02-07 18:58:33 UTC
=== libmisc ===
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
/usr/bin/glibtool --mode=compile /usr/bin/gcc -O2 -pipe -mcpu=G3 -O2 -pipe -mcpu=G3 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.32\" -DLOCALEDIR=\"/opt/usr/share/locale\" -DPACKAGE=\"attr\" -I./include   -O2 -pipe -mcpu=G3 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.32\" -DLOCALEDIR=\"/opt/usr/share/locale\" -DPACKAGE=\"attr\" -I../include    -c quote.c
glibtool: compile: unable to infer tagged configuration
glibtool: compile: specify a tag with `--tag'
make[1]: *** [quote.lo] Error 1
make: *** [default] Error 2

!!! ERROR: sys-apps/attr-2.4.32 failed.
Call stack:
  ebuild.sh, line 1564:   Called dyn_compile
  ebuild.sh, line 916:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  attr-2.4.32.ebuild, line 47:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/opt/var/log/portage/sys-apps:attr-2.4.32:20080207-180105.log'.

This ebuild used the following eclasses from overlays:

  /opt/usr/local/portage/eclass/eutils.eclass
  /opt/usr/local/portage/eclass/multilib.eclass
  /opt/usr/local/portage/eclass/toolchain-funcs.eclass
  /opt/usr/local/portage/eclass/portability.eclass
  /opt/usr/local/portage/eclass/autotools.eclass
  /opt/usr/local/portage/eclass/libtool.eclass


Reproducible: Always

Steps to Reproduce:
1.USE="nls" emerge attr
2.
3.

Actual Results:  
=== libmisc ===
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
/usr/bin/glibtool --mode=compile /usr/bin/gcc -O2 -pipe -mcpu=G3 -O2 -pipe -mcpu=G3 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.32\" -DLOCALEDIR=\"/opt/usr/share/locale\" -DPACKAGE=\"attr\" -I./include   -O2 -pipe -mcpu=G3 -DNDEBUG -funsigned-char -fno-strict-aliasing -Wall -DVERSION=\"2.4.32\" -DLOCALEDIR=\"/opt/usr/share/locale\" -DPACKAGE=\"attr\" -I../include    -c quote.c
glibtool: compile: unable to infer tagged configuration
glibtool: compile: specify a tag with `--tag'
make[1]: *** [quote.lo] Error 1
make: *** [default] Error 2

!!! ERROR: sys-apps/attr-2.4.32 failed.
Call stack:
  ebuild.sh, line 1564:   Called dyn_compile
  ebuild.sh, line 916:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  attr-2.4.32.ebuild, line 47:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/opt/var/log/portage/sys-apps:attr-2.4.32:20080207-180105.log'.

This ebuild used the following eclasses from overlays:

  /opt/usr/local/portage/eclass/eutils.eclass
  /opt/usr/local/portage/eclass/multilib.eclass
  /opt/usr/local/portage/eclass/toolchain-funcs.eclass
  /opt/usr/local/portage/eclass/portability.eclass
  /opt/usr/local/portage/eclass/autotools.eclass
  /opt/usr/local/portage/eclass/libtool.eclass

Expected Results:  
attr merged.

configure script is hard-coded to non-prefixed destroot and deproot.

* Needs to be made fully prefix friendly * @ configure script

I only got this far in the build because I ln -s msg* @ prefix-/usr/bin

and since glibc is masked on osx, I don't have libintl.h to use. :(
Comment 1 Fabian Groffen gentoo-dev 2008-03-24 19:53:56 UTC
I can't get beyond this, I checked in my patches and changes

getfattr.c:396: warning: implicit declaration of function ‘basename’
getfattr.c:396: warning: assignment makes pointer from integer without a cast
/bin/sh ../libtool --mode=link powerpc-apple-darwin8-gcc -o getfattr  -lintl -lintl  -lintl   getfattr.o   ../libmisc/libmisc.la ../libattr/libattr.la  
mkdir .libs
powerpc-apple-darwin8-gcc -o .libs/getfattr getfattr.o  ../libmisc/.libs/libmisc.a ../libattr/.libs/libattr.dylib -lintl 
Undefined symbols:
  "_llistxattr", referenced from:
      _llistxattr$non_lazy_ptr in getfattr.o
  "_lgetxattr", referenced from:
      _lgetxattr$non_lazy_ptr in getfattr.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gmake[1]: *** [getfattr] Error 1
make: *** [default] Error 2
 * ERROR: sys-apps/attr-2.4.41 failed:
Comment 2 Fabian Groffen gentoo-dev 2009-07-05 11:18:20 UTC
attr stuff is just no good idea on Prefix atm.