LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 05-31-2012, 03:18 AM   #1
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Rep: Reputation: 6
Cant emerge SED and having other trouble after system update


Hello,

I recently updated everything using:

Code:
emerge --update --deep --with-bdeps=y --newuse world
And how Im having some trouble.

My biggest problem is that I lost the use of handbrake(which I compiled from source before with no issues).

Now when I try to compile it I get stuck at:
Code:
set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/usr/bin/gcc CFLAGS="" CXX=/usr/bin/g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" PKG_CONFIG_PATH="/bigdrive/Linux Programs/sources/hb-trunk/build/contrib/lib/pkgconfig" ./configure --prefix=/bigdrive/Linux Programs/sources/hb-trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
autoreconf-2.68: Entering directory `.'
autoreconf-2.68: configure.in: not using Gettext
autoreconf-2.68: running: aclocal --force 
autoreconf-2.68: configure.in: tracing
autoreconf-2.68: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
libtoolize: copying file `autotools/ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf-2.68: running: /usr/bin/autoconf-2.68 --force
autoreconf-2.68: running: /usr/bin/autoheader-2.68 --force
autoreconf-2.68: running: automake --add-missing --copy --force-missing
liba52/Makefile.am:1: `CFLAGS' is a user variable, you should not override it;
liba52/Makefile.am:1: use `AM_CFLAGS' instead.
src/Makefile.am:1: `CFLAGS' is a user variable, you should not override it;
src/Makefile.am:1: use `AM_CFLAGS' instead.
autoreconf-2.68: Leaving directory `.'
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: Programs/sources/hb-trunk/build/contrib/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... Invalid configuration `Programs/sources/hb-trunk/build/contrib/': machine `Programs/sources/hb' not recognized
configure: error: /bin/sh autotools/config.sub Programs/sources/hb-trunk/build/contrib/ failed
make: *** [contrib/a52dec/.stamp.configure] Error 1
I had this problem before and fixed it with running WANT_AUTOMAKE=1.11 but its not working now.

My other problem that I think is connected is that I cannot compile SED.

I get this:
Code:
>>> Emerging (1 of 1) sys-apps/sed-4.2.1
 * sed-4.2.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                          [ ok ]
>>> Unpacking source...
>>> Unpacking sed-4.2.1.tar.bz2 to /var/tmp/portage/sys-apps/sed-4.2.1/work                                                          
 * Applying sed-4.1.5-alloca.patch ...                                                                                        [ ok ] 
