Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge libmowgli-0.7.0 (needed for audacious) fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
toaster666
n00b
n00b


Joined: 17 Apr 2004
Posts: 41
Location: Berlin

PostPosted: Mon Mar 16, 2009 12:52 pm    Post subject: [SOLVED] emerge libmowgli-0.7.0 (needed for audacious) fails Reply with quote

Hi,

I'm running Gentoo on a MacBook Pro v3. When trying to emerge audacious I get the following error when libmowgli should be emerged:

Code:

>>> Emerging (1 of 1) dev-libs/libmowgli-0.7.0
 * libmowgli-0.7.0.tbz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                             [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                            [ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
>>> Unpacking source...
>>> Unpacking libmowgli-0.7.0.tbz2 to /var/tmp/portage/dev-libs/libmowgli-0.7.0/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libmowgli-0.7.0/work
>>> Compiling source in /var/tmp/portage/dev-libs/libmowgli-0.7.0/work/libmowgli-0.7.0 ...
 * econf: updating libmowgli-0.7.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libmowgli-0.7.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-examples --build=i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for library containing strerror... none required
checking for shared library system... POSIX
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for an ANSI C-conforming const... yes
checking whether closedir returns void... no
checking for memset... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtod... yes
checking for printf... yes
checking for sprintf... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for mmap... yes
checking for gettimeofday... yes
checking for strndup... yes
checking for strlcpy... no
checking for strlcat... no
checking for epoll_ctl... yes
checking for port_create... no
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for dlopen in -ldl... yes
configure: creating ./config.status
config.status: creating buildsys.mk
config.status: creating extra.mk
config.status: creating libmowgli.pc
config.status: creating src/libmowgli/mowgli_config.h

Configuration:
   No special features yet.

Now type "make" to build, and "make install" to install.
Thank you for using libmowgli.

make
buildsys.mk:125: *** missing target pattern.  Stop.
 *
 * ERROR: dev-libs/libmowgli-0.7.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line   94:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/libmowgli-0.7.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libmowgli-0.7.0/temp/environment'.
 *


Any suggestions?


Last edited by toaster666 on Mon Mar 23, 2009 8:28 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Mar 16, 2009 2:28 pm    Post subject: Reply with quote

Well, how exactly does the invalid line look for you ?
Back to top
View user's profile Send private message
toaster666
n00b
n00b


Joined: 17 Apr 2004
Posts: 41
Location: Berlin

PostPosted: Mon Mar 16, 2009 2:53 pm    Post subject: Reply with quote

Okay, I've found out the following:

Line 125 in buildsys.mk is
Code:

${LIB} ${LIB_NOINST}: ${EXT_DEPS} ${OBJS}


I searched for LIB and found that it was not defined in this file.
I then set LIB to ${PACKAGE} (which is set as 'libmowgli') and run make to see what happens.
It compiled and linked 'libmowgli' (which should 'libmowgli.so.1' or so).

So it seems the created buildsys.mk is incomplete.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Mar 16, 2009 4:25 pm    Post subject: Reply with quote

Actually, it's set in the src/libmowgli/Makefile, but for some reason, for you it's not.

I've got no better idea, so 'emerge --info'. please.
Back to top
View user's profile Send private message
toaster666
n00b
n00b


Joined: 17 Apr 2004
Posts: 41
Location: Berlin

PostPosted: Mon Mar 16, 2009 8:38 pm    Post subject: Reply with quote

Here it goes...

Code:

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.2.4, glibc-2.6.1-r0, 2.6.28-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-glibc2.0
Timestamp of tree: Mon, 16 Mar 2009 08:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
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="/usr/portage/local/layman/desktop-effects"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a-like-o a52 aac acl acpi additions alsa apache2 aspell avahi bash-completion berkdb bluetooth branding bzip2 cairo cddb cdparanoia cdr chardet cli cracklib crypt cups curl daap dbus devil dga dhclient directfb dri dts dvd dvdr dvdread dynamic eds encode evo fat fbcon fbcondecor fbsplash ffmpeg fftw firefox flac fortran gdbm gif gimpprint glitz gnome gnome-keyring gnomecd gphoto2 gpm gs gsm gstreamer gtk gtkhtml hal hddtemp hfs ibam iconv id3tag ieee1394 imagemagick imap imlib injection ipod ipv6 irda isdnlog isight java javascript jpeg jpeg2k kqemu lame langpacks latex lcms ldap libnotify libsamplerate lirc lm_sensors macbook mad madwifi mdnsresponder-compat midi mikmod mmx mmxext mng mozdevelop mp2 mp3 mp4 mpeg mplayer mtp mudflap musepack musicbrainz nautilus ncurses networkmanager nfs nls nptl nptlonly nsplugin ntfs ntp nvidia obex objc objc++ objc-gc offensive ogg opengl openmp pam pcre pdf perl physfs png pppd python qt-static quicktime readline reflection replytolist samba sdl sdl-image sdl-sound sdlaudio sensord session smp sndfile speex spell spl sse sse2 ssl ssse3 svg svga symlink sysfs syslog tagwriting tcpd tga theora tiff timidity truetype unicode usb v4l v4l2 vcd vidix vim-syntax vorbis vorbis-psy wav wavpack wifi win32codecs wma wmf x264 x86 xcb xcomposite xine xinerama xml xorg xrandr xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="inputlirc macmini" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


The Makefile contains the following:

Code:

SUBDIRS = src
DISTCLEAN = extra.mk buildsys.mk config.log config.status libmowgli.pc

include buildsys.mk

install-extra:
        i="libmowgli.pc"; \
        ${INSTALL_STATUS}; \
        if ${MKDIR_P} ${DESTDIR}${libdir}/pkgconfig && ${INSTALL} -m 644 $$i ${DESTDIR}${libdir}/pkgconfig/$$i; then \
                ${INSTALL_OK}; \
        else \
                ${INSTALL_FAILED}; \
        fi

uninstall-extra:
        i="libmowgli.pc"; \
        if [ -f ${DESTDIR}${libdir}/pkgconfig/$$i ]; then \
                if rm -f ${DESTDIR}${libdir}/pkgconfig/$$i; then \
                        ${DELETE_OK}; \
                else \
                        ${DELETE_FAILED}; \
                fi \
        fi
Back to top
View user's profile Send private message
toaster666
n00b
n00b


Joined: 17 Apr 2004
Posts: 41
Location: Berlin

PostPosted: Sun Mar 22, 2009 11:37 pm    Post subject: Reply with quote

It must be something with the environment. When trying to make a configured libmowgli on my MBP the error occurs. When rsyncing the configured directory to my desktop box (athlon x2) it makes normally.

Any suggestions where to search? make is 3.81 on both machines.

When running make with -d I can see that on my desktop box make sources src/Makefile and src/libmowgli/Makefile (which then defines "LIB"). On my MBP it does not source the src/Makefile but gives the error.
Back to top
View user's profile Send private message
toaster666
n00b
n00b


Joined: 17 Apr 2004
Posts: 41
Location: Berlin

PostPosted: Mon Mar 23, 2009 8:27 am    Post subject: Solved Reply with quote

I found the problem. In my environment there is LIB set to '/path/to/a/sybase/:'. When make reads the buildsys.mk it uses the LIB from environment first (because the correct value ist not yet set) and because of the ':' it thinks it should be a static pattern rule (http://www.gnu.org/software/automake/manual/make/Static-Usage.html#Static-Usage).

When unsetting LIB it works.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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