boinc

Ho capito…

[quote=Caterpillar]
Poi mi vado a studiare a cosa serve perché non conosco la differenza tra sorgente e pacchetto rpm sorgente[/quote]

I sorgenti sono i files da cui installare un programma o creare l’rpm (archivi compressi, script, patch, ecc.).
Gli rpm sorgenti (.src.rpm) sono rpm che contengono i sorgenti (non compilati) e il file spec. Non sono direttamente utilizzabili per installare i programmi, sono indipendenti dall’architettura della macchina (es. 32 o 64 bit), e possono essere usati per creare il file rpm da cui installare il programma.
Gli rpm (
.rpm, senza src) sono gli rpm da cui si installano i programmi (già compilati).

Per creare dai sorgenti un file rpm sorgente:

rpmbuild -bs nomefile.spec

Per creare dai sorgenti un file rpm (non src):

rpmbuild -v -bb nomefile.spec

Per creare un file rpm dall’src.rpm:

rpmbuild --rebuild nomefile.src.rpmc

(Sicuramente MarioS mi correggerà… :smiley: :smiley: :D)

Si:

nomefile.src.rpmc

In:

nomefile.src.rpm

[quote=MarioS]Si:

nomefile.src.rpmc

In:

nomefile.src.rpm [/quote]

Fregato… :wall: :wall: :wall:

Se non ho capito male il processo di pacchettizzazione è terminato giusto?
Iniziamo il testing? Se si, provvedo ad installare il pacchetto che creerò dall’rpm src

Si provate pure.

[quote=Caterpillar]Se non ho capito male il processo di pacchettizzazione è terminato giusto?
Iniziamo il testing? Se si, provvedo ad installare il pacchetto che creerò dall’rpm src[/quote]
No, hai capito male. Su Fedora 17 non siamo ancora riusciti.

marcomotta, l’ultimo file che ho fornito viene compilato correttamente su f17 64 bit, verosimilmente anche sulla 32 bit.

risposte contrastanti :frowning:

Senza offesa per marcomotta, il pacchetto l’ho creato io e ho detto chiaramente cosa funziona e cosa non ho ancora provato (semplicemente il funzionamento del software e la compilazione sulle piattaforme a 32 bit). Un po’ di raziocinio dai ragazzi…

è normale questo messaggio durante la creazione dell’rpm?

Sul portatile a 32bit (senza scheda video per computazione) funziona, ma purtroppo rimangono gli stessi bug della versione 6, ovvero
[list=*]
]il servizio non parte all’avvio/]
]la finestra del boinc manager non si chiude/]
]il menù non è visibile a meno che si ridimensioni la finestra/]
[/list]

Invece su un altro computer a 64bit durante la creazione dell’rpm ottengo:

