Bug 72379

Summary: Can no compile Samba.3.0.7 port
Product: Ports & Packages Reporter: RImvydas Zinkus <admin>
Component: Individual Port(s)Assignee: Volker Stolz <vs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description RImvydas Zinkus 2004-10-06 10:50:24 UTC
I've downloaded Samba 3.0.7 port.
When I trien to make it I got a message:

===>  samba-3.0.7,1 is marked as broken: unknown AUTOCONF version: 259.

p.s.:  port for samba 2.2.11 is correct
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-11-15 09:45:22 UTC
State Changed
From-To: open->feedback

Please update your ports tree using cvsup and try again. Is this 
still a problem? 


Comment 2 Volker Stolz freebsd_committer freebsd_triage 2004-11-15 09:45:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vs

I'll track this.
Comment 3 Timur I. Bakeyev 2004-11-22 01:41:54 UTC
Please, check that:

/usr/ports/devel/autoconf259/Makefile

Is present in your ports directory and readable. Try 'ls 
/usr/ports/devel/autoconf259/Makefile' under the same user
you compile your ports(possibly root:)). Also, check that PORTSDIR 
variable not touched somewhere in /etc/make.conf.

Try make -V PORTSDIR in the net/samba3 directory. See, what it'll say.

Please, provide feedback...

With regards,
Timur Bakeyev.
Comment 4 Timur I. Bakeyev 2004-11-29 02:55:18 UTC
Hi guys!

Sorry for the delay with answer - I was hacking 3.0.9 release and tried to
figure out what your problem is.

So far - there is no clear indication what is wrong :(

My wild guess is that for both of you the version of 'make' is too old and
it doesn't handle some of the constructions in the autotools.mk. Seen that
in the past with the port itself...

So, the best try would be to upgrade FreeBSD or, at least - make :) If it's
not possible for some reason the workaround could be the following:

0. Configure port with 'make config' if necessary.

1. Edit Makefile in saba3 directory. Replace:

    USE_AUTOCONF_VER=       259

with

    GNU_CONFIGURE=          yes

line. Save the result.

2. Do 'make patch' to extract and patch the distribution.

3. cd to work/samba-3.0.9/source dir.

4. Run autoconf259 there.

5. Come back to the port directory.

6. Continue with make/make install.

So far that's the only workaround I can suggest...

BTW, you may try to check version of make with:

# make -V MAKE_VERSION
5200408120

This works at least for FreeBSD 5.x.

With regards,
Timur Bakeyev.
Comment 5 Volker Stolz freebsd_committer freebsd_triage 2004-12-06 12:00:55 UTC
State Changed
From-To: feedback->closed

Feedback timeout