Gentoo OSS4 overlay

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

Re: Gentoo OSS4 overlay

Postby cesium » Mon Jun 07, 2010 8:16 pm

Do you have linux26-headers and/or the kernel source emerged? For some reason /lib/modules/$(uname -r)/build/Makefile doesn't exist on your system..
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Gentoo OSS4 overlay

Postby babau » Tue Jun 08, 2010 3:14 pm

unmerged all alsa related packages
-alsa in make.conf
emerge -auDN world
updated to gentoo-sources-2.6.34 and all worked fine

and all worked fine thanks

btw oss is great
babau
New Member
 
Posts: 3
Joined: Wed Jun 02, 2010 3:22 pm

Re: Gentoo OSS4 overlay

Postby angry_vincent » Wed Jun 09, 2010 4:58 am

Can gentoo oss-overlay maintainers bump skype-oss ebuild for supporting >=oss-4.2-build-2003. There is block between 4.1, required for skype and later oss4 builds.
angry_vincent
Member
 
Posts: 18
Joined: Tue Dec 01, 2009 3:35 pm

Re: Gentoo OSS4 overlay

Postby musv » Wed Sep 22, 2010 1:12 pm

Ok, that's very late and wouldn't help the poster anymore. But maybe anyone else runs into the same problems.

revdep-rebuild rebuilds external kernel modules, e.g. nvidia-kernel, open-afs, vmware-modules e.t.c. For oss4 that script isn't working. Oss4 rebuilds the modules on his own when booting with a new kernel.

igorzwx wrote:Have anybody managed to recompile OSS4 for Gentoo, to enable "Production quality"?

I shouldn't be difficult. You just have to split the emerge process:

1. Go into the ebuild directory. In my case it's /usr/portage/local/overlay/layman/oss-overlay/media-sound/oss-devel:
2.
Code: Select all
ebuild oss-devel-9999.ebuild unpack
cd /var/tmp/portage/media-sound/oss-devel

3. make your changes in the code
4. go back to the ebuild directory
5.
Code: Select all
ebuild oss-devel-9999.ebuild compile
ebuild oss-devel-9999.ebuild install
ebuild oss-devel-9999.ebuild qmerge
musv
Member
 
Posts: 12
Joined: Tue Oct 14, 2008 12:00 pm

Re: Gentoo OSS4 overlay

Postby angry_vincent » Thu Oct 14, 2010 5:43 pm

Hello!
i getting compile errors with latest oss updates (oss-devel-9999 form oss-overlay). Here is the error:

http://paste.pocoo.org/show/275502
angry_vincent
Member
 
Posts: 18
Joined: Tue Dec 01, 2009 3:35 pm

Re: Gentoo OSS4 overlay

Postby cesium » Fri Oct 15, 2010 2:45 am

You can delete the contributions/ dir or add a ".nomake" file in it before running the configure step - that should make the build work.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Gentoo OSS4 overlay

Postby angry_vincent » Fri Oct 15, 2010 5:51 am

cesium wrote:You can delete the contributions/ dir or add a ".nomake" file in it before running the configure step - that should make the build work.

Sure, I can but i'd like to see upstream developers , ebuild and oss-overlay maintainers do this. If I modify it will work locally but next time i sync the overlay and ebuild is not updated I'll face this problem again, so it' better to have everything fixed.
angry_vincent
Member
 
Posts: 18
Joined: Tue Dec 01, 2009 3:35 pm

Re: Gentoo OSS4 overlay

Postby DistantStar » Sat Oct 16, 2010 9:04 pm

I'm getting the same error as angry_vincent.

cesium wrote:You can delete the contributions/ dir or add a ".nomake" file in it before running the configure step - that should make the build work.


How exactly would you do these two? I tried

Code: Select all
rm -R /var/tmp/portage/media-sound/oss-devel-9999/work/build/contributions/


but the build recreates the contributions directory. There must be something in the ebuild or build where we need to keep from building the directory altogether.
DistantStar
New Member
 
Posts: 1
Joined: Sat Oct 16, 2010 8:53 pm

Re: Gentoo OSS4 overlay

Postby cesium » Sun Oct 17, 2010 6:31 pm

What happens if you edit the ebuild and add that line (before the configure step)?

Btw, I emailed the list and asked the devs to fix this... You may consider emailing 4front too.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Gentoo OSS4 overlay

Postby hash » Thu Nov 18, 2010 10:54 am

Sadly it appears oss-overlay arn't maintained any more. :(