>>> Source unpacked in /var/tmp/portage/sys-apps/sed-4.2.1/work                                                                      
>>> Compiling source in /var/tmp/portage/sys-apps/sed-4.2.1/work/sed-4.2.1 ...                                                       
 * econf: updating sed-4.2.1/build-aux/config.guess with /usr/share/gnuconfig/config.guess                                           
 * econf: updating sed-4.2.1/build-aux/config.sub with /usr/share/gnuconfig/config.sub                                               
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --bindir=/bin --enable-acl --enable-nls            
checking for a BSD-compatible install... /usr/bin/install -c                                                                         
checking whether build environment is sane... yes                                                                                    
checking for a thread-safe mkdir -p... /bin/mkdir -p                                                                                 
checking for gawk... gawk                                                                                                            
checking whether make sets $(MAKE)... yes                                                                                            
checking for x86_64-pc-linux-gnu-gcc... x86_64-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 x86_64-pc-linux-gnu-gcc accepts -g... yes                                                                           
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed                                                         
checking for style of include used by make... GNU                                                                                    
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3                                                                         
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib                                                                
checking build system type... x86_64-pc-linux-gnu                                                                                    
checking host system type... x86_64-pc-linux-gnu                                                                                     
checking how to run the C preprocessor... x86_64-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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for inline... inline
checking for working alloca.h... yes
checking for alloca... yes
checking for btowc... yes
checking for gettimeofday... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mbrlen... yes
checking for mprotect... yes
checking for pathconf... yes
checking for isblank... yes
checking for iswctype... yes
checking for wcscoll... yes
checking for wcrtomb... yes
checking for wctob... yes
checking for iswcntrl... yes
checking for isatty... yes
checking for bcopy... yes
checking for bzero... yes
checking for isascii... yes
checking for memcpy... yes
checking for memset... yes
checking for strchr... yes
checking for strtoul... yes
checking for popen... yes
checking for fchown... yes
checking for fchmod... yes
checking for setlocale... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... none
checking whether system is Windows or MSDOS... no
checking whether // is distinct from /... no
checking whether the preprocessor supports include_next... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for unistd.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking for complete errno.h... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking whether getdelim is declared... yes
checking whether getline is declared... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking for C/C++ restrict keyword... __restrict
checking for struct timeval... yes
checking whether getc_unlocked is declared... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for mbstate_t... yes
checking for a traditional japanese locale... ja_JP
checking for a transitional chinese locale... none
checking for a french Unicode locale... none
checking whether mbrtowc handles incomplete characters... yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking for memchr... yes
checking whether memchr works... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing setfilecon... (cached) no
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for long long int... yes
checking for unsigned long long int... yes
checking for working strerror function... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether stat file-mode macros are broken... no
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking for wint_t... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for library containing acl_get_file... no
checking for acl... no
checking for getacl... no
checking for aclx_get... no
checking for statacl... no
configure: error: ACLs enabled but support not detected

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/sed-4.2.1/work/sed-4.2.1/config.log
 * ERROR: sys-apps/sed-4.2.1 failed (compile phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_compile
 *        environment, line 2200:  Called econf '--bindir=/bin' '--enable-acl' '--enable-nls'
 *   phase-helpers.sh, line  467:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/sed-4.2.1',
 * the complete build log and the output of 'emerge -pqv =sys-apps/sed-4.2.1'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/sed-4.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sed-4.2.1/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/sed-4.2.1/work/sed-4.2.1'

>>> Failed to emerge sys-apps/sed-4.2.1, Log file:

>>>  '/var/tmp/portage/sys-apps/sed-4.2.1/temp/build.log'

 * Messages for package sys-apps/sed-4.2.1:

 * ERROR: sys-apps/sed-4.2.1 failed (compile phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_compile
 *        environment, line 2200:  Called econf '--bindir=/bin' '--enable-acl' '--enable-nls'
 *   phase-helpers.sh, line  467:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/sed-4.2.1',
 * the complete build log and the output of 'emerge -pqv =sys-apps/sed-4.2.1'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/sed-4.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/sed-4.2.1/temp/environment'.
 * S: '/var/tmp/portage/sys-apps/sed-4.2.1/work/sed-4.2.1'

 * IMPORTANT: 9 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Ive been looking online for 2 days and trying to find an answer to whats wrong but at this point dont even know in what direction to go.

Any ideas and thank you in advance.
 
Old 05-31-2012, 09:07 AM   #2
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Original Poster
Rep: Reputation: 6
I got SED to emerge by removing static from my make.conf.

Still having the same problem with handbrake.

Code:
set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/usr/bin/gcc CFLAGS="" CXX=/usr/bin/g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" PKG_CONFIG_PATH="/bigdrive/build/hb-trunk/build/contrib/lib/pkgconfig" ./configure --prefix=/bigdrive/build/hb-trunk/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static
autoreconf-2.68: Entering directory `.'
autoreconf-2.68: configure.in: not using Gettext
autoreconf-2.68: running: aclocal  --output=aclocal.m4t
aclocal: macro `_LT_DECL_SED' required but not defined
aclocal: macro `_LT_FUNC_STRIPNAME_CNF' required but not defined
autoreconf-2.68: aclocal failed with exit status: 1
make: *** [contrib/a52dec/.stamp.configure] Error 1
 
Old 05-31-2012, 09:43 AM   #3
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 271

Original Poster
Rep: Reputation: 6
I finally got part of it to compile by running
Code:
export WANT_AUTOMAKE=1.11
(wasnt working when I had SED trouble)

But now Im stuck at another point.

Its asking for fribidi, which I have installed but the installer cant seem to find it.

Code:
make[2]: Leaving directory `/bigdrive/build/hb-trunk/build/contrib/libass/libass-0.10.0-1'
make[1]: Leaving directory `/bigdrive/build/hb-trunk/build/contrib/libass/libass-0.10.0-1'
/bin/rm -f ./contrib/libass/.stamp.build
make -C ./contrib/libass/libass-0.10.0-1/
make[1]: Entering directory `/bigdrive/build/hb-trunk/build/contrib/libass/libass-0.10.0-1'
make  all-recursive
make[2]: Entering directory `/bigdrive/build/hb-trunk/build/contrib/libass/libass-0.10.0-1'
Making all in libass
make[3]: Entering directory `/bigdrive/build/hb-trunk/build/contrib/libass/libass-0.10.0-1/libass'
  CC     ass.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I/bigdrive/build/hb-trunk/build/contrib/include/freetype2 -I/bigdrive/build/hb-trunk/build/contrib/include -I/bigdrive/build/hb-trunk/build/contrib/include -c -o ass.lo ass.c
  CC     ass_cache.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I/bigdrive/build/hb-trunk/build/contrib/include/freetype2 -I/bigdrive/build/hb-trunk/build/contrib/include -I/bigdrive/build/hb-trunk/build/contrib/include -c -o ass_cache.lo ass_cache.c
  CC     ass_font.lo
/bin/sh ../libtool --silent --tag=CC   --mode=compile /usr/bin/gcc -DHAVE_CONFIG_H -I. -I..    -Wall -I/bigdrive/build/hb-trunk/build/contrib/include/freetype2 -I/bigdrive/build/hb-trunk/build/contrib/include -I/bigdrive/build/hb-trunk/build/contrib/include -c -o ass_font.lo ass_font.c
In file included from /usr/include/fribidi/fribidi.h:35:0,
                 from ass_shaper.h:24,
                 from ass_font.c:35:
/usr/include/fribidi/fribidi-common.h:65:20: fatal error: glib.h: No such file or directory
compilation terminated.
make[3]: *** [ass_font.lo] Error 1
make[3]: Leaving directory `/bigdrive/build/hb-trunk/build/contrib/libass/libass-0.10.0-1/libass'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/bigdrive/build/hb-trunk/build/contrib/libass/libass-0.10.0-1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/bigdrive/build/hb-trunk/build/contrib/libass/libass-0.10.0-1'
make: *** [contrib/libass/.stamp.build] Error 2
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] emerge boost trouble Adol Gentoo 1 05-01-2011 03:35 AM
[SOLVED] Kde emerge trouble Adol Gentoo 13 04-28-2011 08:47 AM
system update issue using emerge --deep --update world fedoralinuxjunkie Gentoo 4 08-17-2010 03:18 AM
ubuntu update 9.10; trouble with operating system password; `` ffRayMuldoon% Linux - Newbie 1 03-10-2010 11:17 AM
gentoo + emerge --update world kurrupt Linux - General 8 06-05-2005 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 03:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration