Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Boinc-6.12.42 fails to compile
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 476
Location: Scotland

PostPosted: Sat May 12, 2012 10:35 pm    Post subject: [SOLVED] Boinc-6.12.42 fails to compile Reply with quote

I'll post this in unsupported as I am running an ~x86 system, and also BOINC is always unstable, and therefore I presume unsupported.
I can't get it to compile.
Probably the most important part of the "fail" is:
Code:
gtk/taskbarex.cpp: In member function ‘virtual bool wxTaskBarIconEx::SetBalloon(const wxIcon&, wxString, wxString, unsigned int)’:
gtk/taskbarex.cpp:239:28: warning: deprecated conversion from string constant to ‘gchar*’
gtk/taskbarex.cpp:242:28: warning: deprecated conversion from string constant to ‘gchar*’
gtk/taskbarex.cpp:245:28: warning: deprecated conversion from string constant to ‘gchar*’
make[2]: *** [boincmgr-taskbarex.o] Error 1
make[2]: *** Waiting for unfinished jobs....
MainDocument.cpp: In member function ‘void CMainDocument::KillGraphicsApp(int)’:
MainDocument.cpp:1665:19: warning: deprecated conversion from string constant to ‘char*’
MainDocument.cpp:1666:19: warning: deprecated conversion from string constant to ‘char*’
MainDocument.cpp:1667:20: warning: deprecated conversion from string constant to ‘char*’
MainDocument.cpp:1668:19: warning: deprecated conversion from string constant to ‘char*’
MainDocument.cpp: In member function ‘int CMainDocument::WorkShowGraphics(RESULT*)’:
MainDocument.cpp:1726:19: warning: deprecated conversion from string constant to ‘char*’
MainDocument.cpp: In member function ‘int CNetworkConnection::GetLocalPassword(wxString&)’:
MainDocument.cpp:126:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result
make[2]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.12.42/work/boinc-6.12.42/clientgui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.12.42/work/boinc-6.12.42'
make: *** [all] Error 2
 * ERROR: sci-misc/boinc-6.12.42 failed (compile phase):
 *   emake failed

I'm intrigued by the...
Code:
[boincmgr-taskbarex.o] Error 1

