Summary: | conky-1.6.2_pre1321 fails to compile because storage size of 'he' isn't known | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | David Shakaryan (RETIRED) <omp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brenden, dragonheart, jieryn, matrix47, michael, s, seqizz, transacid |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
PPC32 emerge --info (same problem)
emerge error output on x86 emerge-log patch that fixes this bug |
Description
Juergen Rose
2008-12-15 08:13:22 UTC
Created attachment 175314 [details]
PPC32 emerge --info (same problem)
I have exactly the same problem under ppc32
Would you mind building from git? This should be fixed since the headers have been rearranged recently. Here's an example: $ git clone git://git.omp.am/conky.git $ cd conky $ sh autogen.sh $ ./configure --prefix=/usr --enable-testing $ make $ ./src/conky (In reply to comment #2) > Would you mind building from git? This should be fixed since the headers have > been rearranged recently. Here's an example: > > $ git clone git://git.omp.am/conky.git > $ cd conky > $ sh autogen.sh > $ ./configure --prefix=/usr --enable-testing > $ make > $ ./src/conky > Compilation completes successfully. I used ./configure --prefix=/ --exec-prefix=/usr --enable-testing --enable-config-output --enable-own-window --enable-hddtemp --enable-math --enable-nvidia --enable-portmon --enable-x11 --enable-xft --enable-rss --disable-mpd --disable-moc --enable-smapi However, when drawing to the root window, conky draws on top of "normal" windows, which is not a nice thing to do ... i get a different error but can confirm git source works. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSTEM_CONFIG_FILE=\"/etc/conky/conky.conf\" -O2 -march=prescott -fomit-frame-pointer -pipe -pthread -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/libmowgli -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/freetype2 -Wall -W -MT mboxscan.o -MD -MP -MF .deps/mboxscan.Tpo -c -o mboxscan.o mboxscan.c mail.c: In function 'imap_thread': mail.c:353: error: storage size of 'he' isn't known mail.c:356: error: storage size of 'their_addr' isn't known mail.c:362: warning: implicit declaration of function 'gethostbyname_r' mail.c:363: warning: implicit declaration of function 'hstrerror' mail.c:363: error: 'h_errno' undeclared (first use in this function) mail.c:363: error: (Each undeclared identifier is reported only once mail.c:363: error: for each function it appears in.) mail.c:363: warning: format '%s' expects type 'char *', but argument 3 has type 'int' mail.c:391: warning: implicit declaration of function 'htons' mail.c:392: error: dereferencing pointer to incomplete type mail.c:356: warning: unused variable 'their_addr' mail.c:353: warning: unused variable 'he' mail.c: In function 'pop3_thread': mail.c:654: error: storage size of 'he' isn't known mail.c:657: error: storage size of 'their_addr' isn't known mail.c:662: error: 'h_errno' undeclared (first use in this function) mail.c:662: warning: format '%s' expects type 'char *', but argument 3 has type 'int' mail.c:691: error: dereferencing pointer to incomplete type mail.c:657: warning: unused variable 'their_addr' mail.c:654: warning: unused variable 'he' mv -f .deps/audacious.Tpo .deps/audacious.Po make[2]: *** [mail.o] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .deps/timed_thread.Tpo .deps/timed_thread.Po mv -f .deps/hddtemp.Tpo .deps/hddtemp.Po mv -f .deps/mixer.Tpo .deps/mixer.Po mv -f .deps/users.Tpo .deps/users.Po mv -f .deps/top.Tpo .deps/top.Po mv -f .deps/diskio.Tpo .deps/diskio.Po mv -f .deps/mboxscan.Tpo .deps/mboxscan.Po mv -f .deps/linux.Tpo .deps/linux.Po mv -f .deps/conky.Tpo .deps/conky.Po make[2]: Leaving directory `/var/tmp/portage/app-admin/conky-1.6.2_pre1321/work/conky-1.6.2_pre1321/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-admin/conky-1.6.2_pre1321/work/conky-1.6.2_pre1321/src' make: *** [all-recursive] Error 1 (In reply to comment #2) This also works on ppc32. I used only the defaults to configure. It compiled and ran, although I got the error Conky: MFD error: problems getting a response from "localhost" on port 6600 : Connection refused" Conky output otherwise looked OK on ppc32. /Mike Created attachment 175880 [details] emerge error output on x86 Looks same, a longer error on my x86 You can find emerge info on: http://bugs.gentoo.org/show_bug.cgi?id=250155 Please try conky-1.6.2_pre1347 as it should fix this problem. Created attachment 175941 [details]
emerge-log
I still can't compile. Not even app-admin/conky-1.6.2_pre1347. See attached log
Created attachment 175944 [details, diff] patch that fixes this bug (In reply to comment #7) well not really, there's just another #include missing (see bug #251726) Can someone with this problem please try building from git again? It seems to be a problem with the order of the headers, but I cannot reproduce it myself. (In reply to comment #10) > Can someone with this problem please try building from git again? > > It seems to be a problem with the order of the headers, but I cannot reproduce > it myself. > as before, from git builds fine, from ebuild doesn't |