[computer@computer ~]$ rpmbuild --rebuild boinc-client-7.0-2.r25853svn.fc16.src.rpm Installazione di boinc-client-7.0-2.r25853svn.fc16.src.rpm in corso
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
avvertimento: l'utente makerpm non esiste - utilizzazione utente root
avvertimento: il gruppo makerpm non esiste - utilizzazione utente root
Esecuzione(%prep) in corso: /bin/sh -e /var/tmp/rpm-tmp.XlCH8L
+ umask 022
+ cd /home/computer/rpmbuild/BUILD
+ cd /home/computer/rpmbuild/BUILD
+ rm -rf boinc_core_release_7_0
+ /usr/bin/xz -dc /home/computer/rpmbuild/SOURCES/boinc-7.0.tar.xz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '' 0 -ne 0 ']'
+ cd boinc_core_release_7_0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (boinc-guirpcauth.patch):'
Patch #0 (boinc-guirpcauth.patch):
+ /usr/bin/cat /home/computer/rpmbuild/SOURCES/boinc-guirpcauth.patch
+ /usr/bin/patch -s -p0 --fuzz=0
+ echo 'Patch #1 (boinc-manager-Makefile.patch):'
Patch #1 (boinc-manager-Makefile.patch):
+ /usr/bin/cat /home/computer/rpmbuild/SOURCES/boinc-manager-Makefile.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #2 (boinc-glib-compat.patch):'
Patch #2 (boinc-glib-compat.patch):
+ /usr/bin/cat /home/computer/rpmbuild/SOURCES/boinc-glib-compat.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ echo 'Patch #3 (boinc-xcb-compat.patch):'
Patch #3 (boinc-xcb-compat.patch):
+ /usr/bin/cat /home/computer/rpmbuild/SOURCES/boinc-xcb-compat.patch
+ /usr/bin/patch -s -p1 --fuzz=0
+ iconv -f ISO88591 -t UTF8
+ touch -r checkin_notes checkin_notes.utf8
+ mv checkin_notes.utf8 checkin_notes
+ iconv -f ISO88591 -t UTF8
+ touch -r checkin_notes_2004 checkin_notes_2004.utf8
+ mv checkin_notes_2004.utf8 checkin_notes_2004
+ iconv -f ISO88591 -t UTF8
+ touch -r checkin_notes_2005 checkin_notes_2005.utf8
+ mv checkin_notes_2005.utf8 checkin_notes_2005
+ iconv -f ISO88591 -t UTF8
+ touch -r checkin_notes_2006 checkin_notes_2006.utf8
+ mv checkin_notes_2006.utf8 checkin_notes_2006
+ chmod 644 clientgui/DlgItemProperties.h clientgui/AsyncRPC.cpp clientgui/DlgItemProperties.cpp
+ sed -i 's/\r//' clientgui/DlgItemProperties.cpp
+ exit 0
Esecuzione(%build) in corso: /bin/sh -e /var/tmp/rpm-tmp.SN3wih
+ umask 022
+ cd /home/computer/rpmbuild/BUILD
+ cd boinc_core_release_7_0
+ ./_autosetup
Bootstrapping configure script and makefiles:
Checking version of 'make' >= 379... succeeded. (382)
Checking version of 'm4' >= 104... succeeded. (104)
Checking version of 'pkg-config' >= 15... succeeded. (25)
Checking version of 'autoreconf' >= 258... succeeded. (268)
Checking version of 'automake' >= 108... succeeded. (111)
Checking version of 'libtoolize' >= 105... succeeded. (204)
autoreconf -i
configure.ac:387: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
m4/boinc_check_fcgi.m4:1: BOINC_CHECK_FCGI is expanded from...
configure.ac:387: the top level
configure.ac:393: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:393: the top level
configure.ac:387: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
m4/boinc_check_fcgi.m4:1: BOINC_CHECK_FCGI is expanded from...
configure.ac:387: the top level
configure.ac:393: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:393: the top level
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure.ac:387: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
m4/boinc_check_fcgi.m4:1: BOINC_CHECK_FCGI is expanded from...
configure.ac:387: the top level
configure.ac:393: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:393: the top level
configure.ac:387: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
m4/boinc_check_fcgi.m4:1: BOINC_CHECK_FCGI is expanded from...
configure.ac:387: the top level
configure.ac:393: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:393: the top level
configure.ac:387: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
m4/boinc_check_fcgi.m4:1: BOINC_CHECK_FCGI is expanded from...
configure.ac:387: the top level
configure.ac:393: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:393: the top level
configure.ac:387: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
m4/boinc_check_fcgi.m4:1: BOINC_CHECK_FCGI is expanded from...
configure.ac:387: the top level
configure.ac:393: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
m4/libcurl.m4:37: LIBCURL_CHECK_CONFIG is expanded from...
configure.ac:393: the top level
configure.ac:45: installing `./compile'
configure.ac:14: installing `./config.guess'
configure.ac:14: installing `./config.sub'
configure.ac:18: installing `./install-sh'
configure.ac:18: installing `./missing'
api/Makefile.am: installing `./depcomp'
Done, now run ./configure
 ./configure -C                         to enable caching