oss-devel no longer willing to compile not even configure are working:
Code: Select all
# emerge oss-devel
--- Unmatch removal atom(s) in /var/lib/layman/wolf31o2/profiles/package.mask: -dev-python/pygoogle, -net-firewall/arno-iptables-firewall
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-sound/oss-devel-9999 from oss-overlay
* Package:    media-sound/oss-devel-9999
* Repository: oss-overlay
* USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
* Updating /usr/portage/distfiles/hg-src/oss-devel/opensound from http://opensound.hg.sourceforge.net:8000/hgroot/opensound/opensound
* Creating working directory in /var/tmp/portage/media-sound/oss-devel-9999/work/build (target revision: tip)
* Work directory: /var/tmp/portage/media-sound/oss-devel-9999/work/build global id: 232d0de71550 branch: default
mkdir: cannot create directory `/var/tmp/portage/media-sound/oss-devel-9999/work/build': File exists
* Replacing init script with gentoo friendly one...
cp: cannot create regular file `/var/tmp/portage/media-sound/oss-devel-9999/work/opensound/setup/Linux/oss/etc/S89oss': No such file or directory
>>> Source unpacked in /var/tmp/portage/media-sound/oss-devel-9999/work
>>> Compiling source in /var/tmp/portage/media-sound/oss-devel-9999/work/build ...
* Running configure...
/var/tmp/portage/media-sound/oss-devel-9999/temp/environment: line 2687: /var/tmp/portage/media-sound/oss-devel-9999/work/opensound/configure: No such file or directory
* ERROR: media-sound/oss-devel-9999 failed:
*   configure failed
*
* Call stack:
*     ebuild.sh, line  56:  Called src_compile
*   environment, line 2687:  Called die
* The specific snippet of code:
*       "${WORKDIR}/opensound/configure" || die "configure failed";
*
* If you need support, post the output of 'emerge --info =media-sound/oss-devel-9999',
* the complete build log and the output of 'emerge -pqv =media-sound/oss-devel-9999'.
* This ebuild is from an overlay named 'oss-overlay': '/var/lib/layman/oss-overlay/'
* The complete build log is located at '/var/tmp/portage/media-sound/oss-devel-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/oss-devel-9999/temp/environment'.
* S: '/var/tmp/portage/media-sound/oss-devel-9999/work/build'

>>> Failed to emerge media-sound/oss-devel-9999, Log file:

>>>  '/var/tmp/portage/media-sound/oss-devel-9999/temp/build.log'

* Messages for package media-sound/oss-devel-9999:

* ERROR: media-sound/oss-devel-9999 failed:
*   configure failed
*
* Call stack:
*     ebuild.sh, line  56:  Called src_compile
*   environment, line 2687:  Called die
* The specific snippet of code:
*       "${WORKDIR}/opensound/configure" || die "configure failed";
*
* If you need support, post the output of 'emerge --info =media-sound/oss-devel-9999',
* the complete build log and the output of 'emerge -pqv =media-sound/oss-devel-9999'.
* This ebuild is from an overlay named 'oss-overlay': '/var/lib/layman/oss-overlay/'
* The complete build log is located at '/var/tmp/portage/media-sound/oss-devel-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-sound/oss-devel-9999/temp/environment'.
* S: '/var/tmp/portage/media-sound/oss-devel-9999/work/build'
Code: Select all
# emerge --info =media-sound/oss-devel-9999
--- Unmatch removal atom(s) in /var/lib/layman/wolf31o2/profiles/package.mask: -dev-python/pygoogle, -net-firewall/arno-iptables-firewall
Portage 2.2.0_alpha4 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-pf1 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-pf1-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 18 Nov 2010 05:00:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.4
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
Repositories: gentoo kde sunrise vmware oss-overlay portato xfce-dev mozilla kde-sunset gnome zugaina wolf31o2 sping x11 dev-zero gnome-live kuroo desktop-effects local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/oss/soundon.user /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ http://ftp.df.lth.se/pub/gentoo/"
LANG="C"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j5"
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/kde /var/lib/layman/sunrise /var/lib/layman/vmware /var/lib/layman/oss-overlay /var/lib/layman/portato /var/lib/layman/xfce-dev /var/lib/layman/mozilla /var/lib/layman/kde-sunset /var/lib/layman/gnome /var/lib/layman/zugaina /var/lib/layman/wolf31o2 /var/lib/layman/sping /var/lib/layman/x11 /var/lib/layman/dev-zero /var/lib/layman/gnome-live /var/lib/layman/kuroo /var/lib/layman/desktop-effects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 ace acl acpi animation-rtl apng audacious avfs bash-completion berkdb bluetooth btrfs bzip2 cairo cdr chdir cleartype cli colordiff compiz consolekit cracklib cups cxx dbus djvu dri dts dvd dvdr emboss emerald encode exif faac fam fbcon fbcondecor ffmpeg flac fortran fuse gdbm gecko gif gimp git glitz gmail gmenu gpm gs gstreamer gtk gzip hal iconv imagemagick imlib imlib2 jbig jpeg jpeg2k lame lcms libnotify libsamplerate lm_sensors lzo mad mail mikmod mmx mng modules mp3 mp4 mpeg mudflap musepack nano-syntax ncurses nls nptl nptlonly nsplugin ogg opengl openmp oss oss4 pam pango pcre pdf perl plotutils png postscript ppds pppd ps python qt-copy qt3support rar rdesktop readline samba sasl session slang smbsharemodes speex spell sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification subversion svg sysfs systray t1lib tcpd tgif tiff truetype unicode usb utf8 vdpau vnc vorbis wavpack webkit win32codecs winbind winpopup wma x264 x86 xcb xcomposite xfce xklavier xml xorg xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="emu10k1 emu10k1x usb-audio usb-us122l usb-usx2y" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-sound/oss-devel-9999 was built with the following:
USE=""
LDFLAGS="-Wl,--as-needed"
It appears the was some reorganizations in source and ebuild needs to be changed.

Also skype-oss is depend only on sound-media/oss and ebuild needs to be changed to accept sound-media/oss-devel also.
hash
Member
 
Posts: 10
Joined: Thu Nov 18, 2010 10:38 am

Re: Gentoo OSS4 overlay

Postby cesium » Thu Nov 18, 2010 11:28 pm

Err.. IIRC source hasn't changed that much. The hg server address has. Can you check if the ebuild's pulling from the repo works?
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: Gentoo OSS4 overlay

Postby hash » Fri Nov 19, 2010 1:58 pm

Here is ebuild unpack:
Code: Select all
# LANG=C ebuild /var/lib/layman/oss-overlay/media-sound/oss-devel/oss-devel-9999.ebuild unpack
--- Unmatch removal atom(s) in /var/lib/layman/wolf31o2/profiles/package.mask: -dev-python/pygoogle, -net-firewall/arno-iptables-firewall
* checking ebuild checksums ;-) ...                                   [ ok ]
* checking auxfile checksums ;-) ...                                  [ ok ]
* checking miscfile checksums ;-) ...                                 [ ok ]
* Package:    media-sound/oss-devel-9999
* Repository: oss-overlay
* USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
* Cloning http://opensound.hg.sourceforge.net:8000/hgroot/opensound/opensound to /usr/portage/distfiles/hg-src/oss-devel/opensound
* Creating working directory in /var/tmp/portage/media-sound/oss-devel-9999/work/build (target revision: tip)
* Work directory: /var/tmp/portage/media-sound/oss-devel-9999/work/build global id: 232d0de71550 branch: default
mkdir: cannot create directory `/var/tmp/portage/media-sound/oss-devel-9999/work/build': File exists
* Replacing init script with gentoo friendly one...
cp: cannot create regular file `/var/tmp/portage/media-sound/oss-devel-9999/work/opensound/setup/Linux/oss/etc/S89oss': No such file or directory
>>> Source unpacked in /var/tmp/portage/media-sound/oss-devel-9999/work
As can be seen it have successfully cloned repo.
hash
Member
 
Posts: 10
Joined: Thu Nov 18, 2010 10:38 am

Re: Gentoo OSS4 overlay

Postby angry_vincent » Mon Nov 22, 2010 12:46 am

Any fixes? Still unable to emerge oss-devel.Getting the same error.
angry_vincent
Member
 
Posts: 18
Joined: Tue Dec 01, 2009 3:35 pm

Re: Gentoo OSS4 overlay

Postby Michal » Tue Nov 23, 2010 6:03 am

I'm going to fix that today.

edit:
I've fixed the oss-devel-9999 ebuild.
Gentoo ~AMD64 | Audacious
Michal
Member
 
Posts: 16
Joined: Sat Sep 22, 2007 1:29 pm
Location: Lublin, POL

Re: Gentoo OSS4 overlay

Postby angry_vincent » Tue Nov 23, 2010 6:28 am

Already fixed. Thx
angry_vincent
Member
 
Posts: 18
Joined: Tue Dec 01, 2009 3:35 pm

PreviousNext

Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest