The Makefile sets PLIST incorrectly resulting in an empty packing list. Also, the Makefile sets DESCR to use the pkg-descr from graphics/tiff, but the port has its own pkg-descr. Either the latter can be removed or the Makefile shouldn't set DESCR.
Responsible Changed From-To: freebsd-ports-bugs->emulation Over to maintainer (via the GNATS Auto Assign Tool)
While agree with DESCR part, I'm not sure about PLIST one since I can't reproduce it. Can you provide some more details? -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
On 30-07-2012 13:39, Boris Samorodov wrote: > While agree with DESCR part, I'm not sure about PLIST one > since I can't reproduce it. Can you provide some more > details? I'll take a closer look later, but maybe it's because I have "WRKDIRPREFIX=/usr/obj" in /etc/make.conf. Also, in bsd.port.mk the default value of PLIST is ${PKGDIR}/pkg-plist.
On 30-07-2012 14:18, Boris Samorodov wrote: > 30.07.2012 16:00, Tijl Coosemans пиÑеÑ: >> On 30-07-2012 13:39, Boris Samorodov wrote: >> > While agree with DESCR part, I'm not sure about PLIST one >> > since I can't reproduce it. Can you provide some more >> > details? >> >> I'll take a closer look later, but maybe it's because I have >> "WRKDIRPREFIX=/usr/obj" in /etc/make.conf. > > That imho should not be the case. It's because of WRKDIRPREFIX in combination with portmaster. >> Also, in bsd.port.mk >> the default value of PLIST is ${PKGDIR}/pkg-plist. > > This is really more accurate. Seems that this should be > done for all ports using a non-standard PLIST. Yes, here are some others: # grep -R '^PLIST=' * | grep -v -E '(WRKDIR|CURDIR|PKGDIR|MASTERDIR|FILESDIR|WRKSRC|NONEXISTENT)' audio/linux-esound/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} audio/linux-f10-libaudiofile/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} audio/linux-libaudiofile/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} cad/salome/Makefile.ext:PLIST= ../salome${PKGNAMESUFFIX}/pkg-plist devel/linux-libglade/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} devel/linux-libglade2/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} games/qix/Makefile:PLIST= pkg-plist.x11 graphics/linux-f10-imlib/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} graphics/linux-f10-tiff/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} graphics/linux-imlib/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} graphics/linux-tiff/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} graphics/linux-ungif/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} japanese/namazu2/Makefile:PLIST= "@comment this plist is intentionally left empty" security/ossec-hids-client/Makefile:PLIST= pkg-plist.client security/sinfp/Makefile:PLIST= "" textproc/linux-libxml/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} textproc/linux-libxml2/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} x11-toolkits/linux-f10-gtk/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} x11-toolkits/linux-f10-qt33/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} x11-toolkits/linux-gtk/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} x11-toolkits/linux-qt33/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH}
Tijl Coosemans <tijl@coosemans.org> writes: > -PLIST= pkg-plist.${LINUX_RPM_ARCH} > +PLIST= ${PKGDIR}/pkg-plist.${LINUX_RPM_ARCH} From a commit that added PKGDIR: * Fix pkg-plist handling for ports that set a non-standard PREFIX. ports/74691 It gives a hint as to how to reproduce: $ make install deinstall PREFIX=/tmp/aaa PKG_DBDIR=/tmp/pkg $ find /tmp/aaa/ ! -type d /tmp/aaa/usr/bin/raw2tiff /tmp/aaa/usr/bin/tiffset /tmp/aaa/usr/bin/rgb2ycbcr /tmp/aaa/usr/bin/tiffdither /tmp/aaa/usr/bin/bmp2tiff [...]
30.07.2012 17:42, Tijl Coosemans пиÑеÑ: > On 30-07-2012 14:18, Boris Samorodov wrote: >> 30.07.2012 16:00, Tijl Coosemans пиÑеÑ: >>> On 30-07-2012 13:39, Boris Samorodov wrote: >>> > While agree with DESCR part, I'm not sure about PLIST one >>> > since I can't reproduce it. Can you provide some more >>> > details? >>> >>> I'll take a closer look later, but maybe it's because I have >>> "WRKDIRPREFIX=/usr/obj" in /etc/make.conf. >> >> That imho should not be the case. > > It's because of WRKDIRPREFIX in combination with portmaster. > >>> Also, in bsd.port.mk >>> the default value of PLIST is ${PKGDIR}/pkg-plist. >> >> This is really more accurate. Seems that this should be >> done for all ports using a non-standard PLIST. > > Yes, here are some others: > > # grep -R '^PLIST=' * | grep -v -E '(WRKDIR|CURDIR|PKGDIR|MASTERDIR|FILESDIR|WRKSRC|NONEXISTENT)' > audio/linux-esound/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > audio/linux-f10-libaudiofile/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > audio/linux-libaudiofile/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > cad/salome/Makefile.ext:PLIST= ../salome${PKGNAMESUFFIX}/pkg-plist > devel/linux-libglade/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > devel/linux-libglade2/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > games/qix/Makefile:PLIST= pkg-plist.x11 > graphics/linux-f10-imlib/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > graphics/linux-f10-tiff/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > graphics/linux-imlib/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > graphics/linux-tiff/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > graphics/linux-ungif/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > japanese/namazu2/Makefile:PLIST= "@comment this plist is intentionally left empty" > security/ossec-hids-client/Makefile:PLIST= pkg-plist.client > security/sinfp/Makefile:PLIST= "" > textproc/linux-libxml/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > textproc/linux-libxml2/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > x11-toolkits/linux-f10-gtk/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > x11-toolkits/linux-f10-qt33/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > x11-toolkits/linux-gtk/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > x11-toolkits/linux-qt33/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} > OK, as of linux ports. Here is a patch. Any objections? -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
On 30-07-2012 17:52, Boris Samorodov wrote: > 30.07.2012 17:42, Tijl Coosemans пиÑеÑ: >> On 30-07-2012 14:18, Boris Samorodov wrote: >>> 30.07.2012 16:00, Tijl Coosemans пиÑеÑ: >>>> On 30-07-2012 13:39, Boris Samorodov wrote: >>>> > While agree with DESCR part, I'm not sure about PLIST one >>>> > since I can't reproduce it. Can you provide some more >>>> > details? >>>> >>>> I'll take a closer look later, but maybe it's because I have >>>> "WRKDIRPREFIX=/usr/obj" in /etc/make.conf. >>> >>> That imho should not be the case. >> >> It's because of WRKDIRPREFIX in combination with portmaster. >> >>>> Also, in bsd.port.mk >>>> the default value of PLIST is ${PKGDIR}/pkg-plist. >>> >>> This is really more accurate. Seems that this should be >>> done for all ports using a non-standard PLIST. >> >> Yes, here are some others: >> >> # grep -R '^PLIST=' * | grep -v -E '(WRKDIR|CURDIR|PKGDIR|MASTERDIR|FILESDIR|WRKSRC|NONEXISTENT)' >> audio/linux-esound/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> audio/linux-f10-libaudiofile/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> audio/linux-libaudiofile/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> cad/salome/Makefile.ext:PLIST= ../salome${PKGNAMESUFFIX}/pkg-plist >> devel/linux-libglade/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> devel/linux-libglade2/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> games/qix/Makefile:PLIST= pkg-plist.x11 >> graphics/linux-f10-imlib/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> graphics/linux-f10-tiff/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> graphics/linux-imlib/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> graphics/linux-tiff/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> graphics/linux-ungif/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> japanese/namazu2/Makefile:PLIST= "@comment this plist is intentionally left empty" >> security/ossec-hids-client/Makefile:PLIST= pkg-plist.client >> security/sinfp/Makefile:PLIST= "" >> textproc/linux-libxml/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> textproc/linux-libxml2/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> x11-toolkits/linux-f10-gtk/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> x11-toolkits/linux-f10-qt33/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> x11-toolkits/linux-gtk/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> x11-toolkits/linux-qt33/Makefile:PLIST= pkg-plist.${LINUX_RPM_ARCH} >> > > OK, as of linux ports. Here is a patch. Any objections? Looks good to me.
Author: bsam Date: Tue Jul 31 14:03:15 2012 New Revision: 301791 URL: http://svn.freebsd.org/changeset/ports/301791 Log: Remove extra pkg-descr file (DESCR is defined at the Makefile). PR: ports/169702 Submitted by: Tijl Coosemans <tijl@coosemans.org> Deleted: head/graphics/linux-f10-tiff/pkg-descr _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Ports are fixed, thanks!