Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80032 - media-libs/jpeg-6b-r4 fails to compile on ppc-macos.
Summary: media-libs/jpeg-6b-r4 fails to compile on ppc-macos.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on: 58106
Blocks:
  Show dependency tree
 
Reported: 2005-01-30 00:33 UTC by kinoko
Modified: 2006-04-12 10:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kinoko 2005-01-30 00:33:58 UTC
When I try to emerge media-libs/jpeg-6b-r4, I get errors about libtool.

Reproducible: Always
Steps to Reproduce:
1. emerge jpeg
Actual Results:  
>>> emerge (1 of 1) media-libs/jpeg-6b-r4 to /
chflags: invalid flag: nosunlnk
>>> Downloading http://distfiles.gentoo.org/distfiles/jpegsrc.v6b.tar.gz
######################################################################## 100.0%
>>> md5 src_uri ;-) jpegsrc.v6b.tar.gz
>>> Unpacking source...
>>> Unpacking jpegsrc.v6b.tar.gz to /var/tmp/portage/jpeg-6b-r4/work
 * Applying uClibc/libtool patches ...
 *  Fixing ${S}/ltconfig...                                                [ ok ]
 * Applying Darwin/libtool patches ...
 *  Fixing ${S}/ltconfig...                                                [ ok ]
 *  Fixing ${S}/ltmain.sh...                                               [ ok ]
 * Applying jpeg-6b-gentoo.patch ...                                       [ ok ]
>>> Source unpacked.
 * econf: updating jpeg-6b/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating jpeg-6b/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=powerpc-apple-darwin --mandir=/usr/share/man --infodir=/usr/
share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shared --
enable-static
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -pipe ) works... yes
checking whether the C compiler (gcc -O2 -pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... yes
checking to see if right shift is signed... yes
checking to see if fopen accepts b spec... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking host system type... powerpc-apple-darwin
checking for ranlib... ranlib
checking for gcc... gcc
checking whether we are using GNU C... yes
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... ./ltconfig: line 561: test: -fno-common: integer 
expression expected
yes
checking if gcc static flag -static works... none
checking whether ln -s works... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking for BSD-compatible nm... /usr/bin/nm -p
checking command to parse /usr/bin/nm -p output... no
checking how to hardcode library paths into programs... relink
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... darwin dyld
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
libtool --mode=compile gcc -O2 -pipe  -I. -c ./jcapimin.c
libtool --mode=compile gcc -O2 -pipe  -I. -c ./jcapistd.c
libtool: unknown option character `-' in: --mode=compile
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-
install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-
segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-
seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
libtool: unknown option character `-' in: --mode=compile
Usage: libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-
install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-
segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-
seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
make: *** [jcapistd.lo] Error 1
make: *** Waiting for unfinished jobs....
make: *** [jcapimin.lo] Error 1

!!! ERROR: media-libs/jpeg-6b-r4 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


emerge info
Portage 2.0.51-r15 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh)
===============================================================
==
System uname: 7.7.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig collision-protect distlocks"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.1.10/portage"
USE="ppc aqua cjk gdbm gif jpeg ncurses nls png ppc-macos readline spell ssl tiff"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Lina Pezzella (RETIRED) gentoo-dev 2005-01-30 13:05:07 UTC
Temporarily fixed. Will close once baselayout has the permanent fix.
Comment 2 Fabian Groffen gentoo-dev 2005-08-26 12:07:20 UTC
I just upgraded from 6b-r4 to media-libs/jpeg-6b-r5 without problems.


Lina, I close this bug.  I don't know what exactly made you keeping this bug
open.    It appears the ebuilds are keyworded and baselayout appears to work too.


Please reopen if the problem persists or I did some misinterpretation.
Comment 3 Lina Pezzella (RETIRED) gentoo-dev 2005-08-29 12:58:02 UTC
This is the forked shell issue with the bashrc aliases. Once upon a time, we were contemplating doing 
some magic in baselayout to fix this issue, but since it only seems to affect a very small number of 
packages, we decided against it. Thanks for closing.