[MacPorts] #13427: "ltris" build dependency on GNU coreutils

MacPorts trac at macosforge.org
Mon Nov 26 18:59:43 PST 2007


#13427: "ltris" build dependency on GNU coreutils
-------------------------------+--------------------------------------------
 Reporter:  martijn at inlv.org   |       Owner:  macports-dev at lists.macosforge.org
     Type:  defect             |      Status:  new                              
 Priority:  Normal             |   Milestone:  Port Bugs                        
Component:  ports              |     Version:  1.5.2                            
 Keywords:  ltris build error  |  
-------------------------------+--------------------------------------------
 ltris fails to be "staged into destroot" with an error message about the
 "install" command. Turns out it uses GNU-specific arguments to the
 "install" command. Installing GNU coreutils (which includes the GNU
 version of "install") fixed it.

 Either the port should be patched to use POSIX-compliant syntax for the
 "install" command, or the "coreutils" port should be added as a build
 dependency. (Note that the port is two versions behind; perhaps it has
 already been fixed upstream.)

 Here is a dump of what happens without coreutils installed.

 breedzicht:~ martijn$ sudo port install ltris
 Password:
 --->  Fetching ltris
 --->  Attempting to fetch ltris-1.0.9.tar.gz from
 http://downloads.sourceforge.net/lgames
 --->  Attempting to fetch ltris-1.0.9.tar.gz from
 http://easynews.dl.sourceforge.net/lgames
 --->  Verifying checksum(s) for ltris
 --->  Extracting ltris
 --->  Configuring ltris
 --->  Building ltris with target all
 --->  Staging ltris into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/ltris-1.0.9"
 && make install
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot
 " returned error 2
 Command output: Making install in src
 Making install in gfx
 make[3]: Nothing to be done for `install-exec-am'.
 /bin/sh ../../mkinstalldirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/share/ltris/gfx
 mkdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/share/ltris
 mkdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/share/ltris/gfx
 Making install in sounds
 make[3]: Nothing to be done for `install-exec-am'.
 /bin/sh ../../mkinstalldirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/share/ltris/sounds
 mkdir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/share/ltris/sounds
 /bin/sh ../mkinstalldirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/bin
   /usr/bin/install -c  ltris
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/bin/ltris
 /bin/sh ../mkinstalldirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/share/ltris
 /usr/bin/install -c -m 644 figures
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/share/ltris/figures
 /bin/sh ../mkinstalldirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/var
 if ! test -f
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/var/ltris.hscr;
 then \
   /usr/bin/install -c -m 644 --mode=666 empty.hscr
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_ltris/work/destroot/opt/local/var/ltris.hscr;
 \
 fi;
 install: illegal option -- -
 usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                [-o owner] file1 file2
        install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
                [-o owner] file1 ... fileN directory
        install -d [-v] [-g group] [-m mode] [-o owner] directory ...
 make[3]: *** [install-data-local] Error 64
 make[2]: *** [install-am] Error 2
 make[1]: *** [install-recursive] Error 1
 make: *** [install-recursive] Error 1

 Error: Status 1 encountered during processing.
 breedzicht:~ martijn$

-- 
Ticket URL: <http://trac.macports.org/projects/macports/ticket/13427>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list