Prev: pure-ftpd 1.0.29: add support for various unofficial macros
Next: FreeBSD Port: asterisk16-1.6.0.21
From: Wesley Shields on 13 Jul 2010 21:23 On Mon, Jul 12, 2010 at 09:45:34PM -0400, Joseph S. Atkinson wrote: > On 07/12/2010 20:24, Wesley Shields wrote: > > On Mon, Jul 12, 2010 at 10:42:46PM +0200, David DEMELIER wrote: > >> 2010/7/12 David Southwell<david(a)vizion2000.net>: > >>> cd: can't cd to /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 > > ... > > >> I don't understand this : cd: can't cd to > >> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 > >> > > Whatever options were use, the kde4 directory isn't being created. This needs to > be checked for. Try this patch. > --- /usr/ports/multimedia/vlc/Makefile 2010-07-12 16:48:11.000000000 -0400 > +++ Makefile 2010-07-12 20:59:50.000000000 -0400 > @@ -662,11 +662,13 @@ > ${SED} -e 's|^|@dirrmtry libdata/|' >> ${PLIST} ; \ > fi > .for dir in icons kde4 vlc > + if [ -d ${FAKEDIR}/share/${dir} ]; then \ > cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \ > ${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \ > && ${FIND} -d * -type d | \ > - ${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST} > - ${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST} > + ${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST} \ > + && ${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST} ; \ > + fi > .endfor > .if !defined(NOPORTDOCS) > cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \ I committed this patch after not hearing anything back from David Southwell. It should solve the problem, despite not knowing what the root cause is. -- WXS _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Rainer Hurling on 14 Jul 2010 01:57 I am afraid your newest patch is not working for me. This is on 9.0-CURRENT amd64. Obviously there went something wrong with the intime generated (faked) plist: gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0' /bin/rm -f /usr/ports/multimedia/vlc/work/fake/usr/local/share/locale/locale.alias cd /usr/ports/multimedia/vlc/work/fake/usr/local/bin && /usr/bin/find -s * | /usr/bin/sed -e 's|^|bin/|' >> /usr/ports/multimedia/vlc/work/plist cd /usr/ports/multimedia/vlc/work/fake/usr/local/include && /usr/bin/find -s * -type f -o -type l | /usr/bin/sed -e 's|^|include/|' >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry include/|' >> /usr/ports/multimedia/vlc/work/plist /bin/rm -f /usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/plugins/services_discovery/libsap_plugin.la /bin/rm -f /usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/plugins/services_discovery/libsap_plugin.so cd /usr/ports/multimedia/vlc/work/fake/usr/local/lib && /usr/bin/find -s * -type f -o -type l| /usr/bin/sed -e 's|^|lib/|' >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry lib/|' >> /usr/ports/multimedia/vlc/work/plist if [ -d /usr/ports/multimedia/vlc/work/fake/usr/local/libdata ]; then cd /usr/ports/multimedia/vlc/work/fake/usr/local/libdata && /usr/bin/find -s * -type f -o -type l| /usr/bin/sed -e 's|^|libdata/|' >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry libdata/|' >> /usr/ports/multimedia/vlc/work/plist ; fi if [ -d /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons ]; then cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons && /usr/bin/find -s * -type f -o -type l | /usr/bin/sed -e 's|^|share/icons/|' >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry share/icons/|' >> /usr/ports/multimedia/vlc/work/plist && echo "@dirrmtry share/icons" >> /usr/ports/multimedia/vlc/work/plist Syntax error: end of file unexpected (expecting "fi") *** Error code 2 Stop in /usr/ports/multimedia/vlc. *** Error code 1 Stop in /usr/ports/multimedia/vlc. *** Error code 1 Thanks for your work, Rainer On 14.07.2010 03:23 (UTC+1), Wesley Shields wrote: > On Mon, Jul 12, 2010 at 09:45:34PM -0400, Joseph S. Atkinson wrote: >> On 07/12/2010 20:24, Wesley Shields wrote: >>> On Mon, Jul 12, 2010 at 10:42:46PM +0200, David DEMELIER wrote: >>>> 2010/7/12 David Southwell<david(a)vizion2000.net>: >>>>> cd: can't cd to /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 >> >> ... >> >>>> I don't understand this : cd: can't cd to >>>> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 >>>> >> >> Whatever options were use, the kde4 directory isn't being created. This needs to >> be checked for. Try this patch. > >> --- /usr/ports/multimedia/vlc/Makefile 2010-07-12 16:48:11.000000000 -0400 >> +++ Makefile 2010-07-12 20:59:50.000000000 -0400 >> @@ -662,11 +662,13 @@ >> ${SED} -e 's|^|@dirrmtry libdata/|'>> ${PLIST} ; \ >> fi >> .for dir in icons kde4 vlc >> + if [ -d ${FAKEDIR}/share/${dir} ]; then \ >> cd ${FAKEDIR}/share/${dir}&& ${FIND} -s * -type f -o -type l | \ >> ${SED} -e 's|^|share/${dir}/|'>> ${PLIST} \ >> && ${FIND} -d * -type d | \ >> - ${SED} -e 's|^|@dirrmtry share/${dir}/|'>> ${PLIST} >> - ${ECHO_CMD} "@dirrmtry share/${dir}">> ${PLIST} >> + ${SED} -e 's|^|@dirrmtry share/${dir}/|'>> ${PLIST} \ >> + && ${ECHO_CMD} "@dirrmtry share/${dir}">> ${PLIST} ; \ >> + fi >> .endfor >> .if !defined(NOPORTDOCS) >> cd ${FAKEDIR}/share/doc&& ${FIND} -s * -type f -o -type l | \ > > I committed this patch after not hearing anything back from David > Southwell. It should solve the problem, despite not knowing what the > root cause is. > > -- WXS _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: Rainer Hurling on 14 Jul 2010 03:08 On 14.07.2010 07:57 (UTC+1), Rainer Hurling wrote: > I am afraid your newest patch is not working for me. This is on > 9.0-CURRENT amd64. > > Obviously there went something wrong with the intime generated (faked) > plist: > > gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0' > /bin/rm -f > /usr/ports/multimedia/vlc/work/fake/usr/local/share/locale/locale.alias > cd /usr/ports/multimedia/vlc/work/fake/usr/local/bin && /usr/bin/find -s > * | /usr/bin/sed -e 's|^|bin/|' >> /usr/ports/multimedia/vlc/work/plist > cd /usr/ports/multimedia/vlc/work/fake/usr/local/include && > /usr/bin/find -s * -type f -o -type l | /usr/bin/sed -e 's|^|include/|' > >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | > /usr/bin/sed -e 's|^|@dirrmtry include/|' >> > /usr/ports/multimedia/vlc/work/plist > /bin/rm -f > /usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/plugins/services_discovery/libsap_plugin.la > > /bin/rm -f > /usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/plugins/services_discovery/libsap_plugin.so > > cd /usr/ports/multimedia/vlc/work/fake/usr/local/lib && /usr/bin/find -s > * -type f -o -type l| /usr/bin/sed -e 's|^|lib/|' >> > /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | > /usr/bin/sed -e 's|^|@dirrmtry lib/|' >> > /usr/ports/multimedia/vlc/work/plist > if [ -d /usr/ports/multimedia/vlc/work/fake/usr/local/libdata ]; then cd > /usr/ports/multimedia/vlc/work/fake/usr/local/libdata && /usr/bin/find > -s * -type f -o -type l| /usr/bin/sed -e 's|^|libdata/|' >> > /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | > /usr/bin/sed -e 's|^|@dirrmtry libdata/|' >> > /usr/ports/multimedia/vlc/work/plist ; fi > if [ -d /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons ]; > then cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons && > /usr/bin/find -s * -type f -o -type l | /usr/bin/sed -e > 's|^|share/icons/|' >> /usr/ports/multimedia/vlc/work/plist && > /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry > share/icons/|' >> /usr/ports/multimedia/vlc/work/plist && echo > "@dirrmtry share/icons" >> /usr/ports/multimedia/vlc/work/plist > Syntax error: end of file unexpected (expecting "fi") > *** Error code 2 > Stop in /usr/ports/multimedia/vlc. > *** Error code 1 > Stop in /usr/ports/multimedia/vlc. > *** Error code 1 > > Thanks for your work, > Rainer > > > On 14.07.2010 03:23 (UTC+1), Wesley Shields wrote: >> On Mon, Jul 12, 2010 at 09:45:34PM -0400, Joseph S. Atkinson wrote: >>> On 07/12/2010 20:24, Wesley Shields wrote: >>>> On Mon, Jul 12, 2010 at 10:42:46PM +0200, David DEMELIER wrote: >>>>> 2010/7/12 David Southwell<david(a)vizion2000.net>: >>>>>> cd: can't cd to >>>>>> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 >>> >>> ... >>> >>>>> I don't understand this : cd: can't cd to >>>>> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 >>>>> >>> >>> Whatever options were use, the kde4 directory isn't being created. >>> This needs to >>> be checked for. Try this patch. >> >>> --- /usr/ports/multimedia/vlc/Makefile 2010-07-12 16:48:11.000000000 >>> -0400 >>> +++ Makefile 2010-07-12 20:59:50.000000000 -0400 >>> @@ -662,11 +662,13 @@ >>> ${SED} -e 's|^|@dirrmtry libdata/|'>> ${PLIST} ; \ >>> fi >>> .for dir in icons kde4 vlc >>> + if [ -d ${FAKEDIR}/share/${dir} ]; then \ >>> cd ${FAKEDIR}/share/${dir}&& ${FIND} -s * -type f -o -type l | \ >>> ${SED} -e 's|^|share/${dir}/|'>> ${PLIST} \ >>> && ${FIND} -d * -type d | \ >>> - ${SED} -e 's|^|@dirrmtry share/${dir}/|'>> ${PLIST} >>> - ${ECHO_CMD} "@dirrmtry share/${dir}">> ${PLIST} >>> + ${SED} -e 's|^|@dirrmtry share/${dir}/|'>> ${PLIST} \ >>> + && ${ECHO_CMD} "@dirrmtry share/${dir}">> ${PLIST} ; \ >>> + fi >>> .endfor >>> .if !defined(NOPORTDOCS) >>> cd ${FAKEDIR}/share/doc&& ${FIND} -s * -type f -o -type l | \ >> >> I committed this patch after not hearing anything back from David >> Southwell. It should solve the problem, despite not knowing what the >> root cause is. >> >> -- WXS Sorry for top-posting in last mail. For some reason your commit to ports was not complete. These few chars in Makefile get lost: --- Makefile_OLD 2010-07-14 07:14:20.000000000 +0200 +++ Makefile 2010-07-14 08:37:47.000000000 +0200 @@ -672,7 +672,8 @@ ${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \ && ${FIND} -d * -type d | \ ${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST} \ - && ${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST} + && ${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST} ; \ + fi .endfor .if !defined(NOPORTDOCS) cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \ Rainer _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: David Southwell on 14 Jul 2010 04:20 > On Mon, Jul 12, 2010 at 09:45:34PM -0400, Joseph S. Atkinson wrote: > > On 07/12/2010 20:24, Wesley Shields wrote: > > > On Mon, Jul 12, 2010 at 10:42:46PM +0200, David DEMELIER wrote: > > >> 2010/7/12 David Southwell<david(a)vizion2000.net>: > > >>> cd: can't cd to > > >>> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 > > > > ... > > > > >> I don't understand this : cd: can't cd to > > >> /usr/ports/multimedia/vlc/work/fake/usr/local/share/kde4 > > > > Whatever options were use, the kde4 directory isn't being created. This > > needs to be checked for. Try this patch. > > > > --- /usr/ports/multimedia/vlc/Makefile 2010-07-12 16:48:11.000000000 > > -0400 +++ Makefile 2010-07-12 20:59:50.000000000 -0400 > > @@ -662,11 +662,13 @@ > > > > ${SED} -e 's|^|@dirrmtry libdata/|' >> ${PLIST} ; \ > > > > fi > > > > .for dir in icons kde4 vlc > > > > + if [ -d ${FAKEDIR}/share/${dir} ]; then \ > > > > cd ${FAKEDIR}/share/${dir} && ${FIND} -s * -type f -o -type l | \ > > > > ${SED} -e 's|^|share/${dir}/|' >> ${PLIST} \ > > && ${FIND} -d * -type d | \ > > > > - ${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST} > > - ${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST} > > + ${SED} -e 's|^|@dirrmtry share/${dir}/|' >> ${PLIST} \ > > + && ${ECHO_CMD} "@dirrmtry share/${dir}" >> ${PLIST} ; \ > > + fi > > > > .endfor > > .if !defined(NOPORTDOCS) > > > > cd ${FAKEDIR}/share/doc && ${FIND} -s * -type f -o -type l | \ > > I committed this patch after not hearing anything back from David > Southwell. It should solve the problem, despite not knowing what the > root cause is. > > -- WXS Hi Wex Thanks for looking at this one. I have been out of the office for a few days which is why you have not heard from me. We are building a new studio which is good for keeping fit! I am also likely to be out a quite a bit for a few weeks. his morning I was just going to test your patch when I saw you had committed the patch. I updated my ports and tested the result - which now produces a different error. see below ***error**** I have also listed options from /var/db/ports/vlc/ see below ***options*** __________________________________________________________________ ***error*** ____________________________________________________________________ Making install in test gmake[2]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0/test' gmake[3]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0/test' gmake[3]: Nothing to be done for `install-exec-am'. gmake[3]: Nothing to be done for `install-data-am'. gmake[3]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0/test' gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0/test' gmake[2]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0' gmake[3]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0' test -z "/usr/ports/multimedia/vlc/work/fake/usr/local/bin" || /usr/local/bin/gmkdir -p "/usr/ports/multimedia/vlc/work/fake/usr/local/bin" install -o root -g wheel -m 555 cvlc rvlc svlc qvlc '/usr/ports/multimedia/vlc/work/fake/usr/local/bin' gmake[3]: Nothing to be done for `install-data-am'. gmake[3]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0' gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0' gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-1.1.0' /bin/rm -f /usr/ports/multimedia/vlc/work/fake/usr/local/share/locale/locale.alias cd /usr/ports/multimedia/vlc/work/fake/usr/local/bin && /usr/bin/find -s * | /usr/bin/sed -e 's|^|bin/|' >> /usr/ports/multimedia/vlc/work/plist cd /usr/ports/multimedia/vlc/work/fake/usr/local/include && /usr/bin/find -s * -type f -o -type l | /usr/bin/sed -e 's|^|include/|' >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry include/|' >> /usr/ports/multimedia/vlc/work/plist /bin/rm -f /usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/plugins/services_discovery/libsap_plugin.la /bin/rm -f /usr/ports/multimedia/vlc/work/fake/usr/local/lib/vlc/plugins/services_discovery/libsap_plugin.so cd /usr/ports/multimedia/vlc/work/fake/usr/local/lib && /usr/bin/find -s * - type f -o -type l| /usr/bin/sed -e 's|^|lib/|' >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry lib/|' >> /usr/ports/multimedia/vlc/work/plist if [ -d /usr/ports/multimedia/vlc/work/fake/usr/local/libdata ]; then cd /usr/ports/multimedia/vlc/work/fake/usr/local/libdata && /usr/bin/find -s * - type f -o -type l| /usr/bin/sed -e 's|^|libdata/|' >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry libdata/|' >> /usr/ports/multimedia/vlc/work/plist ; fi if [ -d /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons ]; then cd /usr/ports/multimedia/vlc/work/fake/usr/local/share/icons && /usr/bin/find -s * -type f -o -type l | /usr/bin/sed -e 's|^|share/icons/|' >> /usr/ports/multimedia/vlc/work/plist && /usr/bin/find -d * -type d | /usr/bin/sed -e 's|^|@dirrmtry share/icons/|' >> /usr/ports/multimedia/vlc/work/plist && echo "@dirrmtry share/icons" >> /usr/ports/multimedia/vlc/work/plist Syntax error: end of file unexpected (expecting "fi") *** Error code 2 Stop in /usr/ports/multimedia/vlc. *** Error code 1 Stop in /usr/ports/multimedia/vlc. __________________________________________________________________ \\\error\\\ ____________________________________________________________________ _______________________________________________________________ ***options*** ________________________________________________________________ dns1# dns1# pwd /var/db/ports/vlc dns1# cat options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for vlc-1.1.0,3 _OPTIONS_READ=vlc-1.1.0,3 WITH_A52=true WITHOUT_AALIB=true WITH_AVAHI=true WITH_CACA=true WITH_DBUS=true WITHOUT_DIRAC=true WITH_DTS=true WITH_DVDREAD=true WITH_DVDNAV=true WITHOUT_DVBPSI=true WITH_FAAD=true WITH_FLAC=true WITHOUT_FLUID=true WITHOUT_FRIBIDI=true WITHOUT_GGI=true WITH_GLX=true WITH_GNOMEVFS=true WITH_GNUTLS=true WITH_HTTPD=true WITHOUT_JACK=true WITH_LIVEMEDIA=true WITHOUT_LUA=true WITH_MAD=true WITH_MATROSKA=true WITHOUT_MODPLUG=true WITH_MPEG2=true WITHOUT_MUSEPACK=true WITHOUT_NCURSES=true WITH_NLS=true WITHOUT_NOTIFY=true WITHOUT_OCFLAGS=true WITH_OGG=true WITHOUT_OPENGL=true WITH_PNG=true WITHOUT_PULSE=true WITH_QT4=true WITH_REALAUDIO=true WITH_SAMBA=true WITHOUT_SCHROED=true WITH_SDL=true WITH_SHOUT=true WITH_SKINS=true WITH_STREAM=true WITH_SPEEX=true WITHOUT_SQLITE=true WITHOUT_SVG=true WITHOUT_SVGALIB=true WITH_TAGLIB=true WITH_THEORA=true WITHOUT_TREMOR=true WITH_TWOLAME=true WITHOUT_UPNP=true WITH_V4L=true WITH_VCD=true WITH_VORBIS=true WITH_X264=true WITH_XCB=true WITHOUT_XOSD=true WITHOUT_XVIDEO=true WITHOUT_ZVBI=true dns1# _______________________________________________________________________________________ \\\options\\\ ______________________________________________________________________________________ Photographic Artist Permanent Installations & Design Creative Imagery and Advanced Digital Techniques High Dynamic Range Photography & Official Portraiture Combined darkroom & digital creations & Systems Adminstrator for the vizion2000.net network _______________________________________________ freebsd-ports(a)freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
From: "Joseph S. Atkinson" on 14 Jul 2010 04:57 On 07/14/2010 04:20, David Southwell wrote: > his morning I was just going to test your patch when I saw you had committed > the patch. I updated my ports and tested the result - which now produces a > different error. > .... > Syntax error: end of file unexpected (expecting "fi") > *** Error code 2 Confirmed, the last few characters are missing from the commit. I caught this a few minutes ago myself. Attached is a rectifying diff...
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: pure-ftpd 1.0.29: add support for various unofficial macros Next: FreeBSD Port: asterisk16-1.6.0.21 |