Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[pro-audio overlay] lmms-9999-r1 does not compile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
fordfrog
Developer
Developer


Joined: 01 Jan 2007
Posts: 19

PostPosted: Wed Nov 02, 2011 5:14 pm    Post subject: [pro-audio overlay] lmms-9999-r1 does not compile Reply with quote

i tried to compile lmms-9999-r1 from pro-audio overlay but it fails with this error:

Code:
# MAKEOPTS="-j1" LC_ALL="C" emerge -va1 lmms
...
[ebuild     U *] media-sound/lmms-9999-r1 [0.4.12] USE="alsa fftw fluidsynth jack ogg pulseaudio sdl stk vst -debug (-portaudio%)" 0 kB [0=>1]
...
[ 42%] Building CXX object CMakeFiles/lmms.dir/src/core/main.cpp.o
/var/tmp/portage/media-sound/lmms-9999-r1/work/lmms-9999/src/core/main.cpp:71:2: warning: #warning TODO: move somewhere else
[ 42%] Building CXX object CMakeFiles/lmms.dir/src/core/lv2_manager.cpp.o
In file included from /usr/include/slv2/world.h:26:0,
                 from /var/tmp/portage/media-sound/lmms-9999-r1/work/lmms-9999/include/lv2_manager.h:33,
                 from /var/tmp/portage/media-sound/lmms-9999-r1/work/lmms-9999/src/core/lv2_manager.cpp:35:
