Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166021 - getopt fails to build, builds fine from tarball after path edit
Summary: getopt fails to build, builds fine from tarball after path edit
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-09 01:08 UTC by G. Gibson
Modified: 2007-10-09 07:33 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 2007-02-09 01:08:21 UTC
po/nl.po: warning: Charset "CHARSET" is not a portable encoding name.
                   Message conversion to user's charset might not work.
msgfmt -o po/pt_BR.mo po/pt_BR.po
getopt.c: In function 'main':
getopt.c:379: error: parse error before '/' token
make: *** [getopt.o] Error 1

!!! ERROR: app-misc/getopt-1.1.4 failed.
Call stack:
  ebuild.sh, line 1768:   Called dyn_compile
  ebuild.sh, line 1125:   Called qa_call 'src_compile'
  environment, line 3055:   Called src_compile
  getopt-1.1.4.ebuild, line 41:   Called die


Reproducible: Always

Steps to Reproduce:
1.emerge getopt
2.
3.

Actual Results:  
po/nl.po: warning: Charset "CHARSET" is not a portable encoding name.
                   Message conversion to user's charset might not work.
msgfmt -o po/pt_BR.mo po/pt_BR.po
getopt.c: In function 'main':
getopt.c:379: error: parse error before '/' token
make: *** [getopt.o] Error 1

!!! ERROR: app-misc/getopt-1.1.4 failed.
Call stack:
  ebuild.sh, line 1768:   Called dyn_compile
  ebuild.sh, line 1125:   Called qa_call 'src_compile'
  environment, line 3055:   Called src_compile
  getopt-1.1.4.ebuild, line 41:   Called die


Expected Results:  
getopt merged

when building from tar ball, I have to set the path.
after building I just ln -s a link to the getopt install called 'getopt-long' and it works as needed.

I did also enable the long options in the header files.

lacks a real autogen/autoconf layer. (If I knew how I'd just make one)
Comment 1 Elias Pipping (RETIRED) gentoo-dev 2007-10-08 21:23:08 UTC
works for me. (core 2 duo x86-macos)
Comment 2 Fabian Groffen gentoo-dev 2007-10-09 07:33:06 UTC
please use prefix.