build-aquamacs on clone doesn't (quite) build

25 views
Skip to first unread message

Peter Hancock

unread,
Jun 20, 2016, 2:57:57 PM6/20/16
to aquamacs-devel
I took a fresh clone of the git repository, and (the first time it has happened for me), the "install" phase failed, I think because I don't have "games" as a group.

If I may paste the relevant bit here (hope this works!):

<code>
umask 022 && /opt/local/bin/gmkdir -p "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/var/games/emacs" && \
touch "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/var/games/emacs/snake-scores" \
      "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/var/games/emacs/tetris-scores"
if chgrp games \
     "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/MacOS/libexec/update-game-score" && \
   chmod g+s,o-r \
     "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/MacOS/libexec/update-game-score"; \
then \
  chgrp games "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/var/games/emacs" && \
  chmod u=rwx,g=rwx,o=rx "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/var/games/emacs"; \
fi
chgrp: games: illegal group name
exp_archlibdir=`cd "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/MacOS/libexec" && /bin/pwd` && \
if [ "$exp_archlibdir" != "`cd . && /bin/pwd`" ]; then \
  for file in rcs2log ; do \
    /opt/local/bin/ginstall -c ./$file \
      "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/MacOS/libexec/$file" || exit; \
  done ; \
fi

Installing utilities for users to run.
umask 022 && /opt/local/bin/gmkdir -p "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/MacOS/bin"
for file in etags ctags emacsclient  ebrowse emacs ; do \
  /opt/local/bin/ginstall -c  ${file} \
    "/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/MacOS/bin"/` \
      echo ${file} | sed -e 's/$//' -e 's,x,x,' \
    ` || exit; \
done
/opt/local/bin/ginstall: cannot stat 'emacs': No such file or directory
Makefile:309: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/Users/pgh/src/aquamacs-emacs/lib-src'
Makefile:493: recipe for target 'install-arch-dep' failed
make: *** [install-arch-dep] Error 2
</code>

I was able to get something usable with "make -i install".  (The command line tools also fail to install on my Yosemite system, as discussed in another topic).

I doubt there can be many people who want these fripperies. Still, for completeness, ....



David Reitter

unread,
Jun 20, 2016, 9:45:27 PM6/20/16
to aquamac...@googlegroups.com
Peter,

The install fails because of some other error that has to do with my recent change. The “games” problem is ignored.

Do you have a file “emacs” in the “lib-src” folder?

- David
> --
> You received this message because you are subscribed to the Google Groups "aquamacs-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to aquamacs-deve...@googlegroups.com.

David Reitter

unread,
Jun 20, 2016, 10:03:30 PM6/20/16
to aquamac...@googlegroups.com
Hi Peter,

Please update your git checkout and try again. I think I’ve fixed the issue.

- David


--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!

Peter Hancock

unread,
Jun 21, 2016, 5:43:43 AM6/21/16
to aquamacs-devel
Hi David,

Yup, that builds (via build-aquamacs) without (any obvious) issue. 

