[MacPorts] #29696: flex: no such file or directory
MacPorts
noreply at macports.org
Mon Dec 5 13:51:54 PST 2011
#29696: flex: no such file or directory
--------------------------------------+-------------------------------------
Reporter: matthew.wilce@… | Owner: mww@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: flex
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
Old description:
> When I try port install wine, the installation falls with:
> (NB: Macports was installed with --with-install-user=`id -un` --with-
> install-group=`id -gn` \)
>
> {{{
> port install wine
> ---> Computing dependencies for wine
> ---> Dependencies to be installed: flex fontconfig freetype zlib
> libiconv gperf gnutls libgcrypt libgpg-error gettext ncurses ncursesw
> libtasn1 lzo2 pkgconfig readline jpeg lcms tiff libpng libxml2 libxslt
> mesa makedepend xorg-xproto tcl xorg-dri2proto xorg-glproto xorg-
> libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto
> xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb python27 bzip2 db46
> gdbm openssl python_select sqlite3 xorg-libpthread-stubs xorg-xcb-proto
> xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto
> xorg-xtrans xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm
> xorg-libice xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-
> renderproto xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr
> xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto
> ---> Configuring flex
> Error: Target org.macports.configure returned: configure failure: shell
> command failed (see log for details)
> Error: Failed to install flex
> Log for flex is at:
> /home/mattwilce/macports/var/macports/logs/_home_mattwilce_macports_var_macports_sources_rsync.macports.org_release_ports_devel_flex/main.log
> }}}
>
> Logfile :
>
> {{{
> version:1
> :debug:main Executing org.macports.main (flex)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (flex)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (flex)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main setting option extract.cmd to /home/mattwilce/sw/bin/bzip2
> :debug:main Skipping completed org.macports.extract (flex)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (flex)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :msg:main ---> Configuring flex
> :debug:main Using compiler 'Mac OS X gcc 4.0'
> :debug:configure configure phase started at Fri Jun 3 20:12:21 EST 2011
> :debug:configure Executing org.macports.configure (flex)
> :debug:configure Environment: CPATH='/home/mattwilce/macports/include'
> CFLAGS='-pipe -O2 -arch i386'
> CPPFLAGS='-I/home/mattwilce/macports/include' CXXFLAGS='-pipe -O2 -arch
> i386' LIBRARY_PATH='/home/mat
> twilce/macports/lib' MACOSX_DEPLOYMENT_TARGET='10.5'
> CXX='/usr/bin/g++-4.0' CC_PRINT_OPTIONS_FILE='/h
> ome/mattwilce/macports/var/macports/build/_home_mattwilce_macports_var_macports_sources_rsync.macport
> s.org_release_ports_devel_flex/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe
> -O2 -m32' LDFLAGS='-L/home/mat
> twilce/macports/lib -arch i386' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-pipe
> -O2 -m32' INSTALL='/usr/bin/in
> stall -c' OBJCFLAGS='-pipe -O2 -arch i386' FFLAGS='-pipe -O2 -m32'
> CC_PRINT_OPTIONS='YES' CC='/usr/bi
> n/gcc-4.0'
> :debug:configure Assembled command: 'cd
> "/home/mattwilce/macports/var/macports/build/_home_mattwilce_
> macports_var_macports_sources_rsync.macports.org_release_ports_devel_flex/work/flex-2.5.35"
> && ./conf
> igure --prefix=/home/mattwilce/macports
> --infodir=/home/mattwilce/macports/share/info --mandir=/home/
> mattwilce/macports/share/man'
> :info:configure sh: line 0: cd:
> /home/mattwilce/macports/var/macports/build/_home_mattwilce_macports_
> var_macports_sources_rsync.macports.org_release_ports_devel_flex/work/flex-2.5.35:
> No such file or di
> rectory
> :info:configure shell command " cd
> "/home/mattwilce/macports/var/macports/build/_home_mattwilce_macpo
> rts_var_macports_sources_rsync.macports.org_release_ports_devel_flex/work/flex-2.5.35"
> && ./configure
> --prefix=/home/mattwilce/macports
> --infodir=/home/mattwilce/macports/share/info --mandir=/home/mattw
> ilce/macports/share/man " returned error 1
> :error:configure Target org.macports.configure returned: configure
> failure: shell command failed (see
> log for details)
> :debug:configure Backtrace: configure failure: shell command failed (see
> log for details)
> while executing
> "$procedure $targetname"
> :info:configure Warning: the following items did not execute (for flex):
> org.macports.activate org.ma
> cports.configure org.macports.build org.macports.destroot
> org.macports.install
> :notice:configure Log for flex is at:
> /home/mattwilce/macports/var/macports/logs/_home_mattwilce_macp
> orts_var_macports_sources_rsync.macports.org_release_ports_devel_flex/main.log
> }}}
New description:
When I try port install wine, the installation falls with:
(NB: Macports was installed with {{{--with-install-user=`id -un` --with-
install-group=`id -gn`}}})
{{{
port install wine
---> Computing dependencies for wine
---> Dependencies to be installed: flex fontconfig freetype zlib libiconv
gperf gnutls libgcrypt libgpg-error gettext ncurses ncursesw libtasn1 lzo2
pkgconfig readline jpeg lcms tiff libpng libxml2 libxslt mesa makedepend
xorg-xproto tcl xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto
xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau
xorg-libXdmcp xorg-libxcb python27 bzip2 db46 gdbm openssl python_select
sqlite3 xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-
xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi
xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-
libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender
xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-
libXxf86vm xorg-xf86vidmodeproto
---> Configuring flex
Error: Target org.macports.configure returned: configure failure: shell
command failed (see log for details)
Error: Failed to install flex
Log for flex is at:
/home/mattwilce/macports/var/macports/logs/_home_mattwilce_macports_var_macports_sources_rsync.macports.org_release_ports_devel_flex/main.log
}}}
Logfile :
{{{
version:1
:debug:main Executing org.macports.main (flex)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (flex)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (flex)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main setting option extract.cmd to /home/mattwilce/sw/bin/bzip2
:debug:main Skipping completed org.macports.extract (flex)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (flex)
:debug:main Privilege de-escalation not attempted as not running as root.
:msg:main ---> Configuring flex
:debug:main Using compiler 'Mac OS X gcc 4.0'
:debug:configure configure phase started at Fri Jun 3 20:12:21 EST 2011
:debug:configure Executing org.macports.configure (flex)
:debug:configure Environment: CPATH='/home/mattwilce/macports/include'
CFLAGS='-pipe -O2 -arch i386'
CPPFLAGS='-I/home/mattwilce/macports/include' CXXFLAGS='-pipe -O2 -arch
i386' LIBRARY_PATH='/home/mat
twilce/macports/lib' MACOSX_DEPLOYMENT_TARGET='10.5'
CXX='/usr/bin/g++-4.0' CC_PRINT_OPTIONS_FILE='/h
ome/mattwilce/macports/var/macports/build/_home_mattwilce_macports_var_macports_sources_rsync.macport
s.org_release_ports_devel_flex/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2
-m32' LDFLAGS='-L/home/mat
twilce/macports/lib -arch i386' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-pipe -O2
-m32' INSTALL='/usr/bin/in
stall -c' OBJCFLAGS='-pipe -O2 -arch i386' FFLAGS='-pipe -O2 -m32'
CC_PRINT_OPTIONS='YES' CC='/usr/bi
n/gcc-4.0'
:debug:configure Assembled command: 'cd
"/home/mattwilce/macports/var/macports/build/_home_mattwilce_
macports_var_macports_sources_rsync.macports.org_release_ports_devel_flex/work/flex-2.5.35"
&& ./conf
igure --prefix=/home/mattwilce/macports
--infodir=/home/mattwilce/macports/share/info --mandir=/home/
mattwilce/macports/share/man'
:info:configure sh: line 0: cd:
/home/mattwilce/macports/var/macports/build/_home_mattwilce_macports_
var_macports_sources_rsync.macports.org_release_ports_devel_flex/work/flex-2.5.35:
No such file or di
rectory
:info:configure shell command " cd
"/home/mattwilce/macports/var/macports/build/_home_mattwilce_macpo
rts_var_macports_sources_rsync.macports.org_release_ports_devel_flex/work/flex-2.5.35"
&& ./configure
--prefix=/home/mattwilce/macports
--infodir=/home/mattwilce/macports/share/info --mandir=/home/mattw
ilce/macports/share/man " returned error 1
:error:configure Target org.macports.configure returned: configure
failure: shell command failed (see
log for details)
:debug:configure Backtrace: configure failure: shell command failed (see
log for details)
while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for flex):
org.macports.activate org.ma
cports.configure org.macports.build org.macports.destroot
org.macports.install
:notice:configure Log for flex is at:
/home/mattwilce/macports/var/macports/logs/_home_mattwilce_macp
orts_var_macports_sources_rsync.macports.org_release_ports_devel_flex/main.log
}}}
--
Comment:
Please clean any affected port and try again, then attach its main.log to
this ticket so we can see exactly what happened. (The output pasted into
the ticket above is not from a clean run; it has lines saying "Skipping
completed"; we need to see the output of all phases, including those that
were skipped above.)
If cleaning and trying again resolves it then I'd call this a duplicate of
#29223 but if you get the same error about the missing source directory
after cleaning, then I'd suspect a problem with your operating system's
gzip, bzip2 or tar commands.
--
Ticket URL: <https://trac.macports.org/ticket/29696#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list