+ sed -i 's/BOINC-Manager\.po/BOINC-Manager\.mo/g' locale/Makefile.in
+ install -p -m644 /home/computer/rpmbuild/SOURCES/USAGE_FEDORA .
++ pkg-config gtk+-x11-2.0 --cflags --libs
+ CXXFLAGS='-pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0  '
+ CFLAGS='-O2 -g'
+ export CFLAGS
+ CXXFLAGS='-pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0  '
+ export CXXFLAGS
+ FFLAGS='-O2 -g'
+ export FFLAGS
+ ./configure --host=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --enable-dynamic-client-linkage --disable-server --disable-fcgi --enable-unicode --with-ssl --with-x STRIP=: DOCBOOK2X_MAN=/usr/bin/db2x_docbook2man
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-unknown-linux-gnu-gcc... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for x86_64-unknown-linux-gnu-g++... no
checking for x86_64-unknown-linux-gnu-c++... no
checking for x86_64-unknown-linux-gnu-gpp... no
checking for x86_64-unknown-linux-gnu-aCC... no
checking for x86_64-unknown-linux-gnu-CC... no
checking for x86_64-unknown-linux-gnu-cxx... no
checking for x86_64-unknown-linux-gnu-cc++... no
checking for x86_64-unknown-linux-gnu-cl.exe... no
checking for x86_64-unknown-linux-gnu-FCC... no
checking for x86_64-unknown-linux-gnu-KCC... no
checking for x86_64-unknown-linux-gnu-RCC... no
checking for x86_64-unknown-linux-gnu-xlC_r... no
checking for x86_64-unknown-linux-gnu-xlC... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking for x86_64-unknown-linux-gnu-g77... no
checking for x86_64-unknown-linux-gnu-xlf... no
checking for x86_64-unknown-linux-gnu-f77... no
checking for x86_64-unknown-linux-gnu-frt... no
checking for x86_64-unknown-linux-gnu-pgf77... no
checking for x86_64-unknown-linux-gnu-cf77... no
checking for x86_64-unknown-linux-gnu-fort77... no
checking for x86_64-unknown-linux-gnu-fl32... no
checking for x86_64-unknown-linux-gnu-af77... no
checking for x86_64-unknown-linux-gnu-xlf90... no
checking for x86_64-unknown-linux-gnu-f90... no
checking for x86_64-unknown-linux-gnu-pgf90... no
checking for x86_64-unknown-linux-gnu-pghpf... no
checking for x86_64-unknown-linux-gnu-epcf90... no
checking for x86_64-unknown-linux-gnu-gfortran... no
checking for x86_64-unknown-linux-gnu-g95... no
checking for x86_64-unknown-linux-gnu-xlf95... no
checking for x86_64-unknown-linux-gnu-f95... no
checking for x86_64-unknown-linux-gnu-fort... no
checking for x86_64-unknown-linux-gnu-ifort... no
checking for x86_64-unknown-linux-gnu-ifc... no
checking for x86_64-unknown-linux-gnu-efc... no
checking for x86_64-unknown-linux-gnu-pgfortran... no
checking for x86_64-unknown-linux-gnu-pgf95... no
checking for x86_64-unknown-linux-gnu-lf95... no
checking for x86_64-unknown-linux-gnu-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgfortran... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for ln... /usr/bin/ln
checking whether '/usr/bin/ln' works... yes
checking whether ln -s works... yes
checking whether 'ln -s' really works or whether I'm deluding myself... it works
checking whether gcc and cc understand -c and -o together... yes
checking if C compiler supports -Wall... yes
checking if C++ compiler supports -Wall... no
checking if f77 compiler supports -Wall... no
--- Configuring BOINC 7.0.7 (Release) ---
--- Build Components: (client manager libraries) ---
checking for docbook2x-man... /usr/bin/db2x_docbook2man
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether we are compiling for cygwin... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking for winsock2.h... (cached) no
checking for winsock.h... (cached) no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking dependency style of ... none
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-unknown-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-unknown-linux-gnu-dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-unknown-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-unknown-linux-gnu-strip... :
checking for x86_64-unknown-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for x86_64-unknown-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking default bitness of compiler... 64
checking boinc platform... x86_64-pc-linux-gnu
checking alternate boinc platform... i686-pc-linux-gnu
checking library extension... a
checking shared object extension... so
checking for windows.h... (cached) no
checking for sys/socket.h... (cached) yes
checking for socklen_t... yes
checking type of getsockopt() parameter five... socklen_t
checking for gawk... (cached) gawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.24.0
checking for libcurl >= version 7.17.1... yes
checking whether libcurl is usable... yes
checking for curl_free... yes
checking for pkg-config... /usr/bin/pkg-config
checking for openssl... yes
OpenSSL found in /usr
checking for shmget in dynamic library cygipc... no
checking for aio_fork in dynamic library aio... no
checking for dlopen in dynamic library dl...  -ldl
checking for gethostbyname in static library nsl...  -lnsl
checking for bind in static library socket... no
checking for bind in dynamic library socket... no
checking for gzopen in static library z...  -lz
checking for md5_finish in dynamic library cups... no
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether we are using the Microsoft C compiler... no
checking for windows.h... (cached) no
checking for OpenGL library... -L/usr/lib -lGL
checking for OpenGL Utility library... no
checking for fopen in -lXmu... yes
checking for fopen in -lXi... yes
checking for GLUT library... -L/usr/lib -lglut
configure: WARNING:
================================================================================
WARNING: Development libraries and headers ("-dev") of {openGL, GLU, glut} needed!

