pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42427: git-http-fetch and git-http-push are missing on Linux



>Number:         42427
>Category:       pkg
>Synopsis:       git-http-fetch and git-http-push are missing on Linux
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 08 13:45:00 +0000 2009
>Originator:     Alexander Nasonov
>Release:        
>Organization:
>Environment:
Linux thsunx14 2.6.18-128.el5 #1 SMP Wed Jan 21 10:41:14 EST 2009 x86_64 x86_64 
x86_64 GNU/Linux
>Description:
Configure script of devel/scmgit-base doesn't detect curl and as a result it 
doesn't build http tools.

cat devel/scmgit-base/work/git-1.6.4/config.log
...
configure:3449: gcc -o conftest -Wno-error -Wno-format -fno-builtin 
-I/home/nasona/pkg/Linux/include -I/usr/include -I/usr/include 
-I/home/nasona/pkg/Linux/i
nclude -I/usr/include -L/usr/lib -L/usr/lib64 -Wl,-R/usr/lib64 
-Wl,-R/home/nasona/pkg/Linux/lib conftest.c -lcrypto   >&5
configure:3456: $? = 0
configure:3477: result: yes
configure:3580: checking for curl_global_init in -lcurl
configure:3615: gcc -o conftest -Wno-error -Wno-format -fno-builtin 
-I/home/nasona/pkg/Linux/include -I/usr/include 
-I/home/nasona/pkg/Linux/include -I/home/
nasona/pkg/Linux/include -I/usr/include -L/home/nasona/pkg/Linux/lib 
-L/usr/lib64 -Wl,-R/usr/lib64 -Wl,-R/home/nasona/pkg/Linux/lib conftest.c 
-lcurl   >&5
/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.buildlink/lib/libcurl.so:
 undefined reference to `idna_to_ascii_lz%LIBIDN_1.0@localhost'
/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.buildlink/lib/libcurl.so:
 undefined reference to `stringprep_check_version%LIBIDN_1.0@localhost'
/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.buildlink/lib/libcurl.so:
 undefined reference to `tld_strerror%LIBIDN_1.0@localhost'
/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.buildlink/lib/libcurl.so:
 undefined reference to `tld_check_lz%LIBIDN_1.0@localhost'
/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.buildlink/lib/libcurl.so:
 undefined reference to `idna_strerror%LIBIDN_1.0@localhost'
/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.buildlink/lib/libcurl.so:
 undefined reference to `idna_to_unicode_lzlz%LIBIDN_1.0@localhost'
/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.buildlink/lib/libcurl.so:
 undefined reference to `idn_free%LIBIDN_1.0@localhost'
/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.buildlink/lib/libcurl.so:
 undefined reference to `stringprep_locale_charset%LIBIDN_1.0@localhost'
collect2: ld returned 1 exit status
configure:3622: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "git"
| #define PACKAGE_TARNAME "git"
| #define PACKAGE_VERSION "1.6.4"
| #define PACKAGE_STRING "git 1.6.4"
| #define PACKAGE_BUGREPORT "git%vger.kernel.org@localhost"
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char curl_global_init ();
| int
| main ()
| {
| return curl_global_init ();
|   ;
|   return 0;
| }
...
>How-To-Repeat:
cd devel/scmgit-base
bmake package-install
...
=> Creating binary package 
/home/nasona/pkgsrc/packages/Linux/gcc-modular/All/scmgit-base-1.6.4.tgz
pkg_create: can't stat 
`/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.destdir/home/nasona/pkg/Linux/libexec/git-core/git-http-fetch'
pkg_create: can't stat 
`/home/nasona/pkgsrc/WRKOBJDIR/Linux/devel/scmgit-base/work/.destdir/home/nasona/pkg/Linux/libexec/git-core/git-http-push'
pkg_create: lstat failed for file libexec/git-core/git-http-fetch: No such file 
or directory
*** Error code 2

>Fix:



Home | Main Index | Thread Index | Old Index