You are not logged in.

#1 2012-04-30 15:42:19

gamer01
Member
From: Bavaria - GER
Registered: 2011-06-02
Posts: 31

[SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

i tried to install bombono-dvd

yaourt -S bombono-dvd
  • i checkd if my dependencies are installed

  • i did not edit the PKGBUILD or the bombono-dvd.install

but i get this error:

In file included from src/mgui/author/gb_devices.c:31:0:
/usr/include/glib-2.0/glib/gthread.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from src/mgui/author/gb_devices.c:32:0:
/usr/include/glib-2.0/glib/gmessages.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from src/mgui/author/gb_devices.c:33:0:
/usr/include/glib-2.0/glib/ghash.h:28:2: error: #error "Only <glib.h> can be included directly."
scons: *** [build/src/mgui/author/gb_devices.o] Error 1
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build bombono-dvd.

wich leads to the dialog if i wanna restart the build


anyone a idea how to fix it, or what might cause it?

if not i might try to install it from the source manually

Last edited by gamer01 (2012-05-09 15:08:26)

Offline

#2 2012-05-02 08:52:26

leomeloxp
Member
From: Jersey Island- UK
Registered: 2011-11-02
Posts: 13
Website

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

I got the same problem as well, but I come from a different initial error...

I had bombono-dvd installed on my computer, but after updating boostlibs to 1.49 Bombono doesn't work anymore

/me$ bombono-dvd
bombono-dvd: error while loading shared libraries: libboost_filesystem.so.1.48.0: cannot open shared object file: No such file or directory
/me$ pacman -Q boost
boost 1.49.0-2

Then I tried to recompile it, on the thought that it would update the dependencies as when I try to compile bombono-dvd it shows:

==> bombono-dvd dependencies:
 - gtk2>=2.8 (already installed)
 - gtkmm>=2.4 (already installed)
 - mjpegtools>=1.8.0 (already installed)
 - ffmpeg (already installed)
 - libdvdread (already installed)
 - dvdauthor (already installed)
 - dvd+rw-tools (already installed)
 - twolame (already installed)
 - libxml++ (already installed)

 - boost>=1.47 (already installed)

 - enca (already installed)
 - scons>=0.96 (already installed)
 - cdrkit (already installed)

Dependencies are all okay, but then:

.
.
.

gcc -o build/src/mgui/author/gb_devices.o -c -O2 -ansi -DBOOST_SP_USE_QUICK_ALLOCATOR -DBOOST_SYSTEM_NO_DEPRECATED -DNDEBUG -DEXT_BOOST -Ibuild/src -Isrc -Ilibs/boost-logging -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -DBOOST_FILESYSTEM_VERSION=2 src/mgui/author/gb_devices.c
In file included from src/mgui/author/gb_devices.c:31:0:
/usr/include/glib-2.0/glib/gthread.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from src/mgui/author/gb_devices.c:32:0:
/usr/include/glib-2.0/glib/gmessages.h:28:2: error: #error "Only <glib.h> can be included directly."
In file included from src/mgui/author/gb_devices.c:33:0:
/usr/include/glib-2.0/glib/ghash.h:28:2: error: #error "Only <glib.h> can be included directly."
scons: *** [build/src/mgui/author/gb_devices.o] Error 1
scons: building terminated because of errors.

P.S.: I couldn't downgrade boost (don't have the /var/cache files for boost 1.48 =X)
P.P.S: base-devel packages are all installed, except gcc is gcc-multilibs and same for binutils.


The hardest arithmetic to master is that which enables us to count our blessings -- Eric Hoffer.

May the source be with you =]

Offline

#3 2012-05-02 15:19:05

gamer01
Member
From: Bavaria - GER
Registered: 2011-06-02
Posts: 31

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

downgrade doesn't help for me.

i downloadet the packages

http://arm.konnichi.com/2012/02/20/extr … pkg.tar.xz
and
http://arm.konnichi.com/2012/02/20/extr … pkg.tar.xz

installed it using:

$ pacman -U boost-libs* boost*

so:

$ pacman -Q boost
boost 1.48.0-2

but i still get the same error sad

is this maybe still tu new (1.48.0-2)?

Offline

#4 2012-05-02 23:29:22

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

you need to patch bombono-dvd so it builds with latest glib2.

src/mgui/author/gb_devices.c should only include glib.h (not gthread.h, gmessages.h and ghash.h)

Offline

#5 2012-05-04 18:32:00

gamer01
Member
From: Bavaria - GER
Registered: 2011-06-02
Posts: 31

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