The GL, GLU and glut libraries are required in order to build the graphical parts
of the BOINC application API library.

==> only building non-graphical parts of the BOINC API Library for now.

HINT: on MacOS X/Darwin you might consider running configure with the option
      './configure --with-apple-opengl-framework'
      in order to use the Mac-native openGL framework

================================================================================
       
checking for XScreenSaverAllocInfo in -lXss... no
checking X11/extensions/scrnsaver.h usability... no
checking X11/extensions/scrnsaver.h presence... no
checking for X11/extensions/scrnsaver.h... no
configure: WARNING: libxss missing, disabling X ScreenSaver user idle detection
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking return type of signal handlers... void
checking for windows.h... (cached) no
checking for sys/types.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for memory.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netinet/ether.h usability... yes
checking netinet/ether.h presence... yes
checking for netinet/ether.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking net/if_arp.h usability... yes
checking net/if_arp.h presence... yes
checking for net/if_arp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for strings.h... (cached) yes
checking sys/auxv.h usability... no
checking sys/auxv.h presence... no
checking for sys/auxv.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/shm.h usability... yes
checking sys/shm.h presence... yes
checking for sys/shm.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/swap.h usability... yes
checking sys/swap.h presence... yes
checking for sys/swap.h... yes
checking sys/sysctl.h usability... yes
checking sys/sysctl.h presence... yes
checking for sys/sysctl.h... yes
checking sys/systeminfo.h usability... no
checking sys/systeminfo.h presence... no
checking for sys/systeminfo.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/vmmeter.h usability... no
checking sys/vmmeter.h presence... no
checking for sys/vmmeter.h... no
checking for sys/wait.h... (cached) yes
checking for unistd.h... (cached) yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking procfs.h usability... no
checking procfs.h presence... no
checking for procfs.h... no
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking for netinet/if_ether.h... yes
checking for struct lifconf... no
checking for struct lifreq... no
checking for struct ifconf... yes
checking for struct ifreq... yes
checking for struct ether_addr... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether largefile support breaks C++... yes
checking standard C++ headers... no
checking algorithm usability... no
checking algorithm presence... no
checking for algorithm... no
checking bitset usability... no
checking bitset presence... no
checking for bitset... no
checking cassert usability... no
checking cassert presence... no
checking for cassert... no
checking cctype usability... no
checking cctype presence... no
checking for cctype... no
checking cerrno usability... no
checking cerrno presence... no
checking for cerrno... no
checking cfloat usability... no
checking cfloat presence... no
checking for cfloat... no
checking climits usability... no
checking climits presence... no
checking for climits... no
checking clocale usability... no
checking clocale presence... no
checking for clocale... no
checking cmath usability... no
checking cmath presence... no
checking for cmath... no
checking complex usability... no
checking complex presence... no
checking for complex... no
checking csetjmp usability... no
checking csetjmp presence... no
checking for csetjmp... no
checking csignal usability... no
checking csignal presence... no
checking for csignal... no
checking cstdarg usability... no
checking cstdarg presence... no
checking for cstdarg... no
checking cstddef usability... no
checking cstddef presence... no
checking for cstddef... no
checking cstdio usability... no
checking cstdio presence... no
checking for cstdio... no
checking cstdlib usability... no
checking cstdlib presence... no
checking for cstdlib... no
checking cstring usability... no
checking cstring presence... no
checking for cstring... no
checking ctime usability... no
checking ctime presence... no
checking for ctime... no
checking deque usability... no
checking deque presence... no
checking for deque... no
checking fstream usability... no
checking fstream presence... no
checking for fstream... no
checking functional usability... no
checking functional presence... no
checking for functional... no
checking iomanip usability... no
checking iomanip presence... no
checking for iomanip... no
checking ios usability... no
checking ios presence... no
checking for ios... no
checking iosfwd usability... no
checking iosfwd presence... no
checking for iosfwd... no
checking iostream usability... no
checking iostream presence... no
checking for iostream... no
checking istream usability... no
checking istream presence... no
checking for istream... no
checking iterator usability... no
checking iterator presence... no
checking for iterator... no
checking limits usability... no
checking limits presence... no
checking for limits... no
checking list usability... no
checking list presence... no
checking for list... no
checking locale usability... no
checking locale presence... no
checking for locale... no
checking map usability... no
checking map presence... no
checking for map... no
checking memory usability... no
checking memory presence... no
checking for memory... no
checking numeric usability... no
checking numeric presence... no
checking for numeric... no
checking ostream usability... no
checking ostream presence... no
checking for ostream... no
checking queue usability... no
checking queue presence... no
checking for queue... no
checking set usability... no
checking set presence... no
checking for set... no
checking sstream usability... no
checking sstream presence... no
checking for sstream... no
checking stack usability... no
checking stack presence... no
checking for stack... no
checking stdexcept usability... no
checking stdexcept presence... no
checking for stdexcept... no
checking streambuf usability... no
checking streambuf presence... no
checking for streambuf... no
checking string usability... no
checking string presence... no
checking for string... no
checking utility usability... no
checking utility presence... no
checking for utility... no
checking valarray usability... no
checking valarray presence... no
checking for valarray... no
checking vector usability... no
checking vector presence... no
checking for vector... no
checking for C++ namespaces... no
checking for min(0,0) in namespace std... no
checking for max(0,0) in namespace std... no
checking for transform((char *)0,(char *) 0,(char *)0,(int(*)(int))malloc) in namespace std... no
checking for locale("") in namespace std... no
checking whether gcc needs -traditional... no
checking for vprintf... yes
checking for _doprnt... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for alloca... (cached) yes
checking for _alloca... no
checking for __builtin_alloca... no
checking for ether_ntoa... yes
checking for setpriority... yes
checking for sched_setscheduler... yes
checking for strlcpy... no
checking for strlcat... no
checking for strcasestr... yes
checking for strcasecmp... yes
checking for sigaction... yes
checking for getutent... yes
checking for setutent... yes
checking for getisax... no
checking for strdup... yes
checking for strdupa... no
checking for daemon... yes
checking for stat64... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for res_init... no
checking for strtoull... yes
checking for an ANSI C-conforming const... yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 2.8.12)
checking for wxWidgets static library... no
checking if wxWidgets works... yes
checking for default wxWidgets config... gtk2-unicode-release-2.8
checking for wxwidgets options...  --unicode=yes
checking wxWidgets config to use... gtk2-unicode-release-2.8
checking for wx-config... (cached) /usr/bin/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 2.8.12)
checking for wxWidgets static library... no
checking for pkg-config... /usr/bin/pkg-config
checking checking availability of sqlite3 using pkg-config... yes
checking for sqlite3_open... yes
checking for x86_64-unknown-linux-gnu-pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XCB... yes
checking for XCBATOM... yes
checking for sin in dynamic library m...  -lm
checking for pthread_join in dynamic library pthread...  -lpthread
checking for dynamic library wsock32... no
checking for res_init in -lresolv... no
checking for res_query in static library resolv... no
checking for res_query in dynamic library resolv... no
checking for whoami... /usr/bin/whoami
configure: creating ./config.status
config.status: creating version.h
config.status: creating api/Makefile
config.status: creating apps/Makefile
config.status: creating clientgui/Makefile
config.status: creating clientgui/res/Makefile
config.status: creating clientscr/Makefile
config.status: creating client/Makefile
config.status: creating client/win/boinc_path_config.py
config.status: creating client/scripts/Makefile
config.status: creating client/scripts/boinc-client
config.status: creating db/Makefile
config.status: creating doc/Makefile
config.status: creating doc/manpages/Makefile
config.status: creating lib/Makefile
config.status: creating locale/Makefile
config.status: creating Makefile
config.status: creating py/Boinc/version.py
config.status: creating py/Makefile
config.status: creating py/boinc_path_config.py
config.status: creating py/setup.py
config.status: creating sched/boinc_path_config.py
config.status: creating sched/Makefile
config.status: creating packages/generic/sea/Makefile
config.status: creating packages/solaris/CSW/Makefile
config.status: creating packages/solaris/CSW/boincclient/Makefile
config.status: creating packages/solaris/CSW/boincclient/pkginfo
config.status: creating packages/solaris/CSW/boincclient/prototype
config.status: creating packages/solaris/CSW/boincdevel/Makefile
config.status: creating packages/solaris/CSW/boincdevel/pkginfo
config.status: creating packages/solaris/CSW/boincdevel/prototype
config.status: creating packages/solaris/CSW/boinclibs/Makefile
config.status: creating packages/solaris/CSW/boinclibs/pkginfo
config.status: creating packages/solaris/CSW/boinclibs/prototype
config.status: creating packages/solaris/CSW/boincmanager/Makefile
config.status: creating packages/solaris/CSW/boincmanager/pkginfo
config.status: creating packages/solaris/CSW/boincmanager/prototype
config.status: creating test/boinc_path_config.py
config.status: creating test/Makefile
config.status: creating test/version.inc
config.status: creating tools/boinc_path_config.py
config.status: creating tools/Makefile
config.status: creating m4/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
--- Configuring BOINC 7.0.7 (Release) ---
--- Build Components: (client manager libraries) ---
+ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
+ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ make
cd . && sh generate_svn_version.sh
make  all-recursive
make[1]: Entering directory `/home/computer/rpmbuild/BUILD/boinc_core_release_7_0'
Making all in m4
make[2]: Entering directory `/home/computer/rpmbuild/BUILD/boinc_core_release_7_0/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/computer/rpmbuild/BUILD/boinc_core_release_7_0/m4'
Making all in api
make[2]: Entering directory `/home/computer/rpmbuild/BUILD/boinc_core_release_7_0/api'
/bin/sh ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I..  -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread  -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing  -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -c -o boinc_api.lo boinc_api.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -c boinc_api.cpp  -o .libs/boinc_api.o
../libtool: line 1128: g++: command not found
make[2]: *** [boinc_api.lo] Error 1
make[2]: Leaving directory `/home/computer/rpmbuild/BUILD/boinc_core_release_7_0/api'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/computer/rpmbuild/BUILD/boinc_core_release_7_0'
make: *** [all] Error 2
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.SN3wih (%build)


