Opened 13 years ago

Closed 13 years ago

#30776 closed defect (fixed)

Xaw3d @1.5E, Revision 4 (x11) fails to build on lion

Reported by: conradwt (Conrad Taylor) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: lion Cc: anddam (Andrea D'Amore)
Port: Xaw3d

Description (last modified by drkp (Dan Ports))

Xaw3d @1.5E, Revision 4 (x11) fails to build as a prerequisite for xemacs @21.4.22 (editors, x11) port. Please see the log file below:

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/Xaw3d/work
:debug:main Executing org.macports.main (Xaw3d)
:debug:archivefetch archivefetch phase started at Sun Aug 14 19:06:35 PDT 2011
:msg:archivefetch --->  Fetching archive for Xaw3d
:debug:archivefetch Executing org.macports.archivefetch (Xaw3d)
:info:archivefetch --->  Xaw3d-1.5E_4.darwin_11.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/software/Xaw3d
:msg:archivefetch --->  Attempting to fetch Xaw3d-1.5E_4.darwin_11.x86_64.tbz2 from http://packages.macports.org/Xaw3d
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:debug:fetch fetch phase started at Sun Aug 14 19:06:35 PDT 2011
:notice:fetch --->  Fetching Xaw3d
:debug:fetch Executing org.macports.fetch (Xaw3d)
:info:fetch --->  Xaw3d-1.5E.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/Xaw3d
:debug:fetch Pinging ftp4.FreeBSD.org...
:debug:fetch Pinging ftp5.freebsd.org...
:debug:fetch Pinging ftp10.FreeBSD.org...
:debug:fetch Pinging ftp14.FreeBSD.org...
:debug:fetch Pinging ftp.uk.FreeBSD.org...
:debug:fetch Pinging www.mirrorservice.org...
:debug:fetch Pinging ftp.jp.FreeBSD.org...
:debug:fetch Pinging ftp.tw.FreeBSD.org...
:debug:fetch Pinging ftp.ru.FreeBSD.org...
:debug:fetch Pinging ftp.se.FreeBSD.org...
:debug:fetch Pinging mirror.aarnet.edu.au...
:debug:fetch Pinging ftp.FreeBSD.org...
:debug:fetch Pinging ftp.visi.com...
:debug:fetch Pinging distfiles.macports.org...
:debug:fetch Pinging aarnet.au.distfiles.macports.org...
:debug:fetch Pinging her.gr.distfiles.macports.org...
:debug:fetch Pinging lil.fr.distfiles.macports.org...
:debug:fetch Pinging sea.us.distfiles.macports.org...
:debug:fetch Pinging ykf.ca.distfiles.macports.org...
:debug:fetch ftp4.FreeBSD.org ping time is 34.784
:debug:fetch ftp5.freebsd.org ping time is 10000
:debug:fetch ftp10.FreeBSD.org ping time is 10000
:debug:fetch ftp14.FreeBSD.org ping time is 10000
:debug:fetch ftp.uk.FreeBSD.org ping time is 163.568
:debug:fetch www.mirrorservice.org ping time is 163.166
:debug:fetch ftp.jp.FreeBSD.org ping time is 10000
:debug:fetch ftp.tw.FreeBSD.org ping time is 189.463
:debug:fetch ftp.ru.FreeBSD.org ping time is 215.530
:debug:fetch ftp.se.FreeBSD.org ping time is 10000
:debug:fetch mirror.aarnet.edu.au ping time is 193.170
:debug:fetch ftp.FreeBSD.org ping time is 10000
:debug:fetch ftp.visi.com ping time is 10000
:debug:fetch distfiles.macports.org ping time is 35.254
:debug:fetch aarnet.au.distfiles.macports.org ping time is 192.844
:debug:fetch her.gr.distfiles.macports.org ping time is 225.618
:debug:fetch lil.fr.distfiles.macports.org ping time is 159.937
:debug:fetch sea.us.distfiles.macports.org ping time is 10000
:debug:fetch ykf.ca.distfiles.macports.org ping time is 111.604
:notice:fetch --->  Attempting to fetch Xaw3d-1.5E.tar.gz from http://ftp4.FreeBSD.org/pub/FreeBSD/ports/distfiles/
:debug:checksum checksum phase started at Sun Aug 14 19:06:39 PDT 2011
:notice:checksum --->  Verifying checksum(s) for Xaw3d
:debug:checksum Executing org.macports.checksum (Xaw3d)
:info:checksum --->  Checksumming Xaw3d-1.5E.tar.gz
:debug:checksum Correct (md5) checksum for Xaw3d-1.5E.tar.gz
:debug:checksum Correct (sha1) checksum for Xaw3d-1.5E.tar.gz
:debug:checksum Correct (rmd160) checksum for Xaw3d-1.5E.tar.gz
:debug:extract extract phase started at Sun Aug 14 19:06:39 PDT 2011
:notice:extract --->  Extracting Xaw3d
:debug:extract Executing org.macports.extract (Xaw3d)
:info:extract --->  Extracting Xaw3d-1.5E.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/Xaw3d/Xaw3d-1.5E.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/Xaw3d/Xaw3d-1.5E.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/Xaw3d/Xaw3d-1.5E.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:debug:patch patch phase started at Sun Aug 14 19:06:39 PDT 2011
:debug:patch Executing org.macports.patch (Xaw3d)
:debug:configure configure phase started at Sun Aug 14 19:06:39 PDT 2011
:notice:configure --->  Configuring Xaw3d
:debug:configure Using compiler 'Mac OS X clang'
:debug:configure Executing org.macports.configure (Xaw3d)
:debug:configure Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/work/xc/lib/Xaw3d" && xmkmf'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/work/xc/lib/Xaw3d" && xmkmf 
:info:configure imake -DUseInstalled -I/opt/local/lib/X11/config
:info:configure In file included from Imakefile.c:15:
:info:configure In file included from /opt/local/lib/X11/config/Imake.tmpl:316:
:info:configure /opt/local/lib/X11/config/Imake.rules:1674:27: error: empty character constant
:info:configure         for flag in ${MAKEFLAGS} ''; do \                               @@\
:info:configure                                  ^
:info:configure In file included from Imakefile.c:15:
:info:configure /opt/local/lib/X11/config/Imake.tmpl:2144:10: fatal error: ' X11 .rules' file not found
:info:configure #include ProjectRulesFile
:info:configure          ^
:info:configure /opt/local/lib/X11/config/Imake.tmpl:2142:27: note: instantiated from:
:info:configure # define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
:info:configure                                 ^
:info:configure /opt/local/lib/X11/config/Imake.rules:256:23: note: instantiated from:
:info:configure #define Concat3(a,b,c)a/**/b/**/c
:info:configure                       ^
:info:configure /opt/local/lib/X11/config/Imake.tmpl:2144:10: note: instantiated from:
:info:configure # define ProjectRulesFile       Concat3(<,TopLevelProject,.rules>)
:info:configure                                         ^
:info:configure 2 errors generated.
:info:configure imake: Exit code 1.
:info:configure   Stop.
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/work/xc/lib/Xaw3d" && xmkmf " returned error 1
:error:configure Target org.macports.configure returned: xmkmf failure: shell command failed (see log for details)
:debug:configure Backtrace: xmkmf failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for Xaw3d): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install Xaw3d
:notice:configure Log for Xaw3d is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_Xaw3d/Xaw3d/main.log

Attachments (1)

main.log (7.7 KB) - added by conradwt (Conrad Taylor) 13 years ago.

Download all attachments as: .zip

Change History (10)

Changed 13 years ago by conradwt (Conrad Taylor)

Attachment: main.log added

comment:1 Changed 13 years ago by drkp (Dan Ports)

Cc: nomaintainer@… removed
Description: modified (diff)

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Builds fine for me. Either you patched base to change the default compiler or you're using a prerelease Xcode version. Either way it's kind of an important detail.

comment:3 Changed 13 years ago by conradwt (Conrad Taylor)

Yes, I'm using pre-release version of Xcode 4.2 (Build 4D151a).

comment:4 Changed 13 years ago by takanori@…

I think this problem should be fixed in r84946.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Xaw3d was updated to version 1.6. Is this still a problem?

comment:6 in reply to:  4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to takanori@…:

I think this problem should be fixed in r84946.

r84946 was reverted in r89535.

comment:7 Changed 13 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jeremyhu@…

comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

This was a bug related to imake/xmkmf, which xaw3d doesn't use anymore as of 1.6, so I believe this problem to be fixed.

Note: See TracTickets for help on using tickets.