Could that be a clue?
Or perhaps...
Code:
make[2]: Leaving directory `/var/tmp/portage/sci-misc/boinc-6.12.42/work/boinc-6.12.42/clientgui'

So maybe even wxwidgets or something to do with gtk?
emerge --info boinc below
Code:
emerge --info =sci-misc/boinc-6.12.42
Portage 2.1.10.58 (default/linux/x86/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.3.1-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.3.1-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5400_@_2.70GHz-with-gentoo-2.1
Timestamp of tree: Fri, 11 May 2012 23:00:01 +0000
app-shells/bash:          4.2_p28
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.8, 2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.5.3-r2
sys-devel/gcc-config:     1.7
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo zugaina gamerlay-stable spring sunrise
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3 dlj-1.1 Oracle-BCLA-JavaSE PUEL ut2003"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/nfs_portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.virginmedia.com/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/mnt/nfs_portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/nfs_portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/gamerlay /var/lib/layman/Spring /var/lib/layman/sunrise"
SYNC="rsync://pig2/gentoo-portage"
USE="X X509 a52 aac acl acpi additions alsa animation-rtl antialiasing apache2 applet archive artworkextra autoipd berkdb binary-drivers bluetooth bonobo branding bzip2 cairo caps cdaudio cdda cdio cdr cdrkit cdrom cdrtools cg cifs cleartype cli client clutter colord consolekit cracklib crypt cups curl curlwrappers cursors cxx dbase dbus dconf desktop-effects device-mapper dga dns dri dso dts dv dvb dvbpsi dvd dvdnav dvdr dvdread eds effects emboss encode equalizer evo exif extraicons extras fallback fam fat fat16 fbcondecor fbosd fbsplash ffmpeg fftw firefox fits flac flash fltk flv fontconfig foomaticdb fortran ftp fuse g3dvl games gcj gconf gd gdbm gdm gdu gedit geoloc gif git gjs glade glib glitz glx gmedia gnome gnome-dvb-daemon gnome-keyring gnome-online-accounts gnome-print gnome-shell gnomecanvas gnomecd gnutls gphoto2 gpib gpm gps graphviz grub gstreamer gtk gtk3 gtkhtml gtkstyle gudev h224 hardware hddtemp help-screen hibernate-script hidd howl-compat hpn htsp http httpd i2c icc icons iconv id3 id3tag idn ieee1394 imagemagick imap inotify introspection ipc iplayer iptables ipv6 ivman jack java java6 javascript jit jpeg jpeg2k json kdrive kerberos keymap lame laptop lastfm lastfmradio lcms ldap libburn libgda libmpeg2 libnotify libsamplerate libsexy libsoup libv4l2 libvisual lm_sensors logrotate lzo mad mailwrapper mbox mdnsresponder-compat metadata mime mms mmx mmxext mng modplug modules mono mozilla mp2 mp3 mp4 mpd mpeg mpg123 mplayer msn mudflap nautilus ncurses net network networking networkmanager new-login nfs nfsv3 nfsv4 nls nptl nsplugin nss ntfs ntp nvcontrol nvram objc offensive ogg openal opengl openmp openstreetmap optimization osc oss outputs overlays pam pango parted pcre pdf perl pipechan pixmaps player playlist plugins pm-utils pmu png policykit ppds pppd previewer pulseaudio pvr pypy1_8 pyqt4 python python-daap quicktime quvi raw readline rss rsync rtsp sasl scrobbler sctp sdl search-screen sendto server session sftp shaders sharedext sharedmem shm shmvideo shotwell showtabbar sid sip slideshow slp smi smp smtp sndfile snmp socialweb sockets sound spell splash sql sqlite sse sse2 sse3 ssh ssl ssse3 startup-notification svg swf symlink syslog sysvipc taglib tcpd tdb teletext terminal tetex themes theora tiff tk toolbar tools tordns totem tracker transcode truetype tvheadend twisted twolame type3 udev udev-acl underscores unicode unsupported upnp usb userpriv v4l v4l2 v8 vaapi vala vdpau vfat vga vhook video videos virtualbox vnc vorbis wav wavpack weather webdav webgl win32codecs wma wmf wmp wxwidgets x264 x86 x86emu xattr xcb xcomposite xcursors xf86 xine xml xorg xosd xpm xrandr xrender xulrunner xv xvid xvmc youtube yv12 zlib" ALSA_CARDS="emu10k1 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="auth_digest authn_file authz_groupfile authz_host dav dav_fs dir mime status" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DVB_CARDS="usb-dtt200u usb-wt220u" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON


EDIT / UPDATE

Marking this as solved as the new 7.*.* BOINC compiles and works fine. Thanks to Trog Dogg and all the team for making this happen! 8)
_________________
Whatever you do, do it properly!


Last edited by Thistled on Mon Jul 23, 2012 8:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Sun May 13, 2012 12:41 am    Post subject: Reply with quote

Give 7.0.27 a try. I filed a version bump for 7.0.25 but 7.0.27 is the latest bugfixed version of 7.0.25. You'll need to create a local overlay and if you need any assistance I'll post a walkthrough. I've got 7.0.27 running on 5 primarily stable (arch=amd64) boxes with no problems. As you can see from the boinc trac there have been changes to the code in 7.0.27 which may fix your problem.
_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 742
Location: Stuttgart, Germany

PostPosted: Sun May 13, 2012 10:36 am    Post subject: Reply with quote

please post a walkthrough, or a least a link to an ebuild (preferably to 7.0.27). Is the boinc ebuild still being maintained, and is the discrepancy between boinc's release version and the one in the tree consequently normal?

Cheers,

EE
PS- the boinc ebuild in the tree now cannot build against newer versions of curl:
Code:
# emerge boinc
Calculating dependencies... done!
[ebuild     UD ] net-misc/curl-7.25.0 [7.25.0-r1] USE="nss%* -gnutls%"
[ebuild  N     ] sci-misc/boinc-6.12.42  USE="X -cuda"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

net-misc/curl:0

  (net-misc/curl-7.25.0::gentoo, ebuild scheduled for merge) pulled in by
    net-misc/curl[ssl,-gnutls] required by (sci-misc/boinc-6.12.42::gentoo, ebuild scheduled for merge)

  (net-misc/curl-7.25.0-r1::gentoo, installed) pulled in by
    net-misc/curl[ssl,curl_ssl_nss] required by (net-libs/liboauth-0.9.6::gentoo, installed)
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 476
Location: Scotland

PostPosted: Sun May 13, 2012 10:52 am    Post subject: Reply with quote

Hello EE, I was hit by the curl (ssl) problem yesterday as well. I eventually resolved the problem by changing some use flags on curl.
Try this in /etc/portage/package.use/package.use (or wherever you have your package use file) :
Code:
>=net-misc/curl-7.25.0 -ares -curl_ssl_openssl -gnutls ssl openssl

That resolved the "USE" conflict for me, but as my original post stated, the BOINC in the tree won't compile.
I'm not sure if I want to play with a local overlay, and think I'll just wait until the new BOINC (7 series) appears in the tree.
In saying that, it's the only way of knowing if the newer version will fix my problem.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 742
Location: Stuttgart, Germany

PostPosted: Sun May 13, 2012 11:03 am    Post subject: Reply with quote

Yeah, I had to play around with curl's flags a bit as well. I'm really not sure why BOINC is insisting on downgrading curl, since my presently installed curl:

Code:
# emerge -pv curl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] net-misc/curl-7.25.0-r1  USE="ipv6 ldap ssl threads -ares -idn -kerberos -ssh -static-libs -test" CURL_SSL="nss -axtls -cyassl -gnutls -openssl -polarssl" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
satisfies the dependencies in the BOINC ebuild.

I guess I'll wait for the next BINC ebuild as well. Or maybe there's a live ebuild somewhere?

Cheers,

EE
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 476
Location: Scotland

PostPosted: Sun May 13, 2012 11:57 am    Post subject: Reply with quote

I had a look at BOINC and you can download boinc-7.0.27.sh
I am not the smartest, but that looks like an install script to me, so I would not know where to start with regards to turning that thing into an ebuild in a local overlay.
Shame really, because I had several workunits which needed to be returned by this coming Friday (18th May 2012).
I'll wait until the ebuild appears in the tree, as I don't want to break things. :D
Anyone have any idea when it is likely to appear in portage?
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 476
Location: Scotland

PostPosted: Sun May 13, 2012 2:54 pm    Post subject: Reply with quote

Trog Dog wrote:
Give 7.0.27 a try. I filed a version bump for 7.0.25 but 7.0.27 is the latest bugfixed version of 7.0.25. You'll need to create a local overlay and if you need any assistance I'll post a walkthrough. I've got 7.0.27 running on 5 primarily stable (arch=amd64) boxes with no problems. As you can see from the boinc trac there have been changes to the code in 7.0.27 which may fix your problem.


I think I need the walkthrough Trog Dog. :lol:
Following wikis and docs on how to set up my own local overlay, and tried the ebuild and patch which has been submitted to the bugzilla, but it's all borked. The ebuild is trying to pull in 7.0.25 from scarabeus' site, which of course does not exist. I'm not sure what I should do to your proposed ebuild in order to make it all work.
So I am clearly out of my depth here. :roll:
I can administer Gentoo without too many problems, but when it comes to ebuilds and programming. :oops:
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Sun May 13, 2012 7:56 pm    Post subject: Reply with quote

Hi, scarabeus site exist http://dev.gentooexperimental.org/~scarabeus/
but there aren't a source for boinc-7.0.25 only for older boinc-6.12.42
Here is more about self-extracting script which you download directly from Berkeley https://boinc.berkeley.edu/wiki/Installing_BOINC#The_Berkeley_Installer
_________________
Sorry for my English. It's not my native language and I'm still learning it.


Last edited by Woofie on Sun May 13, 2012 8:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 742
Location: Stuttgart, Germany

PostPosted: Sun May 13, 2012 8:00 pm    Post subject: Reply with quote

Thanks for that link, but that version of boinc has been in the portage tree since November of last year, and is the one that apparently does not work on newer systems. We need something more recent.

Cheers,

EE
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Sun May 13, 2012 8:17 pm    Post subject: Reply with quote

Boinc 6.12.42 (~x86) still working for me :)
only affected by this bug https://bugs.gentoo.org/show_bug.cgi?id=379979
_________________
Sorry for my English. It's not my native language and I'm still learning it.


Last edited by Woofie on Sun May 13, 2012 8:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 742
Location: Stuttgart, Germany

PostPosted: Sun May 13, 2012 8:22 pm    Post subject: Reply with quote

OP is ~x86, and I'm ~amd64, so we're both out of luck (downgrading back to stable is nontrivial, and may be impossible). I have the same errors that the OP does (plus further complaints about curl), for which we're both hoping the 7 series will provide solutions.

Cheers,

EE
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Sun May 13, 2012 8:25 pm    Post subject: Reply with quote

6.12.42 is only version in Portage now. Sorry it's ~x86 you're right but working for me.
Oh I understand now.. you mean curl version :) I have last stable one 7.24.0
_________________
Sorry for my English. It's not my native language and I'm still learning it.
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 476
Location: Scotland

PostPosted: Sun May 13, 2012 8:40 pm    Post subject: Reply with quote

Woofie, many thanks for your suggestions. Your English is good, so no need to apologise my friend. Likewise, EE, very good English.

I've posted a bug report with regards to our issue.
I asked on Gentoo IRC this afternoon about it and was told the sooner I submit a patch the sooner the 7-series will be released. :!: Which is beyond me. :oops:

There are other bug reports on the bugzilla and even a patch for the new 7-series, but I can not get this to work (out of my depth) , which is why I am posting the bug and hoping we might get something soon in the tree.
If Scarabeus was to put the tar file on his site, I might then be able to do something. But in the meantime, I'll just have to wait. I won't annoy him.
I have also asked TrogDog (who posted the version bump on the bugzilla) if he could walk me through the ebuild and patch process, and see what happens from there.

I have a feeling we won't have to wait too long before it appears in the tree.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Sun May 13, 2012 8:49 pm    Post subject: Reply with quote

Meanwhile you can install the version directly from Berkeley as I post the link. :) As wiki said you can copy there your working unit and return to counting.
I would like to hear some info about ebuild and patches too :) (I succesfully edit one small ebuild but thats all) Here are some guide about ebuild http://devmanual.gentoo.org/ but i'm not so skillful to understand everything..
_________________
Sorry for my English. It's not my native language and I'm still learning it.
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Mon May 14, 2012 12:35 pm    Post subject: Reply with quote

Sorry for the delay in replying guys - real life gets in the way :)

Create a local overlay using these instructions then copy the sci-misc/boinc directory to your overlay
Code:
sudo cp -rf /usr/portage/sci-misc/boinc /usr/local/portage
create a "working" directory for downloading the source
Code:
mkdir ~/boinc-stuff
from the /files directory in sci-misc/boinc copy the generate_tarball.sh script to your "working" directory
Code:
cp /usr/local/portage/sci-misc/boinc/files/generate_tarball.sh ~/boinc-stuff
cd into the "working" directory and download the source and create a tarball
Code:
cd ~/boinc-stuff
sh generate_tarball.sh -v 7.0.27
(make sure you have subversion installed). Copy the resultant tarball ~/boinc-stuff/boinc-dist/boinc-7.0.27.tar.xz to your $DISTDIR.
cd back into your overlay and download the 7.0.27 ebuild from here and download the 7.0.2-fix_subdirs.patch and place it in the /files subdirectory. Create a manifest for the new 7.0.27 ebuild
Code:
ebuild boinc-7.0.27.ebuild manifest
then update boinc ;)
Code:
emerge boinc
you should now have updated to v.7.0.27 from your local overlay.

let me know if I've borked any of the above :)
_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Mon May 14, 2012 9:27 pm    Post subject: Reply with quote

Thanks for this howto. After emerge subversion and this ebuild from overlay, I'm runnig the new version of boinc with no problem.. :)
_________________
Sorry for my English. It's not my native language and I'm still learning it.
Back to top
View user's profile Send private message
DancesWithWords
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 253
Location: ottawa, canada

PostPosted: Mon May 14, 2012 11:50 pm    Post subject: Reply with quote

Trog Dog wrote:
Sorry for the delay in replying guys - real life gets in the way :)

Create a local overlay using these instructions then copy the sci-misc/boinc directory to your overlay
Code:
sudo cp -rf /usr/portage/sci-misc/boinc /usr/local/portage
create a "working" directory for downloading the source
Code:
mkdir ~/boinc-stuff
from the /files directory in sci-misc/boinc copy the generate_tarball.sh script to your "working" directory
Code:
cp /usr/local/portage/sci-misc/boinc/files/generate_tarball.sh ~/boinc-stuff
cd into the "working" directory and download the source and create a tarball
Code:
cd ~/boinc-stuff
sh generate_tarball.sh -v 7.0.27
(make sure you have subversion installed). Copy the resultant tarball ~/boinc-stuff/boinc-dist/boinc-7.0.27.tar.xz to your $DISTDIR.
cd back into your overlay and download the 7.0.27 ebuild from here and download the 7.0.2-fix_subdirs.patch and place it in the /files subdirectory. Create a manifest for the new 7.0.27 ebuild
Code:
ebuild boinc-7.0.27.ebuild manifest
then update boinc ;)
Code:
emerge boinc
you should now have updated to v.7.0.27 from your local overlay.

let me know if I've borked any of the above :)



I tried this and got:
>>> Downloading 'http://distfiles.gentoo.org/distfiles/boinc-7.0.27.tar.xz'
--2012-05-14 19:46:10-- http://distfiles.gentoo.org/distfiles/boinc-7.0.27.tar.xz
Resolving distfiles.gentoo.org... 140.211.166.134, 137.226.34.42, 64.50.236.52, ...
Connecting to distfiles.gentoo.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-05-14 19:46:10 ERROR 404: Not Found.

>>> Downloading 'http://dev.gentooexperimental.org/~scarabeus/boinc-7.0.27.tar.xz'
--2012-05-14 19:46:10-- http://dev.gentooexperimental.org/~scarabeus/boinc-7.0.27.tar.xz
Resolving dev.gentooexperimental.org... 91.191.147.225
Connecting to dev.gentooexperimental.org|91.191.147.225|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2012-05-14 19:46:11 ERROR 404: Not Found.

!!! Couldn't download 'boinc-7.0.27.tar.xz'. Aborting.
!!! Fetch failed for boinc-7.0.27.tar.xz, can't update Manifest
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Tue May 15, 2012 6:03 am    Post subject: Reply with quote

Hi, it's because the scarabeus site doesn't content source for last boinc. Did you follow this howto precisely and copy your tar file with latest boinc (which you generate with subversion) into your $DISTDIR? In default setting is /usr/portage/distfiles.
_________________
Sorry for my English. It's not my native language and I'm still learning it.


Last edited by Woofie on Tue May 15, 2012 7:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Tue May 15, 2012 10:44 am    Post subject: Reply with quote

woofie wrote:
Thanks for this howto. After emerge subversion and this ebuild from overlay, I'm runnig the new version of boinc with no problem.. :)


Cheers woofie - thanks for the feedback - and thanks for jumping in and helping danceswithwords :)

A word of warning though the 7 series scheduler works very differently to the 6 series - DON'T PANIC - just leave it be and it will get it's bearings.
_________________
CIC1=CC=C(C2=N[C@@H](CC(OC(C)(C)C)=O)C3=NN=C(C)N3C4=C2C(C)=C(C)S4)C=C1
Back to top
View user's profile Send private message
DancesWithWords
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 253
Location: ottawa, canada

PostPosted: Wed May 16, 2012 2:03 am    Post subject: Reply with quote

woofie wrote:
Hi, it's because the scarabeus site doesn't content source for last boinc. Did you follow this howto precisely and copy your tar file with latest boinc (which you generate with subversion) into your $DISTDIR? In default setting is /usr/portage/distfiles.


Well I'm one step closer, but have another error...

>>> Emerging (1 of 1) sci-misc/boinc-7.0.27 from my_local_overlay
* boinc-7.0.27.tar.xz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking boinc-7.0.27.tar.xz to /var/tmp/portage/sci-misc/boinc-7.0.27/work
>>> Source unpacked in /var/tmp/portage/sci-misc/boinc-7.0.27/work
>>> Preparing source in /var/tmp/portage/sci-misc/boinc-7.0.27/work/boinc-7.0.27 ...
sed: can't read configure.ac: No such file or directory
* ERROR: sci-misc/boinc-7.0.27 failed (prepare phase):
* sed failed
*
* Call stack:
* ebuild.sh, line 85: Called src_prepare
* environment, line 3123: Called die
* The specific snippet of code:
* sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed";
========================================================

Any ideas?
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Wed May 16, 2012 8:12 am    Post subject: Reply with quote

Hi, this is weird. Is your tar file build correctly? Look into it if there is configure.ac file. Try to create tar file again. My tar file build correctly and I had not this problem as you have.
_________________
Sorry for my English. It's not my native language and I'm still learning it.
Back to top
View user's profile Send private message
DancesWithWords
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 253
Location: ottawa, canada

PostPosted: Thu May 17, 2012 2:38 am    Post subject: Reply with quote

woofie wrote:
Hi, this is weird. Is your tar file build correctly? Look into it if there is configure.ac file. Try to create tar file again. My tar file build correctly and I had not this problem as you have.


New problems.

localhost boinc-stuff # sh generate_tarball.sh -v 7.0.27
<Downloading files from SVN repository>
<******************************>
svn: OPTIONS of 'http://boinc.berkeley.edu/svn/tags/boinc_core_release_7_0_27': could not connect to server (http://boinc.berkeley.edu)
<Cleaning up data we fetched>
<******************************>
generate_tarball.sh: line 57: pushd: boinc-7.0.27: No such file or directory
generate_tarball.sh: line 81: popd: directory stack empty
tar: boinc-7.0.27: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
FILE: ./boinc-7.0.27.tar.xz
SIZE: 4.0K
MD5SUM: 7f06fdbf4fd1eff94c1c85068c155c1c
SHA1SUM: 05d39f65f028a811b13092bd2ce6893c24e3c230

<<<All done>>>
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Thu May 17, 2012 7:35 am    Post subject: Reply with quote

Hi, this is because berkeley site's are temporary unavailable. We must wait until they bring them up :)
_________________
Sorry for my English. It's not my native language and I'm still learning it.
Back to top
View user's profile Send private message
DancesWithWords
Apprentice
Apprentice


Joined: 29 Jun 2002
Posts: 253
Location: ottawa, canada

PostPosted: Thu May 17, 2012 9:12 pm    Post subject: Reply with quote

woofie wrote:
Hi, this is because berkeley site's are temporary unavailable. We must wait until they bring them up :)


Roger That.
Back to top
View user's profile Send private message
Woofie
Tux's lil' helper
Tux's lil' helper


Joined: 11 Sep 2010
Posts: 82
Location: Czech Rep.

PostPosted: Fri May 18, 2012 5:39 pm    Post subject: Reply with quote

So the site is up again and new version 7.0.28 is out.
_________________
Sorry for my English. It's not my native language and I'm still learning it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum