! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
revision 5104 fails, make can't find target `ar.gmo', needed by `all-yes'
Status:
RESOLVED: FIXED
Product:
Xfce4-diskperf-plugin
Component:
General

Comments

Description Joshua Rich 2008-07-16 10:18:51 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9) Gecko/2008062822 (Gentoo) Firefox/3.0
Build Identifier: 

When building the diskperf plugin from an svn checkout (revision 5104), the plugin build fails with the following error:

Generating and caching the translation database
main.c: In function 'DisplayPerf':
main.c:220: warning: incompatible implicit declaration of built-in function 'round'
main.c: In function 'SetXferRate':
main.c:762: warning: incompatible implicit declaration of built-in function 'round'
main.c: In function 'SetPeriod':
main.c:782: warning: incompatible implicit declaration of built-in function 'round'
i686-pc-linux-gnu-gcc -D_REENTRANT -I/usr/include/xfce4/ -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0   -march=athlon-xp -O2 -pipe -fomit-frame-pointer  -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -o xfce4-diskperf-plugin xfce4_diskperf_plugin-main.o xfce4_diskperf_plugin-config_gui.o xfce4_diskperf_plugin-devperf.o -lxfce4panel -lxfcegui4 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
Merging translations into diskperf.desktop.
rm diskperf.desktop.in
make[2]: Leaving directory `/var/tmp/portage/xfce-extra/xfce4-diskperf-9999/work/xfce4-diskperf-plugin-9999/panel-plugin'
Making all in po
make[2]: Entering directory `/var/tmp/portage/xfce-extra/xfce4-diskperf-9999/work/xfce4-diskperf-plugin-9999/po'
make[2]: *** No rule to make target `ar.gmo', needed by `all-yes'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/xfce-extra/xfce4-diskperf-9999/work/xfce4-diskperf-plugin-9999/po'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xfce-extra/xfce4-diskperf-9999/work/xfce4-diskperf-plugin-9999'
make: *** [all] Error 2


Reproducible: Didn't try

Steps to Reproduce:
1. Check-out revision 5104 of diskperf plugin from svn.
2. ./configure; make

Actual Results:  
Error occurs as detailed above.

Expected Results:  
diskperf compiles sucessfully

The following configure command-line was used:

configure --enable-maintainer-mode --prefix=/usr --host=i686-pc-linux-gnu --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking

I am using the following compiler/linker options:

CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j2 -l 2.0"

gcc version 4.1.2

Apologies if this is already fixed by the time I submit this bug, although I only just checked-out and attempted to build the plug-in.

Please let me know if I can provide additional information that may help.

Thanks and regards,

Joshua Rich
Comment 1 Landry Breuil editbugs 2008-07-16 11:55:12 CEST
The ar.po file has been forgotten in commit r5093. You should directly mail the arabic translator (alnokta@xfce.org).
Your build trace reminds me i should add the necessary #include for round().
Comment 2 Joshua Rich 2008-07-17 00:26:05 CEST
(In reply to comment #1)
> The ar.po file has been forgotten in commit r5093. You should directly mail the
> arabic translator (alnokta@xfce.org).
> Your build trace reminds me i should add the necessary #include for round().
> 

Email has been sent.  

Regards,

Joshua
Comment 3 Joshua Rich 2008-07-17 10:19:45 CEST
Missing ar.po file hsa been added by the translator.  I just did an update and the plug-in is now compiled and installed.

Thanks all involved.

Joshua

Bug #4234

Reported by:
Joshua Rich
Reported on: 2008-07-16
Last modified on: 2010-10-28

People

Assignee:
Xfce-Goodies Maintainers
CC List:
1 user

Version

Attachments

Additional information