Bug#1066594: octave-iso2mesh: FTBFS: nl_single_file.c:2505:26: error: implicit declaration of function ‘lsame_’ [-Werror=implicit-function-declaration]

2024-04-05 Thread Qianqian Fang

On 4/2/24 04:49, Rafael Laboissière wrote:


Thanks for the link. The package is fixed and version 1.9.6+ds-10 of 
the package has been uploaded to unstable.



terrific! thank you so much!


You are still a member of the octave-iso2mesh project at Salsa.d.o, 
with login fangq.



let me try again, I might need to update my ssh key.


Qianqian



Bug#1066594: octave-iso2mesh: FTBFS: nl_single_file.c:2505:26: error: implicit declaration of function ‘lsame_’ [-Werror=implicit-function-declaration]

2024-04-02 Thread Rafael Laboissière

* Qianqian Fang  [2024-03-29 10:52]:


On 3/29/24 01:24, Rafael Laboissière wrote:

It seems so. If we fix Bug#1066594, then both octave-iso2mesh and
octave-brain2mesh will be able to migrate into testing.



thanks Rafael, replying to #1066594

it looks like someone from Fedora had submitted a patch last year 
fixing the same problem - see


https://github.com/fangq/meshfix/pull/1

can you help me update this folder and try rebuilding the package?

https://salsa.debian.org/pkg-octave-team/octave-iso2mesh/-/tree/debian/latest/meshfix?ref_type=heads


Thanks for the link. The package is fixed and version 1.9.6+ds-10 of the 
package has been uploaded to unstable.



I no longer have access to octave-iso2mesh on salsa.


You are still a member of the octave-iso2mesh project at Salsa.d.o, with 
login fangq.


Best,

Rafael Laboissière



Bug#1066594: octave-iso2mesh: FTBFS: nl_single_file.c:2505:26: error: implicit declaration of function ‘lsame_’ [-Werror=implicit-function-declaration]

2024-03-29 Thread Qianqian Fang

On 3/29/24 01:24, Rafael Laboissière wrote:
It seems so. If we fix Bug#1066594, then both octave-iso2mesh and 
octave-brain2mesh will be able to migrate into testing.



thanks Rafael, replying to #1066594

it looks like someone from Fedora had submitted a patch last year fixing 
the same problem - see


https://github.com/fangq/meshfix/pull/1

can you help me update this folder and try rebuilding the package?

https://salsa.debian.org/pkg-octave-team/octave-iso2mesh/-/tree/debian/latest/meshfix?ref_type=heads

I no longer have access to octave-iso2mesh on salsa.

thanks

Qianqian



Bug#1066594: octave-iso2mesh: FTBFS: nl_single_file.c:2505:26: error: implicit declaration of function ‘lsame_’ [-Werror=implicit-function-declaration]

2024-03-13 Thread Lucas Nussbaum
Source: octave-iso2mesh
Version: 1.9.6+ds-9
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration

Relevant part (hopefully):
> make[4]: Entering directory '/<>/meshfix'
> [ 37%] Building C object 
> CMakeFiles/meshfix.dir/contrib/jrs_predicates/jrs_predicates.c.o
> [ 39%] Building CXX object 
> CMakeFiles/meshfix.dir/src/detectIntersections.cpp.o
> [ 41%] Building CXX object CMakeFiles/meshfix.dir/src/holeFilling.cpp.o
> /<>/meshfix/src/holeFilling.cpp: In member function ‘void 
> ExtTriMesh::fairSelection(Triangle*)’:
> /<>/meshfix/src/holeFilling.cpp:378:31: warning: cast to pointer 
> from integer of different size [-Wint-to-pointer-cast]
>   378 |   ((Vertex *)n->data)->info = (void *)i;
>   |   ^
> [ 43%] Building CXX object CMakeFiles/meshfix.dir/src/sparseLSystem.cpp.o
> [ 45%] Building CXX object CMakeFiles/meshfix.dir/src/mwExtensions.cpp.o
> [ 47%] Building CXX object CMakeFiles/meshfix.dir/src/smoothing.cpp.o
> [ 50%] Building C object 
> CMakeFiles/meshfix.dir/contrib/OpenNL3.2.1/src/nl_single_file.c.o
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c: In 
> function ‘dtpsv_’:
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c:2505:26: 
> error: implicit declaration of function ‘lsame_’ 
> [-Werror=implicit-function-declaration]
>  2505 | if (!NL_FORTRAN_WRAP(lsame)(uplo, "U") &&
>   |  ^
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c:420:28: 
> note: in definition of macro ‘NL_FORTRAN_WRAP’
>   420 | #define NL_FORTRAN_WRAP(x) x##_
>   |^
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c:2526:25: 
> error: implicit declaration of function ‘xerbla_’ 
> [-Werror=implicit-function-declaration]
>  2526 | NL_FORTRAN_WRAP(xerbla)("DTPSV ", );
>   | ^~
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c:420:28: 
> note: in definition of macro ‘NL_FORTRAN_WRAP’
>   420 | #define NL_FORTRAN_WRAP(x) x##_
>   |^
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c: In 
> function ‘nlSolve_SUPERLU’:
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c:3513:5: 
> error: implicit declaration of function ‘dCreate_CompCol_Matrix’; did you 
> mean ‘cCreate_CompCol_Matrix’? [-Werror=implicit-function-declaration]
>  3513 | dCreate_CompCol_Matrix(
>   | ^~
>   | cCreate_CompCol_Matrix
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c:3521:5: 
> error: implicit declaration of function ‘dCreate_Dense_Matrix’; did you mean 
> ‘cCreate_Dense_Matrix’? [-Werror=implicit-function-declaration]
>  3521 | dCreate_Dense_Matrix(
>   | ^~~~
>   | cCreate_Dense_Matrix
> /<>/meshfix/contrib/OpenNL3.2.1/src/nl_single_file.c:3557:5: 
> error: implicit declaration of function ‘dgssv’; did you mean ‘cgssv’? 
> [-Werror=implicit-function-declaration]
>  3557 | dgssv(, , perm, perm_r, , , , , );
>   | ^
>   | cgssv
> cc1: some warnings being treated as errors
> make[4]: *** [CMakeFiles/meshfix.dir/build.make:160: 
> CMakeFiles/meshfix.dir/contrib/OpenNL3.2.1/src/nl_single_file.c.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/octave-iso2mesh_1.9.6+ds-9_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na=ign=7=7=only=ftbfs-20240313=lu...@debian.org=1=1=1=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.