Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2022 16:55:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266324] mail/archiveopteryx - compilation error
Message-ID:  <bug-266324-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266324

            Bug ID: 266324
           Summary: mail/archiveopteryx - compilation error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ca@aes.inf.br
 Attachment #236458 text/plain
         mime type:

Created attachment 236458
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236458&action=
=3Dedit
compilation log

when compiling mail/archiveopteryx, the following errors occur and compilat=
ion
stops:

clang -c -o build/clang/aoxexport/aoxexport.o -I/usr/local/include -g -Werr=
or
-funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread =
-O3=20
-Iaoxexport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb
-Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop
aoxexport/aoxexport.cpp


clang -c -o build/clang/aoxexport/exporter.o -I/usr/local/include -g -Werror
-funsigned-char -Wno-invalid-source-encoding -Wno-string-plus-int -pthread =
-O3=20
-Iaoxexport -Icore -Iabnf -Iserver -Imessage -Iextractors -Iencodings -Idb
-Ismtp -Isasl -Iimap -Isieve -Icollations -Ilogd -Iaox -Ipop
aoxexport/exporter.cpp

In file included from aoxexport/exporter.cpp:3:
aoxexport/exporter.h:13:14: error: expected class name
    : public EventHandler
             ^
aoxexport/exporter.cpp:60:5: error: use of undeclared identifier 'setLog'
    setLog( new Log );
    ^
aoxexport/exporter.cpp:67:35: error: cannot initialize a parameter of type
'class EventHandler *' with an rvalue of type 'Exporter *'
        Database::notifyWhenIdle( this );
                                  ^~~~
db/database.h:49:54: note: passing argument to parameter here
    static void notifyWhenIdle( class EventHandler * );
                                                     ^
aoxexport/exporter.cpp:83:57: error: cannot initialize a parameter of type
'class EventHandler *' with an rvalue of type 'Exporter *'
        d->find =3D d->selector->query( 0, d->mailbox, 0, this,
                                                        ^~~~
server/selector.h:60:57: note: passing argument to parameter here
                   class Session *, class EventHandler *,
                                                        ^
aoxexport/exporter.cpp:99:26: error: no matching constructor for initializa=
tion
of 'Fetcher'
        d->fetcher =3D new Fetcher( d->messages, this, 0 );
                         ^        ~~~~~~~~~~~~~~~~~~~~
message/fetcher.h:23:5: note: candidate constructor not viable: no known
conversion from 'Exporter *' to 'EventHandler *' for 2nd argument
    Fetcher( List<Message> *, EventHandler *, Connection * );
    ^
message/fetcher.h:25:5: note: candidate constructor not viable: requires 2
arguments, but 3 were provided
    Fetcher( Message *, EventHandler * );
    ^
message/fetcher.h:19:7: note: candidate constructor (the implicit copy
constructor) not viable: requires 1 argument, but 3 were provided
class Fetcher
      ^
message/fetcher.h:19:7: note: candidate constructor (the implicit move
constructor) not viable: requires 1 argument, but 3 were provided
5 errors generated.
...skipped aoxexport for lack of <aoxexport>exporter.o...
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/mail/archiveopteryx
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/archiveopteryx

FreeBSD version: 13.1-STABLE FreeBSD 13.1-STABLE #25
stable/13-n251461-f195c503ad63
Platform: amd64/i386/arm

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266324-7788>