Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2017 14:05:10 +0800
From:      Jov <amutu@amutu.com>
To:        blubee blubeeme <gurenchan@gmail.com>
Cc:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   Re: Making port check-plist errors
Message-ID:  <CADyrUxP1r2Et6PX8v5GqRXeTQgwG9cMGqiHM%2BWFguY1V-bg%2B=Q@mail.gmail.com>
In-Reply-To: <CALM2mEmvQTnqZb-_wLn8k7AVn_RQGi_Tj2_onR8qYT-56MWS7A@mail.gmail.com>
References:  <CALM2mEmvQTnqZb-_wLn8k7AVn_RQGi_Tj2_onR8qYT-56MWS7A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi
 you should use 'make makeplist' to generate pkg-plist file. make
check-plist to verify to pkg-plist after make.

2017-07-12 13:46 GMT+08:00 blubee blubeeme <gurenchan@gmail.com>:

> I am running into errors when trying to register the installation files.
>
> The Makefile is pretty barebones, it looks like this so far:
> PORTNAME=        epson-inkjet-printer-201401w
> PORTVERSION=    201401w
> PORTREVISION=    1
> PORTEPOCH=        0
> CATEGORIES=        print
> MASTER_SITES=      https://download3.ebz.epson.net/dsc/f/03/00/03/45/41/
> d95c03482376873661d7a8d4c165b385cd082cf3/:amd64 \
>                    https://download3.ebz.epson.net/dsc/f/03/00/03/45/41/
> 0c527f1eef727e350302db951a45d31319ee501b/:i386
>
> DISTFILES_amd64=   epson-inkjet-printer-201401w-
> 1.0.0-1lsb3.2.x86_64.rpm:amd64
> DISTFILES_i386=    epson-inkjet-printer-201401w-
> 1.0.0-1lsb3.2.i486.rpm:i386
>
>
> LICENSE=        LGPLv21
> DIST_SUBDIR=    ${PORTNAME}/${PORTVERSION}
>
> MAINTAINER=        hello@blubee.me
> COMMENT=        CUPS filter for Seiko Epson Color Ink Jet Printers
>
> RESTRICTED=        GNU Lesser General Public License version 2.1. \
>                    This program links the following object codes  \
>        which are distributed under the conditions of  \
>            SEIKO EPSON CORPORATION SOFTWARE LICENSE AGREEMENT. \
>            *libEpson_201401w.so.1.0.0 \
>            *libEpson_201401w.MT.so.1.0.0
>
>
> NO_BUILD=        yes
> NO_WRKSUBDIR=    yes
> PLIST_SUB=        LINUXBASE=${LINUXBASE}
> USES=        linux
> USE_LINUX=        cups-libs jpeg
>
> do-install:
> (echo ${WRKSRC})
> (gunzip ${WRKSRC}/opt/${PORTNAME}/ppds/Epson/*)
> (find ${WRKSRC}/opt/${PORTNAME}/ppds/Epson -type f -exec sed -i ""
> 's/\/opt\/epson/\/compat\/linux\/opt\/epson/g' {} \;)
> (cp -r ${WRKSRC}/opt/${PORTNAME} /compat/linux/opt/)
> (ln -sf /compat/linux/opt/${PORTNAME}/ppds/Epson
> /usr/local/share/cups/model/)
> (touch ./pkg-plist)
> (find /compat/linux/opt/${PORTNAME} > ./pkg-plist)
> (echo '/usr/local/share/cups/model/Epson' >> ./pkg-plist)
>
> this is what the pkg-plist file looks like after that running make
> makeplist
>
> cat ./pkg-plist
> /compat/linux/opt/epson-inkjet-printer-201401w
> /compat/linux/opt/epson-inkjet-printer-201401w/cups
> /compat/linux/opt/epson-inkjet-printer-201401w/cups/lib
> /compat/linux/opt/epson-inkjet-printer-201401w/cups/lib/filter
> /compat/linux/opt/epson-inkjet-printer-201401w/cups/
> lib/filter/epson_inkjet_
> printer_filter
> /compat/linux/opt/epson-inkjet-printer-201401w/lib64
> /compat/linux/opt/epson-inkjet-printer-201401w/lib64/
> libEpson_201401w.so.1.0.0
> /compat/linux/opt/epson-inkjet-printer-201401w/lib64/
> libEpson_201401w.MT.so.1.0.0
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/Epson
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L222_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L456_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L132_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L360_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L455_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L310_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L366_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L362_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L312_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L365_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L220_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L130_Series-epson-driver.ppd
> /compat/linux/opt/epson-inkjet-printer-201401w/doc
> /compat/linux/opt/epson-inkjet-printer-201401w/doc/README
> /compat/linux/opt/epson-inkjet-printer-201401w/doc/Manual.txt
> /compat/linux/opt/epson-inkjet-printer-201401w/doc/COPYING.EPSON
> /compat/linux/opt/epson-inkjet-printer-201401w/doc/COPYING.LIB
> /compat/linux/opt/epson-inkjet-printer-201401w/doc/COPYING
> /compat/linux/opt/epson-inkjet-printer-201401w/doc/AUTHORS
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG07.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG00.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG09.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG08.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG01.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG06.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG05.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG02.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG03.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/watermark/WEPCG04.EID
> /compat/linux/opt/epson-inkjet-printer-201401w/resource
> /compat/linux/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.MT.3.
> data
> /compat/linux/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.1.data
> /compat/linux/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.MT.2.
> data
> /compat/linux/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.MT.4.
> data
> /compat/linux/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.MT.1.
> data
> /usr/local/share/cups/model/Epson
>
> but I get errors when doing:
>  make check-plist
> ====> Checking for pkg-plist issues (check-plist)
> ===> Parsing plist
> ===> Checking for items in STAGEDIR missing from pkg-plist
> ===> Checking for items in pkg-plist which are not in STAGEDIR
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/cups
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/cups/lib
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/cups/
> lib/filter
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/cups/
> lib/filter/epson_inkjet_printer_filter
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/doc
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/doc/AUTHORS
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/doc/COPYING
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/doc/
> COPYING.EPSON
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/doc/
> COPYING.LIB
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/doc/
> Manual.txt
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/doc/README
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/lib64
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/lib64/
> libEpson_201401w.MT.so.1.0.0
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/lib64/
> libEpson_201401w.so.1.0.0
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/Epson
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L130_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L132_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L220_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L222_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L310_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L312_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L360_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L362_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L365_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L366_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L455_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/ppds/
> Epson/Epson-L456_Series-epson-driver.ppd
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/resource
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.1.data
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.MT.1.data
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.MT.2.data
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.MT.3.data
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> resource/Epson_201401w.MT.4.data
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/watermark
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG00.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG01.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG02.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG03.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG04.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG05.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG06.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG07.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG08.EID
> Error: Missing: %%LINUXBASE%%/opt/epson-inkjet-printer-201401w/
> watermark/WEPCG09.EID
> Error: Missing: share/cups/model/Epson
> ===> Error: Plist issues found.
> *** Error code 1
>
> Stop.
>
> Here's a pastebin with all that info as well:
> https://pastebin.com/srzRAYrQ
>
> Why is the make check-plist failing?
>
> Best,
> Owen
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADyrUxP1r2Et6PX8v5GqRXeTQgwG9cMGqiHM%2BWFguY1V-bg%2B=Q>