Re: My package has stopped building on rawhide

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

 



Nevermind, I was able to figure that out.
 
Thanks Jerry, I have it building now :)
JARED L. WALLACE
Software Engineer, Sametime Extended Support
Phone: 1-512-973-5281
 
 
----- Original message -----
From: Jared L Wallace/Austin/IBM@IBMUS
To: devel@xxxxxxxxxxxxxxxxxxxxxxx
Cc:
Subject: Re: My package has stopped building on rawhide
Date: Mon, Dec 5, 2016 6:34 PM
 
Thanks. How can I examine the config.log? (I know soomeone mentioned adding "||:" after %configure, but I don't see where the config.log ends up being accessible)
 
 
JARED L. WALLACE
Software Engineer, Sametime Extended Support
Phone: 1-512-973-5281
 
 
----- Original message -----
From: Jerry James <loganjerry@xxxxxxxxx>
To: Development discussions related to Fedora <devel@xxxxxxxxxxxxxxxxxxxxxxx>
Cc:
Subject: Re: My package has stopped building on rawhide
Date: Mon, Dec 5, 2016 5:50 PM
 
On Mon, Dec 5, 2016 at 4:19 PM, Jared L Wallace
<jared-wallace@xxxxxxxxxx> wrote:
>
> The configure script errors out when checking:
>
> AC_TRY_LINK([#include <gsl/gsl_complex.h>],
>     [gsl_complex a; GSL_SET_COMPLEX(&a, 1.0, 1.0);
> gsl_complex_logabs(a);],
>     HAS_GSL_LIB=yes, HAS_GSL_LIB=no)
>
> This works fine on F25.
>
> I checked gsl, and the package not only hasn't changed recently, it hasn't
> even been built in rawhide (still f25 version). gcc has also not changed.
>
> The package was building fine Friday, and in fact, still builds successfully
> on my rawhide box (and another developers box).
>
> The failing build is here:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=16762827
>
> successful f25 build:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=16763334

You have to look in config.log to diagnose cases like this.  It says:

configure:3132: checking for GNU Scientific Library
configure:3149: gcc -o conftest -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic -Werror=implicit-function-declaration
-Werror=implicit-int -I/usr/include  -Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld conftest.c  -lgsl
-lgslcblas -lm >&5
conftest.c: In function 'main':
conftest.c:14:47: error: implicit declaration of function
'gsl_complex_logabs' [-Werror=implicit-function-declaration]
 gsl_complex a; GSL_SET_COMPLEX(&a, 1.0, 1.0); gsl_complex_logabs(a);
                                               ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
configure:3149: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define HAVE_CURSES_H 1
| /* end confdefs.h.  */
| #include <gsl/gsl_complex.h>
| int
| main ()
| {
| gsl_complex a; GSL_SET_COMPLEX(&a, 1.0, 1.0); gsl_complex_logabs(a);
|   ;
|   return 0;
| }
configure:3157: error: Cannot find the GNU Scientific Library.
Perhaps you failed to install a libgsl development package?

This means that you've run afoul of
https://fedoraproject.org/wiki/Changes/Fedora26CFlags.  I suspect that
a lot of configure scripts are going to break due to that change.  To
fix it, patch that configure test to include whichever header file
declares gsl_complex_logabs().  Regards,
--
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
 
 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
 

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux