Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 2014 05:39:14 -0200
From:      Marcelo Gondim <gondim@bsdinfo.com.br>
To:        freebsd-ports-bugs@freebsd.org
Subject:   mail/altermime with problem in FreeBSD 10.0
Message-ID:  <52D78CA2.7030204@bsdinfo.com.br>

next in thread | raw e-mail | index | archive | help
Hi all,

I'm having trouble compiling this package on FreeBSD 10.0. Is there any 
patch?

# uname -a
FreeBSD mail.bsdinfo.com.br 10.0-RELEASE FreeBSD 10.0-RELEASE #1 
r260696: Wed Jan 15 23:58:33 BRST 2014 
root@mail.bsdinfo.com.br:/usr/obj/usr/src/sys/GONDIM  amd64

===>>> Port directory: /usr/ports/mail/altermime

===>>> Gathering distinfo list for installed ports

===>>> Gathering dependency list for mail/altermime from ports
===>>> Initial dependency check complete for mail/altermime


===>>> Starting build for mail/altermime <<<===

===>>> All dependencies are up to date

===>  Cleaning for altermime-0.3.11.a1
===>   altermime-0.3.11.a1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by altermime-0.3.11.a1 for building
===>  Extracting for altermime-0.3.11.a1
=> SHA256 Checksum OK for altermime-0.3.11.a1.tar.gz.
===>  Patching for altermime-0.3.11.a1
===>  Applying FreeBSD patches for altermime-0.3.11.a1
===>  Configuring for altermime-0.3.11.a1
===>  Building for altermime-0.3.11.a1
--- strstack.o ---
--- mime_alter.o ---
--- ffget.o ---
--- pldstr.o ---
--- strstack.o ---
cc -Wall -Werror -g -I. -O2  -c strstack.c
--- mime_alter.o ---
cc -Wall -Werror -g -I. -O2  -c mime_alter.c
--- ffget.o ---
cc -Wall -Werror -g -I. -O2  -c ffget.c
--- pldstr.o ---
cc -Wall -Werror -g -I. -O2  -c pldstr.c
--- mime_alter.o ---
mime_alter.c:709:13: error: variable 'newblock' is used uninitialized 
whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
         } else if (lb[0] == '\n') {
                    ^~~~~~~~~~~~~
mime_alter.c:723:9: note: uninitialized use occurs here
         return newblock;
                ^~~~~~~~
mime_alter.c:709:9: note: remove the 'if' if its condition is always true
         } else if (lb[0] == '\n') {
                ^~~~~~~~~~~~~~~~~~~
mime_alter.c:690:16: note: initialize the variable 'newblock' to silence 
this warning
         char *newblock;
                       ^
                        = NULL
--- filename-filters.o ---
cc -Wall -Werror -g -I. -O2  -c filename-filters.c
--- mime_alter.o ---
1 error generated.
*** [mime_alter.o] Error code 1

make[1]: stopped in /usr/ports/mail/altermime/work/altermime-0.3.11.a1
1 error

make[1]: stopped in /usr/ports/mail/altermime/work/altermime-0.3.11.a1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Thanks and best regards,
Gondim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52D78CA2.7030204>