#3830: mutt_dotlock not installed in 1.6.0
------------------------+----------------------
 Reporter:  zarniwhoop  |      Owner:  mutt-dev
     Type:  defect      |     Status:  new
 Priority:  minor       |  Milestone:  1.6
Component:  build       |    Version:  1.6.0
 Keywords:              |
------------------------+----------------------
 On a test machine, configuring with
 {{{
 ./configure --prefix=/usr --sysconfdir=/etc  --with-
 docdir=/usr/share/doc/mutt-1.6.0   --enable-pop --enable-imap --enable-
 hcache --with-ssl
 }}}
 mutt_dotlock is not installed.

 I only looked at this because I interpreted the output to mean that it
 would be chmodded to 755 (1.5.24 installed it as 2755).
 But since it is not installed, that is moot.

 A quick look at the fine manual suggests it is still expected to be
 present.

 If I try to build it anyway, it fails:
 {{{
 ken@jtm1 /scratch/ken/mutt-1.6.0 $make mutt_dotlock
 gcc -DPKGDATADIR=\"/usr/share/mutt\" -DSYSCONFDIR=\"/etc\"
 -DBINDIR=\"/usr/bin\" -DMUTTLOCALEDIR=\"/usr/share/locale\"
 -DHAVE_CONFIG_H=1 -I.  -I. -I. -I./imap  -Iintl -I/include -I./intl  -Wall
 -pedantic -Wno-long-long -g -O2 -MT mutt_dotlock.o -MD -MP -MF
 .deps/mutt_dotlock.Tpo -c -o mutt_dotlock.o mutt_dotlock.c
 mv -f .deps/mutt_dotlock.Tpo .deps/mutt_dotlock.Po
 gcc  -Wall -pedantic -Wno-long-long -g -O2  -L/lib -o mutt_dotlock
 mutt_dotlock.o
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib64/crt1.o: In
 function `_start':
 (.text+0x20): undefined reference to `main'
 mutt_dotlock.o: In function `dotlock_lock':
 /scratch/ken/mutt-1.6.0/mutt_dotlock.c:598: undefined reference to
 `Hostname'
 collect2: error: ld returned 1 exit status
 Makefile:653: recipe for target 'mutt_dotlock' failed
 make: *** [mutt_dotlock] Error 1
 }}}

 But perhaps this is expected behaviour and I really don't need it. For the
 moment, I'll hold off trying this on the machine where I actually use it.

 Marking as minor because I have no idea if it matters :)

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3830>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to