Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help needed writing lftp ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Wed Dec 06, 2017 10:49 am    Post subject: help needed writing lftp ebuild Reply with quote

Please help me write an ebuild for slFtp-1.5.5

here is my first try

Code:

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="slFtp is an open-source, multithreaded modded lftp with native Linux and Windows support,"
HOMEPAGE=""
SRC_URI="https://filebin.net/trfimm1re04kaoxv/slftp-1.5.5.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="convert-mozilla-cookies +gnutls idn ipv6 libressl nls socks5 +ssl verify-file"

DEPEND="
   <=sys-libs/ncurses-6.0
   >=dev-lang/fpc-3.0
   dev-libs/openssl
   dev-libs/expat
   sys-libs/zlib

   ssl? (
      gnutls? ( >=net-libs/gnutls-1.2.3:0= )
      !gnutls? (
         !libressl? ( dev-libs/openssl:0= )
      )
   )
   verify-file? (
      dev-perl/String-CRC32
      virtual/perl-Digest-MD5
   )
"

DEPEND="
   ${RDEPEND}
   =sys-devel/libtool-2*
   app-arch/xz-utils
   nls? ( >=sys-devel/gettext-0.19 )
   virtual/pkgconfig
"
DOCS=(
   chains compiling faq files indexer installation knownbugs license masks midnight mysql
   nukebot old-changelog precatcher readme STATS_colors tvinfo usage
)


src_prepare() {
   default

   eautoreconf

   elibtoolize # for Darwin bundles
}
   



When I try to emerge it I get this:

Code:
 * Package:    net-ftp/slftp-1.5.5
 * Repository: localrepo
 * USE:        abi_x86_64 amd64 elibc_glibc gnutls ipv6 kernel_linux nls ssl userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking slftp-1.5.5.tar.bz2 to /var/tmp/portage/net-ftp/slftp-1.5.5/work
>>> Source unpacked in /var/tmp/portage/net-ftp/slftp-1.5.5/work
 * ERROR: net-ftp/slftp-1.5.5::localrepo failed (prepare phase):
 *   The source directory '/var/tmp/portage/net-ftp/slftp-1.5.5/work/slftp-1.5.5' doesn't exist
 *
 * Call stack:
 *            ebuild.sh, line  776:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1053:  Called __dyn_prepare
 *   phase-functions.sh, line  372:  Called die
 * The specific snippet of code:
 *         die "The source directory '${S}' doesn't exist"
 *
 * If you need support, post the output of `emerge --info '=net-ftp/slftp-1.5.5::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=net-ftp/slftp-1.5.5::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/net-ftp/slftp-1.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-ftp/slftp-1.5.5/homedir'
 * S: '/var/tmp/portage/net-ftp/slftp-1.5.5/work/slftp-1.5.5'


Any ideas to fix it are welcome
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 06, 2017 11:08 am    Post subject: Reply with quote

You can post the content of directory /var/tmp/portage/net-ftp/slftp-1.5.5/work/?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Wed Dec 06, 2017 11:17 am    Post subject: Reply with quote

Code:
.  ..  CHANGELOG  docs  sources
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 06, 2017 11:24 am    Post subject: Reply with quote

Ok, then add simply S="${WORKDIR}" on your ebuild before src_prepare().
This is needed because by default S (path to the temporary build directory) is equals ${WORKDIR}/${P} but your package not create P directory when unpacked.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Wed Dec 06, 2017 11:55 am    Post subject: Reply with quote

Code:
Failed to emerge net-ftp/slftp-1.5.5, Log file:

>>>  '/var/tmp/portage/net-ftp/slftp-1.5.5/temp/build.log'

 * Messages for package net-ftp/slftp-1.5.5:

 * ERROR: net-ftp/slftp-1.5.5::localrepo failed (install phase):
 *   dodoc failed
 *
 * If you need support, post the output of `emerge --info '=net-ftp/slftp-1.5.5::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=net-ftp/slftp-1.5.5::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/net-ftp/slftp-1.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-ftp/slftp-1.5.5/work'
 * S: '/var/tmp/portage/net-ftp/slftp-1.5.5/work


/var/tmp/portage/net-ftp/slftp-1.5.5/temp/build.log

Code:
 * Package:    net-ftp/slftp-1.5.5
 * Repository: localrepo
 * USE:        abi_x86_64 amd64 elibc_glibc gnutls ipv6 kernel_linux nls ssl userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking slftp-1.5.5.tar.bz2 to /var/tmp/portage/net-ftp/slftp-1.5.5/work
>>> Source unpacked in /var/tmp/portage/net-ftp/slftp-1.5.5/work
>>> Preparing source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 320: eautoreconf: command not found
/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 321: elibtoolize: command not found
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
>>> Source compiled.
>>> Test phase [not enabled]: net-ftp/slftp-1.5.5

