[MacPorts] #13669: mplayer dmg build fails while mplayer build
succeeds
MacPorts
trac at macosforge.org
Fri Dec 21 11:26:27 PST 2007
#13669: mplayer dmg build fails while mplayer build succeeds
-----------------------------------+----------------------------------------
Reporter: liontooth at cogweb.net | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: mplayer dmg
-----------------------------------+----------------------------------------
Comment (by liontooth at cogweb.net):
Yes, it looks like this is the problem. I issued,
mkdir
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2.pkg
and then used the temporary fix suggested in #10881, "when doing mpkg use
the -k flag and it will leave the destroot contents," and the building
started. However, only some packages create the destroot directory:
jpeg-6b.pkg[[BR]]
libiconv-1.12.pkg[[BR]]
libpng-1.2.24.pkg[[BR]]
libungif-4.1.4.pkg[[BR]]
ncursesw-5.6.pkg[[BR]]
Others don't and generate an error similar to the above:
lame-3.97.pkg[[BR]]
libmad-0.15.1b.pkg[[BR]]
libogg-1.1.3.pkg[[BR]]
libvorbis-1.2.0.pkg[[BR]]
lzo2-2.02.pkg[[BR]]
ncurses-5.6.pkg[[BR]]
pkgconfig-0.22.pkg[[BR]]
zlib-1.2.3.pkg[[BR]]
Perhaps someone sees a pattern here?
If I create all of the missing directories in the destroot, the build
process nearly completes, but bugs out at the end -- likely just a result
of previous failed builds:
{{{
DEBUG: Executing org.macports.mdmg (MPlayer)
---> Creating disk image for MPlayer-1.0rc2
Error: Target org.macports.mdmg returned: shell command "hdiutil create
-quiet -fs HFS+ -volname MPlayer-1.0rc2 -size 8702b
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2.tmp.dmg"
returned error 1
Command output:
Warning: the following items did not execute (for MPlayer):
org.macports.mdmg<br>
Error: Status 1 encountered during processing.
}}}
If I run the last command without -quiet,
hdiutil create -fs HFS+ -volname MPlayer-1.0rc2 -size 8702b
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2.tmp.dmg
hdiutil: create failed - File exists
Remove the file:
rm
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2.tmp.dmg
hdiutil create -fs HFS+ -volname MPlayer-1.0rc2 -size 8702b
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2.tmp.dmg
............................................................................................................................................................
created:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc2.tmp.dmg
# ls -l
-rw-r--r--@ 1 root staff 4455424 Dec 21 11:09 MPlayer-1.0rc2.tmp.dmg
So this works, but several portfiles don't create their own directories as
they should in a package creation context.
Cheers,
Dave
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13669#comment:2>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list