thanks a lot :DDD

@leomeloxp:

get the source (i just restarted the command):

yaourt -S bombono-dvd

find the source big_smile

$  sourcedir=/tmp/yaourt-tmp-$USER/aur-bombono-dvd
$  cd $sourcedir

edit the the file:

$  nano $sourcedir/src/bombono-dvd-1.2.1/src/bombono-dvd-1.2.1/src/mgui/author/gb_devices.c
...
#include "gb_devices.h"

/*                             <- insert this
#include <glib/gthread.h>
#include <glib/gmessages.h>
#include <glib/ghash.h>
*/                             <- insert this

/* 
#include <glib/gfileutils.h> 
*/ 
#include <glib.h>

#include <stdlib.h>
...

compile package:

$ makepkg -e

-e = no extract -> use our edited source

install package:

$ pacman -U bombono-dvd*

be happy xDD

@edit: correction of the last command

Last edited by gamer01 (2012-05-07 18:24:50)

Offline

#6 2012-05-04 19:02:39

gamer01
Member
From: Bavaria - GER
Registered: 2011-06-02
Posts: 31

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

i am sorry, but it's still not solved yet sad

after a short try i am facing other issues:

$  bombono-dvd

** (bombono-dvd:11382): WARNING **: get_file_contents - Failed to get contents of file [/proc/scsi/sg/devices]

** (bombono-dvd:11382): WARNING **: devices_get_scsi_device - Failed to open /proc/scsi/sg/devices

** (bombono-dvd:11382): WARNING **: get_file_contents - Failed to get contents of file [/proc/scsi/sg/devices]

** (bombono-dvd:11382): WARNING **: devices_get_scsi_device - Failed to open /proc/scsi/sg/devices

now whenever i try to open a file (either saved projects or media) i get

(bombono-dvd:11382): glibmm-CRITICAL **: 
unhandled exception (type Glib::Error) in signal handler:
domain: g_convert_error
code  : 1
what  : Invalid byte sequence in conversion input

to @stderr

bombono-dvd stays still alive, but it just doesn't open it. No GUI error, just to @stderr


is this a error caused by commenting out the lines in the sourcecode?

Offline

#7 2012-05-07 06:51:16

leomeloxp
Member
From: Jersey Island- UK
Registered: 2011-11-02
Posts: 13
Website

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

Thanks a lot gamer01, but still didn't manage to build it properly. the output of my "makepkg -e" was successful, but when I try "pacman -U bombono-dvd it doesn`t work.

/root# pacman -U bombono-dvd
loading packages...
error: 'bombono-dvd': could not find or read packages

Any further ideas?


The hardest arithmetic to master is that which enables us to count our blessings -- Eric Hoffer.

May the source be with you =]

Offline

#8 2012-05-07 18:24:07

gamer01
Member
From: Bavaria - GER
Registered: 2011-06-02
Posts: 31

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

sry, you have to add a asteriks to bombono-dvd

$  pacman -U bombono-dvd*

it's because you need the full package name, which is called bombono-dvd......

and, of course, the package you want to install must be in your $PWD (sourcedir, definded above)

Last edited by gamer01 (2012-05-07 18:46:16)

Offline

#9 2012-05-07 19:08:15

gamer01
Member
From: Bavaria - GER
Registered: 2011-06-02
Posts: 31

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

it looks like the errors come up because of my edits on the source sad

i dont have any c knowledge...

Offline

#10 2012-05-07 20:37:31

leomeloxp
Member
From: Jersey Island- UK
Registered: 2011-11-02
Posts: 13
Website

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

Oh well, no success for us then XD I don't have any C knowledge either ^^'

Hope we can see a fix soon, I really need Bombono at the moment.


The hardest arithmetic to master is that which enables us to count our blessings -- Eric Hoffer.

May the source be with you =]

Offline

#11 2012-05-09 14:14:40

sirocco
Member
Registered: 2008-03-10
Posts: 145

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

Try to bring the system into the up-to-date state and rebuild bombono-dvd 1.2.1-2.

Offline

#12 2012-05-09 15:06:27

gamer01
Member
From: Bavaria - GER
Registered: 2011-06-02
Posts: 31

Re: [SOLVED] AUR compilation of "bombono-dvd" fails with scons Error:1

thanks a lot lol

it installs perfect with yaourt and it works, as far as i checked it


i am curious what was the reason of the issue.
is there a way to find out, or can you shortly describe it?

Offline

Board footer

Powered by FluxBB