(The command line tool installation (from the Tools menu) still fails for the usual reason.
I'll see if I can add something useful to the discussion on that topic.)

Peter

David Reitter

unread,
Jun 21, 2016, 7:26:46 AM6/21/16
to aquamac...@googlegroups.com
On Jun 21, 2016, at 5:43 PM, Peter Hancock <pete.h...@gmail.com> wrote:

> (The command line tool installation (from the Tools menu) still fails for the usual reason.
> I'll see if I can add something useful to the discussion on that topic.)

Sorry, what reason is that?
On which operating system?

Peter Hancock

unread,
Jun 21, 2016, 10:17:51 AM6/21/16
to aquamacs-devel

I'm on Yosemite 10.10.5. My experience is the same as nathaniel cunninghams. 
The relevant part of the failed install log (using the Tools menu) is this:
<code>
Aquamacs Command Line Tools  Installation Log
 /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg
 Product archive /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg trustLevel=100
 invalid package /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg has no bundle identifier
 External component packages (2) trustLevel=100 (trust evaluation failed)
 InstallerStatusNotifications plugin loaded
 LSExceptions [0x6180002a7da0] unloaded
 Administrator authorization granted.
 ================================================================================
 User picked Standard Install

 "Aquamacs Command Line Tools"
 "/usr/bin/aquamacs" at path "//usr/bin"
 3.1
 "/usr/bin/emacsclient" at path "//usr/bin"
 1.1
 ================================================================================
 It took 0.00 seconds to summarize the package selections.
//localhost
//localhost/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs%20Command%20Line%20Tool%20PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg
//localhost/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs%20Command%20Line%20Tool%20PreElCapitan.mpkg/Contents/Packages/emacsclient.pkg
 Set authorization level to root for session
 invalid package /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg has no bundle identifier
//localhost/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs%20Command%20Line%20Tool%20PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg not supported by PK
 Will use IF session
] - can't find .info file (aquamacs)
 The package "aquamacs" could not be opened. This can happen if the package has incorrect permissions or if the package has been renamed.
 /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg
 Error opening package "aquamacs.pkg".
 The Installer could not install the software because there was no software found to install.
 IFDInstallController 1A210 state = 8
 Displaying 'Install Failed' UI.
'The Installer could not install the software.
   
    The Installer could not install the software because there was no software found to install.'.
</code>

Opening aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs\ Command\ Line\ Tool\ PreElCapitan.mpkg
by hand also failed, with (I think) exactly the same messages.
On the other hand, opening aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs\ Command\ Line\ Tool.mpkg
by hand seemed to work, and put an "aquamacs" and "emacsclient" in /usr/local/bin. (I have not yet tried emacsclient, but aquamacs seems to work).

Happy to investigate a little further, but it seemed there was nothing to add to Nat Cunningham's report in the previous discussion.

Peter Hancock

unread,
Jun 21, 2016, 11:04:08 AM6/21/16
to aquamacs-devel
Sorry! I notice that was a bit mangled (with a "| sed -e 's/^.*://' "). Here is unmangled, from /var/log/install.log

I might add that I mv'ed the existing things in /usr/bin/ out of the way, with identical results.

Jun 21 15:29:40 Mac-mini Installer[86426]: Aquamacs Command Line Tools  Installation Log
Jun 21 15:29:40 Mac-mini Installer[86426]: Opened from: /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg
Jun 21 15:29:40 Mac-mini Installer[86426]: Product archive /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg trustLevel=100
Jun 21 15:29:40 Mac-mini Installer[86426]: PackageKit: invalid package /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg has no bundle identifier
Jun 21 15:29:40 Mac-mini Installer[86426]: External component packages (2) trustLevel=100 (trust evaluation failed)
Jun 21 15:29:45 Mac-mini Installer[86426]: InstallerStatusNotifications plugin loaded
Jun 21 15:29:50 Mac-mini Installer[86426]: LSExceptions [0x6080000b2480] unloaded
Jun 21 15:29:52 Mac-mini runner[86431]: Administrator authorization granted.
Jun 21 15:29:52 Mac-mini Installer[86426]: ================================================================================
Jun 21 15:29:52 Mac-mini Installer[86426]: User picked Standard Install
Jun 21 15:29:52 Mac-mini Installer[86426]: Choices selected for installation:
Jun 21 15:29:52 Mac-mini Installer[86426]:     Upgrade: "Aquamacs Command Line Tools"
Jun 21 15:29:52 Mac-mini Installer[86426]:     Upgrade: "/usr/bin/aquamacs" at path "//usr/bin"
Jun 21 15:29:52 Mac-mini Installer[86426]:         aquamacs.pkg : org.aquamacs.commandlinetools.pkg : 3.1
Jun 21 15:29:52 Mac-mini Installer[86426]:     Upgrade: "/usr/bin/emacsclient" at path "//usr/bin"
Jun 21 15:29:52 Mac-mini Installer[86426]:         emacsclient.pkg : com.david-reitter.aquamacsCommandLineTools.emacsclient.pkg : 1.1
Jun 21 15:29:52 Mac-mini Installer[86426]: ================================================================================
Jun 21 15:29:52 Mac-mini Installer[86426]: It took 0.00 seconds to summarize the package selections.
Jun 21 15:29:52 Mac-mini Installer[86426]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
Jun 21 15:29:52 Mac-mini Installer[86426]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs%20Command%20Line%20Tool%20PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg
Jun 21 15:29:52 Mac-mini Installer[86426]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs%20Command%20Line%20Tool%20PreElCapitan.mpkg/Contents/Packages/emacsclient.pkg
Jun 21 15:29:52 Mac-mini Installer[86426]: Set authorization level to root for session
Jun 21 15:29:52 Mac-mini Installer[86426]: PackageKit: invalid package /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg has no bundle identifier
Jun 21 15:29:52 Mac-mini Installer[86426]: Package file://localhost/Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs%20Command%20Line%20Tool%20PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg not supported by PK
Jun 21 15:29:52 Mac-mini Installer[86426]: Will use IF session
Jun 21 15:29:52 Mac-mini Installer[86426]: -[IFPkg(Info_Conversion_Private) _parseOldStyleForLanguage:] - can't find .info file (aquamacs)
Jun 21 15:29:52 Mac-mini Installer[86426]: The package "aquamacs" could not be opened. This can happen if the package has incorrect permissions or if the package has been renamed.
Jun 21 15:29:52 Mac-mini Installer[86426]: PFPackage::packageWithURL - can't instantiate package: /Users/pgh/src/aquamacs-emacs/nextstep/Aquamacs.app/Contents/Resources/Aquamacs Command Line Tool PreElCapitan.mpkg/Contents/Packages/aquamacs.pkg
Jun 21 15:29:52 Mac-mini Installer[86426]: Error opening package "aquamacs.pkg".
Jun 21 15:29:52 Mac-mini Installer[86426]: Install failed: The Installer could not install the software because there was no software found to install.
Jun 21 15:29:52 Mac-mini Installer[86426]: IFDInstallController 17280 state = 8
Jun 21 15:29:52 Mac-mini Installer[86426]: Displaying 'Install Failed' UI.
Jun 21 15:29:52 Mac-mini Installer[86426]: 'Install Failed' UI displayed message:'The Installer could not install the software.

   
    The Installer could not install the software because there was no software found to install.'.
Jun 21 15:50:17 Mac-mini softwareupdated[72329]: Scan for changed products with previous 0 updates:  (plus 135 predicate-only)
Jun 21 15:50:17 Mac-mini softwareupdated[72329]: SoftwareUpdate: Scan for client pid 72329 (/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdated)
Jun 21 15:50:17 Mac-mini softwareupdated[72329]: Adding client SUUpdateServiceClient pid=86505, uid=501, installAuth=NO rights=(), transactions=0 (/System/Library/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent)
Jun 21 15:50:18 Mac-mini softwareupdated[72329]: SoftwareUpdate: Catalog Not Modified since last scan ("574d0-535be43141040")
Jun 21 15:50:18 Mac-mini softwareupdated[72329]: SoftwareUpdate: Using catalog https://swscan.apple.com/content/catalogs/others/index-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz
Jun 21 15:50:18 Mac-mini softwareupdated[72329]: Added 267 PPD versions for /Library/Printers/PPDs/Contents/Resources from cache as of 2015-06-19 07:08:37 +0000
Jun 21 15:50:18 Mac-mini softwareupdated[72329]: SoftwareUpdate: elapsed scan time = 0.7
Jun 21 15:50:18 Mac-mini softwareupdated[72329]: Scan (f=0, d=0) found 0 updates:  (plus 135 predicate-only)
Jun 21 15:50:18 Mac-mini softwareupdated[72329]: Ramped updates marked
Jun 21 15:50:27 Mac-mini softwareupdated[72329]: Removing client SUUpdateServiceClient pid=86505, uid=501, installAuth=NO rights=(), transactions=0 (/System/Library/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent)


Should add that actually using the git-derived Aquamacs.app "in anger" for real work (involving auctex, haskell-mode and several other things) seems so far fine.
Hardly ever use the command-line tools.

Peter


Reply all
Reply to author
Forward
0 new messages