>>> Install slftp-1.5.5 into /var/tmp/portage/net-ftp/slftp-1.5.5/image/ category net-ftp
/usr/bin/install: cannot stat 'chains': No such file or directory
!!! dodoc: chains does not exist
/usr/bin/install: cannot stat 'compiling': No such file or directory
!!! dodoc: compiling does not exist
/usr/bin/install: cannot stat 'faq': No such file or directory
!!! dodoc: faq does not exist
/usr/bin/install: cannot stat 'files': No such file or directory
!!! dodoc: files does not exist
/usr/bin/install: cannot stat 'indexer': No such file or directory
!!! dodoc: indexer does not exist
/usr/bin/install: cannot stat 'installation': No such file or directory
!!! dodoc: installation does not exist
/usr/bin/install: cannot stat 'knownbugs': No such file or directory
!!! dodoc: knownbugs does not exist
/usr/bin/install: cannot stat 'license': No such file or directory
!!! dodoc: license does not exist
/usr/bin/install: cannot stat 'masks': No such file or directory
!!! dodoc: masks does not exist
/usr/bin/install: cannot stat 'midnight': No such file or directory
!!! dodoc: midnight does not exist
/usr/bin/install: cannot stat 'mysql': No such file or directory
!!! dodoc: mysql does not exist
/usr/bin/install: cannot stat 'nukebot': No such file or directory
!!! dodoc: nukebot does not exist
/usr/bin/install: cannot stat 'old-changelog': No such file or directory
!!! dodoc: old-changelog does not exist
/usr/bin/install: cannot stat 'precatcher': No such file or directory
!!! dodoc: precatcher does not exist
/usr/bin/install: cannot stat 'readme': No such file or directory
!!! dodoc: readme does not exist
/usr/bin/install: cannot stat 'STATS_colors': No such file or directory
!!! dodoc: STATS_colors does not exist
/usr/bin/install: cannot stat 'tvinfo': No such file or directory
!!! dodoc: tvinfo does not exist
/usr/bin/install: cannot stat 'usage': No such file or directory
!!! dodoc: usage does not exist
 * ERROR: net-ftp/slftp-1.5.5::localrepo failed (install phase):
 *   dodoc failed
 *
 * If you need support, post the output of `emerge --info '=net-ftp/slftp-1.5.5::localrepo'`,
 * the complete build log and the output of `emerge -pqv '=net-ftp/slftp-1.5.5::localrepo'`.
 * The complete build log is located at '/var/tmp/portage/net-ftp/slftp-1.5.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-ftp/slftp-1.5.5/work'
 * S: '/var/tmp/portage/net-ftp/slftp-1.5.5/work'
 * QA Notice: command not found:
 * 
 *    /var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 320: eautoreconf: command not found
 *    /var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 321: elibtoolize: command not found
 * QA Notice: file does not exist:
 * 
 *    dodoc: chains does not exist
 *    dodoc: compiling does not exist
 *    dodoc: faq does not exist
 *    dodoc: files does not exist
 *    dodoc: indexer does not exist
 *    dodoc: installation does not exist
 *    dodoc: knownbugs does not exist
 *    dodoc: license does not exist
 *    dodoc: masks does not exist
 *    dodoc: midnight does not exist
 *    dodoc: mysql does not exist
 *    dodoc: nukebot does not exist
 *    dodoc: old-changelog does not exist
 *    dodoc: precatcher does not exist
 *    dodoc: readme does not exist
 *    dodoc: STATS_colors does not exist
 *    dodoc: tvinfo does not exist
 *    dodoc: usage does not exist
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 06, 2017 12:07 pm    Post subject: Reply with quote

Apart CHANGELOG rest of documentation are located in docs directory, then add this to DOCS variable
Code:
DOCS=( CHANGELOG  docs/... docs/... ... )

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Wed Dec 06, 2017 1:35 pm    Post subject: Reply with quote

thank you

Code:
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="slFtp is an open-source, multithreaded FTP client with native Linux and Windows support,"
HOMEPAGE=""
SRC_URI="https://filebin.net/trfimm1re04kaoxv/slftp-1.5.5.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="convert-mozilla-cookies +gnutls idn ipv6 libressl nls socks5 +ssl verify-file"

DEPEND="
        <=sys-libs/ncurses-6.0
        >=dev-lang/fpc-3.0
        dev-libs/openssl
        dev-libs/expat
        sys-libs/zlib

        ssl? (
                gnutls? ( >=net-libs/gnutls-1.2.3:0= )
                !gnutls? (
                        !libressl? ( dev-libs/openssl:0= )
                )
        )
        verify-file? (
                dev-perl/String-CRC32
                virtual/perl-Digest-MD5
        )
"

DEPEND="
        ${RDEPEND}
        =sys-devel/libtool-2*
        app-arch/xz-utils
        nls? ( >=sys-devel/gettext-0.19 )
        virtual/pkgconfig
"
DOCS=(
 DOCS=( CHANGELOG  docs/... docs/... ... ))

S="${WORKDIR}"
src_prepare() {
        default

        eautoreconf

        elibtoolize # for Darwin bundles
}


Code:
emerge --ask --verbose --oneshot net-ftp/slftp

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] net-ftp/slftp-1.5.5::localrepo  USE="gnutls ipv6 nls ssl -convert-mozilla-cookies -idn -libressl -socks5 -verify-file" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) net-ftp/slftp-1.5.5::localrepo
 * slftp-1.5.5.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                           [ ok ]
/usr/local/portage/net-ftp/slftp/slftp-1.5.5.ebuild: line 42: syntax error near unexpected token `('
/usr/local/portage/net-ftp/slftp/slftp-1.5.5.ebuild: line 42: ` DOCS=( CHANGELOG  docs/... docs/... ... ))'
>>> Unpacking source...
>>> Unpacking slftp-1.5.5.tar.bz2 to /var/tmp/portage/net-ftp/slftp-1.5.5/work
>>> Source unpacked in /var/tmp/portage/net-ftp/slftp-1.5.5/work
>>> Preparing source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 319: eautoreconf: command not found
/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 320: elibtoolize: command not found
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
>>> Source compiled.
>>> Test phase [not enabled]: net-ftp/slftp-1.5.5

>>> Install slftp-1.5.5 into /var/tmp/portage/net-ftp/slftp-1.5.5/image/ category net-ftp
>>> Completed installing slftp-1.5.5 into /var/tmp/portage/net-ftp/slftp-1.5.5/image/

 * Final size of build directory: 6000 KiB (5.8 MiB)
 * Final size of installed tree:    44 KiB

 * QA Notice: command not found:
 *
 *      /var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 319: eautoreconf: command not found
 *      /var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 320: elibtoolize: command not found
ecompressdir: bzip2 -9 /usr/share/doc

>>> Installing (1 of 1) net-ftp/slftp-1.5.5::localrepo
 * checking 1 files for package collisions
>>> Merging net-ftp/slftp-1.5.5 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/slftp-1.5.5/
>>> /usr/share/doc/slftp-1.5.5/CHANGELOG.bz2
>>> net-ftp/slftp-1.5.5 merged.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.


but the installation seems not to be complete

Code:
equery f slftp
 * Searching for slftp ...
 * Contents of net-ftp/slftp-1.5.5:
/usr
/usr/share
/usr/share/doc
/usr/share/doc/slftp-1.5.5
/usr/share/doc/slftp-1.5.5/CHANGELOG.bz2
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 06, 2017 2:17 pm    Post subject: Reply with quote

No three dots are only as example, change line from
Code:
DOCS=(
   chains compiling faq files indexer installation knownbugs license masks midnight mysql
   nukebot old-changelog precatcher readme STATS_colors tvinfo usage
)

to
Code:
DOCS=(
   CHANGELOG docs/chains docs/compiling docs/faq docs/files docs/indexer docs/installation docs/knownbugs docs/license docs/masks docs/midnight docs/mysql
   docs/nukebot docs/old-changelog docs/precatcher docs/readme docs/STATS_colors docs/tvinfo docs/usage
)

bu you need to make sure that are present in directory /var/tmp/portage/net-ftp/slftp-1.5.5/work/docs, if is not the case remove all entry not present
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Wed Dec 06, 2017 2:36 pm    Post subject: Reply with quote

