Your message dated Tue, 17 Jul 2018 14:39:11 +0000
with message-id <[email protected]>
and subject line Bug#903962: fixed in arachne-pnr 0.1+20180513git5d830dd-2~exp1
has caused the Debian Bug report #903962,
regarding Fails to build on arch kfreebsd-amd64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
903962: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=903962
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: arachne-pnr
Version: 0.1+20180513git5d830dd-1

arachne-pnr fails to build on kfreebsd-amd64 because it cannot figure
out how to find the path of the current executable:

src/util.cc:190:10: error: #error Dont know how to determine process
executable base path!
         #error Dont know how to determine process executable base path!
          ^~~~~
<builtin>: recipe for target 'src/util.o' failed
make[2]: *** [src/util.o] Error 1




Try this patch:

diff --git a/src/util.cc b/src/util.cc
index 15f9efd..e8d81c6 100644
--- a/src/util.cc
+++ b/src/util.cc
@@ -133,7 +133,7 @@ std::string proc_self_dirname()
                 buflen--;
         return std::string(path, buflen);
 }
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 std::string proc_self_dirname()
 {
         char path[PATH_MAX];


Not tested.

See "How do I detect kfreebsd with preprocessor directives in a C
program?" in https://wiki.debian.org/Debian_GNU/kFreeBSD_FAQ for more
info


Cheers
Ruben

--- End Message ---
--- Begin Message ---
Source: arachne-pnr
Source-Version: 0.1+20180513git5d830dd-2~exp1

We believe that the bug you reported is fixed in the latest version of
arachne-pnr, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ruben Undheim <[email protected]> (supplier of updated arachne-pnr 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 17 Jul 2018 16:16:37 +0200
Source: arachne-pnr
Binary: arachne-pnr-chipdb arachne-pnr
Architecture: source
Version: 0.1+20180513git5d830dd-2~exp1
Distribution: experimental
Urgency: medium
Maintainer: Debian Science Maintainers 
<[email protected]>
Changed-By: Ruben Undheim <[email protected]>
Description:
 arachne-pnr - Place and route tool for iCE40 family FPGAs
 arachne-pnr-chipdb - Chip db files for arachne-pnr
Closes: 903962
Changes:
 arachne-pnr (0.1+20180513git5d830dd-2~exp1) experimental; urgency=medium
 .
   * d/patches/0004-Check-for-macro-__FreeBSD_kernel__-in-order-to-solve.patch:
     - Check for macro __FreeBSD_kernel__ in order to attempt fixing FTBFS on
       kfreebsd-* (Closes: #903962)
Checksums-Sha1:
 5d419f1499f51e0a22aff21c5f426a2e5e7581fa 2270 
arachne-pnr_0.1+20180513git5d830dd-2~exp1.dsc
 70d74a7fbab6cebbed89a2b7da9cd6b00306ee51 5772 
arachne-pnr_0.1+20180513git5d830dd-2~exp1.debian.tar.xz
 1ab17b0dab793a7827624e5f2eb11cfa0fd160f3 6015 
arachne-pnr_0.1+20180513git5d830dd-2~exp1_source.buildinfo
Checksums-Sha256:
 8fbe89ed0b64db84beedd53fba6124298749da5eee067a2f789dc1af1ff3885f 2270 
arachne-pnr_0.1+20180513git5d830dd-2~exp1.dsc
 93056356872d56cd85bdcde9417bd05510b2d615ce0a22ffa40937fe70e315e8 5772 
arachne-pnr_0.1+20180513git5d830dd-2~exp1.debian.tar.xz
 7089c758d9f7362ed23ceaf42bc17c9311c2b1acc4b14b54286c2dc1dbc01b17 6015 
arachne-pnr_0.1+20180513git5d830dd-2~exp1_source.buildinfo
Files:
 4cb68d7692fec082bc40a70f6a3d922c 2270 electronics optional 
arachne-pnr_0.1+20180513git5d830dd-2~exp1.dsc
 365a305992334576430aa3caf6de3fff 5772 electronics optional 
arachne-pnr_0.1+20180513git5d830dd-2~exp1.debian.tar.xz
 15ee901b16d72fd34eed77e05737da59 6015 electronics optional 
arachne-pnr_0.1+20180513git5d830dd-2~exp1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJMBAEBCAA2FiEENHTECWcp7QxRgH085pgix+ApWM0FAltN+wEYHHJ1YmVuLnVu
ZGhlaW1AZ21haWwuY29tAAoJEOaYIsfgKVjNsp4P/RA1f9LtUGUO1sdKMcq5fH0B
P6nwKnk+wDM8P3uC1IimecftCwOLwCsDtaH9u+Xd6bVpLT3tBoh9DxPKjSNz0wbL
lz+8/GqMWpwFIx/LF3FwtOnfkhWIMsvJ5GJvQMdvJEpEiisjE130gCvDP9fLAWsF
GetXtPMp888cXYZX6cJ04veKtMQb9Z5q3bTc8i83ezVy+JrKUwxn3+UJB7rx2lTd
0T8j0XLRtF6AuWKFN6RT77OmrwUOrfoMQ8T54TBolkvPkO0lhzzgXmMxo1ovlfum
meFdn4OS0n0GtnoXVUIjqTNGD5isfN3W9XSrn9x0/YDeIwgnUNKTwjaSR2xWKcPO
J1pRP1NPRIYU9ZrtJCbFSvSB/ZD9k6/a+cxa44nMLSRtKCPs6zqXz3hH5WiolRXh
kXcft/JNa2Qe/+i8cbZ14D7KYwqlfR4vBvohmzVdhQSx1EuMQ/27dN3RlHMHLUg6
FlrugYHrvN6UVTuvR6qae8fR2bBEfe3UdYxmh4GxvHircA5U5nfUje9Q8v6mRz0e
CdaiOzWHP+H6tepcJHZzRqUrY+aBEzBEG46dFMDN0tA5JEGOdRAUVtreyCP2lHqG
YlDp//HMx0w9GLq2KLkvfXXs5uU+dIdOepJOKVxy4xJzzS+haqq/EGPguVGNwpTI
8BYJI7q8hCLaWTKJMfLH
=WmYG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to