/usr/include/librdf.h:31:21: fatal error: raptor2.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/lmms.dir/src/core/lv2_manager.cpp.o] Error 1
make[1]: *** [CMakeFiles/lmms.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: media-sound/lmms-9999-r1 failed (compile phase):
 *   Make failed!
 *
 * Call stack:
 *     ebuild.sh, line   91:  Called src_compile
 *   environment, line 3139:  Called cmake-utils_src_compile
 *   environment, line  880:  Called _execute_optionaly 'src_compile'
 *   environment, line  333:  Called enable_cmake-utils_src_compile
 *   environment, line 1118:  Called cmake-utils_src_make
 *   environment, line  899:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
...


here is my emerge info:

Code:
# emerge --info =media-sound/lmms-9999-r1
Portage 2.1.10.32 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.1.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.0-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.1
Timestamp of tree: Wed, 02 Nov 2011 16:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r4
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo betagarden java-overlay kde-sunset proaudio sunrise x11 alice fordfrog x-portage gamerlay-stable
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 dlj-1.1 google-talkplugin Oracle-BCLA-JavaSE PUEL skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/betagarden /var/lib/layman/java-overlay /var/lib/layman/kde-sunset /var/lib/layman/pro-audio /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/alice /home/fordfrog/src/gentoo/fordfrog-overlay /usr/local/portage /var/lib/layman/gamerlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 audacious bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cvs cxx dbus device-mapper dhcpcd dia dri dts dvb dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fluidsynth fortran gcj gdbm gdu gif git glade gmplayer gphoto2 gpm gstreamer gtk gtk3 hddtemp icecast iconv id3tag inotify jack jackmidi jpeg jpeg2k ladspa lame laptop lash lcms libnotify libsamplerate libv4l libv4l2 lm_sensors lv2 mad mercurial midi mikmod mmx mng modules mp3 mp4 mpd mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pango pcre pdf pgo png policykit ppds pppd pulseaudio qt3support qt4 readline sdl session shout slang smp sndfile speex spell sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs theora tiff timidity truetype udev unicode usb v4l v4l2 vhosts vorbis wavpack webkit wifi wmf x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel oxygen usb-audio" 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="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="dibusb-usb1 dibusb-usb2" 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" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" NETBEANS_MODULES="*" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="canon canon630u canon_dr canon_pp" USERLAND="GNU" VIDEO_CARDS="radeon r600" XFCE_PLUGINS="brightness logout menu trash" 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, PORTAGE_RSYNC_EXTRA_OPTS


i have raptor installed:

Code:
# equery list raptor
 * Searching for raptor ...
[IP-] [  ] media-libs/raptor-2.0.4:2


and the needed file is in place:

Code:
# ls -l `equery files raptor | grep raptor2.h`
-rw-r--r-- 1 root root 65917  7. srp 10.51 /usr/include/raptor2/raptor2.h


as i have no experience with cmake, i have no idea what's wrong and how to fix it. any ideas?

PS: tried to register to pro-audio bug tracker but it did not send me any email with password so prevented me (and possibly others) from registering there and filing bug directly there.

edit:

i found out the problem is some header files of lmms dependencies contain lines like #include <raptor2.h> etc but these cannot be found. as i am not experieced with cmake and make, i just modified paths to included header files in following files to make lmms compile:

Code:

dev-libs/redland
/usr/include/librdf.h
/usr/include/rdf_log.h
/usr/include/rdf_init.h
/usr/include/rdf_serializer.h
/usr/include/rdf_utf8.h

dev-libs/rasqal
/usr/include/rasqal/rasqal.h

media-libs/raptor
/usr/include/raptor2/raptor.h


now lmms compiles fine, but it's definitely not clean solution
_________________
Gentoo Java Team
Netbeans ebuild maintainer
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Wed Nov 09, 2011 6:02 pm    Post subject: Re: [pro-audio overlay] lmms-9999-r1 does not compile Reply with quote

fordfrog wrote:


i found out the problem is some header files of lmms dependencies contain lines like #include <raptor2.h> etc but these cannot be found. as i am not experieced with cmake and make, i just modified paths to included header files in following files to make lmms compile:

Code:

dev-libs/redland
/usr/include/librdf.h
/usr/include/rdf_log.h
/usr/include/rdf_init.h
/usr/include/rdf_serializer.h
/usr/include/rdf_utf8.h

dev-libs/rasqal
/usr/include/rasqal/rasqal.h

media-libs/raptor
/usr/include/raptor2/raptor.h


now lmms compiles fine, but it's definitely not clean solution


What file did you modify? Can you send me your modified source tarball? I'm asking because I host modified pro-audio ebuilds and sources and I'd like to add it to my collection (here).
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Nov 10, 2011 12:43 am    Post subject: Re: [pro-audio overlay] lmms-9999-r1 does not compile Reply with quote

fordfrog wrote:
...
PS: tried to register to pro-audio bug tracker but it did not send me any email with password so prevented me (and possibly others) from registering there and filing bug directly there.

fordfrog, I have just reset your password on pro-audio bug tracker. You should have a new email for your password, now.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
fordfrog
Developer
Developer


Joined: 01 Jan 2007
Posts: 19

PostPosted: Thu Nov 10, 2011 12:43 pm    Post subject: Re: [pro-audio overlay] lmms-9999-r1 does not compile Reply with quote

audiodef wrote:
fordfrog wrote:


i found out the problem is some header files of lmms dependencies contain lines like #include <raptor2.h> etc but these cannot be found. as i am not experieced with cmake and make, i just modified paths to included header files in following files to make lmms compile:

Code:

dev-libs/redland
/usr/include/librdf.h
/usr/include/rdf_log.h
/usr/include/rdf_init.h
/usr/include/rdf_serializer.h
/usr/include/rdf_utf8.h

dev-libs/rasqal
/usr/include/rasqal/rasqal.h

media-libs/raptor
/usr/include/raptor2/raptor.h


now lmms compiles fine, but it's definitely not clean solution


What file did you modify? Can you send me your modified source tarball? I'm asking because I host modified pro-audio ebuilds and sources and I'd like to add it to my collection (here).


i modified the mentioned file from packages dev-libs/redland, dev-libs/rasqal and media-libs/raptor. also, i modified the header files directly on my system. i did not modify lmms sources at all.

keenblade wrote:

fordfrog wrote:

...
PS: tried to register to pro-audio bug tracker but it did not send me any email with password so prevented me (and possibly others) from registering there and filing bug directly there.


fordfrog, I have just reset your password on pro-audio bug tracker. You should have a new email for your password, now.


thanks, but i did not notice any mail that would arrive. basically, the problem is that when i request any action on the bug system that should generate a mail, no mail arrives to me. i have no idea whether it is problem just with me or the bug system does not send emails at all.
_________________
Gentoo Java Team
Netbeans ebuild maintainer
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1087

PostPosted: Thu Nov 10, 2011 6:56 pm    Post subject: Re: [pro-audio overlay] lmms-9999-r1 does not compile Reply with quote

fordfrog wrote:

thanks, but i did not notice any mail that would arrive. basically, the problem is that when i request any action on the bug system that should generate a mail, no mail arrives to me. i have no idea whether it is problem just with me or the bug system does not send emails at all.

fordfrog, I have upgraded the bug tracker to the latest (mantis-1.2.8). And again I have reset your password. You should have your password in your mailbox.
I tested; creating a new user sends the mail. Also resetting a user password sends the mail correctly here, too.
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Sat Mar 24, 2012 12:57 am    Post subject: Reply with quote

For me, it ends thus:

Code:

Scanning dependencies of target RemoteZynAddSubFx
[ 97%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/RemoteZynAddSubFx.o
[ 97%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/MasterUI.o
[ 97%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/VirKeyboard.o
[ 97%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/ConfigUI.o
[ 97%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/OscilGenUI.o
[ 98%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/WidgetPDial.o
[ 98%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/ResonanceUI.o
[ 98%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/MicrotonalUI.o
[ 98%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/ADnoteUI.o
[ 98%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/PresetsUI.o
/var/tmp/portage/media-sound/lmms-0.4.13/work/lmms-0.4.13/plugins/zynaddsubfx/src/UI/PresetsUI.cc: In member function 'void PresetsUI::rescan()':
/var/tmp/portage/media-sound/lmms-0.4.13/work/lmms-0.4.13/plugins/zynaddsubfx/src/UI/PresetsUI.cc:266:44: warning: comparison between signed and unsigned integer expressions
[ 99%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/EffUI.o
[ 99%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/FilterUI.o
[ 99%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/PartUI.o
[ 99%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/EnvelopeUI.o
[ 99%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/LFOUI.o
[ 99%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/SeqUI.o
[100%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/PADnoteUI.o
[100%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/SUBnoteUI.o
[100%] Building CXX object plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/src/UI/BankUI.o
make[2]: *** No rule to make target `/usr/lib64/libfltk_images.so', needed by `plugins/zynaddsubfx/RemoteZynAddSubFx'.  Stop.
make[1]: *** [plugins/zynaddsubfx/CMakeFiles/RemoteZynAddSubFx.dir/all] Error 2
make: *** [all] Error 2
emake failed

_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
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
Page 1 of 1

 
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