Code:
 Emerging (1 of 1) net-ftp/slftp-1.5.5::localrepo
 * slftp-1.5.5.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking slftp-1.5.5.tar.bz2 to /var/tmp/portage/net-ftp/slftp-1.5.5/work
>>> Source unpacked in /var/tmp/portage/net-ftp/slftp-1.5.5/work
>>> Preparing source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 320: eautoreconf: command not found
/var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 321: elibtoolize: command not found
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-ftp/slftp-1.5.5/work ...
>>> Source compiled.
>>> Test phase [not enabled]: net-ftp/slftp-1.5.5

>>> Install slftp-1.5.5 into /var/tmp/portage/net-ftp/slftp-1.5.5/image/ category net-ftp
>>> Completed installing slftp-1.5.5 into /var/tmp/portage/net-ftp/slftp-1.5.5/image/

 * Final size of build directory: 6000 KiB (5.8 MiB)
 * Final size of installed tree:   212 KiB

 * QA Notice: command not found:
 *
 *      /var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 320: eautoreconf: command not found
 *      /var/tmp/portage/net-ftp/slftp-1.5.5/temp/environment: line 321: elibtoolize: command not found
ecompressdir: bzip2 -9 /usr/share/doc

>>> Installing (1 of 1) net-ftp/slftp-1.5.5::localrepo
 * checking 19 files for package collisions
>>> Merging net-ftp/slftp-1.5.5 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/slftp-1.5.5/
>>> /usr/share/doc/slftp-1.5.5/indexer.bz2
>>> /usr/share/doc/slftp-1.5.5/tvinfo.bz2
>>> /usr/share/doc/slftp-1.5.5/license.bz2
>>> /usr/share/doc/slftp-1.5.5/compiling.bz2
>>> /usr/share/doc/slftp-1.5.5/nukebot.bz2
>>> /usr/share/doc/slftp-1.5.5/masks.bz2
>>> /usr/share/doc/slftp-1.5.5/old-changelog.bz2
>>> /usr/share/doc/slftp-1.5.5/faq.bz2
>>> /usr/share/doc/slftp-1.5.5/CHANGELOG.bz2
>>> /usr/share/doc/slftp-1.5.5/precatcher.bz2
>>> /usr/share/doc/slftp-1.5.5/STATS_colors.bz2
>>> /usr/share/doc/slftp-1.5.5/usage.bz2
>>> /usr/share/doc/slftp-1.5.5/readme.bz2
>>> /usr/share/doc/slftp-1.5.5/files.bz2
>>> /usr/share/doc/slftp-1.5.5/midnight.bz2
>>> /usr/share/doc/slftp-1.5.5/mysql.bz2
>>> /usr/share/doc/slftp-1.5.5/installation.bz2
>>> /usr/share/doc/slftp-1.5.5/chains.bz2
>>> /usr/share/doc/slftp-1.5.5/knownbugs
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/doc/slftp-1.5.5/CHANGELOG.bz2
--- replaced dir /usr/share/doc/slftp-1.5.5
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced dir /usr
>>> Original instance of package unmerged safely.
>>> net-ftp/slftp-1.5.5 merged.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: config file '/etc/unrealircd/unrealircd.conf' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

palme /usr/local/portage/net-ftp/slftp # equery f slftp
 * Searching for slftp ...
 * Contents of net-ftp/slftp-1.5.5:
/usr
/usr/share
/usr/share/doc
/usr/share/doc/slftp-1.5.5
/usr/share/doc/slftp-1.5.5/CHANGELOG.bz2
/usr/share/doc/slftp-1.5.5/STATS_colors.bz2
/usr/share/doc/slftp-1.5.5/chains.bz2
/usr/share/doc/slftp-1.5.5/compiling.bz2
/usr/share/doc/slftp-1.5.5/faq.bz2
/usr/share/doc/slftp-1.5.5/files.bz2
/usr/share/doc/slftp-1.5.5/indexer.bz2
/usr/share/doc/slftp-1.5.5/installation.bz2
/usr/share/doc/slftp-1.5.5/knownbugs
/usr/share/doc/slftp-1.5.5/license.bz2
/usr/share/doc/slftp-1.5.5/masks.bz2
/usr/share/doc/slftp-1.5.5/midnight.bz2
/usr/share/doc/slftp-1.5.5/mysql.bz2
/usr/share/doc/slftp-1.5.5/nukebot.bz2
/usr/share/doc/slftp-1.5.5/old-changelog.bz2
/usr/share/doc/slftp-1.5.5/precatcher.bz2
/usr/share/doc/slftp-1.5.5/readme.bz2
/usr/share/doc/slftp-1.5.5/tvinfo.bz2
/usr/share/doc/slftp-1.5.5/usage.bz2
ks201239 /usr/local/portage/net-ftp/slftp # cd /
ks201239 / # equery f slftp
 * Searching for slftp ...
 * Contents of net-ftp/slftp-1.5.5:
/usr
/usr/share
/usr/share/doc
/usr/share/doc/slftp-1.5.5
/usr/share/doc/slftp-1.5.5/CHANGELOG.bz2
/usr/share/doc/slftp-1.5.5/STATS_colors.bz2
/usr/share/doc/slftp-1.5.5/chains.bz2
/usr/share/doc/slftp-1.5.5/compiling.bz2
/usr/share/doc/slftp-1.5.5/faq.bz2
/usr/share/doc/slftp-1.5.5/files.bz2
/usr/share/doc/slftp-1.5.5/indexer.bz2
/usr/share/doc/slftp-1.5.5/installation.bz2
/usr/share/doc/slftp-1.5.5/knownbugs
/usr/share/doc/slftp-1.5.5/license.bz2
/usr/share/doc/slftp-1.5.5/masks.bz2
/usr/share/doc/slftp-1.5.5/midnight.bz2
/usr/share/doc/slftp-1.5.5/mysql.bz2
/usr/share/doc/slftp-1.5.5/nukebot.bz2
/usr/share/doc/slftp-1.5.5/old-changelog.bz2
/usr/share/doc/slftp-1.5.5/precatcher.bz2
/usr/share/doc/slftp-1.5.5/readme.bz2
/usr/share/doc/slftp-1.5.5/tvinfo.bz2
/usr/share/doc/slftp-1.5.5/usage.bz2
palme / # slftp
Bash: Command not found


the ebuils seems only to copy the doc files to /usr/share/doc/slftp-1.5.5 but not to compile and install lftp
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Wed Dec 06, 2017 3:19 pm    Post subject: Reply with quote

