pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/51684: [pkgsrc] [misc/fbreader] ZLUnixTime.cpp:28:26: error: 'gettimeofday' was not declared in this scope gettimeofday(&timeB,NULL);



>Number:         51684
>Category:       pkg
>Synopsis:       [pkgsrc] [misc/fbreader] ZLUnixTime.cpp:28:26: error: 'gettimeofday' was not declared in this scope   gettimeofday(&timeB,NULL);
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 03 00:50:00 +0000 2016
>Originator:     mutek
>Release:        pkgsrc current 26/11/2016
>Organization:
>Environment:
Linux thinkpad 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.8-1~bpo8+1 (2016-10-19) x86_64 GNU/Linux

>Description:
while trying to bmake install in misc/fbreader:
...
make[2]: Entering directory '/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/fbreader-0.99.4/zlibrary/core/src/unix/time'
Compiling ZLUnixTime.lo ...libtool: compile:  gcc -MMD -c -pipe -fno-exceptions -Wall -Wno-ctor-dtor-privacy -W -DLIBICONV_PLUG -I/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/.buildlink/qt4/include -I/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/.buildlink/include -I/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/.buildlink/include/freetype2 -I/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/.buildlink/include/libdrm -DINSTALLDIR=\"/home/pkgsrc-current/pkg\" -DBASEDIR=\"/home/pkgsrc-current/pkg/share\" -DLIBDIR=\"/home/pkgsrc-current/pkg/lib\" -DIMAGEDIR=\"/home/pkgsrc-current/pkg/share/pixmaps\" -DAPPIMAGEDIR=\"/home/pkgsrc-current/pkg/share/pixmaps/%APPLICATION_NAME%\" -DVERSION=\"0.99.4\" -fPIC -DZLSHARED -O3 -I/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/fbreader-0.99.4/zlibrary/core/../../zlibrary/core/include -I/home/pkgsrc-current/pkgsrc-current-2
 6_11_2016/pkgsrc/misc/fbreader/work/fbreader-0.99.4/zlibrary/core/../../zlibrary/text/include -I/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/.buildlink/include/fribidi ZLUnixTime.cpp  -fPIC -DPIC -o .libs/ZLUnixTime.o
ZLUnixTime.cpp: In member function 'virtual ZLTime ZLUnixTimeManager::currentTime() const':
ZLUnixTime.cpp:28:26: error: 'gettimeofday' was not declared in this scope
  gettimeofday(&timeB,NULL);
                          ^
/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/fbreader-0.99.4/zlibrary/core/../../makefiles/subdir.mk:14: recipe for target 'ZLUnixTime.lo' failed
make[2]: *** [ZLUnixTime.lo] Error 1
make[2]: Leaving directory '/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/fbreader-0.99.4/zlibrary/core/src/unix/time'
Makefile:41: recipe for target '.objects' failed
make[1]: *** [.objects] Error 1
make[1]: Leaving directory '/home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader/work/fbreader-0.99.4/zlibrary/core'
Makefile:9: recipe for target 'all' failed
make: *** [all] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader
*** Error code 1

Stop.
bmake: stopped in /home/pkgsrc-current/pkgsrc-current-26_11_2016/pkgsrc/misc/fbreader

>How-To-Repeat:
see above
>Fix:


Home | Main Index | Thread Index | Old Index