Errori di compilazione RPM:
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    l'utente makerpm non esiste - utilizzazione utente root
    il gruppo makerpm non esiste - utilizzazione utente root
    Stato d'uscita errato da /var/tmp/rpm-tmp.SN3wih (%build)
[computer@computer ~]$ 

Perché dovrei offendermi? Io mi basavo su quello che avevi detto tu:

[quote=MarioS]Usa mock per creare l’rpm.
Io sono partito dal pacchetto per fedora 16, non 17 che introduce altre modifiche. Lo vedrò un altro giorno per f17.[/quote]

…e sul mio tentativo fallito:

[quote=marcomotta]sulla mia F17:

[marco@localhost Scrivania]$ rpmbuild --rebuild boinc-client-7.0-1.r25853svn.fc16.src.rpm
[cut]
/usr/bin/ld: boinc_client-hostinfo_unix.o: undefined reference to symbol 'XOpenDisplay'
/usr/bin/ld: note: 'XOpenDisplay' is defined in DSO /lib64/libX11.so.6 so try adding it to the linker command line
/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [boinc_client] Error 1
make[2]: Leaving directory `/home/marco/rpmbuild/BUILD/boinc_core_release_7_0/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marco/rpmbuild/BUILD/boinc_core_release_7_0'
make: *** [all] Error 2
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.99IZ4s (%build)

…che è lo stesso errore che ottenevo con il pacchetto per F17.[/quote]

Quindi hai creato anche un pacchetto rpm per F17? Io ero rimasto al pacchetto src.rpm per F16… Tanto per capire.

marcomotta porta attenzione alla discussione, vedi il post 33:
http://forum.fedoraonline.it/viewtopic.php?pid=185154#p185154

@caterpillar
Usa mock per creare l’rpm.

[quote=Caterpillar]su un altro computer a 64bit durante la creazione dell’rpm ottengo:

[code]
[computer@computer ~]$ rpmbuild --rebuild boinc-client-7.0-2.r25853svn.fc16.src.rpm Installazione di boinc-client-7.0-2.r25853svn.fc16.src.rpm in corso
[cut]

  • make
    cd . && sh generate_svn_version.sh
    make all-recursive
    make[1]: Entering directory /home/computer/rpmbuild/BUILD/boinc_core_release_7_0' Making all in m4 make[2]: Entering directory /home/computer/rpmbuild/BUILD/boinc_core_release_7_0/m4’
    make[2]: Nothing to be done for all'. make[2]: Leaving directory /home/computer/rpmbuild/BUILD/boinc_core_release_7_0/m4’
    Making all in api
    make[2]: Entering directory /home/computer/rpmbuild/BUILD/boinc_core_release_7_0/api' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -c -o boinc_api.lo boinc_api.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../api -I../db -I../client -I../tools -I../sched -I../lib/mac -pthread -Wall -Wextra -Wshadow -Wredundant-decls -Wdisabled-optimization -Wpointer-arith -Wstrict-aliasing -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -c boinc_api.cpp -o .libs/boinc_api.o ../libtool: line 1128: g++: command not found make[2]: *** [boinc_api.lo] Error 1 make[2]: Leaving directory /home/computer/rpmbuild/BUILD/boinc_core_release_7_0/api’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/computer/rpmbuild/BUILD/boinc_core_release_7_0’
    make: *** [all] Error 2
    errore: Stato d’uscita errato da /var/tmp/rpm-tmp.SN3wih (%build)
    [/code][/quote]
    Prova a dare
yum install rpm-build MySQL-python sqlite-devel curl-devel freeglut-devel mesa-libGLU-devel openssl-devel wxGTK-devel mysql-devel libXmu-devel libjpeg-devel docbook2X xcb-util-devel libnotify-devel gcc MySQL-python sqlite-devel curl-devel freeglut-devel mesa-libGLU-devel openssl-devel wxGTK-devel mysql-devel libXmu-devel libjpeg-devel docbook2X xcb-util-devel libnotify-devel gcc gcc-c++

A me sono serviti per compilare la versione corrente.

[quote=MarioS]marcomotta porta attenzione alla discussione, vedi il post 33:
http://forum.fedoraonline.it/viewtopic.php?pid=185154#p185154
.[/quote]
…che riporto di seguito:

[quote]
Ho creato l’rpm sorgente compilabile per f16 e f17 a 64bit (verosimilmente funzionerà anche per la versione a 32 bit):[/quote]
Compilabile l’avevo interpretato come “che può essere” (teoricamente) “compilato”, e non “che ho compilato”.
Comunque, quello che ho fatto io, bene o male, l’ho scritto.
Se ci fai capire:

  1. come hai creato l’rpm (con quali comandi)
  2. se, su quali macchine (32-64 bit, F16 o F17), e con quali comandi, l’hai compilato
  3. se hai ottenuto errori nella compilazione.

Se preferisci fare da solo, e darci il prodotto finito, per carità, va anche bene, ma allora è inutile che ne discutiamo qui.

Ripeto, per l’ultima volta e poi fate come volete, utilizzate mock per compilare i pacchetti rpm. E’ l’unico modo a disposizione per compilare i pacchetti su chroot puliti di fedora senza rischi di personalizzazioni che aumentino altri errori.

[quote]
Se preferisci fare da solo, e darci il prodotto finito, per carità, va anche bene, ma allora è inutile che ne discutiamo qui.[/quote]
Vi ho fornito un rpm.
Vi sto continuando a dire di utilizzare mock.
Ho chiaramente esposto tutto quello che ho fatto. Ho chiaramente detto cosa c’è da provare, che non ho fatto io. Se fornisco un rpm e dico che è “compilabile” per X e Y vuol dire che l’ho provato, non fornisco cose a caso.

Leggi attentamente per cortesia.

–Aggiunta–
Leggete https://fedoraproject.org/wiki/Using_Mock_to_test_package_builds per capire come usare mock.

Uhm, strano, prima avevo avuto uno strano errore; invece ora

mock rpmbuild/SRPMS/boinc-client-7.0-2.r25853svn.fc16.src.rpm

Ha prodotto i files rpm.

Ok, quindi la tua versione viene compilata anche su F17. Rimane il problema che sei partito dalla versione 6.12.35-1.r24014svn per fedora 16, dove ci sono ancora i riferimenti a /etc/init.d, anziché dalla versione 6.12.43-1.r25218svn per Fedora 17, dove sono state fatte le modifiche per usare il nuovo systemd.
Se vogliamo compilare il pacchetto tanto per provare va bene, ma se l’idea è di portarlo sui repository ufficiali mi sembra assurdo fare un upgrade alla versione 7 che contiene il downgrade a SysV da systemd.
Quindi ora bisognerebbe riuscire a compilare una versione dell’rpm sorgente che non elimini le modifiche apportate in 6.12.43-1.r25218svn per Fedora 17 per systemd (magari partendo da 6.12.43-1.r25218svn.fc17).

Uhm, strano, prima avevo avuto uno strano errore; invece ora

mock rpmbuild/SRPMS/boinc-client-7.0-2.r25853svn.fc16.src.rpm

Ha prodotto i files rpm.

Ok, quindi la tua versione viene compilata anche su F17. Rimane il problema che sei partito dalla versione 6.12.35-1.r24014svn per fedora 16, dove ci sono ancora i riferimenti a /etc/init.d, anziché dalla versione 6.12.43-1.r25218svn per Fedora 17, dove sono state fatte le modifiche per usare il nuovo systemd.
Se vogliamo compilare il pacchetto tanto per provare va bene, ma se l’idea è di portarlo sui repository ufficiali mi sembra assurdo fare un upgrade alla versione 7 che contiene il downgrade a SysV da systemd.
Quindi ora bisognerebbe riuscire a compilare una versione dell’rpm sorgente che non elimini le modifiche apportate in 6.12.43-1.r25218svn per Fedora 17 per systemd (magari partendo da 6.12.43-1.r25218svn.fc17).[/quote]
Infatti confermo che anche con il mock ci sono gli stessi problemi di prima. È corretto aggiungere il proprio utente al gruppo mock?

[quote]
Rimane il problema che sei partito dalla versione 6.12.35-1.r24014svn per fedora 16[/quote]
Ancora…no! Leggi i log del pacchetto sorgente ed il post 33.