This port fails to build with the following error: ---------------------------------------------------------------------------- cd src/ && make src cc -I/usr/local/include -DHAVE_CONFIG_H -DFREEBSD4_11 -DFREEBSD4 -I.. -I../include -I/usr/local/include -O -pipe -DHAVE_OPENSSL -Wall -c main.c In file included from main.c:38: /usr/local/include/getopt.h:83: redefinition of `struct option' *** Error code 1 Stop in /usr/ports/ftp/proftpd/work/proftpd-1.3.0/src. *** Error code 1 Stop in /usr/ports/ftp/proftpd/work/proftpd-1.3.0. ---------------------------------------------------------------------------- /usr/local/include/getopt.h was installed by package libgnugetopt-1.2 libgnugetopt-1.2 = up-to-date with port proftpd-1.2.10 < needs updating (port has 1.3.0_1) I hope it's ok that i consider this as serious problem, since proftpd-1.2.10 is marked as vulnerable in the port audit database: Affected package: proftpd-1.2.10 Type of problem: proftpd -- format string vulnerabilities. Reference: <http://www.FreeBSD.org/ports/portaudit/c28f4705-043f-11da-bc08-0001020eed82.html> So i hope this to get fixed soon :) How-To-Repeat: portsnap fetch update && cd /usr/ports/ftp/proftpd && make
State Changed From-To: open->feedback Awaiting maintainers feedback
Responsible Changed From-To: freebsd-ports-bugs->itetcu I have an other PR on this port so take this one too.
On Tuesday 16 May 2006 05:32, Edwin Groothuis wrote: > Maintainer of ftp/proftpd, > > Please note that PR ports/97341 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/97341 This is a known issue. libgnugetopt does not play nicely with proftpd on 4x machines. The solution is to just remove libgnugetopt and rebuild. This does not affect builds on 4x in a clean environment. I'm working on a more permanent solution. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - beech@mangohealth.org /"\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org ---------------------------------------------------------------------------------------
State Changed From-To: feedback->suspended Suspended waiting for the proper fix from maintainer
State Changed From-To: suspended->patched patch in 97369
State Changed From-To: patched->closed Fix commited.
Hello, I've had this problem years ago. See http://bugs.proftpd.org/show_bug.cgi?id=2281 maybe it will help you solving the problem a bit.