You should read docs/compiling. As first step try to compile manually (compile not install) to see how package compilation work (seems that package have only Makefile so eautoreconf is useless).
In your ebuild you have two DEPEND, I think that first should be RDEPEND or viceversa.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Thu Dec 07, 2017 2:12 pm    Post subject: Reply with quote

Hi

compile manually

make slftp_64
Code:

make clean
make[1]: Entering directory „/home/palme/slFtp.1.5.5/sources/slftp“ Entering directory
make[1]: directory „/home/palme/slFtp.1.5.5/sources/slftp“ Leaving directory
fpc -Px86_64 -MDelphi -O3 -Xs -Fulibs/FastMM4 -Fulibs/BeRoHighResolutionTimer -Fulibs/FLRE -Fulibs/rcmdline -Fulibs/DFFLibV15_UIntList -Fulibs/lkJSON slftp.lpr
Free Pascal Compiler version 3.0.2 [2017/12/06] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling slftp.lpr
Compiling ./libs/FastMM4/FastMM4.pas
Compiling ./libs/FastMM4/FastMM4Messages.pas
FastMM4.pas(1983,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(1983,109) Warning: Some fields coming before "UpsizeMoveProcedure" were not initialized
FastMM4.pas(1987,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(1987,109) Warning: Some fields coming before "UpsizeMoveProcedure" were not initialized
FastMM4.pas(1991,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(1991,109) Warning: Some fields coming before "UpsizeMoveProcedure" were not initialized
FastMM4.pas(1995,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(1995,109) Warning: Some fields coming before "UpsizeMoveProcedure" were not initialized
FastMM4.pas(1999,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2003,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2007,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2011,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2015,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2019,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2021,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2022,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2023,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2024,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2025,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2026,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2027,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2028,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2029,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2030,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2032,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2033,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2034,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2035,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2036,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2038,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2039,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2040,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2041,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2043,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2044,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2046,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2047,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2049,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2050,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2052,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2053,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2055,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2057,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2059,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2061,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2063,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2065,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2067,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2072,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2073,17) Warning: Some fields coming before "BlockSize" were not initialized
FastMM4.pas(2166,13) Warning: Some fields coming before "GetMem" were not initialized
FastMM4.pas(2168,17) Warning: Some fields coming before "ReallocMem" were not initialized
FastMM4.pas(2417,3) Note: Local variable "tmp" not used
FastMM4.pas(6399,19) Warning: range check error while evaluating constants (-1 must be between 0 and 18446744073709551615)
FastMM4.pas(8628,13) Warning: range check error while evaluating constants (-1 must be between 0 and 18446744073709551615)
FastMM4.pas(10296,9) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(10296,45) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(10297,13) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(10297,49) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11021,25) Warning: range check error while evaluating constants (-1 must be between 0 and 18446744073709551615)
FastMM4.pas(11043,18) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11077,33) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11077,52) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11087,31) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11087,50) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(1707,3) Note: Local variable "Copyright" not used
Compiling console.pas
Compiling slvision.pas
Compiling slconsole.pas
Compiling slsignals.pas
slconsole.pas(1041,27) Warning: Local variable "ps" does not seem to be initialized
Compiling debugunit.pas
Compiling configunit.pas
Compiling encinifile.pas
Compiling slmd5.pas
Compiling slblowfish.pas
Compiling delphiblowfish.pas
Compiling delphiblowfishtools.pas
Compiling configunit.pas
Compiling helper.pas
encinifile.pas(415,39) Warning: Conversion between ordinals and pointers is not portable
encinifile.pas(415,39) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
encinifile.pas(449,22) Warning: Conversion between ordinals and pointers is not portable
encinifile.pas(449,22) Warning: Converting pointers to signed integers may result in wrong comparison results and range errors, use an unsigned type instead.
Compiling LibTar.pas
LibTar.pas(191,18) Warning: Constructor should be public
LibTar.pas(410,15) Warning: Local variable "S0" does not seem to be initialized
LibTar.pas(426,15) Warning: Local variable "S0" does not seem to be initialized
LibTar.pas(725,26) Warning: function result variable of a managed type does not seem to initialized
Compiling irc.pas
Compiling tasksunit.pas
Compiling queueunit.pas
Compiling taskrace.pas
Compiling pazo.pas
Compiling kb.pas
Compiling knowngroups.pas
Compiling regexpr.pas
regexpr.pas(2626,13) Warning: Local variable "ret" does not seem to be initialized
regexpr.pas(2406,22) Warning: Local variable "RangeBeg" does not seem to be initialized
regexpr.pas(3643,5) Warning: function result variable of a managed type does not seem to initialized
regexpr.pas(3795,9) Warning: function result variable of a managed type does not seem to initialized
regexpr.pas(3798,5) Warning: function result variable of a managed type does not seem to initialized
regexpr.pas(4047,25) Warning: function result variable of a managed type does not seem to initialized
regexpr.pas(4064,9) Warning: function result variable of a managed type does not seem to initialized
Compiling mainthread.pas
Compiling pretimeunit.pas
Compiling slsqlite.pas
Compiling mystrings.pas
Compiling sitesunit.pas
Compiling sltcp.pas
Compiling mslproxys.pas
Compiling slstack.pas
Compiling slssl.pas
Compiling slhelper.pas
Compiling taskautodirlist.pas
Compiling sitesunit.pas
Compiling taskautocrawler.pas
Compiling taskautonuke.pas
Compiling sitesunit.pas
Compiling taskautoindex.pas
Compiling sitesunit.pas
Compiling tasklogin.pas
Compiling sitesunit.pas
Compiling taskrules.pas
Compiling sitesunit.pas
Compiling irc.pas
Compiling ircblowfish.pas
ircblowfish.pas(221,6) Warning: Local variable "bf" does not seem to be initialized
Compiling irccolorunit.pas
Compiling precatcher.pas
Compiling slmasks.pas
Compiling delphimasks.pas
delphimasks.pas(156,19) Warning: Local variable "SkipTo" does not seem to be initialized
Compiling queueunit.pas
Compiling taskrace.pas
Compiling pazo.pas
Compiling dirlist.pas
Compiling skiplists.pas
Compiling globals.pas
Compiling tags.pas
Compiling ./libs/FLRE/FLRE.pas
Compiling ./libs/FLRE/PUCU.pas
FLRE.pas(4518,5) Note: Local variable "Index" not used
FLRE.pas(4519,5) Note: Local variable "CurrentChar" not used
FLRE.pas(4668,5) Note: Local variable "Index" not used
FLRE.pas(4669,5) Note: Local variable "CurrentChar" not used
FLRE.pas(4809,5) Note: Local variable "Index" not used
FLRE.pas(4810,5) Note: Local variable "CurrentChar" not used
FLRE.pas(4970,5) Note: Local variable "Index" not used
FLRE.pas(4971,5) Note: Local variable "CurrentChar" not used
FLRE.pas(5069,5) Note: Local variable "Index" not used
FLRE.pas(5070,5) Note: Local variable "CurrentChar" not used
FLRE.pas(5215,5) Note: Local variable "Index" not used
FLRE.pas(5216,5) Note: Local variable "CurrentChar" not used
FLRE.pas(12536,31) Note: Local variable "Index" not used
FLRE.pas(12539,5) Note: Local variable "Flags" not used
FLRE.pas(12541,5) Note: Local variable "Instruction" not used
FLRE.pas(12800,5) Note: Local variable "Flags" not used
FLRE.pas(12802,5) Note: Local variable "Instruction" not used
FLRE.pas(17823,5) Note: Local variable "c" not used
FLRE.pas(18885,23) Note: Local variable "TotalCount" not used
FLRE.pas(18889,5) Note: Local variable "CurrentChar" not used
FLRE.pas(20412,5) Note: Local variable "Done" not used
FLRE.pas(22396,5) Note: Local variable "i" not used
Compiling mrdohutils.pas
Compiling ./libs/BeRoHighResolutionTimer/BeRoHighResolutionTimer.pas
dirlist.pas(1118,3) Note: Local variable "hrt" not used
dirlist.pas(1119,3) Note: Local variable "st1" not used
dirlist.pas(1119,8) Note: Local variable "et1" not used
dirlist.pas(1119,13) Note: Local variable "st2" not used
dirlist.pas(1119,18) Note: Local variable "et2" not used
common.inc(7,1) Note: Local variable "iniFiles" not used
common.inc(11,1) Note: Local variable "commonFiles" not used
common.inc(17,1) Note: Local variable "generatedFiles" not used
common.inc(49,1) Note: Local variable "FileSizeUnits" not used
common.inc(52,1) Note: Local variable "CountryCodes" not used
common.inc(71,1) Note: Local variable "CountryNames" not used
Compiling ./libs/DFFLibV15_UIntList/UIntList.pas
Compiling queueunit.pas
Compiling taskrace.pas
Compiling taskdel.pas
Compiling statsunit.pas
Compiling queueunit.pas
Compiling slcriticalsection.pas
Compiling taskidle.pas
Compiling taskquit.pas
Compiling notify.pas
Compiling tasktvinfolookup.pas
Compiling xmlwrapper.pas
Compiling slhttp.pas
Compiling socks5.pas
Compiling dbtvinfo.pas
Compiling irccommandsunit.pas
Compiling prebot.pas
Compiling tasklame.pas
Compiling lame.pas
Compiling ID3v2.pas
Compiling mpeginfo.pas
Compiling taskdirlist.pas
Compiling taskraw.pas
Compiling irccommandsunit.pas
Compiling versioninfo.pas
Compiling speedstatsunit.pas
Compiling indexer.pas
Compiling taskcwd.pas
Compiling nuke.pas
Compiling rulesunit.pas
Compiling taskspeedtest.pas
Compiling taskfilesize.pas
Compiling ranksunit.pas
Compiling ./libs/rcmdline/rcmdline.pas
Compiling mysqlutilunit.pas
Compiling slmysql2.pas
Compiling slctypes.pas
Compiling VarRecUtils.pas
Compiling backupunit.pas
Compiling dbaddpre.pas
Compiling dateunit.pas
Compiling taskpretime.pas
Compiling sllanguagebase.pas
Compiling fake.pas
Compiling dbaddurl.pas
Compiling dbaddimdb.pas
Compiling taskhttpimdb.pas
Compiling tasksitenfo.pas
Compiling dbaddnfo.pas
Compiling taskhttpnfo.pas
taskhttpimdb.pas(44,3) Note: Local variable "imdb_mtitle" is assigned but never used
Compiling globalskipunit.pas
Compiling tasktvinfolookup.pas
Compiling ./libs/lkJSON/uLkJSON.pas
irccommandsunit.pas(782,3) Note: Local variable "ini" not used
irccommandsunit.pas(2510,6) Note: Local variable "v" not used
common.inc(7,1) Note: Local variable "iniFiles" not used
common.inc(11,1) Note: Local variable "commonFiles" not used
common.inc(17,1) Note: Local variable "generatedFiles" not used
common.inc(35,1) Note: Local variable "VideoFileExtensions" not used
common.inc(39,1) Note: Local variable "ImageFileExtensions" not used
common.inc(43,1) Note: Local variable "SpecialDirsTags" not used
common.inc(49,1) Note: Local variable "FileSizeUnits" not used
prebot.pas(395,3) Note: Local variable "group" is assigned but never used
prebot.pas(411,10) Note: Local variable "addcmd" not used
prebot.pas(412,3) Note: Local variable "osszesmeretf" not used
common.inc(7,1) Note: Local variable "iniFiles" not used
common.inc(11,1) Note: Local variable "commonFiles" not used
common.inc(17,1) Note: Local variable "generatedFiles" not used
common.inc(35,1) Note: Local variable "VideoFileExtensions" not used
common.inc(39,1) Note: Local variable "ImageFileExtensions" not used
common.inc(43,1) Note: Local variable "SpecialDirsTags" not used
common.inc(52,1) Note: Local variable "CountryCodes" not used
common.inc(71,1) Note: Local variable "CountryNames" not used
Compiling midnight.pas
taskrace.pas(623,3) Note: Local variable "grp" not used
pazo.pas(878,3) Note: Local variable "ps" not used
pazo.pas(879,3) Note: Local variable "i" not used
precatcher.pas(333,6) Note: Local variable "x" not used
Compiling dbaddgenre.pas
Compiling Diff.pas
Compiling HashUnit.pas
Compiling ident.pas
Compiling slidentserver.pas
Compiling mycrypto.pas
slftp.inc(2,3) Note: Local variable "SL_VERSION" not used
slftp.inc(4,3) Note: Local variable "SL_REV" not used
slftp.inc(5,3) Note: Local variable "HELP_VERSION" not used
slftp.inc(7,3) Note: Local variable "CC_VERSION" not used
slftp.inc(8,3) Note: Local variable "CC_MasterK" not used
Compiling taskgenrenfo.pas
Compiling taskgenredirlist.pas
Compiling taskgame.pas
Compiling taskmvidunit.pas
Linking slftp
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: slconsole.o: undefined reference to symbol 'nodelay'
/lib64/libtinfow.so.6: error adding symbols: DSO missing from command line
slftp.lpr(59,1) Error: Error while linking
slftp.lpr(59,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
make: *** [Makefile:24: slftp_64] Error 1


2 Replaced the first "DEPEND" in my ebuild with RDEPEND
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Thu Dec 07, 2017 3:26 pm    Post subject: Reply with quote

I'm not sure, but edit Makefile and replace line
Code:
CFLAGS = -MDelphi -O3 -Xs

with
Code:
LIB_CURSES := $(shell pkg-config --libs ncurses)
CFLAGS = -MDelphi -O3 -Xs ${LIB_CURSES}

and then make clean && make slftp_64
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Fri Dec 08, 2017 12:05 pm    Post subject: Reply with quote

thank you fedeliallalinea

now i get this error message:
Code:

make clean && make slftp_64
make clean
make[1]: directory „/home/palme/slFtp.1.5.5/sources/slftp“ Entering directory
make[1]: directory „/home/palme/slFtp.1.5.5/sources/slftp“ Leaving directory
fpc -Px86_64 -MDelphi -O3 -Xs -lncurses -ltinfo  -Fulibs/FastMM4 -Fulibs/BeRoHighResolutionTimer -Fulibs/FLRE -Fulibs/rcmdline -Fulibs/DFFLibV15_UIntList -Fulibs/lkJSON slftp.lpr
Error: Illegal parameter: -lncurses
Error: /usr/bin/ppcx64 returned an error exitcode
make: *** [Makefile:25: slftp_64] Error 1

Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Fri Dec 08, 2017 12:48 pm    Post subject: Reply with quote

Forgotten my last post is completly wrong, this program is witten in pascal and anyway -lxxx is for linker not for compiler... sorry.

There is a problem with ncurses lib but in my system all compile without error. You can post emerge -pvq ncurses
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Fri Dec 08, 2017 2:01 pm    Post subject: Reply with quote

Code:
emerge -pvq ncurses

 * IMPORTANT: config file '/etc/portage/package.accept_keywords' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
 * Digest verification failed:
 * /usr/local/portage/net-ftp/slftp/slftp-1.5.5.ebuild
 * Reason: Filesize does not match recorded size
 * Got: 1344
 * Expected: 1127
[ebuild   R   ] sys-libs/ncurses-6.0-r1  USE="cxx tinfo unicode -ada -debug -doc -gpm -minimal -profile -static-libs {-test} -threads -trace" ABI_X86="(64) -32 (-x32)"

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Fri Dec 08, 2017 7:36 pm    Post subject: Reply with quote

The problem is tinfo use flag on ncurses.
Usually adding -ltinfo to linker solve problem but in this case I have no idea how to resolve
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Sat Dec 09, 2017 10:48 am    Post subject: Reply with quote

I think I have found the cause of the problem

i have ncurses-5.9-r101 and ncurses-5.9-r101 intalled on my sytem
Code:
equery list ncurses
 * Searching for ncurses ...
[IP-] [  ] sys-libs/ncurses-5.9-r101:5/5
[IP-] [  ] sys-libs/ncurses-6.0-r1:0/6


ncurses-6.0-r1 seams to overwrite the library files of ncurses-5, and that seems to be the problem

I don't know all the lib files for ncurses but the obvious files like

Code:
ldd /lib64/libtinfo.so.5
        linux-vdso.so.1 (0x00007ffdfeb23000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fdf815ea000)
        libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fdf813b1000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdf81bc2000)


