List for cgit developers and users
 help / color / mirror / Atom feed
* git/packfile.c:486: undefined reference to `fcntl64'
@ 2018-11-30  9:05 actionmystique
  2018-11-30  9:40 ` DLange
  0 siblings, 1 reply; 3+ messages in thread
From: actionmystique @ 2018-11-30  9:05 UTC (permalink / raw)


Debian buster
git 2.19.2
cgit v1.2.1-13-g441dac1
make 4.2.1-1.2
libcrypto++-dev 5.6.4-8
libssl-dev 1.1.1a-1
libzip-dev 1.1.2-1.1+b1
lua5.3 5.3.3-1
pkg-config 0.29-4+b1

Building cgit with make leads to:
    SUBDIR git
CGIT_VERSION = v1.2.1-13-g441d
    * new CGit build flags
    CC ../cgit.o
    CC ../cache.o
    CC ../cmd.o
    CC ../configfile.o
    CC ../filter.o
    CC ../html.o
    CC ../parsing.o
    CC ../scan-tree.o
    CC ../shared.o
    CC ../ui-atom.o
    CC ../ui-blame.o
    CC ../ui-blob.o
    CC ../ui-clone.o
    CC ../ui-commit.o
    CC ../ui-diff.o
    CC ../ui-log.o
    CC ../ui-patch.o
    CC ../ui-plain.o
    CC ../ui-refs.o
    CC ../ui-repolist.o
    CC ../ui-shared.o
    CC ../ui-snapshot.o
    CC ../ui-ssdiff.o
    CC ../ui-stats.o
    CC ../ui-summary.o
    CC ../ui-tag.o
    CC ../ui-tree.o
    * linking with autodetected luajit
    LINK ../cgit
/usr/bin/ld: libgit.a(packfile.o): in function `open_packed_git_1':
git-cgit/git/packfile.c:486: undefined reference to `fcntl64'
/usr/bin/ld: git-cgit/git/packfile.c:490: undefined reference to `fcntl64'
/usr/bin/ld: libgit.a(run-command.o): in function `set_cloexec':
git-cgit/git/run-command.c:514: undefined reference to `fcntl64'
/usr/bin/ld: git-cgit/git/run-command.c:516: undefined reference to
`fcntl64'
/usr/bin/ld: git-cgit/git/run-command.c:514: undefined reference to
`fcntl64'
/usr/bin/ld: libgit.a(run-command.o):git-cgit/git/run-command.c:516: more
undefined references to `fcntl64' follow
collect2: error: ld returned 1 exit status
make[1]: *** [../cgit.mk:134: ../cgit] Error 1
make: *** [Makefile:76: cgit] Error 2

Maybe a missing dev package.

I can build the same checkout on Ubuntu disco without any error.

-- 
Jean-Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20181130/53bcdb34/attachment.html>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* git/packfile.c:486: undefined reference to `fcntl64'
  2018-11-30  9:05 git/packfile.c:486: undefined reference to `fcntl64' actionmystique
@ 2018-11-30  9:40 ` DLange
  2018-11-30 11:19   ` actionmystique
  0 siblings, 1 reply; 3+ messages in thread
From: DLange @ 2018-11-30  9:40 UTC (permalink / raw)


Am 30.11.18 um 10:05 schrieb jean-christophe manciot:
> Debian buster
> git?2.19.2
> cgit?v1.2.1-13-g441dac1

Debian Buster has glibc 2.27, fcntl64 was added in 2.28
If you want to build on Debian Buster, use glibc from Sid.
As you will have guessed by now, Ubuntu Disco has 2.28.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* git/packfile.c:486: undefined reference to `fcntl64'
  2018-11-30  9:40 ` DLange
@ 2018-11-30 11:19   ` actionmystique
  0 siblings, 0 replies; 3+ messages in thread
From: actionmystique @ 2018-11-30 11:19 UTC (permalink / raw)


Solved, thanks!

On Fri, Nov 30, 2018 at 10:40 AM Daniel Lange <DLange at debian.org> wrote:

> Am 30.11.18 um 10:05 schrieb jean-christophe manciot:
> > Debian buster
> > git 2.19.2
> > cgit v1.2.1-13-g441dac1
>
> Debian Buster has glibc 2.27, fcntl64 was added in 2.28
> If you want to build on Debian Buster, use glibc from Sid.
> As you will have guessed by now, Ubuntu Disco has 2.28.
>


-- 
Jean-Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20181130/55915755/attachment.html>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-30 11:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-30  9:05 git/packfile.c:486: undefined reference to `fcntl64' actionmystique
2018-11-30  9:40 ` DLange
2018-11-30 11:19   ` actionmystique

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).