[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: pcb-20091103 for Gentoo, working on ebuild



Two questions:

stefan@AMD64-X2 ~/pcb/pcb-20091103 $ ./configure --help |grep lpr
  --with-printer= 	  Specify the printer: lpr [default=lpr]
I think lpr is the only available choice, and I read that leaving this
option out gives us all available printers. So I think we should not
specify this option at all for gentoo ebuild. But what is the
usage/benefit of this option, it is only a placeholder for future?

We have  --enable-toporouter-output now.
It needs cairo. Is this true for lesstif HID too.

Two remarks:

--docdir="/usr/share/doc/pcb-20091103"
seems to generate an obsolete empty directory
/usr/share/pcb-20091103/

For gentoo we like to have examples and tutorials in the doc
directories, so gentoo developers employ these patches:
#       sed -i -e 's/example//' -e 's/tutorial//' -e 's/ win32//' Makefile.in || die "sed failed"
#       sed -i -e 's/DOC=doc/DOC="doc example tutorial"/' configure || die "sed failed"
#       sed -i -e 's/$(pkgdatadir)/$(docdir)/' {example,tutorial}/Makefile.in || die "sed failed"

And some warnings from gcc4.4.2 on AMD64:

AMD64-X2 pcb # cat /var/tmp/portage/sci-electronics/pcb-20091103/temp/build.log |grep arning
autoroute.c:3431: warning: ‘add_clearance’ defined but not used
djopt.c:2461: warning: ‘nudge_corner’ defined but not used
draw.c:381: warning: passing argument 3 of ‘DrawSilk’ discards qualifiers from pointer target type
file.c:1129: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
file.c:1142: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
file.c:1148: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
file.c:1166: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
file.c:1218: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
flags.c:226: warning: cast from pointer to integer of different size
flags.c:227: warning: cast from pointer to integer of different size
flags.c:228: warning: cast from pointer to integer of different size
flags.c:229: warning: cast from pointer to integer of different size
flags.c:230: warning: cast from pointer to integer of different size
flags.c:231: warning: cast from pointer to integer of different size
flags.c:232: warning: cast from pointer to integer of different size
flags.c:233: warning: cast from pointer to integer of different size
flags.c:234: warning: cast from pointer to integer of different size
flags.c:235: warning: cast from pointer to integer of different size
flags.c:237: warning: cast from pointer to integer of different size
flags.c:238: warning: cast from pointer to integer of different size
flags.c:240: warning: cast from pointer to integer of different size
flags.c:241: warning: cast from pointer to integer of different size
flags.c:243: warning: cast from pointer to integer of different size
flags.c:245: warning: cast from pointer to integer of different size
parse_l.l:198: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
parse_l.c:1508: warning: ‘input’ defined but not used
report.c:680: warning: no return statement in function returning non-void
res_lex.l:64: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
res_lex.c:1139: warning: ‘input’ defined but not used
rtree.c:203: warning: ‘__r_tree_is_good’ defined but not used
hid/gtk/gui-dialog.c:101: warning: format not a string literal and no format arguments
hid/gtk/gui-dialog.c:145: warning: format not a string literal and no format arguments
hid/gtk/gui-dialog.c:172: warning: format not a string literal and no format arguments
hid/gtk/gui-top-window.c:2512: warning: format not a string literal and no format arguments
/usr/include/bits/string3.h:153: warning: call to __builtin___strncat_chk might overflow destination buffer
/usr/include/bits/string3.h:153: warning: call to __builtin___strncat_chk might overflow destination buffer
hid/common/actions.c:88: warning: passing argument 1 of ‘hid_register_actions_context’ discards qualifiers from pointer target type
hid/common/actions.c:214: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
hid/common/actions.c:215: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
hid/png/png.c:313: warning: ‘save_flags.f’ may be used uninitialized in this function
hid/png/png.c:313: warning: ‘save_flags.t[0u]’ may be used uninitialized in this function
hid/png/png.c:313: warning: ‘save_flags.t[1u]’ may be used uninitialized in this function
hid/png/png.c:313: warning: ‘save_flags.t[2u]’ may be used uninitialized in this function
hid/png/png.c:313: warning: ‘save_flags.t[3u]’ may be used uninitialized in this function
hid/png/png.c:313: warning: ‘save_flags.t[4u]’ may be used uninitialized in this function
hid/png/png.c:313: warning: ‘save_flags.t[5u]’ may be used uninitialized in this function
hid/png/png.c:313: warning: ‘save_flags.t[6u]’ may be used uninitialized in this function
hid/png/png.c:313: warning: ‘save_flags.t[7u]’ may be used uninitialized in this function
hid/common/hidnogui.c:279: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result
hid/common/hidnogui.c:303: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
hid/common/hidnogui.c:321: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result

Best wishes,

Stefan Salewski




_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user