these files are also missing
Code:
libncurses.so.5, libncurses.so.5.0, libncursesw.so.5, libncursesw.so.5.0 


however ncurses-6 files are available

Code:
libncurses.so.6, libncurses.so.6.0, libncursesw.so.6, libncursesw.so.6.0
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sat Dec 09, 2017 11:19 am    Post subject: Reply with quote

The program work also with ncurses-6 but without tinfo use flag
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Sat Dec 09, 2017 2:11 pm    Post subject: Reply with quote

Code:
CONFIG_PROTECT="-*" emerge --unmerge sys-libs/ncurses-5.9-r101

emerge @preserved-rebuild
emerge --sync
emerge -DuvaN @world


Code:

make clean && make slftp_64
make clean
make[1]: directory „/home/palme/slFtp.1.5.5/                                                                                                                               sources/slftp“ Entering directory
make[1]: directory „/home/palme/slFtp.1.5.5/                                                                                                                               sources/slftp“ Leaving directory
fpc -Px86_64 -MDelphi -O3 -Xs    -Fulibs/FastMM4 -Fulibs/BeRoHighResolutionTimer                                                                                                                                -Fulibs/FLRE -Fulibs/rcmdline -Fulibs/DFFLibV15_UIntList -Fulibs/lkJSON slftp.l                                                                                                                               pr
Free Pascal Compiler version 3.0.2 [2017/12/06] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling slftp.lpr
Compiling ./libs/FastMM4/FastMM4.pas
Compiling ./libs/FastMM4/FastMM4Messages.pas
FastMM4.pas(1983,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(1983,109) Warning: Some fields coming before "UpsizeMoveProcedure" w                                                                                                                               ere not initialized
FastMM4.pas(1987,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(1987,109) Warning: Some fields coming before "UpsizeMoveProcedure" w                                                                                                                               ere not initialized
FastMM4.pas(1991,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(1991,109) Warning: Some fields coming before "UpsizeMoveProcedure" w                                                                                                                               ere not initialized
FastMM4.pas(1995,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(1995,109) Warning: Some fields coming before "UpsizeMoveProcedure" w                                                                                                                               ere not initialized
FastMM4.pas(1999,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2003,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2007,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2011,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2015,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2019,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2021,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2022,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2023,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2024,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2025,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2026,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2027,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2028,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2029,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2030,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2032,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2033,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2034,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2035,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2036,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2038,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2039,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2040,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2041,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2043,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2044,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2046,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2047,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2049,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2050,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2052,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2053,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2055,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2057,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2059,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2061,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2063,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2065,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2067,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2072,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2073,17) Warning: Some fields coming before "BlockSize" were not ini                                                                                                                               tialized
FastMM4.pas(2166,13) Warning: Some fields coming before "GetMem" were not initia                                                                                                                               lized
FastMM4.pas(2168,17) Warning: Some fields coming before "ReallocMem" were not in                                                                                                                               itialized
FastMM4.pas(2417,3) Note: Local variable "tmp" not used
FastMM4.pas(6399,19) Warning: range check error while evaluating constants (-1 m                                                                                                                               ust be between 0 and 18446744073709551615)
FastMM4.pas(8628,13) Warning: range check error while evaluating constants (-1 m                                                                                                                               ust be between 0 and 18446744073709551615)
FastMM4.pas(10296,9) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(10296,45) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(10297,13) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(10297,49) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11021,25) Warning: range check error while evaluating constants (-1                                                                                                                                must be between 0 and 18446744073709551615)
FastMM4.pas(11043,18) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11077,33) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11077,52) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11087,31) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(11087,50) Warning: Converting pointers to signed integers may result                                                                                                                                in wrong comparison results and range errors, use an unsigned type instead.
FastMM4.pas(1707,3) Note: Local variable "Copyright" not used
Compiling console.pas
Compiling slvision.pas
Compiling slconsole.pas
Compiling slsignals.pas
slconsole.pas(1041,27) Warning: Local variable "ps" does not seem to be initiali                                                                                                                               zed
Compiling debugunit.pas
Compiling configunit.pas
Compiling encinifile.pas
Compiling slmd5.pas
Compiling slblowfish.pas
Compiling delphiblowfish.pas
Compiling delphiblowfishtools.pas
Compiling configunit.pas
Compiling helper.pas
encinifile.pas(415,39) Warning: Conversion between ordinals and pointers is not                                                                                                                                portable
encinifile.pas(415,39) Warning: Converting pointers to signed integers may resul                                                                                                                               t in wrong comparison results and range errors, use an unsigned type instead.
encinifile.pas(449,22) Warning: Conversion between ordinals and pointers is not                                                                                                                                portable
encinifile.pas(449,22) Warning: Converting pointers to signed integers may resul                                                                                                                               t in wrong comparison results and range errors, use an unsigned type instead.
Compiling LibTar.pas
LibTar.pas(191,18) Warning: Constructor should be public
LibTar.pas(410,15) Warning: Local variable "S0" does not seem to be initialized
LibTar.pas(426,15) Warning: Local variable "S0" does not seem to be initialized
LibTar.pas(725,26) Warning: function result variable of a managed type does not                                                                                                                                seem to initialized
Compiling irc.pas
Compiling tasksunit.pas
Compiling queueunit.pas
Compiling taskrace.pas
Compiling pazo.pas
Compiling kb.pas
Compiling knowngroups.pas
Compiling regexpr.pas
regexpr.pas(2626,13) Warning: Local variable "ret" does not seem to be initializ                                                                                                                               ed
regexpr.pas(2406,22) Warning: Local variable "RangeBeg" does not seem to be init                                                                                                                               ialized
regexpr.pas(3643,5) Warning: function result variable of a managed type does not                                                                                                                                seem to initialized
regexpr.pas(3795,9) Warning: function result variable of a managed type does not                                                                                                                                seem to initialized
regexpr.pas(3798,5) Warning: function result variable of a managed type does not                                                                                                                                seem to initialized
regexpr.pas(4047,25) Warning: function result variable of a managed type does no                                                                                                                               t seem to initialized
regexpr.pas(4064,9) Warning: function result variable of a managed type does not                                                                                                                                seem to initialized
Compiling mainthread.pas
Compiling pretimeunit.pas
Compiling slsqlite.pas
Compiling mystrings.pas
Compiling sitesunit.pas
Compiling sltcp.pas
Compiling mslproxys.pas
Compiling slstack.pas
Compiling slssl.pas
Compiling slhelper.pas
Compiling taskautodirlist.pas
Compiling sitesunit.pas
Compiling taskautocrawler.pas
Compiling taskautonuke.pas
Compiling sitesunit.pas
Compiling taskautoindex.pas
Compiling sitesunit.pas
Compiling tasklogin.pas
Compiling sitesunit.pas
Compiling taskrules.pas
Compiling sitesunit.pas
Compiling irc.pas
Compiling ircblowfish.pas
ircblowfish.pas(221,6) Warning: Local variable "bf" does not seem to be initiali                                                                                                                               zed
Compiling irccolorunit.pas
Compiling precatcher.pas
Compiling slmasks.pas
Compiling delphimasks.pas
delphimasks.pas(156,19) Warning: Local variable "SkipTo" does not seem to be ini                                                                                                                               tialized
Compiling queueunit.pas
Compiling taskrace.pas
Compiling pazo.pas
Compiling dirlist.pas
Compiling skiplists.pas
Compiling globals.pas
Compiling tags.pas
Compiling ./libs/FLRE/FLRE.pas
Compiling ./libs/FLRE/PUCU.pas
FLRE.pas(4518,5) Note: Local variable "Index" not used
FLRE.pas(4519,5) Note: Local variable "CurrentChar" not used
FLRE.pas(4668,5) Note: Local variable "Index" not used
FLRE.pas(4669,5) Note: Local variable "CurrentChar" not used
FLRE.pas(4809,5) Note: Local variable "Index" not used
FLRE.pas(4810,5) Note: Local variable "CurrentChar" not used
FLRE.pas(4970,5) Note: Local variable "Index" not used
FLRE.pas(4971,5) Note: Local variable "CurrentChar" not used
FLRE.pas(5069,5) Note: Local variable "Index" not used
FLRE.pas(5070,5) Note: Local variable "CurrentChar" not used
FLRE.pas(5215,5) Note: Local variable "Index" not used
FLRE.pas(5216,5) Note: Local variable "CurrentChar" not used
FLRE.pas(12536,31) Note: Local variable "Index" not used
FLRE.pas(12539,5) Note: Local variable "Flags" not used
FLRE.pas(12541,5) Note: Local variable "Instruction" not used
FLRE.pas(12800,5) Note: Local variable "Flags" not used
FLRE.pas(12802,5) Note: Local variable "Instruction" not used
FLRE.pas(17823,5) Note: Local variable "c" not used
FLRE.pas(18885,23) Note: Local variable "TotalCount" not used
FLRE.pas(18889,5) Note: Local variable "CurrentChar" not used
FLRE.pas(20412,5) Note: Local variable "Done" not used
FLRE.pas(22396,5) Note: Local variable "i" not used
Compiling mrdohutils.pas
Compiling ./libs/BeRoHighResolutionTimer/BeRoHighResolutionTimer.pas
dirlist.pas(1118,3) Note: Local variable "hrt" not used
dirlist.pas(1119,3) Note: Local variable "st1" not used
dirlist.pas(1119,8) Note: Local variable "et1" not used
dirlist.pas(1119,13) Note: Local variable "st2" not used
dirlist.pas(1119,18) Note: Local variable "et2" not used
common.inc(7,1) Note: Local variable "iniFiles" not used
common.inc(11,1) Note: Local variable "commonFiles" not used
common.inc(17,1) Note: Local variable "generatedFiles" not used
common.inc(49,1) Note: Local variable "FileSizeUnits" not used
common.inc(52,1) Note: Local variable "CountryCodes" not used
common.inc(71,1) Note: Local variable "CountryNames" not used
Compiling ./libs/DFFLibV15_UIntList/UIntList.pas
Compiling queueunit.pas
Compiling taskrace.pas
Compiling taskdel.pas
Compiling statsunit.pas
Compiling queueunit.pas
Compiling slcriticalsection.pas
Compiling taskidle.pas
Compiling taskquit.pas
Compiling notify.pas
Compiling tasktvinfolookup.pas
Compiling xmlwrapper.pas
Compiling slhttp.pas
Compiling socks5.pas
Compiling dbtvinfo.pas
Compiling irccommandsunit.pas
Compiling prebot.pas
Compiling tasklame.pas
Compiling lame.pas
Compiling ID3v2.pas
Compiling mpeginfo.pas
Compiling taskdirlist.pas
Compiling taskraw.pas
Compiling irccommandsunit.pas
Compiling versioninfo.pas
Compiling speedstatsunit.pas
Compiling indexer.pas
Compiling taskcwd.pas
Compiling nuke.pas
Compiling rulesunit.pas
Compiling taskspeedtest.pas
Compiling taskfilesize.pas
Compiling ranksunit.pas
Compiling ./libs/rcmdline/rcmdline.pas
Compiling mysqlutilunit.pas
Compiling slmysql2.pas
Compiling slctypes.pas
Compiling VarRecUtils.pas
Compiling backupunit.pas
Compiling dbaddpre.pas
Compiling dateunit.pas
Compiling taskpretime.pas
Compiling sllanguagebase.pas
Compiling fake.pas
Compiling dbaddurl.pas
Compiling dbaddimdb.pas
Compiling taskhttpimdb.pas
Compiling tasksitenfo.pas
Compiling dbaddnfo.pas
Compiling taskhttpnfo.pas
taskhttpimdb.pas(44,3) Note: Local variable "imdb_mtitle" is assigned but never                                                                                                                                used
Compiling globalskipunit.pas
Compiling tasktvinfolookup.pas
Compiling ./libs/lkJSON/uLkJSON.pas
irccommandsunit.pas(782,3) Note: Local variable "ini" not used
irccommandsunit.pas(2510,6) Note: Local variable "v" not used
common.inc(7,1) Note: Local variable "iniFiles" not used
common.inc(11,1) Note: Local variable "commonFiles" not used
common.inc(17,1) Note: Local variable "generatedFiles" not used
common.inc(35,1) Note: Local variable "VideoFileExtensions" not used
common.inc(39,1) Note: Local variable "ImageFileExtensions" not used
common.inc(43,1) Note: Local variable "SpecialDirsTags" not used
common.inc(49,1) Note: Local variable "FileSizeUnits" not used
prebot.pas(395,3) Note: Local variable "group" is assigned but never used
prebot.pas(411,10) Note: Local variable "addcmd" not used
prebot.pas(412,3) Note: Local variable "osszesmeretf" not used
common.inc(7,1) Note: Local variable "iniFiles" not used
common.inc(11,1) Note: Local variable "commonFiles" not used
common.inc(17,1) Note: Local variable "generatedFiles" not used
common.inc(35,1) Note: Local variable "VideoFileExtensions" not used
common.inc(39,1) Note: Local variable "ImageFileExtensions" not used
common.inc(43,1) Note: Local variable "SpecialDirsTags" not used
common.inc(52,1) Note: Local variable "CountryCodes" not used
common.inc(71,1) Note: Local variable "CountryNames" not used
Compiling midnight.pas
taskrace.pas(623,3) Note: Local variable "grp" not used
pazo.pas(878,3) Note: Local variable "ps" not used
pazo.pas(879,3) Note: Local variable "i" not used
precatcher.pas(333,6) Note: Local variable "x" not used
Compiling dbaddgenre.pas
Compiling Diff.pas
Compiling HashUnit.pas
Compiling ident.pas
Compiling slidentserver.pas
Compiling mycrypto.pas
slftp.inc(2,3) Note: Local variable "SL_VERSION" not used
slftp.inc(4,3) Note: Local variable "SL_REV" not used
slftp.inc(5,3) Note: Local variable "HELP_VERSION" not used
slftp.inc(7,3) Note: Local variable "CC_VERSION" not used
slftp.inc(8,3) Note: Local variable "CC_MasterK" not used
Compiling taskgenrenfo.pas
Compiling taskgenredirlist.pas
Compiling taskgame.pas
Compiling taskmvidunit.pas
Linking slftp
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
161871 lines compiled, 10.2 sec
65 note(s) issued
 

