Getting these errors when updating the proftpd-mysql port with portupgrade: /usr/ports/ftp/proftpd-mysql/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o)(.text+0x5c5): In function `_getopt_internal': : undefined reference to `libintl_gettext' /usr/ports/ftp/proftpd-mysql/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o)(.text+0x687): In function `_getopt_internal': : undefined reference to `libintl_gettext' /usr/ports/ftp/proftpd-mysql/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o)(.text+0x8b1): In function `_getopt_internal': : undefined reference to `libintl_gettext' /usr/ports/ftp/proftpd-mysql/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o)(.text+0xa3a): In function `_getopt_internal': : undefined reference to `libintl_gettext' /usr/ports/ftp/proftpd-mysql/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o)(.text+0xa99): In function `_getopt_internal': : undefined reference to `libintl_gettext' /usr/ports/ftp/proftpd-mysql/work/proftpd-1.3.1rc1/lib/libsupp.a(getopt.o)(.text+0xb04): more undefined references to `libintl_gettext' follow gmake: *** [proftpd] Error 1 *** Error code 2 Stop in /usr/ports/ftp/proftpd-mysql. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.75918.53 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=proftpd-mysql-1.3.0_5 UPGRADE_PORT_VER=1.3.0_5 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! ftp/proftpd-mysql (proftpd-mysql-1.3.0_5) (linker error) How-To-Repeat: To repeat the problem just run portupgrade -a, that's what I'm doing.
Responsible Changed From-To: freebsd-i386->freebsd-ports-bugs Proftpd is a port, reassign it to the ports team.
State Changed From-To: open->closed Duplicate of ports/107122, where the maintainer already answered and contacted the developers about this issue.
Responsible Changed From-To: freebsd-ports-bugs->gabor Track.
Use following patch: --- lib/getopt.c 2002/02/28 19:30:01 1.3 +++ lib/getopt.c 2006/12/15 18:46:29 1.4 @@ -76,7 +76,7 @@ # endif #endif -#ifndef _ +#if defined(PR_USE_NLS) && !defined(_) /* This is for other GNU distributions with internationalized messages. When compiling libc, the _ macro is predefined. */ # ifdef HAVE_LIBINTL_H @@ -85,6 +85,8 @@ # else # define _(msgid) (msgid) # endif +#else +# define _(msgid) (msgid) #endif /* This version of `getopt' appears to the caller like standard Unix `getopt'
Micha³ Wójcik schrieb: > Use following patch: > > --- lib/getopt.c 2002/02/28 19:30:01 1.3 > +++ lib/getopt.c 2006/12/15 18:46:29 1.4 > @@ -76,7 +76,7 @@ > # endif > #endif > > -#ifndef _ > +#if defined(PR_USE_NLS) && !defined(_) > /* This is for other GNU distributions with internationalized messages. > When compiling libc, the _ macro is predefined. */ > # ifdef HAVE_LIBINTL_H > @@ -85,6 +85,8 @@ > # else > # define _(msgid) (msgid) > # endif > +#else > +# define _(msgid) (msgid) > #endif > > /* This version of `getopt' appears to the caller like standard Unix > `getopt' > > This patch doesn't apply on the current version of proftpd from ports tree. How did you obtained/generated this patch? Regards, Gabor
State Changed From-To: closed->open It is reported (via private mail) to have been fixed in vendor's CVS repo: http://proftp.cvs.sourceforge.net/proftp/proftpd/lib/getopt.c?view=log Please keep CC'ing mailto:bug-followup@FreeBSD.org when writing a reply, otherwise the follow-up will not show up here in the audit trail of the PR.
Dear Maintainer of ftp/proftpd, Michal states here, that this bug has been fixed in the proftpd CVS repo, but I could not apply his patch. Could you look at this issue, please and merge the changes for the port, so that we can add an extra patch that fixes this issue? Thanks for your work on maintaining this port. Regards, Gabor Kovesdan
On Wednesday 27 December 2006 03:52, Gabor Kovesdan wrote: > Dear Maintainer of ftp/proftpd, > > Michal states here, that this bug has been fixed in the proftpd CVS > repo, but I could not apply his patch. Could you look at this issue, > please and merge the changes for the port, so that we can add an extra > patch that fixes this issue? Thanks for your work on maintaining this port. > > Regards, > Gabor Kovesdan The linker problem has been solved, but I ran into another bug with mod_wrap2. I'm communicating with the developers and hopefully I can get this resolved today. The other patch is ready to be committed, But miwi is waiting for the latest fix. I don't see any point in committing the patch to fix the linker probs just to have the build fail on mod_wrap2. In short I'm on it and I'll let you know when the patch gets committed. Beech (Maintainer) -- --------------------------------------------------------------------------------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise Travel \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com ---------------------------------------------------------------------------------------
State Changed From-To: open->closed is solved with 107221 commit. Thanks!
Responsible Changed From-To: gabor->miwi Over to miwi for tracking.