Bug 24041 - vice 1.12 doesn't build, no rule to make 'all' in directory 'po'
Bug#: 24041 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: griffon26@gentoo.org
Component: Games
URL: 
Summary: vice 1.12 doesn't build, no rule to make 'all' in directory 'po'
Keywords:  
Status Whiteboard: 
Opened: 2003-07-07 04:57 0000
Description:   Opened: 2003-07-07 04:57 0000
When I try to emerge I get this:

Making all in po
make[1]: Entering directory `/var/tmp/portage/vice-1.12/work/vice-1.12/po'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/vice-1.12/work/vice-1.12/po'
make: *** [all-recursive] Error 1

!!! ERROR: app-emulation/vice-1.12 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! (no error message)

When I check in /var/tmp/portage/vice-1.12/work/vice-1.12/po, I see that there 
is no Makefile

The reason seems to be that automake fails because aclocal.m4 has to be 
regenerated:
configure.in:9: version mismatch.  This is Automake 1.7.5,
configure.in:9: but the definition used by this AM_INIT_AUTOMAKE
configure.in:9: comes from Automake 1.7.2.  You should recreate
configure.in:9: aclocal.m4 with aclocal and run automake again.

If I run aclocal followed by automake and then configure, the makefile in 
the 'po' directory is created.

------- Comment #1 From Tim Yamin (RETIRED) 2003-07-07 09:27:36 0000 -------
Created an attachment (id=14232) [details]
Fixed ebuild

Please test...

------- Comment #2 From Maurice van der Pot 2003-07-08 01:00:48 0000 -------
I tested the ebuild, but it does not fix the problem.
My original analysis was incorrect.

I thought running aclocal/automake before configure fixed it, but I ran configure without arguments instead of the arguments that emerge ran it with.

It turns out --disable-nls is the culprit; configure will not generate a makefile in the 'po' directory, but a make all will still be done there regardless of the flag.

------- Comment #3 From SpanKY 2003-07-13 00:41:20 0000 -------
i updated to 1.12-r1 in cvs to fix nls and add other crazy features 
 
i also fixed nls in 1.12 
 
have fun :)