looks fine so far right?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sat Dec 09, 2017 2:20 pm    Post subject: Reply with quote

I think yes you can see if slftp is created in sources directory
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Palme
Tux's lil' helper
Tux's lil' helper


Joined: 31 May 2014
Posts: 92

PostPosted: Sat Dec 09, 2017 5:31 pm    Post subject: Reply with quote

sorry I forgot to mention :oops:

yes slftp is created in sources directory

why should i use the tinfo use flag? :roll:

Can you please help me to put it all together into an ebuild?

thanks :oops:
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Sat Dec 09, 2017 5:49 pm    Post subject: Reply with quote

Somethings like this
Code:
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="slFtp is an open-source, multithreaded modded lftp with native Linux and Windows support,"
HOMEPAGE=""
SRC_URI="https://filebin.net/trfimm1re04kaoxv/slftp-1.5.5.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="convert-mozilla-cookies +gnutls idn ipv6 libressl nls socks5 +ssl verify-file"

RDEPEND="
   <=sys-libs/ncurses-6.0[-tinfo]
   >=dev-lang/fpc-3.0
   dev-libs/openssl
   dev-libs/expat
   sys-libs/zlib

   ssl? (
      gnutls? ( >=net-libs/gnutls-1.2.3:0= )
      !gnutls? (
         !libressl? ( dev-libs/openssl:0= )
      )
   )
   verify-file? (
      dev-perl/String-CRC32
      virtual/perl-Digest-MD5
   )
"
DEPEND="
   ${RDEPEND}
   =sys-devel/libtool-2*
   app-arch/xz-utils
   nls? ( >=sys-devel/gettext-0.19 )
   virtual/pkgconfig
"

S="${WORKDIR}"

src_compile() {
    cd sources/slftp || die
    make slftp_64 || die
}

src_install() {
    dobin sources/slftp/slftp
}

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum